winnt-makefile-fixes-20010908
authorWalter Wong <wcw@cmu.edu>
Sat, 8 Sep 2001 05:31:22 +0000 (05:31 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 8 Sep 2001 05:31:22 +0000 (05:31 +0000)
clean up makefile problems which got introduced by other changes

src/WINNT/afsd/cm_utils.c
src/WINNT/pthread/NTMakefile
src/tbutc/NTMakefile
src/util/NTMakefile
src/util/dirpath.c

index 5961ebe..f7e3284 100644 (file)
@@ -129,7 +129,7 @@ cm_space_t *cm_GetSpace(void)
                cm_spaceListp = tsp->nextp;
         }
         else tsp = (cm_space_t *) malloc(sizeof(cm_space_t));
-       (void) memset(tsp, 0, sizeof(cm_space_t);
+       (void) memset(tsp, 0, sizeof(cm_space_t));
         lock_ReleaseWrite(&cm_utilsLock);
         
         return tsp;
index fc2aa88..d2beadb 100644 (file)
@@ -45,8 +45,8 @@ pthread_95.obj: pthread.c
        $(C2OBJ) pthread.c -DAFS_WIN95_ENV /Fopthread_95.obj
 
 install: $(PTHR95_DLLFILE) $(PTHR_DLLFILE) $(LIBINCLUDES)
-\r
-install9x: install\r
+
+install9x: install
 
 pthread.res: pthread.rc AFS_component_version_number.h
        $(RC) $*.rc
index 6848183..15afcf4 100644 (file)
@@ -93,7 +93,7 @@ include ..\config\NTMakefile.version
 # nmake /nologo /f ntmakefile install
 #----------------------------------------------- BUTC
 
-$(BUTCEXE): $(BUTCOBJS) $(BUTCLIBS)\r
+$(BUTCEXE): $(BUTCOBJS) $(BUTCLIBS)
        $(EXECONLINK)
        $(EXEPREP)
 
index 04fde9e..174691f 100644 (file)
@@ -29,6 +29,9 @@ INCFILES =\
 $(DESTDIR)\include\afs\dirent.h: dirent_nt.h
        $(COPY) $** $@
 
+$(DESTDIR)\include\afs\dirpath.h: dirpath.hin
+       $(COPY) $** $@
+
 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
 
 LIBOBJS = \
index 9eabd31..1bb27b3 100644 (file)
@@ -158,7 +158,7 @@ static void initDirPathArray(void)
 
     /* setup top level dirpath (/usr equivalent); valid for server ONLY */
     strcpy(dirPathArray[AFSDIR_USR_DIRPATH_ID], ntServerInstallDirShort);
-    serverPrefix = ntInstallDirShort;
+    serverPrefix = ntServerInstallDirShort;
     strcat(dirPathArray[AFSDIR_USR_DIRPATH_ID], AFSDIR_CANONICAL_USR_DIRPATH);
 
 #else /* AFS_NT40_ENV */