summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/info/Makefile
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1996-06-19 01:15:14 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1996-06-19 01:15:14 +0000
commit21225cc5af63dd8caf644c5f6a75b632f16e51ef (patch)
tree89895a1512972faff34daf259a0853af1d30de86 /usr.sbin/pkg_install/info/Makefile
parentd46fa770f652a1357cf3d9b52414f221cec739f7 (diff)
Makefiles supported obj, but not obj.${MACHINE}. Use same solution as
eg. kerberosIV/kadm.
Diffstat (limited to 'usr.sbin/pkg_install/info/Makefile')
-rw-r--r--usr.sbin/pkg_install/info/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/info/Makefile b/usr.sbin/pkg_install/info/Makefile
index 854b0e4a9d3..322b0f97882 100644
--- a/usr.sbin/pkg_install/info/Makefile
+++ b/usr.sbin/pkg_install/info/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.1 1996/06/04 07:56:09 niklas Exp $
+# $OpenBSD: Makefile,v 1.2 1996/06/19 01:15:13 maja Exp $
PROG= pkg_info
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-.if exists(${.CURDIR}/../lib/obj)
-LDADD+= -L${.CURDIR}/../lib/obj -linstall
-DPADD+= ${.CURDIR}/../lib/obj/libinstall.a
+.if exists(${.CURDIR}/../lib/${__objdir})
+LDADD+= -L${.CURDIR}/../lib/${__objdir} -linstall
+DPADD+= ${.CURDIR}/../lib/${__objdir}/libinstall.a
.else
LDADD+= -L${.CURDIR}/../lib -linstall
DPADD+= ${.CURDIR}/../lib/libinstall.a