summaryrefslogtreecommitdiff
path: root/dmake/unix/sysvr3/pwd/config.mk
blob: 86c535a64c1d0959ed7886008fed76c926be06c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This is the Sys VR3 PWD configuration file.  It configures SysvR3 unix
# versions of dmake to use a provided version of getcwd rather than the
# standard library version that uses popen to capture the output of pwd.
#

osredir := $(OS)$(DIRSEPSTR)$(OSRELEASE)$(DIRSEPSTR)$(OSENVIRONMENT)

# The following are required sources
OSRESRC := getcwd.c

.IF $(OSRESRC)
   SRC    += $(OSRESRC)
   .SETDIR=$(osredir) : $(OSRESRC)
.END

.SOURCE.h : $(osredir)

# Local configuration modifications for CFLAGS, there's local SysV includes
# too.
CFLAGS += -I$(osredir)