allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf

This commit is contained in:
cgd 1998-03-02 19:57:00 +00:00
parent f45dd19e06
commit 9da165424c
5 changed files with 20 additions and 10 deletions

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.8 1998/02/01 06:59:30 thorpej Exp $
# $NetBSD: Makefile,v 1.9 1998/03/02 19:57:00 cgd Exp $
.include <bsd.own.mk>
PROG= installboot
BINDIR= /usr/mdec
@ -12,7 +14,7 @@ SRCS= installboot.c cd9660.c dkcksum.c
NOMAN= yes
CFLAGS+= -g -I${.CURDIR}/../..
LDSTATIC=-static
LDSTATIC?=-static
LDADD+= -lutil
DPADD+= ${LIBUTIL}

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.4 1997/06/22 06:01:37 mrg Exp $
# $NetBSD: Makefile,v 1.5 1998/03/02 19:57:01 cgd Exp $
.include <bsd.own.mk>
BINDIR= /usr/mdec
PROG= installboot
@ -9,6 +11,6 @@ NOMAN= yes
CPPFLAGS= -I${.CURDIR}/../lib/crt/bootsect
CFLAGS+= -Wall
LDSTATIC=-static
LDSTATIC?=-static
.include <bsd.prog.mk>

View File

@ -1,10 +1,12 @@
# $NetBSD: Makefile,v 1.2 1997/06/22 06:26:45 mrg Exp $
# $NetBSD: Makefile,v 1.3 1998/03/02 19:57:01 cgd Exp $
.include <bsd.own.mk>
PROG= installboot
NOMAN= yes
BINDIR=/usr/mdec
# Need this to work in the miniroot
LDSTATIC= -static
LDSTATIC?= -static
.include <bsd.prog.mk>

View File

@ -1,8 +1,10 @@
# $NetBSD: Makefile,v 1.5 1997/06/16 13:58:24 mrg Exp $
# $NetBSD: Makefile,v 1.6 1998/03/02 19:57:01 cgd Exp $
.include <bsd.own.mk>
PROG= installboot
NOMAN=
LDSTATIC= -static
LDSTATIC?= -static
.include <bsd.prog.mk>

View File

@ -1,10 +1,12 @@
# $NetBSD: Makefile,v 1.5 1997/06/22 06:25:58 mrg Exp $
# $NetBSD: Makefile,v 1.6 1998/03/02 19:57:01 cgd Exp $
.include <bsd.own.mk>
PROG= installboot
NOMAN= yes
BINDIR=/usr/mdec
# Need this to work in the miniroot
LDSTATIC= -static
LDSTATIC?= -static
.include <bsd.prog.mk>