forked from NetworkConfiguration/dhcpcd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.inc
39 lines (33 loc) · 1.02 KB
/
Makefile.inc
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
28
29
30
31
32
33
34
35
36
37
38
39
# System definitions
PICFLAG?= -fPIC
BINMODE?= 0555
NONBINMODE?= 0444
MANMODE?= ${NONBINMODE}
CONFMODE?= 0644
DBMODE?= 0750
CC?= cc
ECHO?= echo
INSTALL?= install
LINT?= lint
SED?= sed
HOST_SH?= /bin/sh
# This isn't very portable, but I generaly make releases from DragonFlyBSD
SHA256?= sha256
PGP?= gpg
# old NetBSD defs
#SHA256?= cksum -a SHA256
#PGP?= netpgp
SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks
HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks
SED_RUNDIR= -e 's:@RUNDIR@:${RUNDIR}:g'
SED_DBDIR= -e 's:@DBDIR@:${DBDIR}:g'
SED_LIBDIR= -e 's:@LIBDIR@:${LIBDIR}:g'
SED_DATADIR= -e 's:@DATADIR@:${DATADIR}:g'
SED_HOOKDIR= -e 's:@HOOKDIR@:${HOOKDIR}:g'
SED_SERVICEEXISTS= -e 's:@SERVICEEXISTS@:${SERVICEEXISTS}:g'
SED_SERVICECMD= -e 's:@SERVICECMD@:${SERVICECMD}:g'
SED_SERVICESTATUS= -e 's:@SERVICESTATUS@:${SERVICESTATUS}:g'
SED_STATUSARG= -e 's:@STATUSARG@:${STATUSARG}:g'
SED_SCRIPT= -e 's:@SCRIPT@:${SCRIPT}:g'
SED_SYS= -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g'
SED_DEFAULT_HOSTNAME= -e 's:@DEFAULT_HOSTNAME@:${DEFAULT_HOSTNAME}:g'