update dev300-m58
[ooovba.git] / dmake / unix / bsd43 / config.mk
blobe99937342e681c420248a6a1aceb5d2ab4717bd8
1 # This is the BSD 4.3 UNIX configuration file for DMAKE
2 # It simply modifies the values of SRC, and checks to see if
3 # OSENVIRONMENT is defined. If so it includes the appropriate
4 # config.mk file.
6 # It also sets the values of .SOURCE.c and .SOURCE.h to include the local
7 # directory.
9 osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
11 # The following sources are required for BSD4.3
12 OSDSRC := putenv.c tempnam.c utime.c setvbuf.c
13 .IF $(OSDSRC)
14 SRC += $(OSDSRC)
15 .SETDIR=$(osrdir) : $(OSDSRC)
16 .END
18 .SOURCE.h : $(osrdir)
20 # Local configuration modifications for CFLAGS, there's local BSD includes
21 # too.
22 CFLAGS += -I$(osrdir)
24 # See if we modify anything in the lower levels.
25 .IF $(OSENVIRONMENT) != $(NULL)
26 .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
27 .END