merge the formfield patch from ooo-build
[ooovba.git] / dmake / unix / coherent / config.mk
blob9c5890c8065de4b6a32b81169c460f251f674065
1 # This is the COHERENT 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 are required sources
12 .IF $(OSDSRC)
13 SRC += $(OSDSRC)
14 .SETDIR=$(osrdir) : $(OSDSRC)
15 .END
17 .SOURCE.h : $(osrdir)
19 # Local configuration modifications for CFLAGS, there's local SysV includes
20 # too.
21 CFLAGS += -I$(osrdir) -Dvoid=int
23 # See if we modify anything in the lower levels.
24 .IF $(OSENVIRONMENT) != $(NULL)
25 .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
26 .END