aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-28 06:01:01 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-28 06:01:01 +0000
commit1a5ed802d2c4a7dd34e28c04a89646a36c80cf33 (patch)
treec17948d4665426977b775bc84f8659fd4e9ccf5c /share
parent9299d3c4bb7808599e63c86f2e869fa79b0ce19a (diff)
downloadsrc-1a5ed802d2c4a7dd34e28c04a89646a36c80cf33.tar.gz
src-1a5ed802d2c4a7dd34e28c04a89646a36c80cf33.zip
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.
Notes
Notes: svn path=/head/; revision=18529
Diffstat (limited to 'share')
-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 4982e30e56c5..321df9434022 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 4787212f2c35..24a80f99c867 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>