From 31094ffc5acc68ad8e38b22a070554ef6e456f59 Mon Sep 17 00:00:00 2001 From: Walter Wong Date: Sat, 8 Sep 2001 05:31:22 +0000 Subject: [PATCH] winnt-makefile-fixes-20010908 clean up makefile problems which got introduced by other changes --- src/WINNT/afsd/cm_utils.c | 2 +- src/WINNT/pthread/NTMakefile | 4 ++-- src/tbutc/NTMakefile | 2 +- src/util/NTMakefile | 3 +++ src/util/dirpath.c | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/WINNT/afsd/cm_utils.c b/src/WINNT/afsd/cm_utils.c index 5961ebe52..f7e3284c0 100644 --- a/src/WINNT/afsd/cm_utils.c +++ b/src/WINNT/afsd/cm_utils.c @@ -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; diff --git a/src/WINNT/pthread/NTMakefile b/src/WINNT/pthread/NTMakefile index fc2aa88f0..d2beadb33 100644 --- a/src/WINNT/pthread/NTMakefile +++ b/src/WINNT/pthread/NTMakefile @@ -45,8 +45,8 @@ pthread_95.obj: pthread.c $(C2OBJ) pthread.c -DAFS_WIN95_ENV /Fopthread_95.obj install: $(PTHR95_DLLFILE) $(PTHR_DLLFILE) $(LIBINCLUDES) - -install9x: install + +install9x: install pthread.res: pthread.rc AFS_component_version_number.h $(RC) $*.rc diff --git a/src/tbutc/NTMakefile b/src/tbutc/NTMakefile index 6848183f0..15afcf44c 100644 --- a/src/tbutc/NTMakefile +++ b/src/tbutc/NTMakefile @@ -93,7 +93,7 @@ include ..\config\NTMakefile.version # nmake /nologo /f ntmakefile install #----------------------------------------------- BUTC -$(BUTCEXE): $(BUTCOBJS) $(BUTCLIBS) +$(BUTCEXE): $(BUTCOBJS) $(BUTCLIBS) $(EXECONLINK) $(EXEPREP) diff --git a/src/util/NTMakefile b/src/util/NTMakefile index 04fde9ecd..174691f29 100644 --- a/src/util/NTMakefile +++ b/src/util/NTMakefile @@ -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 = \ diff --git a/src/util/dirpath.c b/src/util/dirpath.c index 9eabd31ea..1bb27b307 100644 --- a/src/util/dirpath.c +++ b/src/util/dirpath.c @@ -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 */ -- 2.39.5