Makefile revision 91559
191094Sdes# $FreeBSD: head/gnu/usr.bin/cc/cc_int/Makefile 91559 2002-03-02 08:53:36Z obrien $
291094Sdes
391094Sdes.include "../Makefile.inc"
491094Sdes
591094Sdes.PATH: ../cc_tools ${GCCDIR}/config/${GCC_ARCH} ${GCCDIR}
691094Sdes
7LIB=		cc_int
8NOPROFILE=	YES
9NOPIC=		YES
10
11SRCS=	c-aux-info.c c-common.c c-convert.c c-iterate.c \
12	c-pragma.c c-typeck.c \
13	caller-save.c calls.c combine.c convert.c cse.c \
14	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \
15	final.c flow.c fold-const.c function.c getpwd.c global.c graph.c \
16	hash.c \
17	integrate.c jump.c lcm.c local-alloc.c loop.c optabs.c \
18	print-rtl.c print-tree.c real.c recog.c reg-stack.c regclass.c \
19	reload.c reload1.c reorg.c rtl.c rtlanal.c \
20	sbitmap.c sdbout.c stmt.c stor-layout.c stupid.c \
21	toplev.c tree.c unroll.c varasm.c version.c xcoffout.c \
22	alias.c bitmap.c dwarf2out.c dyn-string.c except.c \
23	gcse.c genrtl.c profile.c regmove.c varray.c \
24	${OUT_FILE}
25.if defined(USE_EGCS_HAIFA) && ${USE_EGCS_HAIFA} == 1
26SRCS+=	haifa-sched.c
27.else
28SRCS+=	sched.c
29.endif
30
31# insn-* gunk -- headers are built in cc_tools, as they are used by the
32# "build-tools"
33.for F in attrtab emit extract opinit output peep recog
34SRCS+=	insn-$F.c
35CLEANFILES+= insn-$F.c
36insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F ${MD_FILE}
37	${.OBJDIR}/../cc_tools/gen$F ${MD_FILE} > insn-$F.c
38.endfor
39
40#	shared between the drivers
41SRCS+=	multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c
42
43#	stuff that makes libiberty now required (2.95) and shouldn't be...
44SRCS+=	obstack.c splay-tree.c
45
46CFLAGS+=	-DTARGET_NAME=\"${target}\" -DIN_GCC
47
48install:
49	@true
50
51${OUT_OBJ}.o ${OUT_OBJ}.So:	${OUT_FILE}
52
53.include <bsd.lib.mk>
54