summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-28 06:01:01 +0000
committerbde <bde@FreeBSD.org>1996-09-28 06:01:01 +0000
commit6f8724483da59a4bccc2cdf7aeff32d7acacedfc (patch)
treec17948d4665426977b775bc84f8659fd4e9ccf5c /share/mk
parent087fec3920d8ce6c46276d2422a2827c325c6f11 (diff)
downloadFreeBSD-src-6f8724483da59a4bccc2cdf7aeff32d7acacedfc.zip
FreeBSD-src-6f8724483da59a4bccc2cdf7aeff32d7acacedfc.tar.gz
Fixed dependencies on libraries which I broke in rev.1.39 of
bsd.prog.mk and didn't actually fix in rev.1.43 of bsd.lib.mk. The library names must be defined before they are used in dependencies.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.lib.mk5
-rw-r--r--share/mk/bsd.prog.mk5
2 files changed, 6 insertions, 4 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 4982e30..321df943 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
-# $Id: bsd.lib.mk,v 1.44 1996/09/18 06:09:14 swallace Exp $
+# $Id: bsd.lib.mk,v 1.45 1996/09/19 07:01:45 peter Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@@ -24,6 +24,8 @@ CFLAGS+= ${DEBUG_FLAGS}
STRIP?= -s
.endif
+.include <bsd.libnames.mk>
+
.MAIN: all
# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries
@@ -261,5 +263,4 @@ all-man:
.endif
.include <bsd.dep.mk>
-.include <bsd.libnames.mk>
.include <bsd.obj.mk>
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 4787212..24a80f9 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.prog.mk,v 1.39 1996/09/05 18:05:08 bde Exp $
+# $Id: bsd.prog.mk,v 1.40 1996/09/18 06:09:19 swallace Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -25,6 +25,8 @@ LDFLAGS+= -static
LDDESTDIR+= -L${DESTDIR}/usr/lib
.endif
+.include <bsd.libnames.mk>
+
.if defined(PROG)
.if defined(SRCS)
@@ -155,5 +157,4 @@ all-man:
.endif
.include <bsd.dep.mk>
-.include <bsd.libnames.mk>
.include <bsd.obj.mk>
OpenPOWER on IntegriCloud