summaryrefslogtreecommitdiffstats
path: root/sbin/atm
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2012-11-08 21:29:03 +0000
committersjg <sjg@FreeBSD.org>2012-11-08 21:29:03 +0000
commit80ef35c6e797550b47997bcd933f45a01d19d3fc (patch)
treea5a2f1d60ced0b64b69ed97becb635f8716378fc /sbin/atm
parent2fb04ea6c179c011af384fc1b76ee586346e2d79 (diff)
downloadFreeBSD-src-80ef35c6e797550b47997bcd933f45a01d19d3fc.zip
FreeBSD-src-80ef35c6e797550b47997bcd933f45a01d19d3fc.tar.gz
Qualifying targets with ${.OBJDIR}/ confuses make for little reason.
Diffstat (limited to 'sbin/atm')
-rw-r--r--sbin/atm/atmconfig/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile
index 0d64fea..b2857c9 100644
--- a/sbin/atm/atmconfig/Makefile
+++ b/sbin/atm/atmconfig/Makefile
@@ -9,7 +9,7 @@
PROG= atmconfig
.ifndef RESCUE
-SRCS= ${.OBJDIR}/oid.h
+SRCS= oid.h
.endif
SRCS+= main.c diag.c natm.c
.ifndef RESCUE
@@ -18,7 +18,7 @@ SRCS+= atmconfig_device.c
MAN= atmconfig.8
# CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"'
-CFLAGS+= -I${.OBJDIR}
+CFLAGS+= -I.
.ifndef RESCUE
DPADD= ${LIBBSNMP}
@@ -43,8 +43,8 @@ FILESDIR= /usr/share/doc/atm
SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \
${.CURDIR}/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def
-${.OBJDIR}/oid.h: atm_oid.list ${SNMP_ATM_DEF}
+oid.h: atm_oid.list ${SNMP_ATM_DEF}
cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \
- > ${.OBJDIR}/oid.h
+ > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud