gcc80: Shorten build time in libraries target.
[dragonfly.git] / gnu / usr.bin / cc50 / 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 SYMTAB_H=               ${GCCDIR}/libcpp/include/symtab.h
18 CPP_ID_DATA_H=          ${GCCDIR}/libcpp/include/line-map.h \
19                         ${GCCDIR}/libcpp/include/cpplib.h \
20                         ${GCCDIR}/libcpp/include/cpp-id-data.h
21
22 md_file=                ${GCCDIR}/gcc/config/i386/i386.md
23 out_file=               $(srcdir)/config/i386/i386.c
24
25 EXTRA_GCC_SRCS=         driver-i386.c
26 GTFILES_SRCDIR=         $(srcdir)
27
28
29 # This is ordered to avoid build warnings/errors
30
31 TARGET_INC=     options.h
32 TARGET_INC+=    insn-constants.h
33 TARGET_INC+=    config/vxworks-dummy.h
34 TARGET_INC+=    config/i386/biarch64.h
35 TARGET_INC+=    config/i386/i386.h
36 TARGET_INC+=    config/i386/unix.h
37 TARGET_INC+=    config/i386/att.h
38 TARGET_INC+=    config/dbxelf.h
39 TARGET_INC+=    config/elfos.h
40 TARGET_INC+=    config/dragonfly.h
41 TARGET_INC+=    config/dragonfly-stdint.h
42 TARGET_INC+=    config/i386/x86-64.h
43 TARGET_INC+=    config/i386/dragonfly.h
44 TARGET_INC+=    config/initfini-array.h
45 TARGET_INC+=    dragonfly-native.h
46
47 #
48 # Use TARGET_INC as a template and build a list of target specific
49 # include files for gengtype to scan
50 #
51 .for H in ${TARGET_INC}
52 . for D in ${GCCDIR}/gcc/config ${GCCDIR}/gcc \
53         ${STOPDIR}/cc_prep/config ${STOPDIR}/cc_prep ${OTOPDIR}/cc_prep
54 .  if exists($D/$H) && empty(tm_file_list:M*/$H)
55 tm_file_list+=  $D/$H
56 .  endif
57 . endfor
58 .endfor