1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

sbin: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

MFC after:	1 month
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-03-04 11:33:01 +00:00
parent caf42d8126
commit 22289a8c3d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314656
61 changed files with 95 additions and 95 deletions

View File

@ -34,8 +34,8 @@ WARNS?= 3
FILES= atmconfig.help atmconfig_device.help
FILESDIR= ${SHAREDIR}/doc/atm
SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \
${.CURDIR}/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def
SNMP_ATM_DEF= ${SRCTOP}/contrib/ngatm/snmp_atm/atm_tree.def \
${SRCTOP}/usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def
oid.h: atm_oid.list ${SNMP_ATM_DEF}
cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 3/17/94
# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/geom
.PATH: ${SRCTOP}/sys/geom
PACKAGE=runtime
PROG= bsdlabel

View File

@ -6,7 +6,7 @@ LIBADD= crypto pjdlog
MAN= decryptcore.8
CFLAGS+=-I${.CURDIR}/../../lib/libpjdlog
CFLAGS+=-I${SRCTOP}/lib/libpjdlog
WARNS?= 6

View File

@ -5,7 +5,7 @@
PLAIN_TESTS_C= option-domain-search_test
SRCS.option-domain-search_test= alloc.c convert.c hash.c options.c \
tables.c fake.c option-domain-search.c
CFLAGS.option-domain-search_test+= -I${.CURDIR}/..
CFLAGS.option-domain-search_test+= -I${.CURDIR:H}
LIBADD.option-domain-search_test= util
WARNS?= 2

View File

@ -5,6 +5,6 @@ PACKAGE=runtime
PROG= etherswitchcfg
MAN= etherswitchcfg.8
SRCS= etherswitchcfg.c ifmedia.c
CFLAGS+= -I${.CURDIR}/../../sys
CFLAGS+= -I${SRCTOP}/sys
.include <bsd.prog.mk>

View File

@ -6,7 +6,7 @@ SRCS= fdisk.c geom_mbr_enc.c
WARNS?= 4
MAN= fdisk.8
.PATH: ${.CURDIR}/../../sys/geom
.PATH: ${SRCTOP}/sys/geom
LIBADD= geom

View File

@ -4,7 +4,7 @@
# $FreeBSD$
#
GROWFS= ${.CURDIR}/../growfs
GROWFS= ${.CURDIR:H}/growfs
.PATH: ${GROWFS}
PACKAGE=runtime

View File

@ -12,8 +12,8 @@ SRCS= dir.c ea.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c \
globs.c
LIBADD= ufs
WARNS?= 2
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mount
CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/mount
.PATH: ${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../mount
.PATH: ${SRCTOP}/sys/ufs/ffs ${.CURDIR:H}/mount
.include <bsd.prog.mk>

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 1997/05/08 21:11:11 gwr Exp $
# $FreeBSD$
FSCK= ${.CURDIR}/../fsck
FSCK= ${.CURDIR:H}/fsck
.PATH: ${FSCK}
PACKAGE=runtime

View File

@ -8,9 +8,9 @@ MAN= fsdb.8
SRCS= fsdb.c fsdbutil.c \
dir.c ea.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c globs.c
CFLAGS+= -I${.CURDIR}/../fsck_ffs
CFLAGS+= -I${.CURDIR:H}/fsck_ffs
WARNS?= 2
LIBADD= edit
.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
.PATH: ${.CURDIR:H}/fsck_ffs ${SRCTOP}/sys/ufs/ffs
.include <bsd.prog.mk>

View File

@ -13,10 +13,10 @@ SRCS+= g_bde_lock.c
NO_WCAST_ALIGN=
NO_WMISSING_VARIABLE_DECLARATIONS=
CFLAGS+= -I${.CURDIR}/../../sys
.PATH: ${.CURDIR}/../../sys/geom/bde \
${.CURDIR}/../../sys/crypto/rijndael \
${.CURDIR}/../../sys/crypto/sha2
CFLAGS+= -I${SRCTOP}/sys
.PATH: ${SRCTOP}/sys/geom/bde \
${SRCTOP}/sys/crypto/rijndael \
${SRCTOP}/sys/crypto/sha2
CLEANFILES+= template.c

View File

@ -8,6 +8,6 @@ SRCS+= geom_${GEOM_CLASS}.c subr.c
NO_WMISSING_VARIABLE_DECLARATIONS=
CFLAGS+= -I${.CURDIR}/../..
CFLAGS+= -I${.CURDIR:H:H}
.include "../Makefile.inc"

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= cache

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= concat

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc ${.CURDIR}/../../../../sys/geom/eli ${.CURDIR}/../../../../sys/crypto/sha2
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/eli ${SRCTOP}/sys/crypto/sha2
GEOM_CLASS= eli
SRCS= g_eli_crypto.c
@ -15,6 +15,6 @@ LIBADD= md crypto
WARNS?= 3
CFLAGS+=-I${.CURDIR}/../../../../sys
CFLAGS+=-I${SRCTOP}/sys
.include <bsd.lib.mk>

View File

@ -1,13 +1,13 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= journal
SRCS+= geom_journal_ufs.c
LIBADD= ufs md
CFLAGS+=-I${.CURDIR}/../../../../sys
CFLAGS+=-I${SRCTOP}/sys
.include <bsd.lib.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= label

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= mirror

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= mountver

View File

@ -1,10 +1,10 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= multipath
CFLAGS+= -I${.CURDIR}/../../../../sys
CFLAGS+= -I${SRCTOP}/sys
.include <bsd.lib.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= nop

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= part

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= raid

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= raid3

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= sched

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= shsec

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= stripe

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
.PATH: ${.CURDIR}/../../misc ${.CURDIR}/../../../../sys/geom/virstor
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/virstor
GEOM_CLASS= virstor

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../misc
.PATH: ${.CURDIR:H}/misc
PACKAGE=runtime
PROG= geom
@ -10,7 +10,7 @@ SRCS= geom.c subr.c
NO_SHARED=NO
CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\"
CFLAGS+= -I${.CURDIR}/../../../sys -I${.CURDIR} -I${.CURDIR}/..
CFLAGS+= -I${SRCTOP}/sys -I${.CURDIR} -I${.CURDIR:H}
LIBADD= geom util

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../shared
.PATH: ${.CURDIR:H}/shared
PROG= ggatec
MAN= ggatec.8
@ -8,7 +8,7 @@ SRCS= ggatec.c ggate.c
CFLAGS+= -DMAX_SEND_SIZE=32768
CFLAGS+= -DLIBGEOM
CFLAGS+= -I${.CURDIR}/../shared
CFLAGS+= -I${.CURDIR:H}/shared
LIBADD= geom util pthread

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../shared
.PATH: ${.CURDIR:H}/shared
PROG= ggated
MAN= ggated.8
@ -8,6 +8,6 @@ SRCS= ggated.c ggate.c
LIBADD= pthread util
CFLAGS+= -I${.CURDIR}/../shared
CFLAGS+= -I${.CURDIR:H}/shared
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../shared
.PATH: ${.CURDIR:H}/shared
PROG= ggatel
MAN= ggatel.8
SRCS= ggatel.c ggate.c
CFLAGS+= -DLIBGEOM
CFLAGS+= -I${.CURDIR}/../shared
CFLAGS+= -I${.CURDIR:H}/shared
LIBADD= geom util

View File

@ -6,19 +6,19 @@
.include <src.opts.mk>
.PATH: ${.CURDIR}/../mount
.PATH: ${.CURDIR:H}/mount
PACKAGE=runtime
PROG= growfs
SRCS= growfs.c getmntopts.c
MAN= growfs.8
CFLAGS+=-I${.CURDIR}/../mount
CFLAGS+=-I${.CURDIR:H}/mount
.if defined(GFSDBG)
SRCS+= debug.c
CFLAGS+= -DFS_DEBUG
NO_WCAST_ALIGN= yes
.endif
.endif
LIBADD= util

View File

@ -6,10 +6,10 @@ SRCS= gvinum.c gvinum.h geom_vinum_share.c
MAN= gvinum.8
WARNS?= 2
CFLAGS+= -I${.CURDIR}/../../sys -I${DESTDIR}/${INCLUDEDIR}/edit
CFLAGS+= -I${SRCTOP}/sys -I${DESTDIR}/${INCLUDEDIR}/edit
LIBADD= edit geom
.PATH: ${.CURDIR}/../../sys/geom/vinum
.PATH: ${SRCTOP}/sys/geom/vinum
.include <bsd.prog.mk>

View File

@ -3,7 +3,7 @@
.include <src.opts.mk>
PACKAGE=hast
.PATH: ${.CURDIR}/../hastd
.PATH: ${.CURDIR:H}/hastd
PROG= hastctl
SRCS= activemap.c
@ -23,7 +23,7 @@ MAN= hastctl.8
NO_WFORMAT=
NO_WCAST_ALIGN=
NO_WMISSING_VARIABLE_DECLARATIONS=
CFLAGS+=-I${.CURDIR}/../hastd
CFLAGS+=-I${.CURDIR:H}/hastd
CFLAGS+=-DHAVE_CAPSICUM
CFLAGS+=-DINET
.if ${MK_INET6_SUPPORT} != "no"

View File

@ -11,7 +11,7 @@ CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
LIBADD= util crypt
# Needed for getmntopts.c
MOUNT= ${.CURDIR}/../../sbin/mount
MOUNT= ${SRCTOP}/sbin/mount
CFLAGS+=-I${MOUNT}
.PATH: ${MOUNT}

View File

@ -6,10 +6,10 @@ WARNS?= 2
NO_WFORMAT=
NO_WARRAY_BOUNDS=
CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter
CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools
CFLAGS+= -I${.CURDIR}/../../../sys
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter
CFLAGS+= -I${SRCTOP}/contrib/ipfilter
CFLAGS+= -I${SRCTOP}/contrib/ipfilter/tools
CFLAGS+= -I${SRCTOP}/sys
CFLAGS+= -I${SRCTOP}/sys/contrib/ipfilter
CFLAGS+= -DSTATETOP -D__UIO_EXPOSE
.if ${MK_INET6_SUPPORT} != "no"
@ -24,9 +24,9 @@ LIBADD+= ipf
CLEANFILES+= y.tab.c y.tab.h
.PATH: ${.CURDIR}/../../../contrib/ipfilter \
${.CURDIR}/../../../contrib/ipfilter/lib \
${.CURDIR}/../../../contrib/ipfilter/tools \
${.CURDIR}/../../../contrib/ipfilter/man
.PATH: ${SRCTOP}/contrib/ipfilter \
${SRCTOP}/contrib/ipfilter/lib \
${SRCTOP}/contrib/ipfilter/tools \
${SRCTOP}/contrib/ipfilter/man
.include "../Makefile.inc"

View File

@ -31,7 +31,7 @@ ipf_l.h: lexer.h
${.ALLSRC} > ${.TARGET}
.if defined(RESCUE)
LIBIPF_SRCS!= cd ${.CURDIR}/../libipf && ${MAKE} -V SRCS
LIBIPF_SRCS!= cd ${.CURDIR:H}/libipf && ${MAKE} -V SRCS
SRCS+= ${LIBIPF_SRCS}
.else
LIBADD+= pcap

View File

@ -20,11 +20,11 @@ CFLAGS+= -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP \
# XXX CFLAGS+= -DIPFILTER_SCAN
.PATH: ${.CURDIR}/../../../sys/contrib/ipfilter/netinet
.PATH: ${SRCTOP}/sys/contrib/ipfilter/netinet
GENHDRS= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h
CLEANFILES+= ${GENHDRS}
CLEANFILES+= ${GENHDRS}
CLEANFILES+= ipf_y.c ipf_l.c
CLEANFILES+= ipf.tab.c ipf.tab.h
CLEANFILES+= ipnat_y.c ipnat_l.c

View File

@ -5,6 +5,6 @@ PROG= ipresend
SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
MAN= ipresend.1
.PATH: ${.CURDIR}/../../../contrib/ipfilter/ipsend
.PATH: ${SRCTOP}/contrib/ipfilter/ipsend
.include <bsd.prog.mk>

View File

@ -4,7 +4,7 @@ PACKAGE=iscsi_legacy
SRCS= iscontrol.c pdu.c fsm.c config.c login.c auth_subr.c misc.c
PROG= iscontrol
LIBADD= cam md
S= ${.CURDIR}/../../sys
S= ${SRCTOP}/sys
WARNS?= 3
CFLAGS+= -I$S

View File

@ -3,7 +3,7 @@
PACKAGE=runtime
PROG= ldconfig
SRCS= elfhints.c ldconfig.c shlib.c support.c
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
LDDIR?= ${SRCTOP}/libexec/rtld-aout
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
MAN= ldconfig.8

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../mount
.PATH: ${.CURDIR:H}/mount
PACKAGE=runtime
PROG= mksnap_ffs
@ -8,7 +8,7 @@ SRCS= mksnap_ffs.c getmntopts.c
MAN= mksnap_ffs.8
WARNS?= 2
CFLAGS+=-I${.CURDIR}/../mount
CFLAGS+=-I${.CURDIR:H}/mount
.if defined(NOSUID)
BINMODE=554

View File

@ -7,7 +7,7 @@ SRCS= mount_cd9660.c getmntopts.c
MAN= mount_cd9660.8
LIBADD= kiconv
MOUNT= ${.CURDIR}/../mount
MOUNT= ${.CURDIR:H}/mount
CFLAGS+= -I${MOUNT}
# Needs to be dynamically linked for optional dlopen() access to

View File

@ -25,7 +25,7 @@ PROG= mount_fusefs
SRCS= mount_fusefs.c getmntopts.c
MAN8= mount_fusefs.8
MOUNT= ${.CURDIR}/../mount
MOUNT= ${.CURDIR:H}/mount
CFLAGS+= -I${MOUNT}
.PATH: ${MOUNT}

View File

@ -8,7 +8,7 @@ SRCS= mount_msdosfs.c getmntopts.c
MAN= mount_msdosfs.8
LIBADD= kiconv
MOUNT= ${.CURDIR}/../mount
MOUNT= ${.CURDIR:H}/mount
CFLAGS+= -I${MOUNT}
# Needs to be dynamically linked for optional dlopen() access to

View File

@ -7,8 +7,8 @@ PROG= mount_nfs
SRCS= mount_nfs.c getmntopts.c mounttab.c
MAN= mount_nfs.8
MOUNT= ${.CURDIR}/../mount
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
MOUNT= ${.CURDIR:H}/mount
UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
.PATH: ${MOUNT} ${UMNTALL}

View File

@ -6,7 +6,7 @@ PROG= mount_nullfs
SRCS= mount_nullfs.c getmntopts.c
MAN= mount_nullfs.8
MOUNT= ${.CURDIR}/../mount
MOUNT= ${.CURDIR:H}/mount
CFLAGS+=-I${MOUNT}
.PATH: ${MOUNT}

View File

@ -6,8 +6,8 @@ SRCS= mount_udf.c getmntopts.c
MAN= mount_udf.8
LIBADD= kiconv
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT} -I${.CURDIR}/../../sys
MOUNT= ${.CURDIR:H}/mount
CFLAGS+= -I${MOUNT} -I${SRCTOP}/sys
.PATH: ${MOUNT}
# Needs to be dynamically linked for optional dlopen() access to

View File

@ -6,7 +6,7 @@ PROG= mount_unionfs
SRCS= mount_unionfs.c getmntopts.c
MAN= mount_unionfs.8
MOUNT= ${.CURDIR}/../mount
MOUNT= ${.CURDIR:H}/mount
CFLAGS+=-I${MOUNT}
.PATH: ${MOUNT}

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 3/27/94
# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/geom
.PATH: ${SRCTOP}/sys/geom
PROG= newfs
LIBADD= ufs util
@ -13,7 +13,7 @@ MAN= newfs.8
.include <bsd.prog.mk>
test: ${PROG}
sh ${.CURDIR}/runtest01.sh
sh ${.CURDIR}/runtest01.sh
sh ${.CURDIR}/runtest00.sh | tee _.test
diff --ignore-matching-lines=FreeBSD _.test ${.CURDIR}/ref.test
echo All Tests Passed

View File

@ -6,6 +6,6 @@ SRCS= nvmecontrol.c devlist.c firmware.c identify.c logpage.c \
perftest.c reset.c nvme_util.c power.c wdc.c
MAN= nvmecontrol.8
.PATH: ${.CURDIR}/../../sys/dev/nvme
.PATH: ${SRCTOP}/sys/dev/nvme
.include <bsd.prog.mk>

View File

@ -3,7 +3,7 @@
.include <src.opts.mk>
# pf_ruleset.c is shared between kernel and pfctl
.PATH: ${.CURDIR}/../../sys/netpfil/pf
.PATH: ${SRCTOP}/sys/netpfil/pf
PACKAGE=pf
PROG= pfctl

View File

@ -1,14 +1,14 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/pf/pflogd
.PATH: ${SRCTOP}/contrib/pf/pflogd
PACKAGE=pf
PROG= pflogd
SRCS= pflogd.c pidfile.c privsep.c privsep_fdpass.c
MAN= pflogd.8
CFLAGS+=-include ${.CURDIR}/../../lib/libpcap/config.h
CFLAGS+=-I${.CURDIR}/../../contrib/libpcap
CFLAGS+=-include ${SRCTOP}/lib/libpcap/config.h
CFLAGS+=-I${SRCTOP}/contrib/libpcap
LIBADD= pcap

View File

@ -8,6 +8,6 @@ WARNS?= 2
MAN= quotacheck.8
LIBADD= util
.PATH: ${.CURDIR}/../fsck ${.CURDIR}/../fsck_ffs
.PATH: ${.CURDIR:H}/fsck ${.CURDIR:H}/fsck_ffs
.include <bsd.prog.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PACKAGE=runtime
DIST= ${.CURDIR}/../../contrib/openresolv
DIST= ${SRCTOP}/contrib/openresolv
.PATH: ${DIST}
SCRIPTS= resolvconf

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$
.PATH: ${.CURDIR}/../dump
.PATH: ${.CURDIR:H}/dump
PACKAGE=runtime
PROG= restore

