1TARGET_ARCH?= ${MACHINE_ARCH} 2 3version= ${GCCCOMPLETEVER} 4target_machine= ${TARGET_ARCH}-pc-dragonflybsd 5 6# try to remove next two lines 7BYTESLONG= 8 8HWI_TYPE= long 9 10# from gcc/Makefile 11srcdir= ${GCCDIR}/gcc 12 13host_xm_file_list= ${STOPDIR}/cc_prep/auto-host.h 14host_xm_file_list+= ${GCCDIR}/include/ansidecl.h 15HASHTAB_H= ${GCCDIR}/include/hashtab.h 16SPLAY_TREE_H= ${GCCDIR}/include/splay-tree.h 17OBSTACK_H= ${GCCDIR}/include/obstack.h 18SYMTAB_H= ${GCCDIR}/libcpp/include/symtab.h $(OBSTACK_H) 19CPP_ID_DATA_H= ${GCCDIR}/libcpp/include/line-map.h \ 20 ${GCCDIR}/libcpp/include/cpplib.h \ 21 ${GCCDIR}/libcpp/include/cpp-id-data.h 22 23md_file= ${GCCDIR}/gcc/config/i386/i386.md 24out_file= $(srcdir)/config/i386/i386.c 25 26EXTRA_GCC_SRCS= driver-i386.c 27GTFILES_SRCDIR= $(srcdir) 28 29# from gcc/config/i386/t-i386 30PASSES_EXTRA+= $(srcdir)/config/i386/i386-passes.def 31 32# This is ordered to avoid build warnings/errors 33 34TARGET_INC= options.h 35TARGET_INC+= insn-constants.h 36TARGET_INC+= config/vxworks-dummy.h 37TARGET_INC+= config/i386/biarch64.h 38TARGET_INC+= config/i386/i386.h 39TARGET_INC+= config/i386/unix.h 40TARGET_INC+= config/i386/att.h 41TARGET_INC+= config/dbxelf.h 42TARGET_INC+= config/elfos.h 43TARGET_INC+= config/dragonfly.h 44TARGET_INC+= config/dragonfly-stdint.h 45TARGET_INC+= config/i386/x86-64.h 46TARGET_INC+= config/i386/dragonfly.h 47TARGET_INC+= config/initfini-array.h 48TARGET_INC+= defaults.h 49TARGET_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) 59tm_file_list+= $D/$H 60. endif 61. endfor 62.endfor 63