Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / gnu / usr.bin / cc / cc_int / Makefile
1 # $FreeBSD: src/gnu/usr.bin/cc/cc_int/Makefile,v 1.25.2.5 2002/07/19 18:46:23 ru Exp $
2 # $DragonFly: src/gnu/usr.bin/cc/cc_int/Attic/Makefile,v 1.2 2003/06/17 04:25:45 dillon Exp $
3
4 .include "../Makefile.inc"
5
6 .PATH: ../cc_tools ${GCCDIR}/config/${TARGET_ARCH} ${GCCDIR}
7
8 LIB=            cc_int
9 INTERNALLIB=    YES
10
11 SRCS=   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         ${TARGET_ARCH}.c
25 .if defined(USE_EGCS_HAIFA) && ${USE_EGCS_HAIFA} == 1
26 SRCS+=  haifa-sched.c
27 .else
28 SRCS+=  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
34 SRCS+=  insn-$F.c
35 CLEANFILES+= insn-$F.c
36 insn-$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
41 SRCS+=  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...
44 SRCS+=  obstack.c splay-tree.c
45
46 CFLAGS+=        -DTARGET_NAME=\"${target}\" -DIN_GCC
47
48 .include <bsd.lib.mk>