# 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
PTHR_DLLFILE = $(DESTDIR)\lib\afspthread.dll
+UTIL = ..\..\util
+
$(OUT)\pthread.res: pthread.rc AFS_component_version_number.h
- $(RC) /fo$*.res $(*F).rc
+ $(RC) /fo$*.res $(*F).rc
PTHR_DLLOBJS = \
$(OUT)\pthread.obj \
$(OUT)\pthread.res
-$(PTHR_DLLFILE): $(PTHR_DLLOBJS)
- $(DLLCONLINK) /DEF:pthread.def
- $(DLLPREP)
-
-############################################################################
-# Build Windows 95 version of afspthread.dll
-
-PTHR95_DLLFILE = $(DESTDIR)\lib\win95\afspthread.dll
+UTILOBJS = \
+ $(OUT)\pthread_glock.obj
-PTHR95_DLLOBJS = \
- $(OUT)\pthread_95.obj \
- $(OUT)\pthread95.res
+$(UTILOBJS): $(UTIL)\$$(@B).c
+ $(C2OBJ) -I$(UTIL) -DAFS_PTHREAD_ENV $**
-$(PTHR95_DLLFILE): $(PTHR95_DLLOBJS)
+$(PTHR_DLLFILE): $(PTHR_DLLOBJS) $(UTILOBJS)
$(DLLCONLINK) /DEF:pthread.def
+ $(_VC_MANIFEST_EMBED_DLL)
$(DLLPREP)
+ $(CODESIGN_USERLAND)
+ $(SYMSTORE_IMPORT)
+ $(MAKECYGLIB) --input-def pthread.def
-$(OUT)\pthread_95.obj: pthread.c
- $(C2OBJ) $** -DAFS_WIN95_ENV
-
-install: $(PTHR95_DLLFILE) $(PTHR_DLLFILE) $(LIBINCLUDES)
-
-install9x: install
-
-$(OUT)\pthread95.res: pthread95.rc AFS_component_version_number.h
- $(RC) /fo$*.res $(*F).rc
+install: $(PTHR_DLLFILE) $(LIBINCLUDES)
clean::
- $(DEL) /q $(DESTDIR)\lib\win95\*.*
mkdir:
-
+