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 # include the AFSD source tree on our inclusion path
10 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) /D"_AFXDLL" -I..\afsd -I..\client_config -I..\kfw\inc\krb5
12 # include the primary makefile
13 RELDIR=WINNT\client_creds
14 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
15 !INCLUDE ..\..\config\NTMakefile.version
17 ############################################################################
22 EXEFILE = $(DESTDIR)\root.client\usr\vice\etc\afscreds.exe
41 $(OUT)\afscreds_stub.res
47 $(OUT)\checklist.obj \
48 $(OUT)\al_wizard.obj \
53 $(OUT)\RegistrySupport.obj
65 $(DESTDIR)\lib\afs\afspioctl.lib \
66 $(DESTDIR)\lib\libosi.lib \
67 $(DESTDIR)\lib\afs\TaLocale.lib \
68 $(DESTDIR)\lib\lanahelper.lib \
69 $(DESTDIR)\lib\afsrxkad.lib \
70 $(DESTDIR)\lib\afsdes.lib \
71 $(DESTDIR)\lib\afsauthent.lib \
72 $(DESTDIR)\lib\libafsconf.lib \
73 $(DESTDIR)\lib\afskfw.lib
75 ############################################################################
77 # EXTERNAL SOURCE FILES
79 # The following source files are required by this application, but live
80 # elsewhere in the tree. To prevent checking in more than one copy of the
81 # source files, they are copied to this directory at build-time.
85 $(DESTDIR)\include\WINNT\al_wizard.h \
86 $(DESTDIR)\include\WINNT\checklist.h \
87 $(DESTDIR)\include\WINNT\subclass.h
89 ############################################################################
92 AFSAPPLIB=..\afsapplib
93 CLIENT= ..\client_config
95 $(CLIENTOBJS): $(CLIENT)\$$(@B).cpp
98 $(AFSAPPLIBOBJS): $(AFSAPPLIB)\$$(@B).cpp
101 $(AFSDOBJS): $(AFSD)\$$(@B).c
104 $(EXEOBJS): $$(@B).cpp
105 $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
107 $(EXECOBJS): $$(@B).c
108 $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
110 ############################################################################
112 $(EXEFILE) : $(EXEOBJS) $(EXECOBJS) $(EXERES) $(AFSAPPLIBOBJS) $(AFSDOBJS) $(CLIENTOBJS) $(EXELIBS)
113 $(EXEGUILINK) $(VCLIBS)
116 install : $(COPYHEADERS) $(EXEFILE) lang
120 for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
123 ############################################################################
128 $(OUT)\afscreds_stub.res : afscreds_stub.rc AFS_component_version_number.h
132 for /f %l in ('dir /B ??_??') do ( if exist @$(NTLANG) do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile clean )
138 nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir