]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/resolvconf/Makefile
Implement pci_enable_msi() and pci_disable_msi() in the LinuxKPI.
[FreeBSD/FreeBSD.git] / sbin / resolvconf / Makefile
1 # $FreeBSD$
2
3 PACKAGE=runtime
4 DIST=           ${SRCTOP}/contrib/openresolv
5 .PATH:          ${DIST}
6
7 SCRIPTS=        resolvconf
8
9 FILES=          libc dnsmasq named pdnsd pdns_recursor unbound
10 FILESDIR=       /libexec/resolvconf
11
12 MAN=            resolvconf.conf.5 resolvconf.8
13
14 CLEANFILES=     ${SCRIPTS} ${FILES} ${MAN}
15
16 SYSCONFDIR=     /etc
17 RCDIR=          ${SYSCONFDIR}/rc.d
18 VARDIR=         /var/run/resolvconf
19 SBINDIR=        /sbin
20
21 # We don't assume to restart the services in /sbin.  So, though
22 # our service(8) is in /usr/sbin, we can use it, here.
23 CMD1=           \\$$1 onestatus >/dev/null 2>\&1
24 CMD2=           \\$$1 restart
25 RESTARTCMD=     "/usr/sbin/service ${CMD1} \&\& /usr/sbin/service ${CMD2}"
26
27 .for f in ${SCRIPTS} ${FILES} ${MAN}
28 ${f}:   ${f}.in
29         sed     -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \
30                 -e 's:@LIBEXECDIR@:${FILESDIR}:g' \
31                 -e 's:@VARDIR@:${VARDIR}:g' \
32                 -e 's:@RESTARTCMD@:${RESTARTCMD}:g' \
33                 -e 's:@RCDIR@:${RCDIR}:g' \
34                 -e 's:@SBINDIR@:${SBINDIR}:g' \
35                 -e 's: vpn : ng[0-9]*&:g' \
36                 ${DIST}/$@.in > $@
37 .endfor
38
39 .include <bsd.prog.mk>