Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/sommerfeld_i386mp_1]: src/sys/arch/i386/stand/installboot arch/*/stand s...
details: https://anonhg.NetBSD.org/src/rev/b7cd9d1d2039
branches: sommerfeld_i386mp_1
changeset: 482576:b7cd9d1d2039
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Aug 27 08:53:17 2002 +0000
description:
arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
diffstat:
sys/arch/i386/stand/installboot/Makefile | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diffs (34 lines):
diff -r c8ea128ea828 -r b7cd9d1d2039 sys/arch/i386/stand/installboot/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/i386/stand/installboot/Makefile Tue Aug 27 08:53:17 2002 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.24.2.2 2002/08/27 08:53:17 lukem Exp $
+
+NOMAN= # defined
+
+# XXX: bsd.own.mk included so LDSTATIC can be overwridden
+.include <bsd.own.mk>
+
+PROG= installboot
+LIBSA=${.CURDIR}/../../../../lib/libsa
+
+.PATH.c: ${LIBSA}
+
+SRCS= installboot.c bootblks.c getmount.c byteorder.c loadfile.c \
+ loadfile_aout.c loadfile_elf32.c
+
+CPPFLAGS+= -I${.CURDIR}/../lib/crt/bootsect
+CPPFLAGS+= -I${LIBSA} -I.
+CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes
+LDSTATIC=-static
+
+.BEGIN: machine
+.NOPATH: machine
+${SRCS} realdepend realall: machine
+CLEANFILES+= machine
+
+machine::
+ -rm -f $@
+ ln -s ${.CURDIR}/../../include $@
+
+.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index