corrections-to-MIT-merge-20040306
[openafs.git] / src / WINNT / afsreg / NTMakefile
index 1b7e7e5..e427baa 100644 (file)
@@ -5,6 +5,7 @@
 # License.  For details, see the LICENSE file in the top-level source
 # directory or online at http://www.openafs.org/dl/license10.html
 
+RELDIR=WINNT\afsreg
 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
 
 INCFILES = \
@@ -17,10 +18,13 @@ INCFILES = \
 LIBFILE = $(DESTDIR)\lib\afs\afsreg.lib
 
 LIBOBJS = \
-       $(OJT)\afsreg.obj \
-       $(OJT)\syscfg.obj \
-       $(OJT)\afssw.obj \
-       $(OJT)\vptab.obj
+       $(OUT)\afsreg.obj \
+       $(OUT)\syscfg.obj \
+       $(OUT)\afssw.obj \
+       $(OUT)\vptab.obj
+
+$(LIBOBJS): $$(@B).c
+    $(C2OBJ) $**
 
 $(LIBFILE): $(LIBOBJS)
        $(LIBARCH)