1 # $DragonFly: src/gnu/usr.bin/cc34/Makefile.tgt,v 1.4 2005/10/01 14:40:33 corecode Exp $
3 TARGET_ARCH?= ${MACHINE_ARCH}
6 target= ${TARGET_ARCH}-just-dragonflybsd
8 GCC_CPU?= ${TARGET_ARCH}
9 .if ${TARGET_ARCH} == "amd64"
16 host_xm_file_list= ${STOPDIR}/cc_prep/dragonfly-native.h
17 host_xm_file_list+= ${GCCDIR}/include/ansidecl.h
18 HASHTAB_H = ${GCCDIR}/include/hashtab.h
19 SPLAY_TREE_H= ${GCCDIR}/include/splay-tree.h
21 out_file= $(srcdir)/config/${GCC_CPU}/${GCC_CPU}.c
23 GTFILES_SRCDIR = $(srcdir)
26 .if ${TARGET_ARCH} == "amd64"
27 TARGET_INC+= i386/biarch64.h
29 TARGET_INC+= ${GCC_CPU}/${GCC_CPU}.h
30 .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
31 TARGET_INC+= ${GCC_CPU}/unix.h
32 TARGET_INC+= ${GCC_CPU}/att.h
36 #TARGET_INC+= dragonfly-native.h
37 TARGET_INC+= dragonfly-spec.h
38 TARGET_INC+= dragonfly.h
39 TARGET_INC+= ${GCC_CPU}/dragonfly.h
40 .if ${TARGET_ARCH} == "amd64"
41 TARGET_INC+= ${GCC_CPU}/x86-64.h
42 TARGET_INC+= ${GCC_CPU}/dragonfly64.h
44 TARGET_INC+= defaults.h
47 # Use TARGET_INC as a template and build a list of target specific
48 # include files for gengtype to scan
50 tm_file_list= ${STOPDIR}/cc_prep/dragonfly-native.h
52 .for H in ${TARGET_INC}
53 .for D in ${GCCDIR}/gcc/config ${GCCDIR}/gcc ${STOPDIR}/cc_prep/config ${STOPDIR}/cc_prep