View File

@ -14,7 +14,7 @@
#
# $FreeBSD$
.PATH: ${.CURDIR}/../../usr.sbin/rtsold
.PATH: ${SRCTOP}/usr.sbin/rtsold
PACKAGE=runtime
PROG= rtsol

View File

@ -35,7 +35,7 @@ MAN= setkey.8
SRCS= setkey.c parse.y token.l
WARNS?= 1
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../lib/libipsec
CFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libipsec
YFLAGS= -d
LIBADD= l y
@ -44,9 +44,9 @@ CLEANFILES= y.tab.c y.tab.h key_test.o keytest
# libpfkey
# ipsec_strerror.c is for avoiding shlib reference to non-exported function.
.PATH: ${.CURDIR}/../../lib/libipsec ${.CURDIR}/../../sys/netipsec
.PATH: ${SRCTOP}/lib/libipsec ${SRCTOP}/sys/netipsec
SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
CFLAGS+= -I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netipsec
CFLAGS+= -I${SRCTOP}/lib/libipsec -I${SRCTOP}/sys/netipsec
SRCS+= y.tab.h
y.tab.h: parse.y

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/geom
.PATH: ${SRCTOP}/sys/geom
PROG= sunlabel
SRCS= sunlabel.c geom_sunlabel_enc.c

View File

@ -7,8 +7,8 @@ PROG= umount
SRCS= umount.c vfslist.c mounttab.c
MAN= umount.8
MOUNT= ${.CURDIR}/../mount
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
MOUNT= ${.CURDIR:H}/mount
UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall
CFLAGS+= -I${MOUNT} -I${UMNTALL}
.PATH: ${MOUNT} ${UMNTALL}