Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / gnu / usr.bin / cc34 / cc1plus / Makefile
1 # $DragonFly: src/gnu/usr.bin/cc34/cc1plus/Makefile,v 1.4 2007/01/20 03:51:33 corecode Exp $
2
3 GCC_LANG_DIR=   gcc/cp
4
5 .include "../Makefile.inc"
6 .include "../cc_tools/Makefile.tools"
7 .include "../Makefile.langs"
8
9 PATCHES!=       echo ${.CURDIR}/patches/*.patch
10 CONTRIBDIR=     ${GCCDIR}/gcc/cp
11
12 CFLAGS+=        -DTARGET_MACHINE=\"${target_machine}\"
13 CFLAGS+=        -DHOST_MACHINE=\"${target_machine}\"
14
15 PROG=   cc1plus
16 NOMAN=  1
17
18 SRCS+=  call.c decl.c expr.c pt.c typeck2.c class.c
19 SRCS+=  decl2.c error.c lex.c parser.c ptree.c rtti.c
20 SRCS+=  typeck.c cvt.c except.c friend.c init.c method.c
21 SRCS+=  search.c semantics.c tree.c repo.c dump.c optimize.c
22 SRCS+=  mangle.c cp-lang.c name-lookup.c cxx-pretty-print.c
23
24 SRCS+=  attribs.c c-common.c c-format.c c-pragma.c c-semantics.c c-lex.c
25 SRCS+=  c-dump.c  c-pretty-print.c c-opts.c c-pch.c c-incpath.c cppdefault.c
26 SRCS+=  c-ppoutput.c c-cppbuiltin.c prefix.c main.c  
27
28 SRCS+=  tm-preds.h tree-check.h genrtl.h insn-flags.h insn-constants.h
29 SRCS+=  gtype-desc.h insn-modes.h insn-config.h options.h insn-modes.c
30 SRCS+=  insn-emit.c insn-codes.h insn-attrtab.c insn-attr.h insn-extract.c
31 SRCS+=  insn-opinit.c
32
33 SRCS+=  concat.c dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c hex.c
34 SRCS+=  lbasename.c lrealpath.c md5.c obstack.c physmem.c safe-ctype.c
35 SRCS+=  splay-tree.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c
36
37 SRCS+=  ${PATCHES}
38
39 LDADD+= ${LIBBACKEND} ${LIBCPP}
40 DPADD+= ${LIBBACKEND} ${LIBCPP}
41
42 CFLAGS+= -I. -I${CONTRIBDIR}
43
44 .include <bsd.prog.mk>