Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 19:44:43 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291320 - in head: bin/rmail gnu/lib/libreadline/readline gnu/lib/libstdc++ gnu/lib/libsupc++ gnu/usr.bin/binutils/ld gnu/usr.bin/cc/cc_tools lib/libc++ lib/libc/gdtoa lib/libc/gen lib/...
Message-ID:  <201511251944.tAPJihWu003949@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Nov 25 19:44:43 2015
New Revision: 291320
URL: https://svnweb.freebsd.org/changeset/base/291320

Log:
  META MODE: Don't create .meta files when symlinking sources into the obj directory.
  
  Tracking these leads to situations where meta mode will consider the
  file to be out of date if /bin/sh or /bin/ln are newer than the source
  file.  There's no reason for meta mode to do this as make is already
  handling the rebuild dependency fine.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/bin/rmail/Makefile
  head/gnu/lib/libreadline/readline/Makefile
  head/gnu/lib/libstdc++/Makefile
  head/gnu/lib/libsupc++/Makefile
  head/gnu/usr.bin/binutils/ld/Makefile
  head/gnu/usr.bin/cc/cc_tools/Makefile
  head/lib/libc++/Makefile
  head/lib/libc/gdtoa/Makefile.inc
  head/lib/libc/gen/Makefile.inc
  head/lib/libc/stdlib/jemalloc/Makefile.inc
  head/lib/libdwarf/Makefile
  head/lib/libelf/Makefile
  head/lib/libmilter/Makefile
  head/lib/libpcap/Makefile
  head/lib/libsm/Makefile
  head/lib/libsmdb/Makefile
  head/lib/libsmutil/Makefile
  head/libexec/mail.local/Makefile
  head/libexec/smrsh/Makefile
  head/share/mk/sys.mk
  head/sys/boot/i386/boot2/Makefile
  head/usr.bin/awk/Makefile
  head/usr.bin/vacation/Makefile
  head/usr.sbin/acpi/iasl/Makefile
  head/usr.sbin/editmap/Makefile
  head/usr.sbin/mailstats/Makefile
  head/usr.sbin/makemap/Makefile
  head/usr.sbin/praliases/Makefile
  head/usr.sbin/sendmail/Makefile

Modified: head/bin/rmail/Makefile
==============================================================================
--- head/bin/rmail/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/bin/rmail/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -29,7 +29,7 @@ LDFLAGS+=${SENDMAIL_LDFLAGS}
 # following:
 # CFLAGS+= -DQUEUE_ONLY
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/gnu/lib/libreadline/readline/Makefile
==============================================================================
--- head/gnu/lib/libreadline/readline/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/gnu/lib/libreadline/readline/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -21,7 +21,7 @@ CLEANFILES+= ${INSTALLED_HEADERS}
 DPSRCS+= ${INSTALLED_HEADERS}
 
 .for _h in ${INSTALLED_HEADERS}
-${_h}:	${SRCDIR}/${_h}
+${_h}:	${SRCDIR}/${_h} .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 .endfor
 

Modified: head/gnu/lib/libstdc++/Makefile
==============================================================================
--- head/gnu/lib/libstdc++/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/gnu/lib/libstdc++/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -88,7 +88,7 @@ ATOMICITY_H=	${SRCDIR}/config/cpu/generi
 .endif
 .endif
 
-atomicity.cc:	${ATOMICITY_H}
+atomicity.cc:	${ATOMICITY_H} .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 CLEANFILES+=	atomicity.cc
 
@@ -599,7 +599,7 @@ unwind.h: ${GCCDIR}/config/arm/unwind-ar
 unwind.h: ${GCCDIR}/unwind-generic.h
 .endif
 
-unwind.h:
+unwind.h: .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 
 SRCS+=		unwind.h
@@ -624,7 +624,7 @@ CLEANFILES+=	c++config.h
 
 VERSION_MAP=  	libstdc++.map
 
-${VERSION_MAP}: ${SRCDIR}/config/abi/pre/gnu.ver
+${VERSION_MAP}: ${SRCDIR}/config/abi/pre/gnu.ver .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 
 CLEANFILES+=	${VERSION_MAP}

Modified: head/gnu/lib/libsupc++/Makefile
==============================================================================
--- head/gnu/lib/libsupc++/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/gnu/lib/libsupc++/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -38,7 +38,7 @@ unwind.h: ${GCCDIR}/config/arm/unwind-ar
 unwind.h: ${GCCDIR}/unwind-generic.h
 .endif
 
