Index: head/usr.sbin/acpi/Makefile.inc =================================================================== --- head/usr.sbin/acpi/Makefile.inc (revision 314658) +++ head/usr.sbin/acpi/Makefile.inc (revision 314659) @@ -1,27 +1,27 @@ # $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} \ ${ACPICA_DIR}/common \ ${ACPICA_DIR}/compiler \ ${ACPICA_DIR}/components/debugger \ ${ACPICA_DIR}/components/disassembler \ ${ACPICA_DIR}/components/dispatcher \ ${ACPICA_DIR}/components/events \ ${ACPICA_DIR}/components/executer \ ${ACPICA_DIR}/components/hardware \ ${ACPICA_DIR}/components/namespace \ ${ACPICA_DIR}/components/parser \ ${ACPICA_DIR}/components/resources \ ${ACPICA_DIR}/components/tables \ ${ACPICA_DIR}/components/utilities \ ${ACPICA_DIR}/os_specific/service_layers Index: head/usr.sbin/amd/Makefile.inc =================================================================== --- head/usr.sbin/amd/Makefile.inc (revision 314658) +++ head/usr.sbin/amd/Makefile.inc (revision 314659) @@ -1,42 +1,42 @@ # ex:ts=8 # # $FreeBSD$ # # Makefile for amd # This file is under a "BSD" copyright (c) by David O'Brien 1998. # Portions derived from # $NetBSD: Makefile.inc,v 1.10 1998/08/08 22:33:27 christos Exp $ # Portions derived from amd/libamu/Makefile # $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $ .include 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 .endif .if ${MK_HESIOD} != "no" CFLAGS+= -DYES_HESIOD .endif CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\" RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen MOUNT_X= ${SRCTOP}/include/rpcsvc/mount.x 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 Index: head/usr.sbin/amd/amd/Makefile =================================================================== --- head/usr.sbin/amd/amd/Makefile (revision 314658) +++ head/usr.sbin/amd/amd/Makefile (revision 314659) @@ -1,81 +1,81 @@ # ex:ts=8 # # Makefile for amd # This file is under a "BSD" copyright (c) by David O'Brien 1998 # # $FreeBSD$ # .include .PATH: ${SRCTOP}/contrib/amd/amd PROG= amd MAN= amd.8 SRCS= am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c SRCS+= amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c SRCS+= amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c SRCS+= amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c SRCS+= get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c SRCS+= info_sun.c SRCS+= info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c SRCS+= nfs_subr.c ops_cdfs.c ops_lustre.c ops_mfs.c ops_nfs.c SRCS+= ops_nfs3.c ops_nfs4.c SRCS+= ops_nullfs.c ops_pcfs.c ops_tfs.c ops_tmpfs.c ops_udf.c ops_ufs.c SRCS+= ops_umapfs.c SRCS+= ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c 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 SRCS+= conf_parse.c conf_parse.h conf_tok.c SRCS+= sun_map_parse.c sun_map_parse.h sun_map_tok.c CLEANFILES+= conf_parse.c conf_parse.h conf_tok.c CLEANFILES+= sun_map_parse.c sun_map_parse.h sun_map_tok.c conf_tok.c: conf_tok.l ${LEX} ${LFLAGS} -Pconf_ -o${.TARGET} ${.ALLSRC} .ORDER: conf_parse.c conf_parse.h conf_parse.h: .NOMETA conf_parse.c conf_parse.h: conf_parse.y ${YACC} ${YFLAGS} -pconf_ -oconf_parse.c ${.ALLSRC} sun_map_tok.c: sun_map_tok.l ${LEX} ${LFLAGS} -Psun_map_ -o${.TARGET} ${.ALLSRC} .ORDER: sun_map_parse.c sun_map_parse.h sun_map_parse.h: .NOMETA sun_map_parse.c sun_map_parse.h: sun_map_parse.y ${YACC} ${YFLAGS} -psun_map_ -osun_map_parse.c ${.ALLSRC} conf_tok.o: conf_parse.h sun_map_tok.o: sun_map_parse.h # These are generated at compile time 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 CFLAGS+= -DHAVE_MAP_HESIOD .endif .if ${MK_NIS} != "no" SRCS+= info_nis.c .endif .if ${MK_TCP_WRAPPERS} != "no" CFLAGS+= -DHAVE_LIBWRAP -DHAVE_TCPD_H LIBADD+= wrap .endif .include Index: head/usr.sbin/amd/libamu/Makefile =================================================================== --- head/usr.sbin/amd/libamu/Makefile (revision 314658) +++ head/usr.sbin/amd/libamu/Makefile (revision 314659) @@ -1,36 +1,36 @@ # ex:ts=8 # # Makefile for amd # This file is under a "BSD" copyright (c) by David O'Brien 1998 # # $FreeBSD$ .PATH: ${SRCTOP}/contrib/amd/libamu \ ${SRCTOP}/contrib/amd/conf/transp \ ${SRCTOP}/contrib/amd/conf/mtab \ ${SRCTOP}/contrib/amd/conf/umount LIB= amu INTERNALLIB= SRCS= hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \ strutil.c wire.c xutil.c # These would be links created by the GNU-style configure SRCS+= transp_sockets.c mtab_bsd.c umount_bsd44.c # Generated at compile time (replaces supplied xdr_func.c) 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}' xdr_func_%undef.c: xdr_func.c -unifdef ${XDRDEFS} < ${.ALLSRC} > ${.TARGET} .include Index: head/usr.sbin/ancontrol/Makefile =================================================================== --- head/usr.sbin/ancontrol/Makefile (revision 314658) +++ head/usr.sbin/ancontrol/Makefile (revision 314659) @@ -1,11 +1,11 @@ # $FreeBSD$ PROG= ancontrol MAN= ancontrol.8 WARNS?= 3 -CFLAGS+= -DANCACHE -I${.CURDIR}/../../sys +CFLAGS+= -DANCACHE -I${SRCTOP}/sys LIBADD= md .include Index: head/usr.sbin/audit/Makefile =================================================================== --- head/usr.sbin/audit/Makefile (revision 314658) +++ head/usr.sbin/audit/Makefile (revision 314659) @@ -1,17 +1,17 @@ # # $FreeBSD$ # -OPENBSMDIR=${.CURDIR}/../../contrib/openbsm +OPENBSMDIR=${SRCTOP}/contrib/openbsm .PATH: ${OPENBSMDIR}/bin/audit CFLAGS+= -I${OPENBSMDIR} PROG= audit MAN= audit.8 LIBADD= bsm WARNS?= 5 .include Index: head/usr.sbin/auditd/Makefile =================================================================== --- head/usr.sbin/auditd/Makefile (revision 314658) +++ head/usr.sbin/auditd/Makefile (revision 314659) @@ -1,18 +1,18 @@ # # $FreeBSD$ # -OPENBSMDIR=${.CURDIR}/../../contrib/openbsm +OPENBSMDIR=${SRCTOP}/contrib/openbsm .PATH: ${OPENBSMDIR}/bin/auditd CFLAGS+= -I${OPENBSMDIR} PROG= auditd SRCS= auditd.c audit_warn.c auditd_fbsd.c MAN= auditd.8 LIBADD= auditd bsm WARNS?= 3 .include Index: head/usr.sbin/auditdistd/Makefile =================================================================== --- head/usr.sbin/auditdistd/Makefile (revision 314658) +++ head/usr.sbin/auditdistd/Makefile (revision 314659) @@ -1,34 +1,34 @@ # # $FreeBSD$ # -OPENBSMDIR=${.CURDIR}/../../contrib/openbsm +OPENBSMDIR=${SRCTOP}/contrib/openbsm .PATH: ${OPENBSMDIR}/bin/auditdistd # Addition of auditdistd because otherwise generated parse.c can't find # auditdistd.h. This seems like a makefile non-feature. CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd NO_WFORMAT= NO_WMISSING_VARIABLE_DECLARATIONS= PROG= auditdistd SRCS= auditdistd.c SRCS+= parse.y pjdlog.c SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c SRCS+= receiver.c SRCS+= sandbox.c sender.c subr.c SRCS+= token.l trail.c MAN= auditdistd.8 auditdistd.conf.5 LIBADD+= l pthread util crypto ssl YFLAGS+=-v CLEANFILES=parse.c parse.h parse.output # auditdistd cannot use FreeBSD specific lock annotation macros. Disable # thread safety analysis completely. NO_WTHREAD_SAFETY= .include Index: head/usr.sbin/auditreduce/Makefile =================================================================== --- head/usr.sbin/auditreduce/Makefile (revision 314658) +++ head/usr.sbin/auditreduce/Makefile (revision 314659) @@ -1,17 +1,17 @@ # # $FreeBSD$ # -OPENBSMDIR=${.CURDIR}/../../contrib/openbsm +OPENBSMDIR=${SRCTOP}/contrib/openbsm .PATH: ${OPENBSMDIR}/bin/auditreduce CFLAGS+= -I${OPENBSMDIR} PROG= auditreduce MAN= auditreduce.1 LIBADD= bsm WARNS?= 3 .include Index: head/usr.sbin/authpf/Makefile =================================================================== --- head/usr.sbin/authpf/Makefile (revision 314658) +++ head/usr.sbin/authpf/Makefile (revision 314659) @@ -1,23 +1,23 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/pf/authpf +.PATH: ${SRCTOP}/contrib/pf/authpf PROG= authpf MAN= authpf.8 BINOWN= root BINGRP= authpf BINMODE= 6555 SRCS= authpf.c # XXX ALTQ: CFLAGS+= -DENABLE_ALTQ LIBADD= m util WARNS?= 3 LINKS= ${BINDIR}/authpf ${BINDIR}/authpf-noip MLINKS= authpf.8 authpf-noip.8 .include Index: head/usr.sbin/autofs/Makefile =================================================================== --- head/usr.sbin/autofs/Makefile (revision 314658) +++ head/usr.sbin/autofs/Makefile (revision 314659) @@ -1,33 +1,33 @@ # $FreeBSD$ PACKAGE=autofs PROG= automountd SRCS= automount.c SRCS+= automountd.c SRCS+= autounmountd.c SRCS+= common.c SRCS+= defined.c SRCS+= getmntopts.c SRCS+= log.c 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 LINKS= ${BINDIR}/automountd ${BINDIR}/automount LINKS+= ${BINDIR}/automountd ${BINDIR}/autounmountd .PATH: ${MOUNT} .include Index: head/usr.sbin/bhyvectl/Makefile =================================================================== --- head/usr.sbin/bhyvectl/Makefile (revision 314658) +++ head/usr.sbin/bhyvectl/Makefile (revision 314659) @@ -1,17 +1,17 @@ # # $FreeBSD$ # PROG= bhyvectl SRCS= bhyvectl.c PACKAGE= bhyve MAN= bhyvectl.8 LIBADD= vmmapi util WARNS?= 3 -CFLAGS+= -I${.CURDIR}/../../sys/amd64/vmm +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm .include Index: head/usr.sbin/bhyveload/Makefile =================================================================== --- head/usr.sbin/bhyveload/Makefile (revision 314658) +++ head/usr.sbin/bhyveload/Makefile (revision 314659) @@ -1,14 +1,14 @@ # $FreeBSD$ PROG= bhyveload SRCS= bhyveload.c MAN= bhyveload.8 PACKAGE= bhyve LIBADD= vmmapi WARNS?= 3 -CFLAGS+=-I${.CURDIR}/../../sys/boot/userboot +CFLAGS+=-I${SRCTOP}/sys/boot/userboot .include Index: head/usr.sbin/bluetooth/Makefile.inc =================================================================== --- head/usr.sbin/bluetooth/Makefile.inc (revision 314658) +++ head/usr.sbin/bluetooth/Makefile.inc (revision 314659) @@ -1,4 +1,3 @@ # $FreeBSD$ -.include "${.CURDIR}/../../Makefile.inc" - +.include "${.CURDIR:H:H}/Makefile.inc" Index: head/usr.sbin/bluetooth/bthidcontrol/Makefile =================================================================== --- head/usr.sbin/bluetooth/bthidcontrol/Makefile (revision 314658) +++ head/usr.sbin/bluetooth/bthidcontrol/Makefile (revision 314659) @@ -1,14 +1,14 @@ # $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 .include Index: head/usr.sbin/bluetooth/rfcomm_pppd/Makefile =================================================================== --- head/usr.sbin/bluetooth/rfcomm_pppd/Makefile (revision 314658) +++ head/usr.sbin/bluetooth/rfcomm_pppd/Makefile (revision 314659) @@ -1,13 +1,13 @@ # $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 SRCS= rfcomm_pppd.c rfcomm_sdp.c WARNS?= 2 LIBADD= bluetooth sdp .include Index: head/usr.sbin/bsnmpd/bsnmpd/Makefile =================================================================== --- head/usr.sbin/bsnmpd/bsnmpd/Makefile (revision 314658) +++ head/usr.sbin/bsnmpd/bsnmpd/Makefile (revision 314659) @@ -1,157 +1,157 @@ # $FreeBSD$ # # Author: Harti Brandt .include -CONTRIB=${.CURDIR}/../../../contrib/bsnmp +CONTRIB=${SRCTOP}/contrib/bsnmp .PATH: ${CONTRIB}/snmpd PROG= bsnmpd SRCS= main.c action.c config.c export.c trap.c trans_udp.c trans_lsock.c SRCS+= oid.h tree.c tree.h XSYM= snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \ sysUpTime snmpTrapOID coldStart authenticationFailure \ begemotSnmpdTransUdp begemotSnmpdTransLsock begemotSnmpdLocalPortTable \ freeBSD freeBSDVersion CLEANFILES= oid.h tree.c tree.h MAN= bsnmpd.1 snmpmod.3 MLINKS+= snmpmod.3 FIND_OBJECT_INT.3 MLINKS+= snmpmod.3 FIND_OBJECT_INT_LINK.3 MLINKS+= snmpmod.3 FIND_OBJECT_INT_LINK_INDEX.3 MLINKS+= snmpmod.3 FIND_OBJECT_OID.3 MLINKS+= snmpmod.3 FIND_OBJECT_OID_LINK.3 MLINKS+= snmpmod.3 FIND_OBJECT_OID_LINK_INDEX.3 MLINKS+= snmpmod.3 INSERT_OBJECT_INT.3 MLINKS+= snmpmod.3 INSERT_OBJECT_INT_LINK.3 MLINKS+= snmpmod.3 INSERT_OBJECT_INT_LINK_INDEX.3 MLINKS+= snmpmod.3 INSERT_OBJECT_OID.3 MLINKS+= snmpmod.3 INSERT_OBJECT_OID_LINK.3 MLINKS+= snmpmod.3 INSERT_OBJECT_OID_LINK_INDEX.3 MLINKS+= snmpmod.3 NEXT_OBJECT_INT.3 MLINKS+= snmpmod.3 NEXT_OBJECT_INT_LINK.3 MLINKS+= snmpmod.3 NEXT_OBJECT_INT_LINK_INDEX.3 MLINKS+= snmpmod.3 NEXT_OBJECT_OID.3 MLINKS+= snmpmod.3 NEXT_OBJECT_OID_LINK.3 MLINKS+= snmpmod.3 NEXT_OBJECT_OID_LINK_INDEX.3 MLINKS+= snmpmod.3 bsnmpd_get_target_stats.3 MLINKS+= snmpmod.3 bsnmpd_get_usm_stats.3 MLINKS+= snmpmod.3 bsnmpd_reset_usm_stats.3 MLINKS+= snmpmod.3 buf_alloc.3 MLINKS+= snmpmod.3 buf_size.3 MLINKS+= snmpmod.3 comm_define.3 MLINKS+= snmpmod.3 community.3 MLINKS+= snmpmod.3 fd_deselect.3 MLINKS+= snmpmod.3 fd_resume.3 MLINKS+= snmpmod.3 fd_select.3 MLINKS+= snmpmod.3 fd_suspend.3 MLINKS+= snmpmod.3 get_ticks.3 MLINKS+= snmpmod.3 index_append.3 MLINKS+= snmpmod.3 index_append_off.3 MLINKS+= snmpmod.3 index_compare.3 MLINKS+= snmpmod.3 index_compare_off.3 MLINKS+= snmpmod.3 index_decode.3 MLINKS+= snmpmod.3 ip_commit.3 MLINKS+= snmpmod.3 ip_get.3 MLINKS+= snmpmod.3 ip_rollback.3 MLINKS+= snmpmod.3 ip_save.3 MLINKS+= snmpmod.3 or_register.3 MLINKS+= snmpmod.3 or_unregister.3 MLINKS+= snmpmod.3 oid_commit.3 MLINKS+= snmpmod.3 oid_get.3 MLINKS+= snmpmod.3 oid_rollback.3 MLINKS+= snmpmod.3 oid_save.3 MLINKS+= snmpmod.3 oid_usmNotInTimeWindows.3 MLINKS+= snmpmod.3 oid_usmUnknownEngineIDs.3 MLINKS+= snmpmod.3 oid_zeroDotZero.3 MLINKS+= snmpmod.3 reqid_allocate.3 MLINKS+= snmpmod.3 reqid_base.3 MLINKS+= snmpmod.3 reqid_istype.3 MLINKS+= snmpmod.3 reqid_next.3 MLINKS+= snmpmod.3 reqid_type.3 MLINKS+= snmpmod.3 snmp_input_finish.3 MLINKS+= snmpmod.3 snmp_input_start.3 MLINKS+= snmpmod.3 snmp_output.3 MLINKS+= snmpmod.3 snmp_pdu_auth_access.3 MLINKS+= snmpmod.3 snmp_send_port.3 MLINKS+= snmpmod.3 snmp_send_trap.3 MLINKS+= snmpmod.3 snmpd_target_stat.3 MLINKS+= snmpmod.3 snmpd_usmstats.3 MLINKS+= snmpmod.3 start_tick.3 MLINKS+= snmpmod.3 string_commit.3 MLINKS+= snmpmod.3 string_free.3 MLINKS+= snmpmod.3 string_get.3 MLINKS+= snmpmod.3 string_get_max.3 MLINKS+= snmpmod.3 string_rollback.3 MLINKS+= snmpmod.3 string_save.3 MLINKS+= snmpmod.3 systemg.3 MLINKS+= snmpmod.3 this_tick.3 MLINKS+= snmpmod.3 timer_start.3 MLINKS+= snmpmod.3 timer_start_repeat.3 MLINKS+= snmpmod.3 timer_stop.3 MLINKS+= snmpmod.3 target_activate_address.3 MLINKS+= snmpmod.3 target_address.3 MLINKS+= snmpmod.3 target_delete_address.3 MLINKS+= snmpmod.3 target_delete_notify.3 MLINKS+= snmpmod.3 target_delete_param.3 MLINKS+= snmpmod.3 target_first_address.3 MLINKS+= snmpmod.3 target_first_notify.3 MLINKS+= snmpmod.3 target_first_param.3 MLINKS+= snmpmod.3 target_flush_all.3 MLINKS+= snmpmod.3 target_next_address.3 MLINKS+= snmpmod.3 target_next_notify.3 MLINKS+= snmpmod.3 target_next_param.3 MLINKS+= snmpmod.3 target_new_address.3 MLINKS+= snmpmod.3 target_new_notify.3 MLINKS+= snmpmod.3 target_new_param.3 MLINKS+= snmpmod.3 target_notify.3 MLINKS+= snmpmod.3 target_param.3 MLINKS+= snmpmod.3 usm_delete_user.3 MLINKS+= snmpmod.3 usm_find_user.3 MLINKS+= snmpmod.3 usm_first_user.3 MLINKS+= snmpmod.3 usm_flush_users.3 MLINKS+= snmpmod.3 usm_next_user.3 MLINKS+= snmpmod.3 usm_new_user.3 MLINKS+= snmpmod.3 usm_user.3 FILESGROUPS= BMIBS DEFS BMIBS= FOKUS-MIB.txt BEGEMOT-MIB.txt BEGEMOT-SNMPD.txt BMIBSDIR= ${SHAREDIR}/snmp/mibs DEFS= tree.def DEFSDIR= ${SHAREDIR}/snmp/defs CFLAGS+= -DSNMPTREE_TYPES CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -DUSE_LIBBEGEMOT CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY LIBADD= begemot bsnmp LDFLAGS= -Wl,-export-dynamic .if ${MK_OPENSSL} != "no" CFLAGS+= -DHAVE_LIBCRYPTO .endif .if ${MK_TCP_WRAPPERS} != "no" CFLAGS+= -DUSE_TCPWRAPPERS LIBADD+= wrap .endif oid.h: tree.def Makefile gensnmptree -e ${XSYM} < ${.ALLSRC:M*.def} > ${.TARGET} .ORDER: tree.c tree.h tree.h: .NOMETA tree.c tree.h: tree.def gensnmptree -l < ${.ALLSRC} MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \ -e 's%@DEFPATH@%${DEFSDIR}/%g' \ -e 's%@MIBSPATH@%${BMIBSDIR}/%g' NO_WCAST_ALIGN= yes WARNS?= 6 .include Index: head/usr.sbin/bsnmpd/gensnmptree/Makefile =================================================================== --- head/usr.sbin/bsnmpd/gensnmptree/Makefile (revision 314658) +++ head/usr.sbin/bsnmpd/gensnmptree/Makefile (revision 314659) @@ -1,15 +1,15 @@ # $FreeBSD$ # # Author: Harti Brandt -CONTRIB=${.CURDIR}/../../../contrib/bsnmp +CONTRIB=${SRCTOP}/contrib/bsnmp .PATH: ${CONTRIB}/gensnmptree PROG= gensnmptree CFLAGS+= -I${CONTRIB}/lib CFLAGS+= -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H CFLAGS+= -DHAVE_INTTYPES_H WARNS?= 5 .include Index: head/usr.sbin/bsnmpd/tools/Makefile.inc =================================================================== --- head/usr.sbin/bsnmpd/tools/Makefile.inc (revision 314658) +++ head/usr.sbin/bsnmpd/tools/Makefile.inc (revision 314659) @@ -1,16 +1,16 @@ # $FreeBSD$ # Author: Shteryana Shopova BINDIR?= /usr/bin 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 WARNS?= 6 Index: head/usr.sbin/camdd/Makefile =================================================================== --- head/usr.sbin/camdd/Makefile (revision 314658) +++ head/usr.sbin/camdd/Makefile (revision 314659) @@ -1,10 +1,10 @@ # $FreeBSD$ PROG= camdd SRCS= camdd.c -SDIR= ${.CURDIR}/../../sys +SDIR= ${SRCTOP}/sys LIBADD= cam mt util pthread NO_WTHREAD_SAFETY= 1 MAN= camdd.8 .include Index: head/usr.sbin/ckdist/Makefile =================================================================== --- head/usr.sbin/ckdist/Makefile (revision 314658) +++ head/usr.sbin/ckdist/Makefile (revision 314659) @@ -1,10 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../usr.bin/cksum +.PATH: ${SRCTOP}/usr.bin/cksum PROG= ckdist SRCS= ckdist.c crc.c LIBADD= md .include Index: head/usr.sbin/cron/crontab/Makefile =================================================================== --- head/usr.sbin/cron/crontab/Makefile (revision 314658) +++ head/usr.sbin/cron/crontab/Makefile (revision 314659) @@ -1,17 +1,17 @@ # $FreeBSD$ BINDIR= /usr/bin PROG= crontab MAN= crontab.1 crontab.5 BINOWN= root BINMODE=4555 PRECIOUSPROG= WARNS?= 3 -CFLAGS+= -I${.CURDIR}/../cron +CFLAGS+= -I${.CURDIR:H}/cron LIBADD= cron md util .include Index: head/usr.sbin/cron/lib/Makefile =================================================================== --- head/usr.sbin/cron/lib/Makefile (revision 314658) +++ head/usr.sbin/cron/lib/Makefile (revision 314659) @@ -1,12 +1,12 @@ # $FreeBSD$ LIB= cron INTERNALLIB= SRCS= entry.c env.c misc.c WARNS?= 3 -CFLAGS+= -I${.CURDIR}/../cron +CFLAGS+= -I${.CURDIR:H}/cron CFLAGS+= -DLOGIN_CAP -DPAM .include Index: head/usr.sbin/ctladm/Makefile =================================================================== --- head/usr.sbin/ctladm/Makefile (revision 314658) +++ head/usr.sbin/ctladm/Makefile (revision 314659) @@ -1,20 +1,20 @@ # $FreeBSD$ 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 # The solution is to either upgrade the compiler (preferred), or do void # pointer gymnastics to get around the warning. For now, disable the # warning instead of doing the void pointer workaround. .if ${MACHINE_CPUARCH} == "arm" WARNS?= 3 .endif LIBADD= cam sbuf bsdxml util MAN= ctladm.8 .include Index: head/usr.sbin/ctld/Makefile =================================================================== --- head/usr.sbin/ctld/Makefile (revision 314658) +++ head/usr.sbin/ctld/Makefile (revision 314659) @@ -1,24 +1,24 @@ # $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 LIBADD= bsdxml l md sbuf util ucl m YFLAGS+= -v CLEANFILES= y.tab.c y.tab.h y.output WARNS= 6 NO_WMISSING_VARIABLE_DECLARATIONS= .include Index: head/usr.sbin/ctm/Makefile.inc =================================================================== --- head/usr.sbin/ctm/Makefile.inc (revision 314658) +++ head/usr.sbin/ctm/Makefile.inc (revision 314659) @@ -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 Index: head/usr.sbin/ctm/ctm/Makefile =================================================================== --- head/usr.sbin/ctm/ctm/Makefile (revision 314658) +++ head/usr.sbin/ctm/ctm/Makefile (revision 314659) @@ -1,24 +1,24 @@ # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $FreeBSD$ PROG= ctm MAN= ctm.1 ctm.5 SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_passb.c ctm_syntax.c ctm_ed.c NOTYET= ctm_ed.c 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 Index: head/usr.sbin/ctm/ctm_dequeue/Makefile =================================================================== --- head/usr.sbin/ctm/ctm_dequeue/Makefile (revision 314658) +++ head/usr.sbin/ctm/ctm_dequeue/Makefile (revision 314659) @@ -1,13 +1,13 @@ # $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 .include Index: head/usr.sbin/ctm/ctm_smail/Makefile =================================================================== --- head/usr.sbin/ctm/ctm_smail/Makefile (revision 314658) +++ head/usr.sbin/ctm/ctm_smail/Makefile (revision 314659) @@ -1,13 +1,13 @@ # $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 .include Index: head/usr.sbin/dconschat/Makefile =================================================================== --- head/usr.sbin/dconschat/Makefile (revision 314658) +++ head/usr.sbin/dconschat/Makefile (revision 314659) @@ -1,12 +1,12 @@ # $FreeBSD$ PROG= dconschat MAN= dconschat.8 -CFLAGS+= -I${.CURDIR}/../../sys +CFLAGS+= -I${SRCTOP}/sys LIBADD= kvm WARNS?= 1 .include Index: head/usr.sbin/editmap/Makefile =================================================================== --- head/usr.sbin/editmap/Makefile (revision 314658) +++ head/usr.sbin/editmap/Makefile (revision 314659) @@ -1,29 +1,29 @@ # $FreeBSD$ -SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail +SENDMAIL_DIR=${SRCTOP}/contrib/sendmail .PATH: ${SENDMAIL_DIR}/editmap PROG= editmap SRCS= editmap.c MAN= editmap.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNEWDB -DNOT_SENDMAIL WARNS?= 2 LIBADD= smdb smutil sm SRCS+= sm_os.h CLEANFILES+=sm_os.h # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} DPADD+=${SENDMAIL_DPADD} LDADD+=${SENDMAIL_LDADD} LDFLAGS+=${SENDMAIL_LDFLAGS} sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .include Index: head/usr.sbin/eeprom/Makefile =================================================================== --- head/usr.sbin/eeprom/Makefile (revision 314658) +++ head/usr.sbin/eeprom/Makefile (revision 314659) @@ -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 Index: head/usr.sbin/fdcontrol/Makefile =================================================================== --- head/usr.sbin/fdcontrol/Makefile (revision 314658) +++ head/usr.sbin/fdcontrol/Makefile (revision 314659) @@ -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 Index: head/usr.sbin/fdformat/Makefile =================================================================== --- head/usr.sbin/fdformat/Makefile (revision 314658) +++ head/usr.sbin/fdformat/Makefile (revision 314659) @@ -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 Index: head/usr.sbin/fmtree/Makefile =================================================================== --- head/usr.sbin/fmtree/Makefile (revision 314658) +++ head/usr.sbin/fmtree/Makefile (revision 314659) @@ -1,21 +1,21 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ .include -.PATH: ${.CURDIR}/../../usr.bin/cksum +.PATH: ${SRCTOP}/usr.bin/cksum PROG= fmtree MAN= fmtree.8 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c SRCS+= specspec.c CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256 LIBADD= md CLEANFILES+= fmtree.8 fmtree.8: mtree.8 ${CP} ${.ALLSRC} ${.TARGET} .include Index: head/usr.sbin/fstyp/Makefile =================================================================== --- head/usr.sbin/fstyp/Makefile (revision 314658) +++ head/usr.sbin/fstyp/Makefile (revision 314659) @@ -1,46 +1,46 @@ # $FreeBSD$ .include PROG= fstyp SRCS= cd9660.c exfat.c ext2fs.c fstyp.c geli.c msdosfs.c ntfs.c ufs.c .if ${MK_ZFS} != "no" SRCS += zfs.c .endif MAN= fstyp.8 WARNS?= 2 .include .include .if ${MK_TESTS} != "no" && ${TARGET_ENDIANNESS} == 1234 SUBDIR+= tests .endif -CFLAGS+=-I${.CURDIR}/../../sys +CFLAGS+=-I${SRCTOP}/sys .if ${MK_ZFS} != "no" IGNORE_PRAGMA= YES CFLAGS+= -DNEED_SOLARIS_BOOLEAN -DHAVE_ZFS CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head .endif LIBADD= geom md .if ${MK_ZFS} != "no" LIBADD+=nvpair zfs .endif .include Index: head/usr.sbin/ftp-proxy/Makefile =================================================================== --- head/usr.sbin/ftp-proxy/Makefile (revision 314658) +++ head/usr.sbin/ftp-proxy/Makefile (revision 314659) @@ -1,16 +1,16 @@ # $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 WARNS?= 3 .include Index: head/usr.sbin/fwcontrol/Makefile =================================================================== --- head/usr.sbin/fwcontrol/Makefile (revision 314658) +++ head/usr.sbin/fwcontrol/Makefile (revision 314659) @@ -1,13 +1,13 @@ # $FreeBSD$ PROG= fwcontrol 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 Index: head/usr.sbin/gpioctl/Makefile =================================================================== --- head/usr.sbin/gpioctl/Makefile (revision 314658) +++ head/usr.sbin/gpioctl/Makefile (revision 314659) @@ -1,10 +1,10 @@ # $FreeBSD$ PROG= gpioctl MAN= gpioctl.8 -CFLAGS+= -I${.CURDIR}/../../lib/libgpio +CFLAGS+= -I${SRCTOP}/lib/libgpio LIBADD= gpio .include Index: head/usr.sbin/gssd/Makefile =================================================================== --- head/usr.sbin/gssd/Makefile (revision 314658) +++ head/usr.sbin/gssd/Makefile (revision 314659) @@ -1,35 +1,35 @@ # $FreeBSD$ .include PROG= gssd MAN= gssd.8 SRCS= gssd.c gssd.h gssd_svc.c gssd_xdr.c gssd_prot.c CFLAGS+= -I. WARNS?= 1 LIBADD= gssapi .if ${MK_KERBEROS_SUPPORT} != "no" LIBADD+= krb5 roken .else CFLAGS+= -DWITHOUT_KERBEROS .endif 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 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC} gssd_xdr.c: ${RPCSRC} gssd.h ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} gssd.h: ${RPCSRC} ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} -.PATH: ${.CURDIR}/../../sys/kgssapi +.PATH: ${SRCTOP}/sys/kgssapi .include Index: head/usr.sbin/hyperv/tools/kvp/Makefile =================================================================== --- head/usr.sbin/hyperv/tools/kvp/Makefile (revision 314658) +++ head/usr.sbin/hyperv/tools/kvp/Makefile (revision 314659) @@ -1,13 +1,13 @@ # $FreeBSD$ .include -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 Index: head/usr.sbin/hyperv/tools/vss/Makefile =================================================================== --- head/usr.sbin/hyperv/tools/vss/Makefile (revision 314658) +++ head/usr.sbin/hyperv/tools/vss/Makefile (revision 314659) @@ -1,14 +1,14 @@ # $FreeBSD$ DIRDEPS = lib/libc .include -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 Index: head/usr.sbin/iovctl/Makefile =================================================================== --- head/usr.sbin/iovctl/Makefile (revision 314658) +++ head/usr.sbin/iovctl/Makefile (revision 314659) @@ -1,17 +1,17 @@ # $FreeBSD$ 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 MAN= \ iovctl.8 \ iovctl.conf.5 \ .include .include Index: head/usr.sbin/ipfwpcap/Makefile =================================================================== --- head/usr.sbin/ipfwpcap/Makefile (revision 314658) +++ head/usr.sbin/ipfwpcap/Makefile (revision 314659) @@ -1,19 +1,19 @@ # # From: Id: Makefile,v 1.2 2004/01/15 16:20:56 pkern Exp # # $FreeBSD$ # PROG= ipfwpcap LIBADD= pcap -CFLAGS+=-I${.CURDIR}/../../contrib/libpcap +CFLAGS+=-I${SRCTOP}/contrib/libpcap MAN= ipfwpcap.8 .include test: $(CMD) -rm /var/run/ipfwpcap.2000.pid ./ipfwpcap -d 2000 - | tcpdump -r - -n -s 2000 -X Index: head/usr.sbin/iscsid/Makefile =================================================================== --- head/usr.sbin/iscsid/Makefile (revision 314658) +++ head/usr.sbin/iscsid/Makefile (revision 314659) @@ -1,16 +1,16 @@ # $FreeBSD$ 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 LIBADD= md util WARNS= 6 .include Index: head/usr.sbin/mailstats/Makefile =================================================================== --- head/usr.sbin/mailstats/Makefile (revision 314658) +++ head/usr.sbin/mailstats/Makefile (revision 314659) @@ -1,30 +1,30 @@ # @(#)Makefile 8.2 (Berkeley) 9/21/96 # $FreeBSD$ -SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail +SENDMAIL_DIR= ${SRCTOP}/contrib/sendmail .PATH: ${SENDMAIL_DIR}/mailstats PROG= mailstats SRCS= mailstats.c MAN= mailstats.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNOT_SENDMAIL WARNS?= 2 LIBADD= sm smutil SRCS+= sm_os.h CLEANFILES+=sm_os.h # User customizations to the sendmail build environment CFLAGS+= ${SENDMAIL_CFLAGS} DPADD+= ${SENDMAIL_DPADD} LDADD+= ${SENDMAIL_LDADD} LDFLAGS+= ${SENDMAIL_LDFLAGS} sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .include Index: head/usr.sbin/mailwrapper/Makefile =================================================================== --- head/usr.sbin/mailwrapper/Makefile (revision 314658) +++ head/usr.sbin/mailwrapper/Makefile (revision 314659) @@ -1,36 +1,36 @@ # $FreeBSD$ .include .if ${MK_MAILWRAPPER} != "no" PROG= mailwrapper MAN= mailwrapper.8 LIBADD= util .endif .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no" SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ ${BINDIR}/mailwrapper /usr/sbin/hoststat \ ${BINDIR}/mailwrapper /usr/sbin/purgestat \ ${BINDIR}/mailwrapper /usr/bin/newaliases \ ${BINDIR}/mailwrapper /usr/bin/mailq .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no" SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper .endif .endif .if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no" SYMLINKS+= ${BINDIR}/mailwrapper /bin/rmail .endif .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 .endif .include Index: head/usr.sbin/makemap/Makefile =================================================================== --- head/usr.sbin/makemap/Makefile (revision 314658) +++ head/usr.sbin/makemap/Makefile (revision 314659) @@ -1,30 +1,30 @@ # @(#)Makefile 8.4 (Berkeley) 6/10/97 # $FreeBSD$ -SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail +SENDMAIL_DIR=${SRCTOP}/contrib/sendmail .PATH: ${SENDMAIL_DIR}/makemap PROG= makemap SRCS= makemap.c MAN= makemap.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNEWDB -DNOT_SENDMAIL WARNS?= 2 LIBADD= sm smdb smutil SRCS+= sm_os.h CLEANFILES+=sm_os.h # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} DPADD+=${SENDMAIL_DPADD} LDADD+=${SENDMAIL_LDADD} LDFLAGS+=${SENDMAIL_LDFLAGS} sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .include Index: head/usr.sbin/mlxcontrol/Makefile =================================================================== --- head/usr.sbin/mlxcontrol/Makefile (revision 314658) +++ head/usr.sbin/mlxcontrol/Makefile (revision 314659) @@ -1,11 +1,11 @@ # $FreeBSD$ PROG= mlxcontrol MAN= mlxcontrol.8 SRCS= command.c config.c interface.c util.c -CFLAGS+= -I${.CURDIR}/../../sys +CFLAGS+= -I${SRCTOP}/sys WARNS?= 2 .include Index: head/usr.sbin/mount_smbfs/Makefile =================================================================== --- head/usr.sbin/mount_smbfs/Makefile (revision 314658) +++ head/usr.sbin/mount_smbfs/Makefile (revision 314659) @@ -1,16 +1,16 @@ # $FreeBSD$ 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 .PATH: ${CONTRIBDIR}/mount_smbfs .PATH: ${MOUNTDIR} .include Index: head/usr.sbin/mountd/Makefile =================================================================== --- head/usr.sbin/mountd/Makefile (revision 314658) +++ head/usr.sbin/mountd/Makefile (revision 314659) @@ -1,16 +1,16 @@ # From: @(#)Makefile 8.3 (Berkeley) 1/25/94 # $FreeBSD$ 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 .PATH: ${MOUNT} LIBADD= util .include Index: head/usr.sbin/mpsutil/Makefile =================================================================== --- head/usr.sbin/mpsutil/Makefile (revision 314658) +++ head/usr.sbin/mpsutil/Makefile (revision 314659) @@ -1,22 +1,22 @@ # $FreeBSD$ PROG= mpsutil SRCS= mps_cmd.c mps_flash.c mps_show.c mpsutil.c MAN= mpsutil.8 WARNS?= 3 #LIBADD= cam util 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 # Here be dragons .ifdef DEBUG CFLAGS+= -DDEBUG .endif .include Index: head/usr.sbin/ndiscvt/Makefile =================================================================== --- head/usr.sbin/ndiscvt/Makefile (revision 314658) +++ head/usr.sbin/ndiscvt/Makefile (revision 314659) @@ -1,29 +1,29 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../sys/compat/ndis +.PATH: ${SRCTOP}/sys/compat/ndis PROG= ndiscvt SRCS= ndiscvt.c SRCS+= subr_pe.c SRCS+= inf.c inf-token.l inf-parse.y y.tab.h MAN= ndiscvt.8 MAN+= ndisgen.8 WARNS?= 4 NO_WCAST_ALIGN= LIBADD= l YFLAGS+=-v -CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys +CFLAGS+=-I. -I${.CURDIR} -I${SRCTOP}/sys CLEANFILES= y.output FILES= windrv_stub.c FILESDIR= ${SHAREDIR}/misc SCRIPTS= ndisgen.sh .include Index: head/usr.sbin/ndp/Makefile =================================================================== --- head/usr.sbin/ndp/Makefile (revision 314658) +++ head/usr.sbin/ndp/Makefile (revision 314659) @@ -1,27 +1,27 @@ # Copyright (c) 1996 WIDE Project. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modifications, are permitted provided that the above copyright notice # and this paragraph are duplicated in all such forms and that any # documentation, advertising materials, and other materials related to # such distribution and use acknowledge that the software was developed # by the WIDE Project, Japan. The name of the Project may not be used to # endorse or promote products derived from this software without # specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' # AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT # LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # 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 .include Index: head/usr.sbin/nmtree/Makefile =================================================================== --- head/usr.sbin/nmtree/Makefile (revision 314658) +++ head/usr.sbin/nmtree/Makefile (revision 314659) @@ -1,26 +1,26 @@ # $FreeBSD$ .include -.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 MLINKS= mtree.8 nmtree.8 .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: head/usr.sbin/pkg/Makefile =================================================================== --- head/usr.sbin/pkg/Makefile (revision 314658) +++ head/usr.sbin/pkg/Makefile (revision 314659) @@ -1,11 +1,11 @@ # $FreeBSD$ 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 Index: head/usr.sbin/pnpinfo/Makefile =================================================================== --- head/usr.sbin/pnpinfo/Makefile (revision 314658) +++ head/usr.sbin/pnpinfo/Makefile (revision 314659) @@ -1,12 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/pnpinfo +.PATH: ${SRCTOP}/contrib/pnpinfo PROG= pnpinfo MAN= pnpinfo.8 -CFLAGS+= -I${.CURDIR}/../../sys +CFLAGS+= -I${SRCTOP}/sys WARNS?= 2 .include Index: head/usr.sbin/praliases/Makefile =================================================================== --- head/usr.sbin/praliases/Makefile (revision 314658) +++ head/usr.sbin/praliases/Makefile (revision 314659) @@ -1,30 +1,30 @@ # @(#)Makefile 8.2 (Berkeley) 9/21/96 # $FreeBSD$ -SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail +SENDMAIL_DIR= ${SRCTOP}/contrib/sendmail .PATH: ${SENDMAIL_DIR}/praliases PROG= praliases SRCS= praliases.c MAN= praliases.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNEWDB -DNOT_SENDMAIL WARNS?= 2 LIBADD= sm smdb smutil SRCS+= sm_os.h CLEANFILES+=sm_os.h # User customizations to the sendmail build environment CFLAGS+= ${SENDMAIL_CFLAGS} LDFLAGS+=${SENDMAIL_LDFLAGS} DPADD+= ${SENDMAIL_DPADD} LDADD+= ${SENDMAIL_LDADD} sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .include Index: head/usr.sbin/praudit/Makefile =================================================================== --- head/usr.sbin/praudit/Makefile (revision 314658) +++ head/usr.sbin/praudit/Makefile (revision 314659) @@ -1,15 +1,15 @@ # # $FreeBSD$ # -OPENBSMDIR=${.CURDIR}/../../contrib/openbsm +OPENBSMDIR=${SRCTOP}/contrib/openbsm .PATH: ${OPENBSMDIR}/bin/praudit PROG= praudit MAN= praudit.1 WARNS?= 3 LIBADD= bsm .include Index: head/usr.sbin/pwd_mkdb/Makefile =================================================================== --- head/usr.sbin/pwd_mkdb/Makefile (revision 314658) +++ head/usr.sbin/pwd_mkdb/Makefile (revision 314659) @@ -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 Index: head/usr.sbin/rip6query/Makefile =================================================================== --- head/usr.sbin/rip6query/Makefile (revision 314658) +++ head/usr.sbin/rip6query/Makefile (revision 314659) @@ -1,9 +1,9 @@ # @(#)Makefile 8.1 (Berkeley) 6/5/93 # $FreeBSD$ PROG= rip6query MAN= rip6query.8 -CFLAGS+= -I${.CURDIR}/../route6d +CFLAGS+= -I${.CURDIR:H}/route6d .include Index: head/usr.sbin/rpcbind/tests/Makefile =================================================================== --- head/usr.sbin/rpcbind/tests/Makefile (revision 314658) +++ head/usr.sbin/rpcbind/tests/Makefile (revision 314659) @@ -1,17 +1,17 @@ # $FreeBSD$ .include .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" CFLAGS+= -DINET6 .endif WARNS?= 3 .include Index: head/usr.sbin/rtadvctl/Makefile =================================================================== --- head/usr.sbin/rtadvctl/Makefile (revision 314658) +++ head/usr.sbin/rtadvctl/Makefile (revision 314659) @@ -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 Index: head/usr.sbin/sa/Makefile =================================================================== --- head/usr.sbin/sa/Makefile (revision 314658) +++ head/usr.sbin/sa/Makefile (revision 314659) @@ -1,17 +1,17 @@ # $FreeBSD$ .include -.PATH: ${.CURDIR}/../../usr.bin/lastcomm +.PATH: ${SRCTOP}/usr.bin/lastcomm PROG= sa MAN= sa.8 SRCS= main.c db.c pdb.c usrdb.c readrec.c PACKAGE=acct .if ${MK_TESTS} != "no" SUBDIR+= tests .endif .include Index: head/usr.sbin/sendmail/Makefile =================================================================== --- head/usr.sbin/sendmail/Makefile (revision 314658) +++ head/usr.sbin/sendmail/Makefile (revision 314659) @@ -1,74 +1,74 @@ # @(#)Makefile 8.8 (Berkeley) 3/28/97 # $FreeBSD$ .include 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 \ convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \ macro.c main.c map.c mci.c milter.c mime.c parseaddr.c queue.c \ ratectrl.c readcf.c recipient.c savemail.c sasl.c sfsasl.c \ shmticklib.c sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c \ timers.c tls.c trace.c udb.c usersmtp.c util.c version.c BINOWN= root BINGRP= smmsp .ifdef SENDMAIL_SET_USER_ID BINMODE=4555 .else BINMODE=2555 .endif # Define the database format to use for aliases et al. DBMDEF= -DNEWDB # If you don't want NIS alias/map support, comment out this line .if ${MK_NIS} != "no" NIS= -DNIS .endif # Map extensions MAPS= -DMAP_REGEX -DDNSMAP CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I. CFLAGS+= ${DBMDEF} ${NIS} ${MAPS} .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DNETINET6 .endif WARNS?= 0 LIBADD= util sm smutil SRCS+= sm_os.h CLEANFILES+=sm_os.h .if ${MK_OPENSSL} != "no" # STARTTLS support CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 LIBADD+= ssl crypto .endif .if ${MK_TCP_WRAPPERS} != "no" CFLAGS+= -DTCPWRAPPERS LIBADD+= wrap .endif # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} DPADD+=${SENDMAIL_DPADD} LDADD+=${SENDMAIL_LDADD} LDFLAGS+=${SENDMAIL_LDFLAGS} sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .include Index: head/usr.sbin/tcpdump/tcpdump/Makefile =================================================================== --- head/usr.sbin/tcpdump/tcpdump/Makefile (revision 314658) +++ head/usr.sbin/tcpdump/tcpdump/Makefile (revision 314659) @@ -1,212 +1,212 @@ # $FreeBSD$ .include -TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump +TCPDUMP_DISTDIR?= ${SRCTOP}/contrib/tcpdump .PATH: ${TCPDUMP_DISTDIR} PROG= tcpdump SRCS= addrtoname.c \ addrtostr.c \ af.c \ ascii_strcasecmp.c \ checksum.c \ cpack.c \ gmpls.c \ gmt2local.c \ in_cksum.c \ ipproto.c \ l2vpn.c \ machdep.c \ netdissect.c \ nlpid.c \ oui.c \ parsenfsfh.c \ print.c \ print-802_11.c \ print-802_15_4.c \ print-ah.c \ print-ahcp.c \ print-aodv.c \ print-aoe.c \ print-ap1394.c \ print-arcnet.c \ print-arp.c \ print-ascii.c \ print-atalk.c \ print-atm.c \ print-babel.c \ print-beep.c \ print-bfd.c \ print-bgp.c \ print-bootp.c \ print-bt.c \ print-calm-fast.c \ print-carp.c \ print-cdp.c \ print-cfm.c \ print-chdlc.c \ print-cip.c \ print-cnfp.c \ print-dccp.c \ print-decnet.c \ print-dhcp6.c \ print-domain.c \ print-dtp.c \ print-dvmrp.c \ print-eap.c \ print-egp.c \ print-eigrp.c \ print-enc.c \ print-esp.c \ print-ether.c \ print-fddi.c \ print-forces.c \ print-fr.c \ print-frag6.c \ print-ftp.c \ print-geneve.c \ print-geonet.c \ print-gre.c \ print-hncp.c \ print-hsrp.c \ print-http.c \ print-icmp.c \ print-icmp6.c \ print-igmp.c \ print-igrp.c \ print-ip.c \ print-ip6.c \ print-ip6opts.c \ print-ipcomp.c \ print-ipfc.c \ print-ipnet.c \ print-ipx.c \ print-isakmp.c \ print-isoclns.c \ print-juniper.c \ print-krb.c \ print-l2tp.c \ print-lane.c \ print-ldp.c \ print-lisp.c \ print-llc.c \ print-lldp.c \ print-lmp.c \ print-loopback.c \ print-lspping.c \ print-lwapp.c \ print-lwres.c \ print-m3ua.c \ print-medsa.c \ print-mobile.c \ print-mobility.c \ print-mpcp.c \ print-mpls.c \ print-mptcp.c \ print-msdp.c \ print-msnlb.c \ print-nfs.c \ print-nsh.c \ print-ntp.c \ print-null.c \ print-olsr.c \ print-openflow.c \ print-openflow-1.0.c \ print-ospf.c \ print-ospf6.c \ print-otv.c \ print-pgm.c \ print-pim.c \ print-pktap.c \ print-ppi.c \ print-ppp.c \ print-pppoe.c \ print-pptp.c \ print-radius.c \ print-raw.c \ print-resp.c \ print-rip.c \ print-ripng.c \ print-rpki-rtr.c \ print-rrcp.c \ print-rsvp.c \ print-rt6.c \ print-rtsp.c \ print-rx.c \ print-sctp.c \ print-sflow.c \ print-sip.c \ print-sl.c \ print-sll.c \ print-slow.c \ print-smb.c \ print-smtp.c \ print-snmp.c \ print-stp.c \ print-sunatm.c \ print-sunrpc.c \ print-symantec.c \ print-syslog.c \ print-tcp.c \ print-telnet.c \ print-tftp.c \ print-timed.c \ print-tipc.c \ print-token.c \ print-udld.c \ print-udp.c \ print-vjc.c \ print-vqp.c \ print-vrrp.c \ print-vtp.c \ print-vxlan.c \ print-vxlan-gpe.c \ print-wb.c \ print-zephyr.c \ print-zeromq.c \ setsignal.c \ signature.c \ smbutil.c \ strtoaddr.c \ tcpdump.c \ util-print.c \ version.c CLEANFILES+= version.c CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDIR} CFLAGS+= -DHAVE_CONFIG_H CFLAGS+= -D_U_="__attribute__((unused))" .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 -DHAVE_OS_IPV6_SUPPORT .endif .if ${MACHINE_CPUARCH} != "i386" CFLAGS+= -DLBL_ALIGN .endif LIBADD= l pcap .if ${MK_CASPER} != "no" LIBADD+= casper LIBADD+= cap_dns CFLAGS+=-DHAVE_CASPER .endif .if ${MK_OPENSSL} != "no" LIBADD+= crypto CFLAGS+= -I${DESTDIR}/usr/include/openssl CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H .endif .if ${MK_PF} != "no" SRCS+= print-pflog.c \ print-pfsync.c CFLAGS+= -DHAVE_NET_PFVAR_H -DHAVE_NET_IF_PFLOG_H .endif version.c: ${TCPDUMP_DISTDIR}/VERSION rm -f version.c ; \ sed 's/.*/char version[] = "&";/' ${TCPDUMP_DISTDIR}/VERSION \ > version.c .include Index: head/usr.sbin/timed/timedc/Makefile =================================================================== --- head/usr.sbin/timed/timedc/Makefile (revision 314658) +++ head/usr.sbin/timed/timedc/Makefile (revision 314659) @@ -1,15 +1,15 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ -.PATH: ${.CURDIR}/../timed +.PATH: ${.CURDIR:H}/timed PROG= timedc MAN= timedc.8 SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c BINOWN= root BINMODE= 4555 WARNS?= 1 .include "../../Makefile.inc" .include