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.
30 OS_SRC
+= dchdir.c switchar.c
32 # Imported MSDOS Files.
33 DOSSRC
+= dstrlwr.c arlib.c dirbrk.c
35 SRC
+= $(OS_SRC
) $(UNIXSRC
) $(DOSSRC
)
37 # Provide our own %$O : %$S rule.
40 $(<:s
,\
,${__.DIVSEP-sh-
${USESHELL}},:s
,/,${__.DIVSEP-sh-
${USESHELL}},);
43 # Set source dirs so that we can find files named in this
47 # See if we modify anything in the lower levels.
48 .IF
$(OSRELEASE
) != $(NULL
)
49 .INCLUDE
: $(OS
)$(DIRSEPSTR
)$(OSRELEASE
)$(DIRSEPSTR
)config.mk
52 .SETDIR
=msdos
: $(DOSSRC
)
53 .SETDIR
=$(OS
) : $(ASRC
) $(OS_SRC
)