source: trunk/src/helpers/helpers_pre.in@ 9

Last change on this file since 9 was 9, checked in by umoeller, 25 years ago

Initial checkin of helpers which used to be in WarpIN sources.-

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
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.
29OUTPUTDIR = $(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
41PLAINCOBJS = \
42 $(OUTPUTDIR)\linklist.obj \
43 $(OUTPUTDIR)\tree.obj
44
45CPOBJS = $(PLAINCOBJS) \
46 $(OUTPUTDIR)\datetime.obj \
47 $(OUTPUTDIR)\debug.obj \
48 $(OUTPUTDIR)\dosh.obj \
49 $(OUTPUTDIR)\dosh2.obj \
50 $(OUTPUTDIR)\eah.obj \
51 $(OUTPUTDIR)\except.obj \
52 $(OUTPUTDIR)\level.obj \
53 $(OUTPUTDIR)\procstat.obj \
54 $(OUTPUTDIR)\prfh.obj \
55 $(OUTPUTDIR)\prfh2.obj \
56 $(OUTPUTDIR)\resh.obj \
57 $(OUTPUTDIR)\stringh.obj \
58 $(OUTPUTDIR)\syssound.obj \
59 $(OUTPUTDIR)\threads.obj \
60 $(OUTPUTDIR)\tmsgfile.obj \
61 $(OUTPUTDIR)\wphandle.obj \
62 $(OUTPUTDIR)\xprf.obj \
63 $(OUTPUTDIR)\xprf2.obj \
64 $(OUTPUTDIR)\xstring.obj
65
66OBJS = $(CPOBJS) \
67 $(OUTPUTDIR)\animate.obj \
68 $(OUTPUTDIR)\cctl_chart.obj \
69 $(OUTPUTDIR)\cctl_checkcnr.obj \
70 $(OUTPUTDIR)\cctl_progbar.obj \
71 $(OUTPUTDIR)\cctl_splitwin.obj \
72 $(OUTPUTDIR)\cctl_tooltip.obj \
73 $(OUTPUTDIR)\comctl.obj \
74 $(OUTPUTDIR)\cnrh.obj \
75 $(OUTPUTDIR)\gpih.obj \
76 $(OUTPUTDIR)\memdebug.obj \
77 $(OUTPUTDIR)\shapewin.obj \
78 $(OUTPUTDIR)\textview.obj \
79 $(OUTPUTDIR)\textv_html.obj \
80 $(OUTPUTDIR)\winh.obj
81
82# helpers include path
83INC = ..\..\include
84HLPINC = $(INC)\helpers
85
86PROJECTINC = $(PROJECT_BASE_DIR)\include
Note: See TracBrowser for help on using the repository browser.