-unwind.h:
+unwind.h: .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 
 SRCS+=		unwind.h

Modified: head/gnu/usr.bin/binutils/ld/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/ld/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/gnu/usr.bin/binutils/ld/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -67,8 +67,8 @@ ldemul-list.h:
 	echo "${EMXFR}" > ${.TARGET}
 	echo "#define EMULATION_LIST ${EMLST} 0" >> ${.TARGET}
 
-stringify.sed:
-	ln -sf ${SRCDIR}/ld/emultempl/astring.sed ${.TARGET}
+stringify.sed: ${SRCDIR}/ld/emultempl/astring.sed .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 GENDIRDEPS_FILTER.host+= Nusr.bin/yacc
 

Modified: head/gnu/usr.bin/cc/cc_tools/Makefile
==============================================================================
--- head/gnu/usr.bin/cc/cc_tools/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/gnu/usr.bin/cc/cc_tools/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -346,7 +346,7 @@ gstdint.h:
 GENSRCS+=	gstdint.h
 
 # Linked headers
-gthr-default.h: ${GCCDIR}/gthr-posix.h
+gthr-default.h: ${GCCDIR}/gthr-posix.h .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 
 GENSRCS+=	gthr-default.h
@@ -357,7 +357,7 @@ unwind.h: ${GCCDIR}/config/arm/unwind-ar
 unwind.h: ${GCCDIR}/unwind-generic.h
 .endif
 
-unwind.h:
+unwind.h: .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 
 GENSRCS+=	unwind.h

Modified: head/lib/libc++/Makefile
==============================================================================
--- head/lib/libc++/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libc++/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -52,8 +52,8 @@ CXXRT_SRCS+=	libelftc_dem_gnu3.c\
 
 .for _S in ${CXXRT_SRCS}
 STATICOBJS+=	cxxrt_${_S:R}.o
-cxxrt_${_S}:
-	ln -sf ${LIBCXXRTDIR}/${_S} ${.TARGET}
+cxxrt_${_S}: ${LIBCXXRTDIR}/${_S} .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 .endfor
 
 WARNS=		0

Modified: head/lib/libc/gdtoa/Makefile.inc
==============================================================================
--- head/lib/libc/gdtoa/Makefile.inc	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libc/gdtoa/Makefile.inc	Wed Nov 25 19:44:43 2015	(r291320)
@@ -15,6 +15,6 @@ CFLAGS+=-I${LIBC_SRCTOP}/../../contrib/g
 .for src in ${GDTOASRCS}
 MISRCS+=gdtoa_${src}
 CLEANFILES+=gdtoa_${src}
-gdtoa_${src}:
-	ln -sf ${LIBC_SRCTOP}/../../contrib/gdtoa/${src} ${.TARGET}
+gdtoa_${src}: ${LIBC_SRCTOP}/../../contrib/gdtoa/${src} .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 .endfor

Modified: head/lib/libc/gen/Makefile.inc
==============================================================================
--- head/lib/libc/gen/Makefile.inc	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libc/gen/Makefile.inc	Wed Nov 25 19:44:43 2015	(r291320)
@@ -159,8 +159,8 @@ CANCELPOINTS_SRCS=sem.c sem_new.c
 .for src in ${CANCELPOINTS_SRCS}
 SRCS+=cancelpoints_${src}
 CLEANFILES+=cancelpoints_${src}
-cancelpoints_${src}:
-	ln -sf ${LIBC_SRCTOP}/gen/${src} ${.TARGET}
+cancelpoints_${src}: ${LIBC_SRCTOP}/gen/${src} .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 .endfor
 
 SYM_MAPS+=${LIBC_SRCTOP}/gen/Symbol.map

Modified: head/lib/libc/stdlib/jemalloc/Makefile.inc
==============================================================================
--- head/lib/libc/stdlib/jemalloc/Makefile.inc	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libc/stdlib/jemalloc/Makefile.inc	Wed Nov 25 19:44:43 2015	(r291320)
@@ -14,14 +14,14 @@ CFLAGS+=-I${LIBC_SRCTOP}/../../contrib/j
 .for src in ${JEMALLOCSRCS}
 MISRCS+=jemalloc_${src}
 CLEANFILES+=jemalloc_${src}
