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 # indicate that the functions in this library should be exported
14 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -DEXPORT_AFSAPPLIB -DEXPORTED=_declspec(dllexport)
16 # include the primary makefile
18 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
19 !INCLUDE ..\..\config\NTMakefile.version
21 ############################################################################
23 INCFILEDIR = $(DESTDIR)\include\WINNT
25 ILIBDIR = $(DESTDIR)\lib\afs
28 $(INCFILEDIR)\afsapplib.h \
29 $(INCFILEDIR)\al_admsvr.h \
30 $(INCFILEDIR)\al_dynlink.h \
31 $(INCFILEDIR)\al_messages.h \
32 $(INCFILEDIR)\al_progress.h \
33 $(INCFILEDIR)\al_resource.h \
34 $(INCFILEDIR)\al_wizard.h \
35 $(INCFILEDIR)\checklist.h \
36 $(INCFILEDIR)\ctl_date.h \
37 $(INCFILEDIR)\ctl_elapsed.h \
38 $(INCFILEDIR)\ctl_sockaddr.h \
39 $(INCFILEDIR)\ctl_spinner.h \
40 $(INCFILEDIR)\ctl_time.h \
41 $(INCFILEDIR)\dialog.h \
42 $(INCFILEDIR)\fastlist.h \
43 $(INCFILEDIR)\hashlist.h \
44 $(INCFILEDIR)\regexp.h \
45 $(INCFILEDIR)\resize.h \
46 $(INCFILEDIR)\settings.h \
47 $(INCFILEDIR)\subclass.h
85 $(DESTDIR)\lib\afs\TaAfsAdmSvrClient.lib \
86 $(DESTDIR)\lib\afs\TaLocale.lib
88 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\TaAfsAppLib.dll
91 # Since AfsAppLib links with TaAfsAdmSvrClient.lib--and both need stuff
92 # like the HashList code--we'll get lots of unnecessary 4049 warnings from
93 # the linker. Disable that complaint.
95 LOCALLINKFLAGS = -IGNORE:4049
97 # AfsAppLib needs to use an explicit .DEF file to get its entry points public
99 LOCALLINKFLAGS = $(LOCALLINKFLAGS) /DEF:TaAfsAppLib.def
101 # Also, AfsAppLib has a specific DLL entry-point which should be used
103 LOCALLINKFLAGS = $(LOCALLINKFLAGS) -entry:DllEntryPoint
105 ############################################################################
108 @echo TaAfsAppLib.DLL is built automatically when building AfsAdmSvr
109 @echo (the two are related--AfsAppLib uses the AfsAdmSvr client library,
110 @echo and the AfsAdmSvr server executable uses the AfsAppLib DLL--
111 @echo and they must therefore be built in a specific order).
113 @echo You do not need to build in the AfsAppLib directory explicitly.
116 headers : $(INCFILES)
120 for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
123 primary : headers $(DLLFILE) lang
125 $(DLLFILE) : $(DLLOBJS) $(DLLLIBS)
126 $(DLLGUILINK) $(LOCALLINKFLAGS) $(VCLIBS)
128 $(COPY) $*.lib $(ILIBDIR)
134 ############################################################################
139 AfsAppLib_stub.res : AfsAppLib_stub.rc AFS_component_version_number.h