home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: WPS_PM
/
WPS_PM.zip
/
xfld085s.zip
/
049_de
/
help.049
/
help049.mak
< prev
next >
Wrap
Text File
|
1998-10-31
|
2KB
|
61 lines
#
# Makefile for XFolder National Language Support.
#
# For use with IBM NMAKE, which is part of IBM C-Set/2 and VisualAge C++.
# This file will probably not work with other MAKE utilities, such as
# GNU make or DMAKE.
#
# (w) (c) 1997-98 Ulrich Möller
#
#
# First 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: .html .ipf .hlp .inf
#
# Now set up a few environment variables.
#
# 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 = 049
# Change this to the full path of the HTML2IPF utility.
HTML2IPF = J:\Tools\text\HTML2IPF\html2ipf_049.cmd
# Change this to the directory where the output file (HLP)
# should be copied to.
COPYTO = G:\develop\C\XFolder\running\help
#
# Now define inference rules for what to do with certain file
# types, based on their file extension.
# The syntax we need here is ".fromext.toext".
# So whenever NMAKE encounters a .toext file, it
# executes what we specify here.
#
.html.ipf:
$(HTML2IPF) xfldr$(LANGUAGE).html
.ipf.hlp:
ipfc $*.ipf $*.hlp
#
# Now define inference rules for the different file types.
#
$(COPYTO)\xfldr$(LANGUAGE).hlp: xfldr$(LANGUAGE).hlp
cmd.exe /c copy $(@B).hlp $(COPYTO)
xfldr$(LANGUAGE).hlp: *.ipf
xfldr$(LANGUAGE).ipf: *.html