-jemalloc_${src}:
-	ln -sf ${LIBC_SRCTOP}/../../contrib/jemalloc/src/${src} ${.TARGET}
+jemalloc_${src}: ${LIBC_SRCTOP}/../../contrib/jemalloc/src/${src} .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 .endfor
 
 MAN+=jemalloc.3
 CLEANFILES+=jemalloc.3
-jemalloc.3:
-	ln -sf ${LIBC_SRCTOP}/../../contrib/jemalloc/doc/jemalloc.3 ${.TARGET}
+jemalloc.3: ${LIBC_SRCTOP}/../../contrib/jemalloc/doc/jemalloc.3
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 MLINKS+= \
 	jemalloc.3 malloc.3 \

Modified: head/lib/libdwarf/Makefile
==============================================================================
--- head/lib/libdwarf/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libdwarf/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -93,9 +93,9 @@ CLEANFILES=	${GENSRCS}
 CLEANDIRS=	sys
 CFLAGS+=	-I. -I${SRCDIR} -I${TOP}/common -I${TOP}/libelf
 
-sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET}
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
 	mkdir -p ${.OBJDIR}/sys
-	ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 LIBADD+=	elf
 

Modified: head/lib/libelf/Makefile
==============================================================================
--- head/lib/libelf/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libelf/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -78,9 +78,9 @@ CLEANFILES=	${GENSRCS}
 CLEANDIRS=	sys
 CFLAGS+=	-I. -I${SRCDIR} -I${TOP}/common
 
-sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET}
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
 	mkdir -p ${.OBJDIR}/sys
-	ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 SHLIB_MAJOR=	2
 

Modified: head/lib/libmilter/Makefile
==============================================================================
--- head/lib/libmilter/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libmilter/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -29,7 +29,7 @@ CLEANFILES+=sm_os.h
 
 WARNS?=	0
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.lib.mk>

Modified: head/lib/libpcap/Makefile
==============================================================================
--- head/lib/libpcap/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libpcap/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -126,9 +126,8 @@ version.h: ${PCAP_DISTDIR}/VERSION
 	@rm -f $@
 	sed 's/.*/char pcap_version_string[] = "libpcap version &";/' ${PCAP_DISTDIR}/VERSION > $@
 
-tokdefs.h: grammar.h
-	ln -sf grammar.h tokdefs.h
-
+tokdefs.h: grammar.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 #
 # Magic to convert the man pages to something non Solarish

Modified: head/lib/libsm/Makefile
==============================================================================
--- head/lib/libsm/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libsm/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -36,7 +36,7 @@ CLEANFILES+=sm_os.h
 
 INTERNALLIB=
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.lib.mk>

Modified: head/lib/libsmdb/Makefile
==============================================================================
--- head/lib/libsmdb/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libsmdb/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -19,7 +19,7 @@ CLEANFILES+=sm_os.h
 
 INTERNALLIB=
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.lib.mk>

Modified: head/lib/libsmutil/Makefile
==============================================================================
--- head/lib/libsmutil/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/lib/libsmutil/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -19,7 +19,7 @@ CLEANFILES+=sm_os.h
 
 INTERNALLIB=
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.lib.mk>

