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)
10 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
11 !INCLUDE ..\config\NTMakefile.version
13 ############################################################################
16 $(DESTDIR)\include\afs\procmgmt.h
18 ############################################################################
19 # Build afsprocmgmt.dll
21 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afsprocmgmt.dll
22 ILIBDIR = $(DESTDIR)\lib\afs
30 $(DESTDIR)\lib\afspthread.lib \
31 $(DESTDIR)\lib\afs\afsutil.lib
33 $(DLLFILE): $(DLLOBJS) $(DLLLIBS)
34 $(DLLCONLINK) /DEF:afsprocmgmt.def
36 $(COPY) $*.lib $(ILIBDIR)
39 ############################################################################
42 RS_KILL_EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\afskill.exe
43 CL_KILL_EXEFILE = $(DESTDIR)\etc\afskill.exe
50 $(DESTDIR)\lib\afs\afsprocmgmt.lib
52 $(RS_KILL_EXEFILE): $(KILL_EXEOBJS) $(KILL_EXELIBS)
56 $(CL_KILL_EXEFILE): $(RS_KILL_EXEFILE)
59 ############################################################################
60 # Definitions for generating versioninfo resources
62 afsprocmgmt.res: afsprocmgmt.rc AFS_component_version_number.h
65 afskill.res: afskill.rc AFS_component_version_number.h
69 install_headers: $(INCFILES)
71 install9x: install_headers
73 install: install_headers $(DLLFILE) $(CL_KILL_EXEFILE)