# # makefile: # makefile for 034\misc directory. # For use with IBM NMAKE, which comes with the IBM compilers, # the Developer's Toolkit, and the DDK. # # All the makefiles have been restructured with V0.9.0. # # Called from: 034 # # This copies the files in the current directory to # XWPRUNNING subdirectories, if necessary. # Say hello to yourself. !if [@echo +++++ Entering $(MAKEDIR)] !endif # include setup (compiler options etc.) !include ..\..\config.in !include ..\..\make\setup.in # This is the language code for the language that the NLS DLL # will support. Change this to a different language code, and # the makefile will support your langauge. LANGUAGE = 034 # # DO NOT CHANGE THE FOLLOWING # # Define the suffixes for files which NMAKE will work on. # .SUFFIXES is a reserved NMAKE keyword ("pseudotarget") for # defining file extensions that NMAKE will recognize. .SUFFIXES: .tmf FILES_TO_COPY = \ $(XWPRUNNING)\help\xfldr$(LANGUAGE).tmf \ !ifndef XWPLITE $(XWPRUNNING)\install\sound$(LANGUAGE).cmd \ $(XWPRUNNING)\help\drvrs$(LANGUAGE).txt \ $(XWPRUNNING)\help\xfcls$(LANGUAGE).txt !endif !ifdef XWPLITE CROBJ_SOURCE = crobj$(LANGUAGE)_lite.cmd !else CROBJ_SOURCE = crobj$(LANGUAGE).cmd !endif !ifdef XWPLITE INSTL_SOURCE = instl$(LANGUAGE)_lite.cmd !else INSTL_SOURCE = instl$(LANGUAGE).cmd !endif all: $(FILES_TO_COPY) $(COPY) $(CROBJ_SOURCE) $(XWPRUNNING)\install\crobj$(LANGUAGE).cmd $(COPY) $(INSTL_SOURCE) $(XWPRUNNING)\install\instl$(LANGUAGE).cmd @echo ----- Leaving $(MAKEDIR) # copy tmf file from modulesdir first $(XWPRUNNING)\help\xfldr$(LANGUAGE).tmf: $(MODULESDIR)\$(@B).tmf $(COPY) $(MODULESDIR)\$(@B).tmf $@ # compose tmf file in modulesdir from several source tmf files !ifdef XWPLITE $(MODULESDIR)\xfldr$(LANGUAGE).tmf: xfldr$(LANGUAGE).tmf $(NLS_MISC_PATH)\xwplite$(LANGUAGE).tmf $(COPY) /b $(@B).tmf+$(NLS_MISC_PATH)\xwplite$(LANGUAGE).tmf $@ !else $(MODULESDIR)\xfldr$(LANGUAGE).tmf: xfldr$(LANGUAGE).tmf $(NLS_MISC_PATH)\xwpfull$(LANGUAGE).tmf $(COPY) /b $(@B).tmf+$(NLS_MISC_PATH)\xwpfull$(LANGUAGE).tmf $@ !endif $(XWPRUNNING)\install\sound$(LANGUAGE).cmd: $(@B).cmd $(COPY) $(@B).cmd $(XWPRUNNING)\install # *.txt files $(XWPRUNNING)\help\drvrs$(LANGUAGE).txt: $(@B).txt $(COPY) $(@B).txt $(XWPRUNNING)\help $(XWPRUNNING)\help\xfcls$(LANGUAGE).txt: $(@B).txt $(COPY) $(@B).txt $(XWPRUNNING)\help