summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/rmail/Makefile4
-rw-r--r--gnu/lib/libreadline/readline/Makefile2
-rw-r--r--gnu/lib/libstdc++/Makefile6
-rw-r--r--gnu/lib/libsupc++/Makefile2
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile4
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile4
-rw-r--r--lib/libc++/Makefile4
-rw-r--r--lib/libc/gdtoa/Makefile.inc4
-rw-r--r--lib/libc/gen/Makefile.inc4
-rw-r--r--lib/libc/stdlib/jemalloc/Makefile.inc8
-rw-r--r--lib/libdwarf/Makefile4
-rw-r--r--lib/libelf/Makefile4
-rw-r--r--lib/libmilter/Makefile4
-rw-r--r--lib/libpcap/Makefile5
-rw-r--r--lib/libsm/Makefile4
-rw-r--r--lib/libsmdb/Makefile4
-rw-r--r--lib/libsmutil/Makefile4
-rw-r--r--libexec/mail.local/Makefile4
-rw-r--r--libexec/smrsh/Makefile4
-rw-r--r--share/mk/sys.mk2
-rw-r--r--sys/boot/i386/boot2/Makefile4
-rw-r--r--usr.bin/awk/Makefile2
-rw-r--r--usr.bin/vacation/Makefile4
-rw-r--r--usr.sbin/acpi/iasl/Makefile6
-rw-r--r--usr.sbin/editmap/Makefile4
-rw-r--r--usr.sbin/mailstats/Makefile4
-rw-r--r--usr.sbin/makemap/Makefile4
-rw-r--r--usr.sbin/praliases/Makefile4
-rw-r--r--usr.sbin/sendmail/Makefile4
29 files changed, 58 insertions, 59 deletions
diff --git a/bin/rmail/Makefile b/bin/rmail/Makefile
index a74898f..421a6ff 100644
--- a/bin/rmail/Makefile
+++ b/bin/rmail/Makefile
@@ -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>
diff --git a/gnu/lib/libreadline/readline/Makefile b/gnu/lib/libreadline/readline/Makefile
index a16d216..547f190 100644
--- a/gnu/lib/libreadline/readline/Makefile
+++ b/gnu/lib/libreadline/readline/Makefile
@@ -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
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index d55b67e..27f3236 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -88,7 +88,7 @@ ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h
.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-arm.h
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}
diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile
index 0531a73..b78e9d8 100644
--- a/gnu/lib/libsupc++/Makefile
+++ b/gnu/lib/libsupc++/Makefile
@@ -38,7 +38,7 @@ unwind.h: ${GCCDIR}/config/arm/unwind-arm.h
unwind.h: ${GCCDIR}/unwind-generic.h
.endif
-unwind.h:
+unwind.h: .NOMETA
ln -sf ${.ALLSRC} ${.TARGET}
SRCS+= unwind.h
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 2b293ec..40dd7e2 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -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
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index f451171..f645453 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -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-arm.h
unwind.h: ${GCCDIR}/unwind-generic.h
.endif
-unwind.h:
+unwind.h: .NOMETA
ln -sf ${.ALLSRC} ${.TARGET}
GENSRCS+= unwind.h
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile
index baa6faf..d9b0360 100644
--- a/lib/libc++/Makefile
+++ b/lib/libc++/Makefile
@@ -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
diff --git a/lib/libc/gdtoa/Makefile.inc b/lib/libc/gdtoa/Makefile.inc
index c46f898..e25f516 100644
--- a/lib/libc/gdtoa/Makefile.inc
+++ b/lib/libc/gdtoa/Makefile.inc
@@ -15,6 +15,6 @@ CFLAGS+=-I${LIBC_SRCTOP}/../../contrib/gdtoa
.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
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 2232b79..b448461 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -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
diff --git a/lib/libc/stdlib/jemalloc/Makefile.inc b/lib/libc/stdlib/jemalloc/Makefile.inc
index 46006ee..a04ccf2 100644
--- a/lib/libc/stdlib/jemalloc/Makefile.inc
+++ b/lib/libc/stdlib/jemalloc/Makefile.inc
@@ -14,14 +14,14 @@ CFLAGS+=-I${LIBC_SRCTOP}/../../contrib/jemalloc/include
.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 \
diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile
index 590aab3..30e0c60 100644
--- a/lib/libdwarf/Makefile
+++ b/lib/libdwarf/Makefile
@@ -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
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index c400204..91dbea6f1 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -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
diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile
index ca9838d..81172ec 100644
--- a/lib/libmilter/Makefile
+++ b/lib/libmilter/Makefile
@@ -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>
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index c36b3ef..cdc0228 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -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
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index 20f54c1..1ec2dc1 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -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>
diff --git a/lib/libsmdb/Makefile b/lib/libsmdb/Makefile
index 976282c..f1f5199 100644
--- a/lib/libsmdb/Makefile
+++ b/lib/libsmdb/Makefile
@@ -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>
diff --git a/lib/libsmutil/Makefile b/lib/libsmutil/Makefile
index b7e5a69..e7919ea 100644
--- a/lib/libsmutil/Makefile
+++ b/lib/libsmutil/Makefile
@@ -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>
diff --git a/libexec/mail.local/Makefile b/libexec/mail.local/Makefile
index 018357c..79844e8 100644
--- a/libexec/mail.local/Makefile
+++ b/libexec/mail.local/Makefile
@@ -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>
diff --git a/libexec/smrsh/Makefile b/libexec/smrsh/Makefile
index 7e82b22..e2e9c3b 100644
--- a/libexec/smrsh/Makefile
+++ b/libexec/smrsh/Makefile
@@ -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>
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index ff753f4..68d2db3 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -272,7 +272,7 @@ YFLAGS ?= -d
# non-Posix rule set
-.sh:
+.sh: .NOMETA
cp -fp ${.IMPSRC} ${.TARGET}
chmod a+x ${.TARGET}
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 56f74c1..25de8c4 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -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>
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index a8bcb5c..80ca5db 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -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
diff --git a/usr.bin/vacation/Makefile b/usr.bin/vacation/Makefile
index f32e0c4..aa8e9bd 100644
--- a/usr.bin/vacation/Makefile
+++ b/usr.bin/vacation/Makefile
@@ -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>
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
index 210b31a..b4385c7 100644
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -95,7 +95,7 @@ aslcompiler.y: aslparser.y aslrules.y aslsupport.y asltokens.y asltypes.y
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>
diff --git a/usr.sbin/editmap/Makefile b/usr.sbin/editmap/Makefile
index 20d86ab..23e967f 100644
--- a/usr.sbin/editmap/Makefile
+++ b/usr.sbin/editmap/Makefile
@@ -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>
diff --git a/usr.sbin/mailstats/Makefile b/usr.sbin/mailstats/Makefile
index a7911a2..3d03ff8 100644
--- a/usr.sbin/mailstats/Makefile
+++ b/usr.sbin/mailstats/Makefile
@@ -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>
diff --git a/usr.sbin/makemap/Makefile b/usr.sbin/makemap/Makefile
index ceec1b3..af5f742 100644
--- a/usr.sbin/makemap/Makefile
+++ b/usr.sbin/makemap/Makefile
@@ -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>
diff --git a/usr.sbin/praliases/Makefile b/usr.sbin/praliases/Makefile
index 6fadc1b..b0b3e2d 100644
--- a/usr.sbin/praliases/Makefile
+++ b/usr.sbin/praliases/Makefile
@@ -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>
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index d201d91..80ce13b 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -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>
OpenPOWER on IntegriCloud