1 # This is an OS specific configuration file
2 # It assumes that OBJDIR, TARGET and DEBUG are previously defined.
3 # It defines CFLAGS, LDARGS, CPPFLAGS, STARTUPFILE, LDOBJS
4 # It augments SRC, OBJDIR, TARGET, CFLAGS, LDLIBS
7 # Memory model to compile for
8 # set to s - small, m - medium, c - compact, l - large
9 # Need large model now, dmake has grown up :-)
12 STARTUPFILE
= startup
/startup.mk
26 # Local configuration modifications for CFLAGS.
29 # Common Win32 source files.
32 # Imported Win95 files.
33 WIN95SRC
+= switchar.c
35 # Imported MSDOS Files.
36 DOSSRC
+= dstrlwr.c arlib.c dirbrk.c
38 SRC
+= $(OS_SRC
) $(UNIXSRC
) $(DOSSRC
)
40 # Provide our own %$O : %$S rule.
43 $(<:s
,\
,${__.DIVSEP-sh-
${USESHELL}},:s
,/,${__.DIVSEP-sh-
${USESHELL}},);
46 # Set source dirs so that we can find files named in this
50 # See if we modify anything in the lower levels.
51 .IF
$(OSRELEASE
) != $(NULL
)
52 .INCLUDE
: $(OS
)$(DIRSEPSTR
)$(OSRELEASE
)$(DIRSEPSTR
)config.mk
55 .SETDIR
=msdos
: $(DOSSRC
)
56 .SETDIR
=win95
: $(WIN95SRC
)
57 .SETDIR
=$(OS
) : $(ASRC
) $(OS_SRC
)