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
5 # It augments SRC, OBJDIR, TARGET, CFLAGS, LDLIBS
8 PRINTFLAGS
= -P
$(PRINTER
)
9 STARTUPFILE
= $(OS
)/startup.mk
11 LDOBJS
= $(CSTARTUP
) $(OBJDIR
)/{$(<:f
)}
12 LDARGS
= $(LDFLAGS
) -o
$@
$(LDOBJS
) $(LDLIBS
)
24 # Local configuration modifications for CFLAGS.
27 # Sources that must be defined for each different version
28 OSSRC
:= arlib.c dirbrk.c rmprq.c ruletab.c runargv.c dcache.c
30 .SETDIR
=$(OS
) : $(OSSRC
)
32 # Set source dirs so that we can find files named in this
36 # See if we modify anything in the lower levels.
37 .IF
$(OSRELEASE
) != $(NULL
)
38 .INCLUDE .IGNORE
: $(OS
)$(DIRSEPSTR
)$(OSRELEASE
)$(DIRSEPSTR
)config.mk