windows-updates-20010108
[openafs.git] / src / WINNT / client_creds / 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 # make compiler warnings fatal
9
10 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -WX
11
12 # include the AFSD source tree on our inclusion path
13
14 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -I ..\afsd
15
16 # include the primary makefile
17 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
18 !INCLUDE ..\..\config\NTMakefile.version
19
20 ############################################################################
21 #
22 # BUILD TARGETS
23 #
24
25 EXEFILE = $(DESTDIR)\root.client\usr\vice\etc\afscreds.exe
26
27 EXEOBJS = \
28         afscreds_stub.res \
29         advtab.obj \
30         afswiz.obj \
31         al_wizard.obj \
32         checklist.obj \
33         creds.obj \
34         credstab.obj \
35         drivemap.obj \
36         fs_utils.obj \
37         main.obj \
38         misc.obj \
39         mounttab.obj \
40         settings.obj \
41         shortcut.obj \
42         subclass.obj \
43         trayicon.obj \
44         window.obj
45
46 VCLIBS =\
47         comctl32.lib \
48         shell32.lib \
49         uuid.lib \
50         ole32.lib \
51         mpr.lib
52
53 EXELIBS = \
54         $(DESTDIR)\lib\afs\afspioctl.lib \
55         $(DESTDIR)\lib\afs\TaLocale.lib
56
57 ############################################################################
58 #
59 # EXTERNAL SOURCE FILES
60 #
61 # The following source files are required by this application, but live
62 # elsewhere in the tree. To prevent checking in more than one copy of the
63 # source files, they are copied to this directory at build-time.
64 #
65
66 COPYHEADERS = \
67         $(DESTDIR)\include\WINNT\al_wizard.h \
68         $(DESTDIR)\include\WINNT\checklist.h \
69         $(DESTDIR)\include\WINNT\subclass.h
70
71 COPYSOURCES = \
72         .\al_wizard.cpp \
73         .\al_wizard.h \
74         .\checklist.cpp \
75         .\checklist.h \
76         .\drivemap.cpp \
77         .\drivemap.h \
78         .\fs_utils.c \
79         .\subclass.cpp \
80         .\subclass.h
81
82 ############################################################################
83
84 {..\afsd}.c{.\}.c:
85         $(COPY) ..\afsd\$(*B).c .
86
87 {..\afsapplib}.h{.\}.h:
88         $(COPY) ..\afsapplib\$(*B).h .
89
90 {..\afsapplib}.cpp{.\}.cpp:
91         $(COPY) ..\afsapplib\$(*B).cpp .
92
93 {..\client_config}.h{.\}.h:
94         $(COPY) ..\client_config\$(*B).h .
95
96 {..\client_config}.cpp{.\}.cpp:
97         $(COPY) ..\client_config\$(*B).cpp .
98
99
100 ############################################################################
101
102 $(EXEFILE) : $(EXEOBJS) $(EXELIBS)
103         $(EXEGUILINK) $(VCLIBS)
104         $(EXEPREP) 
105
106 install : $(COPYSOURCES) $(COPYHEADERS) $(EXEFILE) lang
107
108 lang ::
109         $(CD) lang
110         for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
111         $(CD) ..
112
113 ############################################################################
114 #
115 # Dependencies
116 #
117
118 afscreds_stub.res : afscreds_stub.rc AFS_component_version_number.h
119