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:
parent
caf42d8126
commit
22289a8c3d
@ -34,8 +34,8 @@ WARNS?= 3
|
|||||||
FILES= atmconfig.help atmconfig_device.help
|
FILES= atmconfig.help atmconfig_device.help
|
||||||
FILESDIR= ${SHAREDIR}/doc/atm
|
FILESDIR= ${SHAREDIR}/doc/atm
|
||||||
|
|
||||||
SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \
|
SNMP_ATM_DEF= ${SRCTOP}/contrib/ngatm/snmp_atm/atm_tree.def \
|
||||||
${.CURDIR}/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def
|
${SRCTOP}/usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def
|
||||||
|
|
||||||
oid.h: atm_oid.list ${SNMP_ATM_DEF}
|
oid.h: atm_oid.list ${SNMP_ATM_DEF}
|
||||||
cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \
|
cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../sys/geom
|
.PATH: ${SRCTOP}/sys/geom
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= bsdlabel
|
PROG= bsdlabel
|
||||||
|
@ -6,7 +6,7 @@ LIBADD= crypto pjdlog
|
|||||||
|
|
||||||
MAN= decryptcore.8
|
MAN= decryptcore.8
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR}/../../lib/libpjdlog
|
CFLAGS+=-I${SRCTOP}/lib/libpjdlog
|
||||||
|
|
||||||
WARNS?= 6
|
WARNS?= 6
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
PLAIN_TESTS_C= option-domain-search_test
|
PLAIN_TESTS_C= option-domain-search_test
|
||||||
SRCS.option-domain-search_test= alloc.c convert.c hash.c options.c \
|
SRCS.option-domain-search_test= alloc.c convert.c hash.c options.c \
|
||||||
tables.c fake.c option-domain-search.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
|
LIBADD.option-domain-search_test= util
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
|
@ -5,6 +5,6 @@ PACKAGE=runtime
|
|||||||
PROG= etherswitchcfg
|
PROG= etherswitchcfg
|
||||||
MAN= etherswitchcfg.8
|
MAN= etherswitchcfg.8
|
||||||
SRCS= etherswitchcfg.c ifmedia.c
|
SRCS= etherswitchcfg.c ifmedia.c
|
||||||
CFLAGS+= -I${.CURDIR}/../../sys
|
CFLAGS+= -I${SRCTOP}/sys
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -6,7 +6,7 @@ SRCS= fdisk.c geom_mbr_enc.c
|
|||||||
WARNS?= 4
|
WARNS?= 4
|
||||||
MAN= fdisk.8
|
MAN= fdisk.8
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../sys/geom
|
.PATH: ${SRCTOP}/sys/geom
|
||||||
|
|
||||||
LIBADD= geom
|
LIBADD= geom
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
GROWFS= ${.CURDIR}/../growfs
|
GROWFS= ${.CURDIR:H}/growfs
|
||||||
.PATH: ${GROWFS}
|
.PATH: ${GROWFS}
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
|
@ -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
|
globs.c
|
||||||
LIBADD= ufs
|
LIBADD= ufs
|
||||||
WARNS?= 2
|
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>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $NetBSD: Makefile,v 1.6 1997/05/08 21:11:11 gwr Exp $
|
# $NetBSD: Makefile,v 1.6 1997/05/08 21:11:11 gwr Exp $
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
FSCK= ${.CURDIR}/../fsck
|
FSCK= ${.CURDIR:H}/fsck
|
||||||
.PATH: ${FSCK}
|
.PATH: ${FSCK}
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
|
@ -8,9 +8,9 @@ MAN= fsdb.8
|
|||||||
SRCS= fsdb.c fsdbutil.c \
|
SRCS= fsdb.c fsdbutil.c \
|
||||||
dir.c ea.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.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
|
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
|
WARNS?= 2
|
||||||
LIBADD= edit
|
LIBADD= edit
|
||||||
.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
|
.PATH: ${.CURDIR:H}/fsck_ffs ${SRCTOP}/sys/ufs/ffs
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -13,10 +13,10 @@ SRCS+= g_bde_lock.c
|
|||||||
NO_WCAST_ALIGN=
|
NO_WCAST_ALIGN=
|
||||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR}/../../sys
|
CFLAGS+= -I${SRCTOP}/sys
|
||||||
.PATH: ${.CURDIR}/../../sys/geom/bde \
|
.PATH: ${SRCTOP}/sys/geom/bde \
|
||||||
${.CURDIR}/../../sys/crypto/rijndael \
|
${SRCTOP}/sys/crypto/rijndael \
|
||||||
${.CURDIR}/../../sys/crypto/sha2
|
${SRCTOP}/sys/crypto/sha2
|
||||||
|
|
||||||
CLEANFILES+= template.c
|
CLEANFILES+= template.c
|
||||||
|
|
||||||
|
@ -8,6 +8,6 @@ SRCS+= geom_${GEOM_CLASS}.c subr.c
|
|||||||
|
|
||||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR}/../..
|
CFLAGS+= -I${.CURDIR:H:H}
|
||||||
|
|
||||||
.include "../Makefile.inc"
|
.include "../Makefile.inc"
|
||||||
|
2
sbin/geom/class/cache/Makefile
vendored
2
sbin/geom/class/cache/Makefile
vendored
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= cache
|
GEOM_CLASS= cache
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= concat
|
GEOM_CLASS= concat
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
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
|
GEOM_CLASS= eli
|
||||||
SRCS= g_eli_crypto.c
|
SRCS= g_eli_crypto.c
|
||||||
@ -15,6 +15,6 @@ LIBADD= md crypto
|
|||||||
|
|
||||||
WARNS?= 3
|
WARNS?= 3
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR}/../../../../sys
|
CFLAGS+=-I${SRCTOP}/sys
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= journal
|
GEOM_CLASS= journal
|
||||||
SRCS+= geom_journal_ufs.c
|
SRCS+= geom_journal_ufs.c
|
||||||
|
|
||||||
LIBADD= ufs md
|
LIBADD= ufs md
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR}/../../../../sys
|
CFLAGS+=-I${SRCTOP}/sys
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= label
|
GEOM_CLASS= label
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= mirror
|
GEOM_CLASS= mirror
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= mountver
|
GEOM_CLASS= mountver
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= multipath
|
GEOM_CLASS= multipath
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR}/../../../../sys
|
CFLAGS+= -I${SRCTOP}/sys
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= nop
|
GEOM_CLASS= nop
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= part
|
GEOM_CLASS= part
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= raid
|
GEOM_CLASS= raid
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= raid3
|
GEOM_CLASS= raid3
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= sched
|
GEOM_CLASS= sched
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= shsec
|
GEOM_CLASS= shsec
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc
|
.PATH: ${.CURDIR:H:H}/misc
|
||||||
|
|
||||||
GEOM_CLASS= stripe
|
GEOM_CLASS= stripe
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
.PATH: ${.CURDIR}/../../misc ${.CURDIR}/../../../../sys/geom/virstor
|
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/virstor
|
||||||
|
|
||||||
GEOM_CLASS= virstor
|
GEOM_CLASS= virstor
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../misc
|
.PATH: ${.CURDIR:H}/misc
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= geom
|
PROG= geom
|
||||||
@ -10,7 +10,7 @@ SRCS= geom.c subr.c
|
|||||||
NO_SHARED=NO
|
NO_SHARED=NO
|
||||||
|
|
||||||
CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\"
|
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
|
LIBADD= geom util
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../shared
|
.PATH: ${.CURDIR:H}/shared
|
||||||
|
|
||||||
PROG= ggatec
|
PROG= ggatec
|
||||||
MAN= ggatec.8
|
MAN= ggatec.8
|
||||||
@ -8,7 +8,7 @@ SRCS= ggatec.c ggate.c
|
|||||||
|
|
||||||
CFLAGS+= -DMAX_SEND_SIZE=32768
|
CFLAGS+= -DMAX_SEND_SIZE=32768
|
||||||
CFLAGS+= -DLIBGEOM
|
CFLAGS+= -DLIBGEOM
|
||||||
CFLAGS+= -I${.CURDIR}/../shared
|
CFLAGS+= -I${.CURDIR:H}/shared
|
||||||
|
|
||||||
LIBADD= geom util pthread
|
LIBADD= geom util pthread
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../shared
|
.PATH: ${.CURDIR:H}/shared
|
||||||
|
|
||||||
PROG= ggated
|
PROG= ggated
|
||||||
MAN= ggated.8
|
MAN= ggated.8
|
||||||
@ -8,6 +8,6 @@ SRCS= ggated.c ggate.c
|
|||||||
|
|
||||||
LIBADD= pthread util
|
LIBADD= pthread util
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR}/../shared
|
CFLAGS+= -I${.CURDIR:H}/shared
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../shared
|
.PATH: ${.CURDIR:H}/shared
|
||||||
|
|
||||||
PROG= ggatel
|
PROG= ggatel
|
||||||
MAN= ggatel.8
|
MAN= ggatel.8
|
||||||
SRCS= ggatel.c ggate.c
|
SRCS= ggatel.c ggate.c
|
||||||
|
|
||||||
CFLAGS+= -DLIBGEOM
|
CFLAGS+= -DLIBGEOM
|
||||||
CFLAGS+= -I${.CURDIR}/../shared
|
CFLAGS+= -I${.CURDIR:H}/shared
|
||||||
|
|
||||||
LIBADD= geom util
|
LIBADD= geom util
|
||||||
|
|
||||||
|
@ -6,19 +6,19 @@
|
|||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../mount
|
.PATH: ${.CURDIR:H}/mount
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= growfs
|
PROG= growfs
|
||||||
SRCS= growfs.c getmntopts.c
|
SRCS= growfs.c getmntopts.c
|
||||||
MAN= growfs.8
|
MAN= growfs.8
|
||||||
CFLAGS+=-I${.CURDIR}/../mount
|
CFLAGS+=-I${.CURDIR:H}/mount
|
||||||
|
|
||||||
.if defined(GFSDBG)
|
.if defined(GFSDBG)
|
||||||
SRCS+= debug.c
|
SRCS+= debug.c
|
||||||
CFLAGS+= -DFS_DEBUG
|
CFLAGS+= -DFS_DEBUG
|
||||||
NO_WCAST_ALIGN= yes
|
NO_WCAST_ALIGN= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
LIBADD= util
|
LIBADD= util
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@ SRCS= gvinum.c gvinum.h geom_vinum_share.c
|
|||||||
MAN= gvinum.8
|
MAN= gvinum.8
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
CFLAGS+= -I${.CURDIR}/../../sys -I${DESTDIR}/${INCLUDEDIR}/edit
|
CFLAGS+= -I${SRCTOP}/sys -I${DESTDIR}/${INCLUDEDIR}/edit
|
||||||
|
|
||||||
LIBADD= edit geom
|
LIBADD= edit geom
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../sys/geom/vinum
|
.PATH: ${SRCTOP}/sys/geom/vinum
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
PACKAGE=hast
|
PACKAGE=hast
|
||||||
.PATH: ${.CURDIR}/../hastd
|
.PATH: ${.CURDIR:H}/hastd
|
||||||
|
|
||||||
PROG= hastctl
|
PROG= hastctl
|
||||||
SRCS= activemap.c
|
SRCS= activemap.c
|
||||||
@ -23,7 +23,7 @@ MAN= hastctl.8
|
|||||||
NO_WFORMAT=
|
NO_WFORMAT=
|
||||||
NO_WCAST_ALIGN=
|
NO_WCAST_ALIGN=
|
||||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||||
CFLAGS+=-I${.CURDIR}/../hastd
|
CFLAGS+=-I${.CURDIR:H}/hastd
|
||||||
CFLAGS+=-DHAVE_CAPSICUM
|
CFLAGS+=-DHAVE_CAPSICUM
|
||||||
CFLAGS+=-DINET
|
CFLAGS+=-DINET
|
||||||
.if ${MK_INET6_SUPPORT} != "no"
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
|
@ -11,7 +11,7 @@ CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
|||||||
LIBADD= util crypt
|
LIBADD= util crypt
|
||||||
|
|
||||||
# Needed for getmntopts.c
|
# Needed for getmntopts.c
|
||||||
MOUNT= ${.CURDIR}/../../sbin/mount
|
MOUNT= ${SRCTOP}/sbin/mount
|
||||||
CFLAGS+=-I${MOUNT}
|
CFLAGS+=-I${MOUNT}
|
||||||
.PATH: ${MOUNT}
|
.PATH: ${MOUNT}
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@ WARNS?= 2
|
|||||||
NO_WFORMAT=
|
NO_WFORMAT=
|
||||||
NO_WARRAY_BOUNDS=
|
NO_WARRAY_BOUNDS=
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter
|
CFLAGS+= -I${SRCTOP}/contrib/ipfilter
|
||||||
CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools
|
CFLAGS+= -I${SRCTOP}/contrib/ipfilter/tools
|
||||||
CFLAGS+= -I${.CURDIR}/../../../sys
|
CFLAGS+= -I${SRCTOP}/sys
|
||||||
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/ipfilter
|
CFLAGS+= -I${SRCTOP}/sys/contrib/ipfilter
|
||||||
CFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
CFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
||||||
|
|
||||||
.if ${MK_INET6_SUPPORT} != "no"
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
@ -24,9 +24,9 @@ LIBADD+= ipf
|
|||||||
|
|
||||||
CLEANFILES+= y.tab.c y.tab.h
|
CLEANFILES+= y.tab.c y.tab.h
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../../contrib/ipfilter \
|
.PATH: ${SRCTOP}/contrib/ipfilter \
|
||||||
${.CURDIR}/../../../contrib/ipfilter/lib \
|
${SRCTOP}/contrib/ipfilter/lib \
|
||||||
${.CURDIR}/../../../contrib/ipfilter/tools \
|
${SRCTOP}/contrib/ipfilter/tools \
|
||||||
${.CURDIR}/../../../contrib/ipfilter/man
|
${SRCTOP}/contrib/ipfilter/man
|
||||||
|
|
||||||
.include "../Makefile.inc"
|
.include "../Makefile.inc"
|
||||||
|
@ -31,7 +31,7 @@ ipf_l.h: lexer.h
|
|||||||
${.ALLSRC} > ${.TARGET}
|
${.ALLSRC} > ${.TARGET}
|
||||||
|
|
||||||
.if defined(RESCUE)
|
.if defined(RESCUE)
|
||||||
LIBIPF_SRCS!= cd ${.CURDIR}/../libipf && ${MAKE} -V SRCS
|
LIBIPF_SRCS!= cd ${.CURDIR:H}/libipf && ${MAKE} -V SRCS
|
||||||
SRCS+= ${LIBIPF_SRCS}
|
SRCS+= ${LIBIPF_SRCS}
|
||||||
.else
|
.else
|
||||||
LIBADD+= pcap
|
LIBADD+= pcap
|
||||||
|
@ -20,11 +20,11 @@ CFLAGS+= -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP \
|
|||||||
# XXX CFLAGS+= -DIPFILTER_SCAN
|
# 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
|
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_y.c ipf_l.c
|
||||||
CLEANFILES+= ipf.tab.c ipf.tab.h
|
CLEANFILES+= ipf.tab.c ipf.tab.h
|
||||||
CLEANFILES+= ipnat_y.c ipnat_l.c
|
CLEANFILES+= ipnat_y.c ipnat_l.c
|
||||||
|
@ -5,6 +5,6 @@ PROG= ipresend
|
|||||||
SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
|
SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
|
||||||
MAN= ipresend.1
|
MAN= ipresend.1
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../../contrib/ipfilter/ipsend
|
.PATH: ${SRCTOP}/contrib/ipfilter/ipsend
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -4,7 +4,7 @@ PACKAGE=iscsi_legacy
|
|||||||
SRCS= iscontrol.c pdu.c fsm.c config.c login.c auth_subr.c misc.c
|
SRCS= iscontrol.c pdu.c fsm.c config.c login.c auth_subr.c misc.c
|
||||||
PROG= iscontrol
|
PROG= iscontrol
|
||||||
LIBADD= cam md
|
LIBADD= cam md
|
||||||
S= ${.CURDIR}/../../sys
|
S= ${SRCTOP}/sys
|
||||||
|
|
||||||
WARNS?= 3
|
WARNS?= 3
|
||||||
CFLAGS+= -I$S
|
CFLAGS+= -I$S
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= ldconfig
|
PROG= ldconfig
|
||||||
SRCS= elfhints.c ldconfig.c shlib.c support.c
|
SRCS= elfhints.c ldconfig.c shlib.c support.c
|
||||||
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
|
LDDIR?= ${SRCTOP}/libexec/rtld-aout
|
||||||
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
|
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
|
||||||
MAN= ldconfig.8
|
MAN= ldconfig.8
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../mount
|
.PATH: ${.CURDIR:H}/mount
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= mksnap_ffs
|
PROG= mksnap_ffs
|
||||||
@ -8,7 +8,7 @@ SRCS= mksnap_ffs.c getmntopts.c
|
|||||||
MAN= mksnap_ffs.8
|
MAN= mksnap_ffs.8
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
CFLAGS+=-I${.CURDIR}/../mount
|
CFLAGS+=-I${.CURDIR:H}/mount
|
||||||
|
|
||||||
.if defined(NOSUID)
|
.if defined(NOSUID)
|
||||||
BINMODE=554
|
BINMODE=554
|
||||||
|
@ -7,7 +7,7 @@ SRCS= mount_cd9660.c getmntopts.c
|
|||||||
MAN= mount_cd9660.8
|
MAN= mount_cd9660.8
|
||||||
LIBADD= kiconv
|
LIBADD= kiconv
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
|
|
||||||
# Needs to be dynamically linked for optional dlopen() access to
|
# Needs to be dynamically linked for optional dlopen() access to
|
||||||
|
@ -25,7 +25,7 @@ PROG= mount_fusefs
|
|||||||
SRCS= mount_fusefs.c getmntopts.c
|
SRCS= mount_fusefs.c getmntopts.c
|
||||||
MAN8= mount_fusefs.8
|
MAN8= mount_fusefs.8
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
|
|
||||||
.PATH: ${MOUNT}
|
.PATH: ${MOUNT}
|
||||||
|
@ -8,7 +8,7 @@ SRCS= mount_msdosfs.c getmntopts.c
|
|||||||
MAN= mount_msdosfs.8
|
MAN= mount_msdosfs.8
|
||||||
LIBADD= kiconv
|
LIBADD= kiconv
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
|
|
||||||
# Needs to be dynamically linked for optional dlopen() access to
|
# Needs to be dynamically linked for optional dlopen() access to
|
||||||
|
@ -7,8 +7,8 @@ PROG= mount_nfs
|
|||||||
SRCS= mount_nfs.c getmntopts.c mounttab.c
|
SRCS= mount_nfs.c getmntopts.c mounttab.c
|
||||||
MAN= mount_nfs.8
|
MAN= mount_nfs.8
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
|
UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall
|
||||||
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
|
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
|
||||||
|
|
||||||
.PATH: ${MOUNT} ${UMNTALL}
|
.PATH: ${MOUNT} ${UMNTALL}
|
||||||
|
@ -6,7 +6,7 @@ PROG= mount_nullfs
|
|||||||
SRCS= mount_nullfs.c getmntopts.c
|
SRCS= mount_nullfs.c getmntopts.c
|
||||||
MAN= mount_nullfs.8
|
MAN= mount_nullfs.8
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
CFLAGS+=-I${MOUNT}
|
CFLAGS+=-I${MOUNT}
|
||||||
|
|
||||||
.PATH: ${MOUNT}
|
.PATH: ${MOUNT}
|
||||||
|
@ -6,8 +6,8 @@ SRCS= mount_udf.c getmntopts.c
|
|||||||
MAN= mount_udf.8
|
MAN= mount_udf.8
|
||||||
LIBADD= kiconv
|
LIBADD= kiconv
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
CFLAGS+= -I${MOUNT} -I${.CURDIR}/../../sys
|
CFLAGS+= -I${MOUNT} -I${SRCTOP}/sys
|
||||||
.PATH: ${MOUNT}
|
.PATH: ${MOUNT}
|
||||||
|
|
||||||
# Needs to be dynamically linked for optional dlopen() access to
|
# Needs to be dynamically linked for optional dlopen() access to
|
||||||
|
@ -6,7 +6,7 @@ PROG= mount_unionfs
|
|||||||
SRCS= mount_unionfs.c getmntopts.c
|
SRCS= mount_unionfs.c getmntopts.c
|
||||||
MAN= mount_unionfs.8
|
MAN= mount_unionfs.8
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
CFLAGS+=-I${MOUNT}
|
CFLAGS+=-I${MOUNT}
|
||||||
|
|
||||||
.PATH: ${MOUNT}
|
.PATH: ${MOUNT}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../sys/geom
|
.PATH: ${SRCTOP}/sys/geom
|
||||||
|
|
||||||
PROG= newfs
|
PROG= newfs
|
||||||
LIBADD= ufs util
|
LIBADD= ufs util
|
||||||
@ -13,7 +13,7 @@ MAN= newfs.8
|
|||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
test: ${PROG}
|
test: ${PROG}
|
||||||
sh ${.CURDIR}/runtest01.sh
|
sh ${.CURDIR}/runtest01.sh
|
||||||
sh ${.CURDIR}/runtest00.sh | tee _.test
|
sh ${.CURDIR}/runtest00.sh | tee _.test
|
||||||
diff --ignore-matching-lines=FreeBSD _.test ${.CURDIR}/ref.test
|
diff --ignore-matching-lines=FreeBSD _.test ${.CURDIR}/ref.test
|
||||||
echo All Tests Passed
|
echo All Tests Passed
|
||||||
|
@ -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
|
perftest.c reset.c nvme_util.c power.c wdc.c
|
||||||
MAN= nvmecontrol.8
|
MAN= nvmecontrol.8
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../sys/dev/nvme
|
.PATH: ${SRCTOP}/sys/dev/nvme
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
# pf_ruleset.c is shared between kernel and pfctl
|
# pf_ruleset.c is shared between kernel and pfctl
|
||||||
.PATH: ${.CURDIR}/../../sys/netpfil/pf
|
.PATH: ${SRCTOP}/sys/netpfil/pf
|
||||||
|
|
||||||
PACKAGE=pf
|
PACKAGE=pf
|
||||||
PROG= pfctl
|
PROG= pfctl
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../contrib/pf/pflogd
|
.PATH: ${SRCTOP}/contrib/pf/pflogd
|
||||||
|
|
||||||
PACKAGE=pf
|
PACKAGE=pf
|
||||||
PROG= pflogd
|
PROG= pflogd
|
||||||
SRCS= pflogd.c pidfile.c privsep.c privsep_fdpass.c
|
SRCS= pflogd.c pidfile.c privsep.c privsep_fdpass.c
|
||||||
MAN= pflogd.8
|
MAN= pflogd.8
|
||||||
|
|
||||||
CFLAGS+=-include ${.CURDIR}/../../lib/libpcap/config.h
|
CFLAGS+=-include ${SRCTOP}/lib/libpcap/config.h
|
||||||
CFLAGS+=-I${.CURDIR}/../../contrib/libpcap
|
CFLAGS+=-I${SRCTOP}/contrib/libpcap
|
||||||
|
|
||||||
LIBADD= pcap
|
LIBADD= pcap
|
||||||
|
|
||||||
|
@ -8,6 +8,6 @@ WARNS?= 2
|
|||||||
MAN= quotacheck.8
|
MAN= quotacheck.8
|
||||||
LIBADD= util
|
LIBADD= util
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../fsck ${.CURDIR}/../fsck_ffs
|
.PATH: ${.CURDIR:H}/fsck ${.CURDIR:H}/fsck_ffs
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
DIST= ${.CURDIR}/../../contrib/openresolv
|
DIST= ${SRCTOP}/contrib/openresolv
|
||||||
.PATH: ${DIST}
|
.PATH: ${DIST}
|
||||||
|
|
||||||
SCRIPTS= resolvconf
|
SCRIPTS= resolvconf
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../dump
|
.PATH: ${.CURDIR:H}/dump
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= restore
|
PROG= restore
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../usr.sbin/rtsold
|
.PATH: ${SRCTOP}/usr.sbin/rtsold
|
||||||
|
|
||||||
PACKAGE=runtime
|
PACKAGE=runtime
|
||||||
PROG= rtsol
|
PROG= rtsol
|
||||||
|
@ -35,7 +35,7 @@ MAN= setkey.8
|
|||||||
SRCS= setkey.c parse.y token.l
|
SRCS= setkey.c parse.y token.l
|
||||||
WARNS?= 1
|
WARNS?= 1
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../lib/libipsec
|
CFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libipsec
|
||||||
YFLAGS= -d
|
YFLAGS= -d
|
||||||
|
|
||||||
LIBADD= l y
|
LIBADD= l y
|
||||||
@ -44,9 +44,9 @@ CLEANFILES= y.tab.c y.tab.h key_test.o keytest
|
|||||||
|
|
||||||
# libpfkey
|
# libpfkey
|
||||||
# ipsec_strerror.c is for avoiding shlib reference to non-exported function.
|
# 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
|
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
|
SRCS+= y.tab.h
|
||||||
y.tab.h: parse.y
|
y.tab.h: parse.y
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../sys/geom
|
.PATH: ${SRCTOP}/sys/geom
|
||||||
|
|
||||||
PROG= sunlabel
|
PROG= sunlabel
|
||||||
SRCS= sunlabel.c geom_sunlabel_enc.c
|
SRCS= sunlabel.c geom_sunlabel_enc.c
|
||||||
|
@ -7,8 +7,8 @@ PROG= umount
|
|||||||
SRCS= umount.c vfslist.c mounttab.c
|
SRCS= umount.c vfslist.c mounttab.c
|
||||||
MAN= umount.8
|
MAN= umount.8
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR:H}/mount
|
||||||
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
|
UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall
|
||||||
CFLAGS+= -I${MOUNT} -I${UMNTALL}
|
CFLAGS+= -I${MOUNT} -I${UMNTALL}
|
||||||
|
|
||||||
.PATH: ${MOUNT} ${UMNTALL}
|
.PATH: ${MOUNT} ${UMNTALL}
|
||||||
|
Loading…
Reference in New Issue
Block a user