From 42d494a30b08a1df5d7d1bd692172d96167be546 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 9 Jun 1998 05:36:48 +0000 Subject: [PATCH] $@ is deprecated, use longer forms of single char macros --- usr.sbin/ppp/Makefile | 6 +++--- usr.sbin/sendmail/cf/cf/Makefile | 7 +++---- usr.sbin/traceroute/Makefile | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index 38457e9d78d..e4710dd46e6 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.39 1998/06/07 00:16:57 brian Exp $ +# $Id: Makefile,v 1.40 1998/06/07 17:08:42 brian Exp $ PROG= ppp SRCS= arp.c async.c auth.c bundle.c ccp.c chap.c chat.c command.c \ @@ -44,8 +44,8 @@ DPADD+= ${LIBDES} # and we don't want any unused symbols to spoil the final link. SRCS+= alias_cmd.c loadalias.c chap_ms.c chap_ms.o alias_cmd.o loadalias.o: - >null_$*.c - cc -c -o $@ null_$*.c + >null_${.PREFIX}.c + cc -c -o ${.TARGET} null_${.PREFIX}.c .endif .include diff --git a/usr.sbin/sendmail/cf/cf/Makefile b/usr.sbin/sendmail/cf/cf/Makefile index 3ab538cb871..3a9a5f9f707 100644 --- a/usr.sbin/sendmail/cf/cf/Makefile +++ b/usr.sbin/sendmail/cf/cf/Makefile @@ -20,9 +20,9 @@ RM= rm -f .SUFFIXES: .mc .cf .mc.cf: - $(RM) $@ - (cd ${.CURDIR} && $(M4) ${CFDIR}/m4/cf.m4 ${@:R}.mc) > $@ - $(CHMOD) $(ROMODE) $@ + $(RM) ${.TARGET} + (cd ${.CURDIR} && $(M4) ${CFDIR}/m4/cf.m4 ${@:R}.mc) > ${.TARGET} + $(CHMOD) $(ROMODE) ${.TARGET} ALL= freebsd.cf @@ -55,7 +55,6 @@ install: ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${SENDMAIL_CF} \ ${DESTDIR}/etc/sendmail.cf .endif - # Helper for src/etc/Makefile etc-sendmail.cf: freebsd.cf diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile index 0176c0dbf7a..700e02bacd2 100644 --- a/usr.sbin/traceroute/Makefile +++ b/usr.sbin/traceroute/Makefile @@ -1,4 +1,4 @@ -# $Id$ +# $Id: Makefile,v 1.7 1997/02/22 16:14:03 peter Exp $ PROG= traceroute MAN8= traceroute.8 @@ -19,7 +19,7 @@ CFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl .PATH: ${TRACEROUTE_DISTDIR} version.c: ${TRACEROUTE_DISTDIR}/VERSION - @rm -f $@ - sed -e 's/.*/char version[] = "&";/' ${TRACEROUTE_DISTDIR}/VERSION > $@ + @rm -f ${.TARGET} + sed -e 's/.*/char version[] = "&";/' ${TRACEROUTE_DISTDIR}/VERSION > ${.TARGET} .include