Upgrade ncurses. 1/2
[dragonfly.git] / gnu / usr.bin / cc80 / Makefile.tgt
1 TARGET_ARCH?=   ${MACHINE_ARCH}
2
3 version=        ${GCCCOMPLETEVER}
4 target_machine= ${TARGET_ARCH}-pc-dragonflybsd
5
6 # try to remove next two lines
7 BYTESLONG=      8
8 HWI_TYPE=       long
9
10 # from gcc/Makefile
11 srcdir= ${GCCDIR}/gcc
12
13 host_xm_file_list=      ${STOPDIR}/cc_prep/auto-host.h
14 host_xm_file_list+=     ${GCCDIR}/include/ansidecl.h
15 HASHTAB_H=              ${GCCDIR}/include/hashtab.h
16 SPLAY_TREE_H=           ${GCCDIR}/include/splay-tree.h
17 OBSTACK_H=              ${GCCDIR}/include/obstack.h
18 SYMTAB_H=               ${GCCDIR}/libcpp/include/symtab.h $(OBSTACK_H)
19 CPP_ID_DATA_H=          ${GCCDIR}/libcpp/include/line-map.h \
20                         ${GCCDIR}/libcpp/include/cpplib.h \
21                         ${GCCDIR}/libcpp/include/cpp-id-data.h
22
23 md_file=                ${GCCDIR}/gcc/config/i386/i386.md
24 out_file=               $(srcdir)/config/i386/i386.c
25
26 EXTRA_GCC_SRCS=         driver-i386.c
27 GTFILES_SRCDIR=         $(srcdir)
28
29 # from gcc/config/i386/t-i386
30 PASSES_EXTRA+= $(srcdir)/config/i386/i386-passes.def
31
32 # This is ordered to avoid build warnings/errors
33
34 TARGET_INC=     options.h
35 TARGET_INC+=    insn-constants.h
36 TARGET_INC+=    config/vxworks-dummy.h
37 TARGET_INC+=    config/i386/biarch64.h
38 TARGET_INC+=    config/i386/i386.h
39 TARGET_INC+=    config/i386/unix.h
40 TARGET_INC+=    config/i386/att.h
41 TARGET_INC+=    config/dbxelf.h
42 TARGET_INC+=    config/elfos.h
43 TARGET_INC+=    config/dragonfly.h
44 TARGET_INC+=    config/dragonfly-stdint.h
45 TARGET_INC+=    config/i386/x86-64.h
46 TARGET_INC+=    config/i386/dragonfly.h
47 TARGET_INC+=    config/initfini-array.h
48 TARGET_INC+=    defaults.h
49 TARGET_INC+=    dragonfly-native.h
50
51 #
52 # Use TARGET_INC as a template and build a list of target specific
53 # include files for gengtype to scan
54 #
55 .for H in ${TARGET_INC}
56 . for D in ${GCCDIR}/gcc/config ${GCCDIR}/gcc \
57         ${STOPDIR}/cc_prep/config ${STOPDIR}/cc_prep ${OTOPDIR}/cc_prep
58 .  if exists($D/$H) && empty(tm_file_list:M*/$H)
59 tm_file_list+=  $D/$H
60 .  endif
61 . endfor
62 .endfor