No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / usr.bin / g++ / cc1plus / Makefile
blob5c6bc129c90f8d6681ce421f054c251787e5afd5
1 # @(#)Makefile 6.4 (Berkeley) 5/6/91
3 PROG= cc1plus
4 BINDIR= /usr/libexec
5 SRCS= $(CINSN) caller-save.c case.c combine.c cplus-class.c \
6 cplus-cvt.c cplus-decl.c cplus-decl2.c cplus-except.c \
7 cplus-expr.c cplus-field.c cplus-init.c cplus-lex.c \
8 cplus-method.c cplus-parse.y cplus-ptree.c \
9 cplus-search.c cplus-tree.c cplus-type2.c cplus-typeck.c \
10 cse.c dbxout.c emit-rtl.c explow.c expmed.c expr.c \
11 final.c flow.c fold-const.c global-alloc.c integrate.c \
12 jump.c local-alloc.c loop.c obstack.c optabs.c \
13 print-tree.c recog.c regclass.c reload.c reload1.c \
14 rtl.c rtlanal.c sdbout.c stmt.c stor-layout.c \
15 stupid.c toplev.c tree.c varasm.c version.c
16 CFLAGS+= -I- -I. -I$(.CURDIR) -I$(.CURDIR)/../../gcc/cc1 \
17 -I$(.CURDIR)/../../gcc/cc1/config
18 NOMAN= noman
19 CLEANFILES+= $(HINSN) $(CINSN) cplus-tab.h
20 .PATH: $(.CURDIR)/../../gcc/cc1
23 # Some machine-dependent source files are generated from
24 # the machine description file.
26 HINSN= insn-codes.h insn-config.h insn-flags.h
27 CINSN= insn-emit.c insn-extract.c insn-peep.c insn-recog.c insn-output.c
28 GEN= gencodes.c genconfig.c genflags.c genemit.c genextract.c \
29 genpeep.c genrecog.c genoutput.c
31 $(CINSN): md rtl.o obstack.o $(GEN)
32 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/gencodes.c \
33 rtl.o obstack.o -o gen; ./gen md > insn-codes.h
34 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genconfig.c \
35 rtl.o obstack.o -o gen; ./gen md > insn-config.h
36 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genflags.c \
37 rtl.o obstack.o -o gen; ./gen md > insn-flags.h
38 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genemit.c \
39 rtl.o obstack.o -o gen; ./gen md > insn-emit.c
40 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genextract.c \
41 rtl.o obstack.o -o gen; ./gen md > insn-extract.c
42 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genpeep.c \
43 rtl.o obstack.o -o gen; ./gen md > insn-peep.c
44 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genrecog.c \
45 rtl.o obstack.o -o gen; ./gen md > insn-recog.c
46 $(CC) $(CFLAGS) $(.CURDIR)/../../gcc/cc1/genoutput.c \
47 rtl.o obstack.o -o gen; ./gen md > insn-output.c
48 rm -f gen
50 cplus-tab.h: cplus-parse.o
51 mv y.tab.h cplus-tab.h
52 touch cplus-tab.h
54 cplus-lex.o: cplus-tab.h
56 depend:
58 .include <bsd.prog.mk>
59 .include "../Makefile.symlinks"