summaryrefslogtreecommitdiff
path: root/dmake/qssl/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dmake/qssl/config.mk')
-rw-r--r--dmake/qssl/config.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/dmake/qssl/config.mk b/dmake/qssl/config.mk
new file mode 100644
index 000000000000..d5d1534996eb
--- /dev/null
+++ b/dmake/qssl/config.mk
@@ -0,0 +1,43 @@
+# This is an OS specific configuration file
+# It assumes that OBJDIR, TARGET and DEBUG are previously defined.
+# It defines CFLAGS, LDARGS, CPPFLAGS, STARTUPFILE, LDOBJS
+# PRINTER, PRINTFLAGS
+# It augments SRC, OBJDIR, TARGET, CFLAGS, LDLIBS
+#
+PRINTER = hw
+PRINTFLAGS = -P$(PRINTER)
+STARTUPFILE = $(OS)/startup.mk
+CPPFLAGS = $(CFLAGS)
+LDOBJS = $(CSTARTUP) $(OBJDIR)/{$(<:f)}
+LDARGS = $(LDFLAGS) -o $@ $(LDOBJS) $(LDLIBS)
+
+# Debug flags
+DB_CFLAGS = -g -DDBUG
+DB_LDFLAGS = -g
+DB_LDLIBS =
+
+# NO Debug flags
+NDB_CFLAGS = -O
+NDB_LDFLAGS = -N 8192
+NDB_LDLIBS =
+
+# Local configuration modifications for CFLAGS.
+CFLAGS += -I$(OS) -3
+
+# Sources that must be defined for each different version
+OSSRC := ruletab.c runargv.c tempnam.c
+UNIXSRC := dcache.c rmprq.c dirbrk.c
+DOSSRC := arlib.c
+SRC += $(OSSRC) $(UNIXSRC) $(DOSSRC)
+.SETDIR=$(OS) : $(OSSRC)
+.SETDIR=unix : $(UNIXSRC)
+.SETDIR=msdos : $(DOSSRC)
+
+# Set source dirs so that we can find files named in this
+# config file.
+.SOURCE.h : $(OS)
+
+# See if we modify anything in the lower levels.
+.IF $(OSRELEASE) != $(NULL)
+ .INCLUDE .IGNORE : $(OS)$(DIRSEPSTR)$(OSRELEASE)$(DIRSEPSTR)config.mk
+.END