source: branches/branch-1-0/src/helpers/helpers_pre.in

Last change on this file was 452, checked in by rlwalsh, 2 years ago

deug: don't build memdebug*.obj unless XWPMEMDEBUG is #defined.
This avoids spurious warnings from 'ilib' about files with no public symbols.

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