$@ is deprecated, use ${.TARGET} instead. Ditto for other single character

$n.
PR:		 conf/3273
This commit is contained in:
Warner Losh 1998-06-09 04:07:23 +00:00
parent 8a20f85ccb
commit 205a8ea824
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36786
4 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
# $Id$
# $Id: Makefile,v 1.6 1997/02/22 19:54:03 peter Exp $
.include "${.CURDIR}/Makefile.inc"
@ -29,5 +29,5 @@ ${MAN1}: at.man
s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
s@_PERM_PATH@$(PERM_PATH)@g; \
s@_LOCKFILE@$(LOCKFILE)@g" \
< $? > $@
< ${.OODATE} > ${.TARGET}

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.4 1997/08/18 06:08:56 andreas Exp $
# $Id: Makefile,v 1.5 1997/08/18 11:39:19 peter Exp $
PROG= tclsh
SRCS= tclAppInit.c
@ -12,7 +12,7 @@ MAN1= tclsh.1
CLEANFILES= ${MAN1}
tclsh.1: ${.CURDIR}/../../contrib/tcl/doc/tclsh.1
sed '/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;' < $> > $@
sed '/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;' < ${.ALLSRC} > ${.TARGET}
CFLAGS+= -I${DESTDIR}/usr/include/tcl
LDADD+= -ltcl -lm

View file

@ -49,10 +49,10 @@ OBJS= commands.o main.o network.o ring.o sys_bsd.o \
telnet.o terminal.o tn3270.o utilities.o
.c.o:
${CC} -c ${CFLAGS} ${XCFLAGS} $<
${CC} -c ${CFLAGS} ${XCFLAGS} ${.IMPSRC}
telprog.o: ${OBJS} ${LIBC}
${LD} ${LDFLAGS} -o $@ ${OBJS}
${LD} ${LDFLAGS} -o ${.TARGET} ${OBJS}
clean: FRC
rm -f telprog.o ${OBJS} core telnet

View file

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.20 1997/08/19 01:52:11 asami Exp $
# $Id: Makefile,v 1.21 1997/09/22 23:14:37 wosch Exp $
#
# This has most of the glue needed to compile tknvi and the perl hooks,
# but not all.
@ -147,9 +147,9 @@ SRCS+= vs_line.c vs_msg.c vs_refresh.c vs_relative.c vs_smap.c vs_split.c
# Generate perl.c
.if defined(PERLINTERP)
perl.c: perl.xs typemap
echo "#define _PATH_PERLSCRIPTS \"/usr/share/vi/perl\"" > $@
echo "#define _PATH_PERLSCRIPTS \"/usr/share/vi/perl\"" > ${.TARGET}
$(PERL) $(PERLLIB)/ExtUtils/xsubpp -typemap \
$(PERLLIB)/ExtUtils/typemap $(SRCDIR)/perl_api/perl.xs >> $@
$(PERLLIB)/ExtUtils/typemap $(SRCDIR)/perl_api/perl.xs >> ${.TARGET}
($(PERL) -ne 'print "sub $$1 {\$$curscr->$$1(\@_)}\n" \
if /newXS\("VI::([^":]*)"/;' $@ ; echo "1;") > VI.pm