office-gobmx/dmake/unix/bsd43/config.mk

28 lines
796 B
Makefile
Raw Normal View History

2000-09-22 09:33:37 -05:00
# This is the BSD 4.3 UNIX configuration file for DMAKE
# It simply modifies the values of SRC, and checks to see if
# OSENVIRONMENT is defined. If so it includes the appropriate
# config.mk file.
#
# It also sets the values of .SOURCE.c and .SOURCE.h to include the local
# directory.
#
osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
# The following sources are required for BSD4.3
OSDSRC := putenv.c tempnam.c utime.c setvbuf.c
.IF $(OSDSRC)
SRC += $(OSDSRC)
.SETDIR=$(osrdir) : $(OSDSRC)
.END
.SOURCE.h : $(osrdir)
# Local configuration modifications for CFLAGS, there's local BSD includes
# too.
CFLAGS += -I$(osrdir)
# See if we modify anything in the lower levels.
.IF $(OSENVIRONMENT) != $(NULL)
.INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
.END