summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-02-06 03:38:30 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-02-06 03:38:30 +0000
commit3e4d3d2374196cbd06f6cc355de8dbf88e88f91f (patch)
treefcaa135fedb828eb9d3f748d717e6d3b906d780f /gnu/usr.bin/cvs/Makefile.bsd-wrapper
parent3e342daec01798b637f1ae5e60bcc67f9c3addbf (diff)
Pass CFLAGS into gnu build.
Diffstat (limited to 'gnu/usr.bin/cvs/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/cvs/Makefile.bsd-wrapper12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/usr.bin/cvs/Makefile.bsd-wrapper b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
index 24833d47515..4db64b4c792 100644
--- a/gnu/usr.bin/cvs/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
@@ -1,9 +1,12 @@
-# $Id: Makefile.bsd-wrapper,v 1.10 1996/02/02 00:11:23 niklas Exp $
+# $Id: Makefile.bsd-wrapper,v 1.11 1996/02/06 03:38:29 etheisen Exp $
MAN= man/cvs.1 man/cvs.5 man/cvsbug.8 man/cvsinit.8 man/mkmodules.1
+GNUCFLAGS= CFLAGS="${CFLAGS}"
+CLEANFILES= man/cvs.cat1 man/cvs.cat5 man/cvsbug.cat8 \
+ man/cvsinit.cat8 man/mkmodules.cat1
all: config.status
- ${MAKE} LDFLAGS=${LDSTATIC}
+ ${MAKE} ${GNUCFLAGS} LDFLAGS=${LDSTATIC}
.FORCE: .IGNORE
@@ -15,12 +18,13 @@ config.status:
sh ${.CURDIR}/configure --prefix=/usr --with-krb4=/usr
install: maninstall
- ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \
+ ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \
+ infodir=${DESTDIR}/usr/share/info \
bindir=${DESTDIR}/usr/bin INSTALL_MAN= install
clean cleandir:
+ rm -f ${CLEANFILES}
-@if [ -e Makefile ]; then ${MAKE} distclean; fi
- rm -f man/cvs.cat1 man/cvs.cat5 man/cvsbug.cat8 man/cvsinit.cat8 man/mkmodules.cat1
depend:
# Nothing here so far...