Makefile revision 94226
1163953Srrs# $FreeBSD: head/gnu/usr.bin/cc/cc1/Makefile 94226 2002-04-08 18:48:38Z obrien $ 2185694Srrs 3163953Srrs.include "../Makefile.inc" 4163953Srrs 5163953Srrs.PATH: ../cc_tools ${GCCDIR} 6163953Srrs 7163953SrrsPROG= cc1 8163953SrrsSRCS= c-parse.c c-parse.h c-lang.c 9163953Srrs# Ugh, compiled twice... 10163953SrrsSRCS+= c-decl.c c-lex.c 11163953SrrsBINDIR= /usr/libexec 12163953SrrsNOMAN= 1 13163953SrrsNOSHARED=yes 14163953Srrs 15163953SrrsCFLAGS+= -I. 16163953Srrs 17163953SrrsDPADD+= ${LIBCC_INT} 18163953SrrsLDADD+= ${LIBCC_INT} 19163953Srrs 20163953Srrs#----------------------------------------------------------------------- 21163953Srrs# C parser 22163953Srrs.ORDER: c-parse.c c-parse.h 23163953Srrsc-parse.c c-parse.h: c-parse.in 24163953Srrs sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \ 25163953Srrs -e "/^ifc$$/d" \ 26163953Srrs -e "/^end ifc$$/d" \ 27163953Srrs ${.ALLSRC} > c-parse.y 28163953Srrs ${YACC} -d -o c-parse.c c-parse.y 29163953Srrs 30163953SrrsCLEANFILES+= c-parse.c c-parse.h c-parse.y # insurance 31163953Srrs 32163953Srrs#----------------------------------------------------------------------- 33163953Srrs 34163953Srrs.include <bsd.prog.mk> 35163953Srrs