aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1993-09-20 23:47:51 +0000
committerNate Williams <nate@FreeBSD.org>1993-09-20 23:47:51 +0000
commit02954343b7b78301d4ba2e2c27f1a226773a63d0 (patch)
treeb08f54e0de4cfb41f9dddca3c40b15f6a9f5af4d /usr.sbin
parent06a1e2ded284de3ab1e19c82d0ef53bfbcd92950 (diff)
downloadsrc-02954343b7b78301d4ba2e2c27f1a226773a63d0.tar.gz
src-02954343b7b78301d4ba2e2c27f1a226773a63d0.zip
Now works with/without obj directories
Notes
Notes: svn path=/head/; revision=487
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/add/Makefile3
-rw-r--r--usr.sbin/pkg_install/create/Makefile3
-rw-r--r--usr.sbin/pkg_install/delete/Makefile3
-rw-r--r--usr.sbin/pkg_install/info/Makefile3
4 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/add/Makefile b/usr.sbin/pkg_install/add/Makefile
index 8ac76a6d51cd..2887d05706fb 100644
--- a/usr.sbin/pkg_install/add/Makefile
+++ b/usr.sbin/pkg_install/add/Makefile
@@ -1,7 +1,8 @@
PROG= pkg_add
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-LDADD+= -L${.CURDIR}/../lib -linstall
+LDADD+= -L${.CURDIR}/../lib -L${.CURDIR}/../lib/obj -linstall
+
SRCS= main.c perform.c futil.c extract.c
diff --git a/usr.sbin/pkg_install/create/Makefile b/usr.sbin/pkg_install/create/Makefile
index 795ec24a7ca3..2f52910f7cc2 100644
--- a/usr.sbin/pkg_install/create/Makefile
+++ b/usr.sbin/pkg_install/create/Makefile
@@ -1,7 +1,8 @@
PROG= pkg_create
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-LDADD+= -L${.CURDIR}/../lib -linstall
+LDADD+= -L${.CURDIR}/../lib -L${.CURDIR}/../lib/obj -linstall
+
SRCS= main.c perform.c pl.c
diff --git a/usr.sbin/pkg_install/delete/Makefile b/usr.sbin/pkg_install/delete/Makefile
index 5631cdfd85e7..942f524410e0 100644
--- a/usr.sbin/pkg_install/delete/Makefile
+++ b/usr.sbin/pkg_install/delete/Makefile
@@ -1,7 +1,8 @@
PROG= pkg_delete
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-LDADD+= -L${.CURDIR}/../lib -linstall
+LDADD+= -L${.CURDIR}/../lib -L${.CURDIR}/../lib/obj -linstall
+
SRCS= main.c perform.c
diff --git a/usr.sbin/pkg_install/info/Makefile b/usr.sbin/pkg_install/info/Makefile
index 60b543331bfb..b7344f3f2acb 100644
--- a/usr.sbin/pkg_install/info/Makefile
+++ b/usr.sbin/pkg_install/info/Makefile
@@ -1,7 +1,8 @@
PROG= pkg_info
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-LDADD+= -L${.CURDIR}/../lib -linstall
+LDADD+= -L${.CURDIR}/../lib -L${.CURDIR}/../lib/obj -linstall
+
SRCS= main.c perform.c show.c