summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-07 08:55:00 +0000
committerbde <bde@FreeBSD.org>1998-03-07 08:55:00 +0000
commit6682846885f7b3347088fca27d9c55c86426311e (patch)
tree2d8dfb6b69578f3b240ed91f714ecc557fb116f9 /usr.sbin/pkg_install/create/Makefile
parent1bc27d95394df5d8e70e98c32a02cafeb0930aea (diff)
downloadFreeBSD-src-6682846885f7b3347088fca27d9c55c86426311e.zip
FreeBSD-src-6682846885f7b3347088fca27d9c55c86426311e.tar.gz
Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries.
Diffstat (limited to 'usr.sbin/pkg_install/create/Makefile')
-rw-r--r--usr.sbin/pkg_install/create/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/usr.sbin/pkg_install/create/Makefile b/usr.sbin/pkg_install/create/Makefile
index 01048ac..d347d8e 100644
--- a/usr.sbin/pkg_install/create/Makefile
+++ b/usr.sbin/pkg_install/create/Makefile
@@ -1,17 +1,11 @@
+# $Id$
+
PROG= pkg_create
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-.if exists(${.OBJDIR}/../lib)
-LDADD+= -L${.OBJDIR}/../lib -linstall
-DPADD+= ${.OBJDIR}/../lib/libinstall.a
-.else
-LDADD+= -L${.CURDIR}/../lib -linstall
-DPADD+= ${.CURDIR}/../lib/libinstall.a
-.endif
-
-LDADD+= -lftpio -lmd
-DPADD+= ${LIBFTPIO} ${LIBMD}
+DPADD= ${LIBINSTALL} ${LIBFTPIO} ${LIBMD}
+LDADD= ${LIBINSTALL} -lftpio -lmd
SRCS= main.c perform.c pl.c
OpenPOWER on IntegriCloud