home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwphescr.zip / XWPH0208.ZIP / src / helpers / helpers_pre.in < prev    next >
Text File  |  2002-08-08  |  3KB  |  110 lines

  1. #
  2. #   Pre-include file for the main helpers makefile.
  3. #   This contains shared definitions and all the objects
  4. #   that have to be built.
  5. #
  6.  
  7. !ifndef PROJECT_BASE_DIR
  8. !error in $(MAKEDIR)\makefile: PROJECT_BASE_DIR must be set before calling the HELPERS makefile. Terminating.
  9. !endif
  10.  
  11. !if [@echo     $(MAKEDIR)\makefile: PROJECT_BASE_DIR is: $(PROJECT_BASE_DIR)]
  12. !endif
  13.  
  14. # include setup (compiler options etc.)
  15. !include $(PROJECT_BASE_DIR)\setup.in
  16.  
  17. !ifndef HELPERS_OUTPUT_DIR
  18. !error in $(MAKEDIR)\makefile: HELPERS_OUTPUT_DIR must be set before calling the HELPERS makefile. Terminating.
  19. !endif
  20.  
  21. # Define the suffixes for files which NMAKE will work on.
  22. # .SUFFIXES is a reserved NMAKE keyword ("pseudotarget") for
  23. # defining file extensions that NMAKE will recognize in inference
  24. # rules.
  25. .SUFFIXES: .c .h .ih .obj .lib .dll
  26.  
  27. # OUTPUTDIR specifies the directory where we will put the
  28. # files created by this makefile.
  29. OUTPUTDIR = $(HELPERS_OUTPUT_DIR)
  30.  
  31. !if [@echo     $(MAKEDIR)\makefile: helpers OBJs will be written to $(OUTPUTDIR)]
  32. !endif
  33.  
  34. !if [@md $(OUTPUTDIR) 2> NUL]
  35. !endif
  36.  
  37. # The OBJS macro contains all the .OBJ files which need to be
  38. # created from the files in SRC\MAIN _and_ SRC\HELPERS.
  39. # These will be put into BIN\.
  40.  
  41. PLAINCOBJS = \
  42. $(OUTPUTDIR)\encodings.obj \
  43. $(OUTPUTDIR)\linklist.obj \
  44. $(OUTPUTDIR)\math.obj \
  45. $(OUTPUTDIR)\regexp.obj \
  46. $(OUTPUTDIR)\tree.obj \
  47. $(OUTPUTDIR)\xml.obj \
  48.  
  49. XMLOBJS = \
  50. $(OUTPUTDIR)\xmlparse.obj \
  51. $(OUTPUTDIR)\xmlrole.obj \
  52. $(OUTPUTDIR)\xmltok.obj \
  53.  
  54. CPOBJS = $(PLAINCOBJS) $(XMLOBJS) \
  55. $(OUTPUTDIR)\apmh.obj \
  56. $(OUTPUTDIR)\datetime.obj \
  57. $(OUTPUTDIR)\debug.obj \
  58. $(OUTPUTDIR)\dosh.obj \
  59. $(OUTPUTDIR)\dosh2.obj \
  60. $(OUTPUTDIR)\eah.obj \
  61. $(OUTPUTDIR)\except.obj \
  62. $(OUTPUTDIR)\exeh.obj \
  63. $(OUTPUTDIR)\lan.obj \
  64. $(OUTPUTDIR)\level.obj \
  65. $(OUTPUTDIR)\nls.obj \
  66. $(OUTPUTDIR)\nlscache.obj \
  67. $(OUTPUTDIR)\procstat.obj \
  68. $(OUTPUTDIR)\prfh.obj \
  69. $(OUTPUTDIR)\prfh2.obj \
  70. $(OUTPUTDIR)\resh.obj \
  71. $(OUTPUTDIR)\sem.obj \
  72. $(OUTPUTDIR)\interlock.obj \
  73. $(OUTPUTDIR)\stringh.obj \
  74. $(OUTPUTDIR)\syssound.obj \
  75. $(OUTPUTDIR)\tmsgfile.obj \
  76. $(OUTPUTDIR)\vcard.obj \
  77. $(OUTPUTDIR)\wphandle.obj \
  78. $(OUTPUTDIR)\xprf.obj \
  79. $(OUTPUTDIR)\xprf2.obj \
  80. $(OUTPUTDIR)\xstring.obj
  81.  
  82. OBJS = $(CPOBJS) \
  83. $(OUTPUTDIR)\animate.obj \
  84. $(OUTPUTDIR)\apps.obj \
  85. $(OUTPUTDIR)\cctl_chart.obj \
  86. $(OUTPUTDIR)\cctl_checkcnr.obj \
  87. $(OUTPUTDIR)\cctl_combo.obj \
  88. $(OUTPUTDIR)\cctl_progbar.obj \
  89. $(OUTPUTDIR)\cctl_splitwin.obj \
  90. $(OUTPUTDIR)\cctl_tooltip.obj \
  91. $(OUTPUTDIR)\comctl.obj \
  92. $(OUTPUTDIR)\configsys.obj \
  93. $(OUTPUTDIR)\cnrh.obj \
  94. $(OUTPUTDIR)\dialog.obj \
  95. $(OUTPUTDIR)\gpih.obj \
  96. $(OUTPUTDIR)\memdebug.obj \
  97. $(OUTPUTDIR)\memdebug_win.obj \
  98. $(OUTPUTDIR)\shapewin.obj \
  99. $(OUTPUTDIR)\threads.obj \
  100. $(OUTPUTDIR)\textview.obj \
  101. $(OUTPUTDIR)\textv_html.obj \
  102. $(OUTPUTDIR)\timer.obj \
  103. $(OUTPUTDIR)\winh.obj
  104.  
  105. # helpers include path
  106. INC = ..\..\include
  107. HLPINC = $(INC)\helpers
  108.  
  109. PROJECTINC = $(PROJECT_BASE_DIR)\include
  110.