Makefile revision 139112
1# $FreeBSD: head/gnu/usr.bin/cc/cc1/Makefile 139112 2004-12-21 09:59:45Z ru $ 2 3.include "../Makefile.inc" 4 5.PATH: ${GCCDIR} 6 7PROG= cc1 8SRCS= main.c c-parse+%DIKED.c c-lang.c stub-objc.c 9BINDIR= /usr/libexec 10NO_MAN= 11NO_SHARED?=yes 12 13CFLAGS+= -I. 14 15DPADD= ${LIBCC_INT} 16LDADD= ${LIBCC_INT} 17 18#----------------------------------------------------------------------- 19# C parser 20c-parse+%DIKED.c: c-parse.c 21 sed -e "s/malloc/xmalloc/g" \ 22 -e "s/realloc/xrealloc/g" \ 23 ${.ALLSRC} > ${.TARGET} 24 25c-parse.y: c-parse.in 26 sed -e "/^@@ifobjc.*/,/^@@end_ifobjc.*/d" \ 27 -e "/^@@ifc.*/d" -e "/^@@end_ifc.*/d" \ 28 ${.ALLSRC} > ${.TARGET} 29 30CLEANFILES= c-parse+%DIKED.c c-parse.c c-parse.y 31CLEANFILES+= y.tab.h # we don't use it, but the system YACC rules are naive 32 33.include <bsd.prog.mk> 34