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 # make compiler warnings fatal
10 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -WX
12 # since we're using rpcndr.h, we can't include <afs/stds.h>'s "hyper" type.
14 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -DIGNORE_STDS_H
16 # include the primary makefile
18 RELDIR=WINNT\afsadmsvr
19 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
20 !INCLUDE ..\..\config\NTMakefile.version
22 ############################################################################
27 INCFILEDIR = $(DESTDIR)\include\WINNT
29 EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\TaAfsAdmSvr.exe
31 LIBFILE = $(DESTDIR)\lib\afs\TaAfsAdmSvrClient.lib
34 $(INCFILEDIR)\TaAfsAdmSvr.h \
35 $(INCFILEDIR)\TaAfsAdmSvrClient.h \
36 $(INCFILEDIR)\TaAfsAdmSvrCommon.h \
37 $(INCFILEDIR)\iTaAfsAdmSvr.h \
38 $(INCFILEDIR)\iTaAfsAdmSvrTypes.h
45 $(OUT)\TaAfsAdmSvrClient.obj \
46 $(OUT)\TaAfsAdmSvrClientBind.obj \
47 $(OUT)\TaAfsAdmSvrClientCache.obj \
48 $(OUT)\TaAfsAdmSvrClientCell.obj \
49 $(OUT)\TaAfsAdmSvrClientGroup.obj \
50 $(OUT)\TaAfsAdmSvrClientInternal.obj \
51 $(OUT)\TaAfsAdmSvrClientNotify.obj \
52 $(OUT)\TaAfsAdmSvrClientPing.obj \
53 $(OUT)\TaAfsAdmSvrClientUser.obj \
54 $(OUT)\TaAfsAdmSvrCommon.obj \
55 $(OUT)\iTaAfsAdmSvr_c.obj
57 EXERES = $(OUT)\AfsAdmSvr.res
60 $(EXERES): AfsAdmSvr.rc AFS_component_version_number.h
63 $(OUT)\TaAfsAdmSvr.obj \
64 $(OUT)\TaAfsAdmSvrCallback.obj \
65 $(OUT)\TaAfsAdmSvrCell.obj \
66 $(OUT)\TaAfsAdmSvrCommon.obj \
67 $(OUT)\TaAfsAdmSvrDebug.obj \
68 $(OUT)\TaAfsAdmSvrGeneral.obj \
69 $(OUT)\TaAfsAdmSvrGroup.obj \
70 $(OUT)\TaAfsAdmSvrMain.obj \
71 $(OUT)\TaAfsAdmSvrProperties.obj \
72 $(OUT)\TaAfsAdmSvrSearch.obj \
73 $(OUT)\TaAfsAdmSvrUser.obj \
74 $(OUT)\iTaAfsAdmSvr_s.obj
85 $(DESTDIR)\lib\afs\AfsClass.lib \
86 $(DESTDIR)\lib\afs\TaAfsAppLib.lib \
87 $(DESTDIR)\lib\afs\AfsKasAdmin.lib \
88 $(DESTDIR)\lib\afs\AfsPtsAdmin.lib \
89 $(DESTDIR)\lib\afs\AfsVosAdmin.lib \
90 $(DESTDIR)\lib\afs\AfsBosAdmin.lib \
91 $(DESTDIR)\lib\afs\AfsAdminUtil.lib \
92 $(DESTDIR)\lib\afs\AfsClientAdmin.lib \
94 ############################################################################
113 midl $(MIDL_FLAGS) $(AFSDEV_AUXMIDLFLAGS) $<
115 ############################################################################
119 nmake /nologo /f ntmakefile headers
122 $(LIBFILE) : $(LIBOBJS)
127 nmake /nologo /f ntmakefile primary
132 nmake /nologo /f ntmakefile clean
137 nmake /nologo /f ntmakefile primary
142 nmake /nologo /f ntmakefile clean
145 $(EXEFILE) : $(EXEOBJS) $(EXERES) $(EXELIBS)
146 $(EXECONLINK) $(VCLIBS)
147 $(_VC_MANIFEST_EMBED_EXE)
161 clean:: afsclass_clean afsapplib_clean
162 if exist ITaAfsAdmSvr*.cpp del ITaAfsAdmSvr*.cpp
163 if exist ITaAfsAdmSvr*.c del ITaAfsAdmSvr*.c
164 if exist ITaAfsAdmSvr*.h del ITaAfsAdmSvr*.h
165 $(DEL) AFS_component_version_number.h
168 ############################################################################
174 -mkdir $(OUT)\..\afsapplib
176 nmake /nologo /f ntmakefile mkdir
178 -mkdir $(OUT)\..\afsclass
180 nmake /nologo /f ntmakefile mkdir