# This is the root DMAKE startup file. # # Definitions common to all environments are given at the root. # Definitions parameterized at the root have their parameters specified # in sub-makefiles which are included based on the values of the three # make variables: # # OS - core operating system flavour # OSRELEASE - specific release of the operating system # OSENVIRONMENT - software construction environment in use # # See the file 'summary', found in this directory for a list of # environments supported by this release. # Disable warnings for macros given on the command line but redefined here. __.silent !:= $(.SILENT) # Preserve user's .SILENT flag .SILENT !:= yes .NOTABS !:= yes .ERROR : @echo ---* $(MKFILENAME) *--- # Define the directory separator string. / *= $(DIRSEPSTR) # / *= $(DIRSEPSTR)$(DIRSEPSTR) .IMPORT .IGNORE : .EVERYTHING .IF "$(TNR)" == "" CALLMACROS:=$(MAKEMACROS) # CALLMACROS*:=$(MAKEMACROS) # .EXPORT : CALLMACROS #.IF "$(GUI)"=="UNX" || "$(VCSID)"=="TJ" || "$(VCSID)"=="HJS" .EXPORT : CALLMACROS #.ENDIF CALLTARGETS=$(MAKETARGETS) .ENDIF # "$(TNR)" == "" .INCLUDEDIRS : $(DMAKE_INC) $(OS2_SOLENV_INC) $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT) $(SOLARENV)/inc $(SRC_ROOT) # .INCLUDEDIRS : h:\sinc.neu s:\solenv\dmake\startup d:\work\dmake\solenv\inc r:\ause\work\mk s:\solenv\inc /nw386/dev/s/solenv/inc # .INCLUDEDIRS : s:\solenv\dmake\startup s:\solenv\inc $(SOLARVER)$/$(UPD)$/$(INPATH)$/inc$(UPDMINOREXT) $(SOLARENV)/inc # startup.mk configuration parameters, for each, set it to non-null if you wish # to enable the named facility. __.HAVE_RCS !:= yes # yes => RCS is installed. __.HAVE_SCCS !:= # yes => SCCS is installed. __.DEFAULTS !:= yes # yes => define default construction rules. __.EXECS !:= yes # yes => define how to build executables. # Grab key definitions from the environment # .IMPORT .IGNORE : OS OSRELEASE OSENVIRONMENT TMPDIR SHELL UPD INPATH OUTPATH GUI COM EX CLASSPATH PRODUCT GUIBASE SOLARENV SOLARVER GUIENV CPU CPUNAME DLLSUFFIX CVER GVER COMPATH LIB INCLUDE TR SORT UNIQ ROOTDIR SED AWK TOUCH IENV ILIB DEMO_ENV PRODUCT_ENV COMEX UPD BUILD DEVROOT VCL SO3 ENVCFLAGS # Default DMAKE configuration, if not overriden by environment .INCLUDE .NOINFER $(!null,$(OS) .IGNORE) : $(INCFILENAME:d)config.mk # Look for a local defaults configuration .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)local.mk # Customize macro definitions based on setings of OS, OSRELEASE and # OSENVIRONMENT, this must come before the default macro definitions which # follow. #.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OS)$/macros.mk .INCLUDE .NOINFER : $(INCFILENAME:d)$(OS)$/macros.mk #/ =$(DIRSEPSTR) # ----------------- Default Control Macro definitions ----------------------- # Select appropriate defaults for basic macros MAKE *= $(MAKECMD) -S $(MFLAGS) TMPDIR *:= $/tmp DIVFILE *= $(TMPFILE) TMPDIR *:= $/tmp DIVFILE *= $(TMPFILE) AUGMAKE *:= no # AUGMAKE *:= yes # PREP = 5 #MAXLINELENGTH = 4094 #MAXLINELENGTH = 8191 #MAXLINELENGTH = 16382 MAXLINELENGTH = 65530 # Recipe execution configuration .IF $(GUI)==WNT SHELL *:= $(COMSPEC) .ENDIF SHELL *:= $/bin$/sh SHELLFLAGS *:= -c GROUPSHELL *:= $(SHELL) GROUPFLAGS *:= SHELLMETAS *:= |();&<>?*][$$:\\#`'" GROUPSUFFIX *:= # Intermediate target removal configuration RM *:= $/bin$/rm RMFLAGS *= -f RMTARGET *= $< # Default recipe that is used to remove intermediate targets. .REMOVE :; +-echo dummy #$(RM) $(RMFLAGS) $(RMTARGET) dummy_mh: @+-echo dummy # Check and enable AUGMAKE extensions for SYSV compatibility .IF $(AUGMAKE) "@B" != $(@:b) "@D" != $(@:d) "@F" != $(@:f) "*B" != $(*:b) "*D" != $(*:d) "*F" != $(*:f) "