Merge from vendor branch ZLIB:
[dragonfly.git] / gnu / usr.bin / cc3 / protoize / Makefile
1 # $FreeBSD: src/gnu/usr.bin/cc/protoize/Makefile,v 1.2 2002/05/10 08:54:49 obrien Exp $
2 # $DragonFly: src/gnu/usr.bin/cc3/protoize/Attic/Makefile,v 1.4 2004/02/03 03:47:12 dillon Exp $
3
4 .include "../Makefile.inc"
5
6 CFLAGS+=        -I${.CURDIR}/../config
7
8 .PATH: ${.CURDIR}/../cc_tools ${GCCDIR}/gcc ${GCCDIR}/libiberty
9
10 PROG=   protoize
11 SRCS=   protoize.c xmalloc.c xexit.c
12 NOMAN=
13
14 # things are rather hard-coded, we work around that here
15 CFLAGS+= -DDEFAULT_TARGET_VERSION=\"\"
16 CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"../libdata/gcc\"
17
18 DPADD=  ${LIBCC_INT}
19 LDADD=  ${LIBCC_INT}
20
21 CLEANFILES=     config.h
22 config.h: auto-host.h freebsd-native.h
23         cat ${.ALLSRC} >${.TARGET}
24
25 .include <bsd.prog.mk>