Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Also support per-program LDFLAGS and LDSTATIC.
details: https://anonhg.NetBSD.org/src/rev/6c27c9091398
branches: trunk
changeset: 551849:6c27c9091398
user: erh <erh%NetBSD.org@localhost>
date: Sat Sep 13 03:44:20 2003 +0000
description:
Also support per-program LDFLAGS and LDSTATIC.
diffstat:
share/mk/bsd.lib.mk | 4 +++-
share/mk/bsd.prog.mk | 6 ++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (41 lines):
diff -r 7385ef8e3f93 -r 6c27c9091398 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Sat Sep 13 03:18:13 2003 +0000
+++ b/share/mk/bsd.lib.mk Sat Sep 13 03:44:20 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.232 2003/09/13 02:52:05 erh Exp $
+# $NetBSD: bsd.lib.mk,v 1.233 2003/09/13 03:44:20 erh Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@@ -17,6 +17,8 @@
CPPFLAGS+= ${CPPFLAGS.lib${LIB}}
CXXFLAGS+= ${CXXFLAGS.lib${LIB}}
LDADD+= ${LDADD.lib${LIB}}
+LDFLAGS+= ${LDFLAGS.lib${LIB}}
+LDSTATIC+= ${LDSTATIC.lib${LIB}}
##### Build and install rules
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include}
diff -r 7385ef8e3f93 -r 6c27c9091398 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Sat Sep 13 03:18:13 2003 +0000
+++ b/share/mk/bsd.prog.mk Sat Sep 13 03:44:20 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.185 2003/09/13 02:52:05 erh Exp $
+# $NetBSD: bsd.prog.mk,v 1.186 2003/09/13 03:44:21 erh Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -17,10 +17,12 @@
clean: cleanprog
##### PROG specific flags.
-COPTS+= ${COPTS.${PROG}}
+COPTS+= ${COPTS.${PROG}}
CPPFLAGS+= ${CPPFLAGS.${PROG}}
CXXFLAGS+= ${CXXFLAGS.${PROG}}
LDADD+= ${LDADD.${PROG}}
+LDFLAGS+= ${LDFLAGS.${PROG}}
+LDSTATIC+= ${LDSTATIC.${PROG}}
##### Default values
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include}
Home |
Main Index |
Thread Index |
Old Index