1 # Copyright 2000, International Business Machines Corporation and others.
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
8 AFSDEV_AUXCDEFINES = -DPMGTEXPORT=__declspec(dllexport)
11 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
12 !INCLUDE ..\config\NTMakefile.version
14 ############################################################################
16 INCFILES = $(DESTDIR)\include\afs\procmgmt.h
19 $(COPY) $** $(DESTDIR)\include\afs\.
21 ############################################################################
22 # Build afsprocmgmt.dll
24 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afsprocmgmt.dll
25 ILIBDIR = $(DESTDIR)\lib\afs
28 $(OUT)\procmgmt_nt.obj \
29 $(OUT)\redirect_nt.obj \
30 $(OUT)\afsprocmgmt.res
33 $(DESTDIR)\lib\afspthread.lib \
34 $(DESTDIR)\lib\afs\afsutil.lib
36 $(DLLFILE): $(DLLOBJS) $(DLLRES) $(DLLLIBS)
37 $(DLLCONLINK) /DEF:afsprocmgmt.def
39 $(COPY) $*.lib $(ILIBDIR)
42 ############################################################################
45 RS_KILL_EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\afskill.exe
46 CL_KILL_EXEFILE = $(DESTDIR)\etc\afskill.exe
53 $(DESTDIR)\lib\afs\afsprocmgmt.lib
55 $(RS_KILL_EXEFILE): $(KILL_EXEOBJS) $(KILL_EXELIBS)
59 $(CL_KILL_EXEFILE): $(RS_KILL_EXEFILE)
62 ############################################################################
63 # Definitions for generating versioninfo resources
68 $(OUT)\afsprocmgmt.res: AFS_component_version_number.h
71 $(OUT)\afskill.res: AFS_component_version_number.h
74 install_headers: $(INCFILES)
76 install9x: install_headers
78 install: install_headers $(DLLFILE) $(CL_KILL_EXEFILE)