usr.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
0632f8bb8d
commit
ba4a75dd95
@ -1,13 +1,13 @@
|
||||
# $Id: Makefile.inc,v 1.1 2000/07/14 18:16:22 iwasaki Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
ACPICA_DIR= ${.CURDIR}/../../../sys/contrib/dev/acpica
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys
|
||||
ACPICA_DIR= ${SRCTOP}/sys/contrib/dev/acpica
|
||||
CFLAGS+= -I${SRCTOP}/sys
|
||||
|
||||
PACKAGE= acpi
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.if exists(${.CURDIR:H:H}/Makefile.inc)
|
||||
.include "${.CURDIR:H:H}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
.PATH: ${ACPICA_DIR} \
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
PACKAGE= amd
|
||||
|
||||
CFLAGS+= -I. -I${.CURDIR}
|
||||
CFLAGS+= -I${.CURDIR}/../include
|
||||
.if exists(${.OBJDIR}/../include)
|
||||
CFLAGS+= -I${.OBJDIR}/../include
|
||||
CFLAGS+= -I. -I${.CURDIR}
|
||||
CFLAGS+= -I${.CURDIR:H}/include
|
||||
.if exists(${.OBJDIR:H}/include)
|
||||
CFLAGS+= -I${.OBJDIR:H}/include
|
||||
.endif
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/amd
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/include
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd
|
||||
CFLAGS+= -DHAVE_CONFIG_H
|
||||
.if ${MK_NIS} == "no"
|
||||
CFLAGS+= -DHAVE_LOCALCONFIG_H
|
||||
@ -37,6 +37,6 @@ NFS_PROT_X= ${SRCTOP}/include/rpcsvc/nfs_prot.x
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.if exists(${.CURDIR:H:H}/Makefile.inc)
|
||||
.include "${.CURDIR:H:H}/Makefile.inc"
|
||||
.endif
|
||||
|
@ -28,7 +28,7 @@ SRCS+= srvr_amfs_auto.c srvr_nfs.c sun_map.c
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/amd \
|
||||
-I${SRCTOP}/contrib/amd/include \
|
||||
-I${.OBJDIR}/../../../include/rpcsvc
|
||||
-I${OBJTOP}/include/rpcsvc
|
||||
|
||||
LIBADD= amu
|
||||
|
||||
@ -62,7 +62,7 @@ SRCS+= mount_xdr.c
|
||||
CLEANFILES+= mount_xdr.c
|
||||
|
||||
mount_xdr.c: ${MOUNT_X}
|
||||
${RPCCOM} -c -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}
|
||||
${RPCCOM} -c -DWANT_NFS3 ${.ALLSRC} -o ${.TARGET}
|
||||
|
||||
.if ${MK_HESIOD} != "no"
|
||||
SRCS+= info_hesiod.c
|
||||
|
@ -23,10 +23,10 @@ SRCS+= nfs_prot_x.c xdr_func_%undef.c
|
||||
CLEANFILES+= nfs_prot_x.c xdr_func_%undef.c
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/libamu \
|
||||
-I${.OBJDIR}/../../../include/rpcsvc
|
||||
-I${OBJTOP}/include/rpcsvc
|
||||
|
||||
nfs_prot_x.c: ${NFS_PROT_X}
|
||||
${RPCCOM} -c -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
|
||||
${RPCCOM} -c -C -DWANT_NFS3 ${.ALLSRC} -o ${.TARGET}
|
||||
|
||||
XDRDEFS!= grep 'ifndef.*HAVE_XDR' ${SRCTOP}/contrib/amd/libamu/xdr_func.c | awk '{print "-D"$$2}'
|
||||
|
||||
|
@ -4,7 +4,7 @@ PROG= ancontrol
|
||||
MAN= ancontrol.8
|
||||
|
||||
WARNS?= 3
|
||||
CFLAGS+= -DANCACHE -I${.CURDIR}/../../sys
|
||||
CFLAGS+= -DANCACHE -I${SRCTOP}/sys
|
||||
|
||||
LIBADD= md
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
|
||||
OPENBSMDIR=${SRCTOP}/contrib/openbsm
|
||||
.PATH: ${OPENBSMDIR}/bin/audit
|
||||
|
||||
CFLAGS+= -I${OPENBSMDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
|
||||
OPENBSMDIR=${SRCTOP}/contrib/openbsm
|
||||
.PATH: ${OPENBSMDIR}/bin/auditd
|
||||
|
||||
CFLAGS+= -I${OPENBSMDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
|
||||
OPENBSMDIR=${SRCTOP}/contrib/openbsm
|
||||
.PATH: ${OPENBSMDIR}/bin/auditdistd
|
||||
|
||||
# Addition of auditdistd because otherwise generated parse.c can't find
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
|
||||
OPENBSMDIR=${SRCTOP}/contrib/openbsm
|
||||
.PATH: ${OPENBSMDIR}/bin/auditreduce
|
||||
|
||||
CFLAGS+= -I${OPENBSMDIR}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/pf/authpf
|
||||
.PATH: ${SRCTOP}/contrib/pf/authpf
|
||||
|
||||
PROG= authpf
|
||||
MAN= authpf.8
|
||||
|
@ -13,14 +13,14 @@ SRCS+= popen.c
|
||||
SRCS+= token.l
|
||||
|
||||
CFLAGS+=-I${.CURDIR}
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/fs/autofs
|
||||
CFLAGS+=-I${SRCTOP}/sys/fs/autofs
|
||||
|
||||
MAN= automount.8 automountd.8 autounmountd.8 auto_master.5
|
||||
|
||||
LIBADD= util
|
||||
|
||||
# Needed for getmntopts.c
|
||||
MOUNT= ${.CURDIR}/../../sbin/mount
|
||||
MOUNT= ${SRCTOP}/sbin/mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
|
||||
WARNS= 6
|
||||
|
@ -12,6 +12,6 @@ LIBADD= vmmapi util
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys/amd64/vmm
|
||||
CFLAGS+= -I${SRCTOP}/sys/amd64/vmm
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -9,6 +9,6 @@ LIBADD= vmmapi
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/boot/userboot
|
||||
CFLAGS+=-I${SRCTOP}/sys/boot/userboot
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
|
||||
.include "${.CURDIR:H:H}/Makefile.inc"
|
||||
|
@ -1,13 +1,13 @@
|
||||
# $Id: Makefile,v 1.2 2004/02/13 21:44:41 max Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../bthidd
|
||||
.PATH: ${.CURDIR:H}/bthidd
|
||||
|
||||
PROG= bthidcontrol
|
||||
MAN= bthidcontrol.8
|
||||
SRCS= bthidcontrol.c hid.c lexer.l parser.y sdp.c
|
||||
WARNS?= 1
|
||||
CFLAGS+= -DBTHIDCONTROL=1 -I${.CURDIR}/../bthidd
|
||||
CFLAGS+= -DBTHIDCONTROL=1 -I${.CURDIR:H}/bthidd
|
||||
|
||||
LIBADD+= bluetooth sdp usbhid
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $Id: Makefile,v 1.7 2003/09/07 18:32:11 max Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../usr.bin/bluetooth/rfcomm_sppd
|
||||
.PATH: ${SRCTOP}/usr.bin/bluetooth/rfcomm_sppd
|
||||
|
||||
PROG= rfcomm_pppd
|
||||
MAN= rfcomm_pppd.8
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
CONTRIB=${.CURDIR}/../../../contrib/bsnmp
|
||||
CONTRIB=${SRCTOP}/contrib/bsnmp
|
||||
.PATH: ${CONTRIB}/snmpd
|
||||
|
||||
PROG= bsnmpd
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# Author: Harti Brandt <harti@freebsd.org>
|
||||
|
||||
CONTRIB=${.CURDIR}/../../../contrib/bsnmp
|
||||
CONTRIB=${SRCTOP}/contrib/bsnmp
|
||||
.PATH: ${CONTRIB}/gensnmptree
|
||||
|
||||
PROG= gensnmptree
|
||||
|
@ -6,10 +6,10 @@ PACKAGE= bsnmp
|
||||
|
||||
CFLAGS+= -I. -I${.CURDIR}
|
||||
|
||||
.if exists(${.OBJDIR}/../libbsnmptools)
|
||||
LIBBSNMPTOOLSDIR= ${.OBJDIR}/../libbsnmptools
|
||||
.if exists(${.OBJDIR:H}/libbsnmptools)
|
||||
LIBBSNMPTOOLSDIR= ${.OBJDIR:H}/libbsnmptools
|
||||
.else
|
||||
LIBBSNMPTOOLSDIR= ${.CURDIR}/../libbsnmptools
|
||||
LIBBSNMPTOOLSDIR= ${.CURDIR:H}/libbsnmptools
|
||||
.endif
|
||||
LIBBSNMPTOOLS= ${LIBBSNMPTOOLSDIR}/libbsnmptools.a
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PROG= camdd
|
||||
SRCS= camdd.c
|
||||
SDIR= ${.CURDIR}/../../sys
|
||||
SDIR= ${SRCTOP}/sys
|
||||
LIBADD= cam mt util pthread
|
||||
NO_WTHREAD_SAFETY= 1
|
||||
MAN= camdd.8
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../usr.bin/cksum
|
||||
.PATH: ${SRCTOP}/usr.bin/cksum
|
||||
|
||||
PROG= ckdist
|
||||
SRCS= ckdist.c crc.c
|
||||
|
@ -10,7 +10,7 @@ PRECIOUSPROG=
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../cron
|
||||
CFLAGS+= -I${.CURDIR:H}/cron
|
||||
|
||||
LIBADD= cron md util
|
||||
|
||||
|
@ -6,7 +6,7 @@ SRCS= entry.c env.c misc.c
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../cron
|
||||
CFLAGS+= -I${.CURDIR:H}/cron
|
||||
CFLAGS+= -DLOGIN_CAP -DPAM
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
PROG= ctladm
|
||||
SRCS= ctladm.c util.c ctl_util.c ctl_scsi_all.c
|
||||
.PATH: ${.CURDIR}/../../sys/cam/ctl
|
||||
SDIR= ${.CURDIR}/../../sys
|
||||
.PATH: ${SRCTOP}/sys/cam/ctl
|
||||
SDIR= ${SRCTOP}/sys
|
||||
CFLAGS+= -I${SDIR}
|
||||
# This is necessary because of these warnings:
|
||||
# warning: cast increases required alignment of target type
|
||||
|
@ -1,15 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
|
||||
.PATH: ${.CURDIR}/../../contrib/libucl/include
|
||||
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
|
||||
.PATH: ${SRCTOP}/contrib/libucl/include
|
||||
|
||||
PROG= ctld
|
||||
SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c
|
||||
SRCS+= login.c parse.y pdu.c token.l y.tab.h uclparse.c
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
CFLAGS+= -I${.CURDIR}/../../sys/cam/ctl
|
||||
CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi
|
||||
CFLAGS+= -I${SRCTOP}/sys
|
||||
CFLAGS+= -I${SRCTOP}/sys/cam/ctl
|
||||
CFLAGS+= -I${SRCTOP}/sys/dev/iscsi
|
||||
#CFLAGS+= -DICL_KERNEL_PROXY
|
||||
MAN= ctld.8 ctl.conf.5
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.if exists(${.CURDIR:H:H}/Makefile.inc)
|
||||
.include "${.CURDIR:H:H}/Makefile.inc"
|
||||
.endif
|
||||
|
@ -18,7 +18,7 @@ LIBADD= md
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.if exists(${.CURDIR:H:H}/Makefile.inc)
|
||||
.include "${.CURDIR:H:H}/Makefile.inc"
|
||||
.endif
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,12 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../ctm_rmail
|
||||
.PATH: ${.CURDIR:H}/ctm_rmail
|
||||
|
||||
PROG= ctm_dequeue
|
||||
MAN=
|
||||
SRCS= ctm_dequeue.c error.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../ctm_rmail
|
||||
CFLAGS+= -I${.CURDIR:H}/ctm_rmail
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../ctm_rmail
|
||||
.PATH: ${.CURDIR:H}/ctm_rmail
|
||||
|
||||
PROG= ctm_smail
|
||||
MAN=
|
||||
SRCS= ctm_smail.c error.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../ctm_rmail
|
||||
CFLAGS+= -I${.CURDIR:H}/ctm_rmail
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
PROG= dconschat
|
||||
MAN= dconschat.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
CFLAGS+= -I${SRCTOP}/sys
|
||||
|
||||
LIBADD= kvm
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/editmap
|
||||
|
||||
PROG= editmap
|
||||
|
@ -1,11 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../ofwdump
|
||||
.PATH: ${.CURDIR:H}/ofwdump
|
||||
|
||||
PROG= eeprom
|
||||
MAN= eeprom.8
|
||||
MANSUBDIR= /sparc64
|
||||
SRCS= eeprom.c ofw_options.c ofw_util.c
|
||||
CFLAGS+= -I${.CURDIR}/../ofwdump
|
||||
CFLAGS+= -I${.CURDIR:H}/ofwdump
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../fdread
|
||||
.PATH: ${.CURDIR:H}/fdread
|
||||
|
||||
PROG= fdcontrol
|
||||
SRCS= fdcontrol.c fdutil.c
|
||||
CFLAGS+= -I${.CURDIR}/../fdread
|
||||
CFLAGS+= -I${.CURDIR:H}/fdread
|
||||
MAN= fdcontrol.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../fdread
|
||||
.PATH: ${.CURDIR:H}/fdread
|
||||
|
||||
PROG= fdformat
|
||||
SRCS= fdformat.c fdutil.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../fdread
|
||||
CFLAGS+= -I${.CURDIR:H}/fdread
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../usr.bin/cksum
|
||||
.PATH: ${SRCTOP}/usr.bin/cksum
|
||||
|
||||
PROG= fmtree
|
||||
MAN= fmtree.8
|
||||
|
@ -20,7 +20,7 @@ WARNS?= 2
|
||||
SUBDIR+= tests
|
||||
.endif
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../sys
|
||||
CFLAGS+=-I${SRCTOP}/sys
|
||||
|
||||
.if ${MK_ZFS} != "no"
|
||||
IGNORE_PRAGMA= YES
|
||||
|
@ -1,13 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/pf/ftp-proxy
|
||||
.PATH: ${SRCTOP}/contrib/pf/ftp-proxy
|
||||
|
||||
PROG= ftp-proxy
|
||||
MAN= ftp-proxy.8
|
||||
|
||||
SRCS= ftp-proxy.c filter.c
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/pf/libevent
|
||||
CFLAGS+=-I${SRCTOP}/contrib/pf/libevent
|
||||
|
||||
LIBADD= event
|
||||
|
||||
|
@ -5,9 +5,9 @@ SRCS= fwcontrol.c fwcrom.c fwdv.c fwmpegts.c
|
||||
MAN= fwcontrol.8
|
||||
WARNS?= 3
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/dev/firewire
|
||||
.PATH: ${SRCTOP}/sys/dev/firewire
|
||||
|
||||
SDIR= ${.CURDIR}/../../sys
|
||||
SDIR= ${SRCTOP}/sys
|
||||
CFLAGS+=-I${.CURDIR} -I${SDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,7 +3,7 @@
|
||||
PROG= gpioctl
|
||||
MAN= gpioctl.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../lib/libgpio
|
||||
CFLAGS+= -I${SRCTOP}/lib/libgpio
|
||||
|
||||
LIBADD= gpio
|
||||
|
||||
|
@ -18,7 +18,7 @@ CFLAGS+= -DWITHOUT_KERBEROS
|
||||
|
||||
CLEANFILES= gssd_svc.c gssd_xdr.c gssd.h
|
||||
|
||||
RPCSRC= ${.CURDIR}/../../sys/kgssapi/gssd.x
|
||||
RPCSRC= ${SRCTOP}/sys/kgssapi/gssd.x
|
||||
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M
|
||||
|
||||
gssd_svc.c: ${RPCSRC} gssd.h
|
||||
@ -30,6 +30,6 @@ gssd_xdr.c: ${RPCSRC} gssd.h
|
||||
gssd.h: ${RPCSRC}
|
||||
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/kgssapi
|
||||
.PATH: ${SRCTOP}/sys/kgssapi
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
HV_KVP_DAEMON_DISTDIR?= ${.CURDIR}/../../../../contrib/hyperv/tools
|
||||
.PATH: ${HV_KVP_DAEMON_DISTDIR}
|
||||
HV_KVP_DAEMON_DISTDIR?= ${SRCTOP}/contrib/hyperv/tools
|
||||
.PATH: ${HV_KVP_DAEMON_DISTDIR}
|
||||
|
||||
PROG= hv_kvp_daemon
|
||||
MAN= hv_kvp_daemon.8
|
||||
MAN= hv_kvp_daemon.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../../sys/dev/hyperv/utilities
|
||||
CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/utilities
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,12 +3,12 @@ DIRDEPS = lib/libc
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
HV_VSS_DAEMON_DISTDIR?= ${.CURDIR}/../../../../contrib/hyperv/tools
|
||||
.PATH: ${HV_VSS_DAEMON_DISTDIR}
|
||||
HV_VSS_DAEMON_DISTDIR?= ${SRCTOP}/contrib/hyperv/tools
|
||||
.PATH: ${HV_VSS_DAEMON_DISTDIR}
|
||||
|
||||
PROG= hv_vss_daemon
|
||||
MAN= hv_vss_daemon.8
|
||||
MAN= hv_vss_daemon.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../../sys/dev/hyperv/utilities
|
||||
CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/utilities
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,7 +4,7 @@ PROG= iovctl
|
||||
SRCS= iovctl.c parse.c validate.c
|
||||
LIBADD= nv ucl m
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
|
||||
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
|
||||
|
||||
WARNS?=6
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
PROG= ipfwpcap
|
||||
|
||||
LIBADD= pcap
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/libpcap
|
||||
CFLAGS+=-I${SRCTOP}/contrib/libpcap
|
||||
|
||||
MAN= ipfwpcap.8
|
||||
|
||||
|
@ -4,8 +4,8 @@ PACKAGE= iscsi
|
||||
PROG= iscsid
|
||||
SRCS= chap.c discovery.c iscsid.c keys.c log.c login.c pdu.c
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
CFLAGS+= -I${.CURDIR}/../../sys/cam
|
||||
CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi
|
||||
CFLAGS+= -I${SRCTOP}/sys/cam
|
||||
CFLAGS+= -I${SRCTOP}/sys/dev/iscsi
|
||||
CFLAGS+= -DICL_KERNEL_PROXY
|
||||
MAN= iscsid.8
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# @(#)Makefile 8.2 (Berkeley) 9/21/96
|
||||
# $FreeBSD$
|
||||
|
||||
SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
|
||||
SENDMAIL_DIR= ${SRCTOP}/contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/mailstats
|
||||
|
||||
PROG= mailstats
|
||||
|
@ -27,7 +27,7 @@ SYMLINKS+= ${BINDIR}/mailwrapper /bin/rmail
|
||||
|
||||
.if ${MK_MAILWRAPPER} != "no"
|
||||
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
||||
FILES= ${.CURDIR}/../../etc/mail/mailer.conf
|
||||
FILES= ${SRCTOP}/etc/mail/mailer.conf
|
||||
FILESDIR= /etc/mail
|
||||
FILESMODE= 644
|
||||
.endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
# @(#)Makefile 8.4 (Berkeley) 6/10/97
|
||||
# $FreeBSD$
|
||||
|
||||
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/makemap
|
||||
|
||||
PROG= makemap
|
||||
|
@ -4,7 +4,7 @@ PROG= mlxcontrol
|
||||
MAN= mlxcontrol.8
|
||||
SRCS= command.c config.c interface.c util.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
CFLAGS+= -I${SRCTOP}/sys
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
@ -4,8 +4,8 @@ PROG= mount_smbfs
|
||||
SRCS= mount_smbfs.c getmntopts.c
|
||||
MAN= mount_smbfs.8
|
||||
|
||||
MOUNTDIR= ${.CURDIR}/../../sbin/mount
|
||||
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
|
||||
MOUNTDIR= ${SRCTOP}/sbin/mount
|
||||
CONTRIBDIR= ${SRCTOP}/contrib/smbfs
|
||||
CFLAGS+= -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
|
||||
|
||||
LIBADD= smb
|
||||
|
@ -5,7 +5,7 @@ PROG= mountd
|
||||
SRCS= mountd.c getmntopts.c
|
||||
MAN= exports.5 netgroup.5 mountd.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../../sbin/mount
|
||||
MOUNT= ${SRCTOP}/sbin/mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS?= 2
|
||||
|
||||
|
@ -10,7 +10,7 @@ WARNS?= 3
|
||||
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
|
||||
MLINKS= mpsutil.8 mprutil.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS
|
||||
CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS
|
||||
# Avoid dirdep dependency on libutil
|
||||
CFLAGS+= -I${SRCTOP}/lib/libutil
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/compat/ndis
|
||||
.PATH: ${SRCTOP}/sys/compat/ndis
|
||||
|
||||
PROG= ndiscvt
|
||||
SRCS= ndiscvt.c
|
||||
@ -17,7 +17,7 @@ LIBADD= l
|
||||
|
||||
YFLAGS+=-v
|
||||
|
||||
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys
|
||||
CFLAGS+=-I. -I${.CURDIR} -I${SRCTOP}/sys
|
||||
|
||||
CLEANFILES= y.output
|
||||
|
||||
|
@ -13,13 +13,13 @@
|
||||
# A PARTICULAR PURPOSE.
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/tcpdump
|
||||
.PATH: ${SRCTOP}/contrib/tcpdump
|
||||
|
||||
PROG= ndp
|
||||
MAN= ndp.8
|
||||
SRCS= ndp.c gmt2local.c
|
||||
|
||||
CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../contrib/tcpdump
|
||||
CFLAGS+= -I. -I${.CURDIR} -I${SRCTOP}/contrib/tcpdump
|
||||
CFLAGS+= -D_U_=""
|
||||
|
||||
WARNS?= 1
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/mtree
|
||||
.PATH: ${SRCTOP}/contrib/mtree
|
||||
|
||||
PROG= mtree
|
||||
MAN= mtree.5 mtree.8
|
||||
SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
|
||||
only.c spec.c specspec.c verify.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../contrib/mknod
|
||||
.PATH: ${.CURDIR}/../../contrib/mknod
|
||||
CFLAGS+= -I${SRCTOP}/contrib/mknod
|
||||
.PATH: ${SRCTOP}/contrib/mknod
|
||||
SRCS+= pack_dev.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
|
||||
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
|
||||
LIBADD= netbsd md util
|
||||
|
||||
LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
|
||||
|
@ -4,8 +4,8 @@ PROG= pkg
|
||||
SRCS= pkg.c dns_utils.c config.c
|
||||
MAN= pkg.7
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
|
||||
.PATH: ${.CURDIR}/../../contrib/libucl/include
|
||||
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
|
||||
.PATH: ${SRCTOP}/contrib/libucl/include
|
||||
LIBADD= archive fetch ucl sbuf crypto ssl
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,11 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/pnpinfo
|
||||
.PATH: ${SRCTOP}/contrib/pnpinfo
|
||||
|
||||
PROG= pnpinfo
|
||||
MAN= pnpinfo.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
CFLAGS+= -I${SRCTOP}/sys
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# @(#)Makefile 8.2 (Berkeley) 9/21/96
|
||||
# $FreeBSD$
|
||||
|
||||
SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
|
||||
SENDMAIL_DIR= ${SRCTOP}/contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/praliases
|
||||
|
||||
PROG= praliases
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
|
||||
OPENBSMDIR=${SRCTOP}/contrib/openbsm
|
||||
.PATH: ${OPENBSMDIR}/bin/praudit
|
||||
|
||||
PROG= praudit
|
||||
|
@ -1,12 +1,12 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../lib/libc/gen # for pw_scan.c
|
||||
.PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c
|
||||
|
||||
PROG= pwd_mkdb
|
||||
MAN= pwd_mkdb.8
|
||||
SRCS= pw_scan.c pwd_mkdb.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../lib/libc/gen # for pw_scan.h
|
||||
CFLAGS+= -I${SRCTOP}/lib/libc/gen # for pw_scan.h
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,6 +4,6 @@
|
||||
PROG= rip6query
|
||||
MAN= rip6query.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../route6d
|
||||
CFLAGS+= -I${.CURDIR:H}/route6d
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -5,7 +5,7 @@
|
||||
.PATH: ${.CURDIR}/..
|
||||
|
||||
ATF_TESTS_C= addrmerge_test
|
||||
CFLAGS+= -I${.CURDIR}/.. -Wno-cast-qual
|
||||
CFLAGS+= -I${.CURDIR:H} -Wno-cast-qual
|
||||
SRCS.addrmerge_test= addrmerge_test.c util.c
|
||||
|
||||
.if ${MK_INET6_SUPPORT} != "no"
|
||||
|
@ -1,13 +1,13 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
.PATH: ${.CURDIR}/../rtadvd
|
||||
.PATH: ${.CURDIR:H}/rtadvd
|
||||
|
||||
PROG= rtadvctl
|
||||
MAN= rtadvctl.8
|
||||
|
||||
SRCS= rtadvctl.c control.c control_client.c if.c timer_subr.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../rtadvd
|
||||
CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/rtadvd
|
||||
WARNS?= 1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../usr.bin/lastcomm
|
||||
.PATH: ${SRCTOP}/usr.bin/lastcomm
|
||||
|
||||
PROG= sa
|
||||
MAN= sa.8
|
||||
|
@ -4,14 +4,14 @@
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=sendmail
|
||||
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
||||
SMDIR= ${SENDMAIL_DIR}/src
|
||||
.PATH: ${SMDIR}
|
||||
|
||||
BINDIR= ${LIBEXECDIR}/sendmail
|
||||
|
||||
PROG= sendmail
|
||||
MAN= mailq.1 newaliases.1 aliases.5 sendmail.8
|
||||
MAN= mailq.1 newaliases.1 aliases.5 sendmail.8
|
||||
MLINKS+=sendmail.8 hoststat.8
|
||||
MLINKS+=sendmail.8 purgestat.8
|
||||
SRCS= alias.c arpadate.c bf.c collect.c conf.c control.c \
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump
|
||||
TCPDUMP_DISTDIR?= ${SRCTOP}/contrib/tcpdump
|
||||
.PATH: ${TCPDUMP_DISTDIR}
|
||||
|
||||
PROG= tcpdump
|
||||
|
@ -1,7 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../timed
|
||||
.PATH: ${.CURDIR:H}/timed
|
||||
|
||||
PROG= timedc
|
||||
MAN= timedc.8
|
||||
|
Loading…
Reference in New Issue
Block a user