binutils214 stage 2/4.
[dragonfly.git] / gnu / usr.bin / cc / cc1obj / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/gnu/usr.bin/cc/cc1obj/Makefile,v 1.11.2.2 2002/06/20 23:13:31 obrien Exp $
17030342 2# $DragonFly: src/gnu/usr.bin/cc/cc1obj/Attic/Makefile,v 1.5 2004/02/02 05:43:11 dillon Exp $
984263bc
MD
3
4.include "../Makefile.inc"
5
6.PATH: ${GCCDIR}/objc ${GCCDIR}
7
8PROG= cc1obj
9SRCS= c-parse.y objc-act.c
10# Ugh, compiled twice...
11SRCS+= c-decl.c c-lex.c
984263bc
MD
12NOMAN= 1
13NOSHARED=yes
14
15CFLAGS+= -I${GCCDIR}/objc -I.
16
17DPADD+= ${LIBCC_INT}
18LDADD+= ${LIBCC_INT}
19
20#-----------------------------------------------------------------------
21# objc parser
22
23c-parse.y: c-parse.in
24 sed -e "/^ifc$$/,/^end ifc$$/d" \
25 -e "/^ifobjc$$/d" \
26 -e "/^end ifobjc$$/d" \
27 ${.ALLSRC} > ${.TARGET}
28
29CLEANFILES+= c-parse.y
30
31#-----------------------------------------------------------------------
32
33.include <bsd.prog.mk>