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 >
Text File  |  1998-10-31  |  2KB  |  61 lines

  1. #
  2. # Makefile for XFolder National Language Support.
  3. #
  4. # For use with IBM NMAKE, which is part of IBM C-Set/2 and VisualAge C++.
  5. # This file will probably not work with other MAKE utilities, such as
  6. # GNU make or DMAKE.
  7. #
  8. # (w) (c) 1997-98 Ulrich Möller
  9. #
  10.  
  11. #
  12. # First define the suffixes for files which NMAKE will work on.
  13. # .SUFFIXES is a reserved NMAKE keyword ("pseudotarget") for
  14. # defining file extensions that NMAKE will recognize.
  15. #
  16.  
  17. .SUFFIXES: .html .ipf .hlp .inf
  18.  
  19. #
  20. # Now set up a few environment variables.
  21. #
  22.  
  23. # This is the language code for the language that the NLS DLL
  24. # will support. Change this to a different language code, and
  25. # the makefile will support your langauge.
  26. LANGUAGE = 049
  27.  
  28. # Change this to the full path of the HTML2IPF utility.
  29. HTML2IPF = J:\Tools\text\HTML2IPF\html2ipf_049.cmd
  30.  
  31. # Change this to the directory where the output file (HLP)
  32. # should be copied to.
  33. COPYTO = G:\develop\C\XFolder\running\help
  34.  
  35. #
  36. # Now define inference rules for what to do with certain file
  37. # types, based on their file extension.
  38. # The syntax we need here is ".fromext.toext".
  39. # So whenever NMAKE encounters a .toext file, it
  40. # executes what we specify here.
  41. #
  42.  
  43. .html.ipf:
  44.         $(HTML2IPF) xfldr$(LANGUAGE).html
  45.  
  46. .ipf.hlp:
  47.         ipfc $*.ipf $*.hlp
  48.  
  49. #
  50. # Now define inference rules for the different file types.
  51. #
  52.  
  53. $(COPYTO)\xfldr$(LANGUAGE).hlp: xfldr$(LANGUAGE).hlp
  54.         cmd.exe /c copy $(@B).hlp $(COPYTO)
  55.  
  56. xfldr$(LANGUAGE).hlp: *.ipf
  57.  
  58. xfldr$(LANGUAGE).ipf: *.html
  59.  
  60.  
  61.