File: config.mk

package info (click to toggle)
dmake 1%3A4.12-2
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 7,688 kB
  • ctags: 2,678
  • sloc: ansic: 21,721; sh: 8,391; asm: 759; makefile: 143; awk: 54
file content (27 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This is the SysV R4 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 are required sources
OSDSRC := 
.IF $(OSDSRC)
   SRC    += $(OSDSRC)
   .SETDIR=$(osrdir) : $(OSDSRC)
.END

.SOURCE.h : $(osrdir)

# Local configuration modifications for CFLAGS, there's local SysV 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