diff options
Diffstat (limited to 'gnu/usr.bin/cc/protoize')
-rw-r--r-- | gnu/usr.bin/cc/protoize/Makefile | 16 |
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> |