summaryrefslogtreecommitdiffstats
path: root/share/syscons
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 02:30:45 +0000
committerbde <bde@FreeBSD.org>1998-07-07 02:30:45 +0000
commitaf348f694b42919dac4a371d6090569cdc4d8bc4 (patch)
treebe9c941e7c1ce3ff152de0213b2b79bb5c4fc12b /share/syscons
parent8b5694de2c3b952ec7f2fe34c9629f5a9d866cbe (diff)
downloadFreeBSD-src-af348f694b42919dac4a371d6090569cdc4d8bc4.zip
FreeBSD-src-af348f694b42919dac4a371d6090569cdc4d8bc4.tar.gz
Added a `build-tools' target for internal tools.
Honor LDFLAGS for building internal tools.
Diffstat (limited to 'share/syscons')
-rw-r--r--share/syscons/scrnmaps/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/share/syscons/scrnmaps/Makefile b/share/syscons/scrnmaps/Makefile
index 61e1b57..44142f2 100644
--- a/share/syscons/scrnmaps/Makefile
+++ b/share/syscons/scrnmaps/Makefile
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: Makefile,v 1.10 1998/01/03 14:09:21 wosch Exp $
SCRMAPS = koi8-r2cp866.scm iso-8859-1_to_cp437.scm
@@ -10,6 +10,8 @@ NOMAN = noman
all: ${SCRMAPS}
+build-tools: ${SCRMAPS_MK}
+
install:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
${SCRMAPS} ${DESTDIR}${SCRDIR}
@@ -20,7 +22,7 @@ ${SCRMAPS}: ${.TARGET:R}.mk
rm -f ${.TARGET:R}.tmp
${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c
- ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \
- -o ${.TARGET} ${.CURDIR}/mkscrfil.c
+ ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \
+ -o ${.TARGET} ${.CURDIR}/mkscrfil.c
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud