# # Pre-include file for the main helpers makefile. # This contains shared definitions and all the objects # that have to be built. # !ifndef PROJECT_BASE_DIR !error in $(MAKEDIR)\makefile: PROJECT_BASE_DIR must be set before calling the HELPERS makefile. Terminating. !endif !if [@echo $(MAKEDIR)\makefile: PROJECT_BASE_DIR is: $(PROJECT_BASE_DIR)] !endif # include setup (compiler options etc.) !include $(PROJECT_BASE_DIR)\setup.in !ifndef HELPERS_OUTPUT_DIR !error in $(MAKEDIR)\makefile: HELPERS_OUTPUT_DIR must be set before calling the HELPERS makefile. Terminating. !endif # 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 in inference # rules. .SUFFIXES: .c .h .ih .obj .lib .dll # OUTPUTDIR specifies the directory where we will put the # files created by this makefile. OUTPUTDIR = $(HELPERS_OUTPUT_DIR) !if [@echo $(MAKEDIR)\makefile: helpers OBJs will be written to $(OUTPUTDIR)] !endif !if [@md $(OUTPUTDIR) 2> NUL] !endif # The OBJS macro contains all the .OBJ files which need to be # created from the files in SRC\MAIN _and_ SRC\HELPERS. # These will be put into BIN\. PLAINCOBJS = \ $(OUTPUTDIR)\encodings.obj \ $(OUTPUTDIR)\linklist.obj \ $(OUTPUTDIR)\math.obj \ $(OUTPUTDIR)\regexp.obj \ $(OUTPUTDIR)\tree.obj \ $(OUTPUTDIR)\xml.obj \ XMLOBJS = \ $(OUTPUTDIR)\xmlparse.obj \ $(OUTPUTDIR)\xmlrole.obj \ $(OUTPUTDIR)\xmltok.obj \ CPOBJS = $(PLAINCOBJS) $(XMLOBJS) \ $(OUTPUTDIR)\apmh.obj \ $(OUTPUTDIR)\datetime.obj \ $(OUTPUTDIR)\debug.obj \ $(OUTPUTDIR)\dosh.obj \ $(OUTPUTDIR)\dosh2.obj \ $(OUTPUTDIR)\eah.obj \ $(OUTPUTDIR)\except.obj \ $(OUTPUTDIR)\exeh.obj \ $(OUTPUTDIR)\lan.obj \ $(OUTPUTDIR)\level.obj \ $(OUTPUTDIR)\nls.obj \ $(OUTPUTDIR)\nlscache.obj \ $(OUTPUTDIR)\procstat.obj \ $(OUTPUTDIR)\prfh.obj \ $(OUTPUTDIR)\prfh2.obj \ $(OUTPUTDIR)\resh.obj \ $(OUTPUTDIR)\sem.obj \ $(OUTPUTDIR)\interlock.obj \ $(OUTPUTDIR)\stringh.obj \ $(OUTPUTDIR)\syssound.obj \ $(OUTPUTDIR)\tmsgfile.obj \ $(OUTPUTDIR)\vcard.obj \ $(OUTPUTDIR)\wphandle.obj \ $(OUTPUTDIR)\xprf.obj \ $(OUTPUTDIR)\xprf2.obj \ $(OUTPUTDIR)\xstring.obj OBJS = $(CPOBJS) \ $(OUTPUTDIR)\animate.obj \ $(OUTPUTDIR)\apps.obj \ $(OUTPUTDIR)\cctl_chart.obj \ $(OUTPUTDIR)\cctl_checkcnr.obj \ $(OUTPUTDIR)\cctl_combo.obj \ $(OUTPUTDIR)\cctl_progbar.obj \ $(OUTPUTDIR)\cctl_splitwin.obj \ $(OUTPUTDIR)\cctl_tooltip.obj \ $(OUTPUTDIR)\comctl.obj \ $(OUTPUTDIR)\configsys.obj \ $(OUTPUTDIR)\cnrh.obj \ $(OUTPUTDIR)\dialog.obj \ $(OUTPUTDIR)\gpih.obj \ $(OUTPUTDIR)\memdebug.obj \ $(OUTPUTDIR)\memdebug_win.obj \ $(OUTPUTDIR)\shapewin.obj \ $(OUTPUTDIR)\threads.obj \ $(OUTPUTDIR)\textview.obj \ $(OUTPUTDIR)\textv_html.obj \ $(OUTPUTDIR)\timer.obj \ $(OUTPUTDIR)\winh.obj # helpers include path INC = ..\..\include HLPINC = $(INC)\helpers PROJECTINC = $(PROJECT_BASE_DIR)\include