summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/protoize/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-10 08:54:50 +0000
committerobrien <obrien@FreeBSD.org>2002-05-10 08:54:50 +0000
commitdfe16a29faf2eed114d592e51438cf098a82caba (patch)
tree4267ea6c3a5e7816a537d642d12e65f950b34542 /gnu/usr.bin/cc/protoize/Makefile
parent92c7caae40522c9b713128ad465b033c2e16ce8b (diff)
downloadFreeBSD-src-dfe16a29faf2eed114d592e51438cf098a82caba.zip
FreeBSD-src-dfe16a29faf2eed114d592e51438cf098a82caba.tar.gz
Bmake bits for Gcc 3.1.
Partially made possible by: Wilko.Bulte@compaq.com
Diffstat (limited to 'gnu/usr.bin/cc/protoize/Makefile')
-rw-r--r--gnu/usr.bin/cc/protoize/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/protoize/Makefile b/gnu/usr.bin/cc/protoize/Makefile
index 08f29ef..500dd03 100644
--- a/gnu/usr.bin/cc/protoize/Makefile
+++ b/gnu/usr.bin/cc/protoize/Makefile
@@ -2,6 +2,20 @@
.include "../Makefile.inc"
-.PATH: ${GCCDIR}
+.PATH: ${.CURDIR}/../cc_tools ${GCCDIR}
+
+PROG= protoize
+NOMAN=
+
+# things are rather hard-coded, we work around that here
+CFLAGS+= -DDEFAULT_TARGET_VERSION=\"\"
+CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"../libdata/gcc\"
+
+DPADD= ${LIBCC_INT}
+LDADD= ${LIBCC_INT}
+
+CLEANFILES= config.h
+config.h: auto-host.h freebsd-native.h
+ cat ${.ALLSRC} >${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud