Windows: Permit build system to update symbol store
[openafs.git] / src / WINNT / pthread / NTMakefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 RELDIR=WINNT\pthread
9 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\..\config\NTMakefile.version
11
12 ############################################################################
13 # Export header files
14
15 LIBINCLUDES = \
16         $(DESTDIR)\include\pthread.h
17
18 ############################################################################
19 # Build standard afspthread.dll
20
21 PTHR_DLLFILE = $(DESTDIR)\lib\afspthread.dll
22
23 $(OUT)\pthread.res: pthread.rc AFS_component_version_number.h
24         $(RC) /fo$*.res $(*F).rc 
25
26 PTHR_DLLOBJS = \
27         $(OUT)\pthread.obj \
28         $(OUT)\pthread.res
29
30 $(PTHR_DLLFILE): $(PTHR_DLLOBJS)
31         $(DLLCONLINK) /DEF:pthread.def
32         $(_VC_MANIFEST_EMBED_DLL)
33         $(DLLPREP)
34         $(CODESIGN_USERLAND)
35         $(SYMSTORE_IMPORT)
36         $(MAKECYGLIB) --input-def pthread.def
37
38 install: $(PTHR_DLLFILE) $(LIBINCLUDES)
39
40 install9x: install
41
42 clean::
43
44 mkdir:
45