summaryrefslogtreecommitdiff
path: root/distrib/vax/common
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-10-14 00:00:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-10-14 00:00:15 +0000
commit1f909d7fe60e05c022b8077b00330e4e94bc3f29 (patch)
tree30c63679843221d315a468c5e5c420014ae65f68 /distrib/vax/common
parentd7236a4edd675916c9376c42bf59007d41bdc615 (diff)
Turn on the distrib lib bits in crunchgen by setting SRCLIBDIR.
Add the new files to the clean target's rm list. "why not get it tested?" deraadt@
Diffstat (limited to 'distrib/vax/common')
-rw-r--r--distrib/vax/common/Makefile.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/distrib/vax/common/Makefile.inc b/distrib/vax/common/Makefile.inc
index bd5ff4cfec6..9ccf0b7ac44 100644
--- a/distrib/vax/common/Makefile.inc
+++ b/distrib/vax/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.7 2011/04/18 16:52:10 thib Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2013/10/14 00:00:14 guenther Exp $
# TOP is assumed to be defined by Makefile including this one.
@@ -64,10 +64,12 @@ ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../ -L ${DESTDIR}/usr/lib ${.ALLSRC}
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
- ${MAKE} -f ${CBIN}.mk
+ ${MAKE} -f ${CBIN}.mk SRCLIBDIR=${.CURDIR}/../../../lib all
clean cleandir:
- /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
+ /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
+ *.o *.lo *.c \
+ lib*.a lib*.olist ${CBIN}.map
.include <bsd.obj.mk>
.include <bsd.subdir.mk>