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 # allow the resource compiler to search the dest\include tree
10 AFSDEV_AUXRCFLAGS = $(AFSDEV_AUXRCFLAGS) -I$(DESTDIR)\include -I..
12 # include the primary makefile
14 RELDIR=WINNT\afsapplib\lang
15 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
16 !INCLUDE ..\..\..\config\NTMakefile.version
18 ############################################################################
22 # To select which language to build, run the ntlang.bat batch file
23 # before performing a build.
26 !IF ("$(LANGID)" == "") || ("$(LANGNAME)" == "") || ("$(LANGCP)" == "")
27 !ERROR Must select language before building (run NTLANG.BAT)
30 ############################################################################
35 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\TaAfsAppLib_$(LANGID).dll
37 RCFILE = $(LANGNAME)\afsapplib.rc
39 RESFILE = $(OUT)\afsapplib_$(LANGID).res
43 ############################################################################
45 $(DLLFILE) : $(DLLOBJS)
52 @if exist $(OUT)\*.res del $(OUT)\*.res
53 @if exist RC*. del RC*.
54 @if exist RD*. del RD*.
56 ############################################################################
61 $(RESFILE) : $(RCFILE) AFS_component_version_number.h
62 $(RC) /fo$(RESFILE) /c$(LANGCP) $(RCFILE)