-# Copyright (C) 1998 Transarc Corporation. All rights reserved.
-
+# Copyright 2000, International Business Machines Corporation and others.
+# All Rights Reserved.
+#
+# This software has been released under the terms of the IBM Public
+# 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\pthread
!INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
!INCLUDE ..\..\config\NTMakefile.version
-
############################################################################
# Export header files
$(DESTDIR)\include\pthread.h
############################################################################
-# Build standard pthread.dll
+# Build standard afspthread.dll
-PTHR_DLLFILE = $(DESTDIR)\lib\pthread.dll
+PTHR_DLLFILE = $(DESTDIR)\lib\afspthread.dll
PTHR_DLLOBJS = \
- pthread.obj \
- pthread.res
+ $(OUT)\pthread.obj \
+ $(OUT)\pthread.res
$(PTHR_DLLFILE): $(PTHR_DLLOBJS)
$(DLLCONLINK) /DEF:pthread.def
$(DLLPREP)
############################################################################
-# Build Windows 95 version of pthread.dll
+# Build Windows 95 version of afspthread.dll
-PTHR95_DLLFILE = $(DESTDIR)\lib\win95\pthread.dll
+PTHR95_DLLFILE = $(DESTDIR)\lib\win95\afspthread.dll
PTHR95_DLLOBJS = \
- pthread_95.obj \
- pthread95.res
+ $(OUT)\pthread_95.obj \
+ $(OUT)\pthread95.res
$(PTHR95_DLLFILE): $(PTHR95_DLLOBJS)
$(DLLCONLINK) /DEF:pthread.def
$(DLLPREP)
-pthread_95.obj: pthread.c
- $(C2OBJ) pthread.c -DAFS_WIN95_ENV /Fopthread_95.obj
+$(OUT)\pthread_95.obj: pthread.c
+ $(C2OBJ) $** -DAFS_WIN95_ENV
+
+install: $(PTHR95_DLLFILE) $(PTHR_DLLFILE) $(LIBINCLUDES)
+install9x: install
-install: $(PTHR_DLLFILE) $(PTHR95_DLLFILE) $(LIBINCLUDES)
+$(OUT)\pthread95.res: pthread95.rc AFS_component_version_number.h
+ $(RC) /fo$*.res $(*F).rc
-pthread.res: pthread.rc AFS_component_version_number.h
- $(RC) $*.rc
+clean::
+ $(DEL) /q $(DESTDIR)\lib\win95\*.*
-pthread95.res: pthread95.rc AFS_component_version_number.h
- $(RC) $*.rc
+mkdir:
+