Modified: head/libexec/mail.local/Makefile
==============================================================================
--- head/libexec/mail.local/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/libexec/mail.local/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -23,7 +23,7 @@ DPADD+=${SENDMAIL_DPADD}
 LDADD+=${SENDMAIL_LDADD}
 LDFLAGS+=${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/libexec/smrsh/Makefile
==============================================================================
--- head/libexec/smrsh/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/libexec/smrsh/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -22,7 +22,7 @@ DPADD+=${SENDMAIL_DPADD}
 LDADD+=${SENDMAIL_LDADD}
 LDFLAGS+=${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/share/mk/sys.mk	Wed Nov 25 19:44:43 2015	(r291320)
@@ -272,7 +272,7 @@ YFLAGS		?=	-d
 
 # non-Posix rule set
 
-.sh:
+.sh: .NOMETA
 	cp -fp ${.IMPSRC} ${.TARGET}
 	chmod a+x ${.TARGET}
 

Modified: head/sys/boot/i386/boot2/Makefile
==============================================================================
--- head/sys/boot/i386/boot2/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/sys/boot/i386/boot2/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -107,8 +107,8 @@ boot2.h: boot1.out
 .if ${MACHINE_CPUARCH} == "amd64"
 beforedepend boot2.s: machine
 CLEANFILES+=	machine
-machine:
-	ln -sf ${.CURDIR}/../../../i386/include machine
+machine: ${.CURDIR}/../../../i386/include .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 .endif
 
 .include <bsd.prog.mk>

Modified: head/usr.bin/awk/Makefile
==============================================================================
--- head/usr.bin/awk/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.bin/awk/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -17,7 +17,7 @@ MLINKS=	awk.1 nawk.1
 
 CLEANFILES= maketab proctab.c ytab.h
 
-ytab.h: awkgram.h
+ytab.h: awkgram.h .NOMETA
 	ln -sf ${.ALLSRC} ${.TARGET}
 
 proctab.c: maketab

Modified: head/usr.bin/vacation/Makefile
==============================================================================
--- head/usr.bin/vacation/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.bin/vacation/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -22,7 +22,7 @@ DPADD+=${SENDMAIL_DPADD}
 LDADD+=${SENDMAIL_LDADD}
 LDFLAGS+=${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/acpi/iasl/Makefile
==============================================================================
--- head/usr.sbin/acpi/iasl/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.sbin/acpi/iasl/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -95,7 +95,7 @@ aslcompiler.y: aslparser.y aslrules.y as
 aslcompilerparse.c aslcompilerparse.h: aslcompiler.y
 	${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c ${.ALLSRC}
 
-aslcompiler.y.h: aslcompilerparse.h
+aslcompiler.y.h: aslcompilerparse.h .NOMETA
 	ln -f ${.ALLSRC} ${.TARGET}
 
 dtparserlex.c: dtparser.l
@@ -105,7 +105,7 @@ dtparserlex.c: dtparser.l
 dtparserparse.c dtparserparse.h: dtparser.y
 	${YACC} ${YFLAGS} -pDtParser -odtparserparse.c ${.ALLSRC}
 
-dtparser.y.h: dtparserparse.h
+dtparser.y.h: dtparserparse.h .NOMETA
 	ln -f ${.ALLSRC} ${.TARGET}
 
 prparserlex.c: prparser.l
@@ -115,7 +115,7 @@ prparserlex.c: prparser.l
 prparserparse.c prparserparse.h: prparser.y
 	${YACC} ${YFLAGS} -pPrParser -oprparserparse.c ${.ALLSRC}
 
-prparser.y.h: prparserparse.h
+prparser.y.h: prparserparse.h .NOMETA
 	ln -f ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/editmap/Makefile
==============================================================================
--- head/usr.sbin/editmap/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.sbin/editmap/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -23,7 +23,7 @@ DPADD+=${SENDMAIL_DPADD}
 LDADD+=${SENDMAIL_LDADD}
 LDFLAGS+=${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/mailstats/Makefile
==============================================================================
--- head/usr.sbin/mailstats/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.sbin/mailstats/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -24,7 +24,7 @@ DPADD+=	${SENDMAIL_DPADD}
 LDADD+=	${SENDMAIL_LDADD}
 LDFLAGS+= ${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/makemap/Makefile
==============================================================================
--- head/usr.sbin/makemap/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.sbin/makemap/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -24,7 +24,7 @@ DPADD+=${SENDMAIL_DPADD}
 LDADD+=${SENDMAIL_LDADD}
 LDFLAGS+=${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/praliases/Makefile
==============================================================================
--- head/usr.sbin/praliases/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.sbin/praliases/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -24,7 +24,7 @@ LDFLAGS+=${SENDMAIL_LDFLAGS}
 DPADD+=	${SENDMAIL_DPADD}
 LDADD+=	${SENDMAIL_LDADD}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/sendmail/Makefile
==============================================================================
--- head/usr.sbin/sendmail/Makefile	Wed Nov 25 19:44:34 2015	(r291319)
+++ head/usr.sbin/sendmail/Makefile	Wed Nov 25 19:44:43 2015	(r291320)
@@ -62,7 +62,7 @@ DPADD+=${SENDMAIL_DPADD}
 LDADD+=${SENDMAIL_LDADD}
 LDFLAGS+=${SENDMAIL_LDFLAGS}
 
-sm_os.h:
-	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
+	ln -sf ${.ALLSRC} ${.TARGET}
 
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511251944.tAPJihWu003949>