Initial IBM OpenAFS 1.0 tree
[openafs.git] / src / WINNT / afssvrcpa / NTMakefile
1 # Copyright (C)  1998  Transarc Corporation.  All rights reserved.
2 #
3
4 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
5 !INCLUDE ..\..\config\NTMakefile.version
6
7
8 ############################################################################
9 # Definitions for building a DLL.
10
11 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afsserver.cpl
12
13 DLLOBJS =\
14         afssvrcpa_stub.res \
15         cpl_interface.obj \
16         AFS_component_version_number.obj
17
18 DLLLIBS =\
19         $(DESTDIR)\lib\afs\afsreg.lib \
20         $(DESTDIR)\lib\afs\TaLocale.lib \
21         comctl32.lib
22
23 DEFFILE = afssvrcpa.def
24
25 $(DLLFILE): $(DLLOBJS)
26         $(DLLGUILINK)  $(DLLLIBS) /DEF:$(DEFFILE)
27         $(DLLPREP)
28
29
30 ############################################################################
31 # Definitions for generating versioninfo resource via RC
32
33 afssvrcpa_stub.res: afssvrcpa_stub.rc AFS_component_version_number.h
34         $(RC) $*.rc
35
36
37 ############################################################################
38 # Install target; primary makefile target
39
40 install: $(DLLFILE) lang
41
42
43 ############################################################################
44 # Language target
45
46 lang::
47         $(CD) lang
48         for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
49         $(CD) ..
50
51
52 ############################################################################
53 # Local clean target; augments predefined clean target
54
55 clean::
56