3 .
include "../Makefile.inc"
4 .PATH
: $(srcdir)/config
/i386
6 CFLAGS
+= -DTARGET_NAME
=\"${target_machine}\"
7 # needed to compile hsa/brig bits
8 CXXFLAGS
+= ${NOEXCEPTION_FLAGS}
13 # almost verbatim from Makefile, objects from cc files have been pulled out
14 # because the .o=.c is wrong for them
15 host_hook_obj
=host-default.o
16 out_object_file
=i386.o
17 EXTRA_OBJS
= x86-tune-sched.o x86-tune-sched-bd.o \
18 x86-tune-sched-atom.o x86-tune-sched-core.o
108 gcc-rich-location.o \
121 gimple-pretty-print.o \
122 gimple-ssa-backprop.o \
124 gimple-ssa-evrp-analyze.o \
125 gimple-ssa-isolate-paths.o \
126 gimple-ssa-nonnull-compare.o \
127 gimple-ssa-split-paths.o \
128 gimple-ssa-store-merging.o \
129 gimple-ssa-strength-reduction.o \
130 gimple-ssa-sprintf.o \
131 gimple-ssa-warn-alloca.o \
132 gimple-ssa-warn-restrict.o \
133 gimple-streamer-in.o \
134 gimple-streamer-out.o \
161 ipa-polymorphic-call.o \
166 ipa-inline-analysis.o \
167 ipa-inline-transform.o \
171 ipa-param-manipulation.o \
235 print-rtl-function.o \
241 read-rtl-function.o \
260 rtx-vector-builder.o \
282 substring-locations.o \
310 tree-loop-distribution.o \
320 tree-pretty-print.o \
322 tree-scalar-evolution.o \
324 tree-switch-conversion.o \
328 tree-ssa-coalesce.o \
333 tree-ssa-forwprop.o \
334 tree-ssa-ifcombine.o \
338 tree-ssa-loop-ivcanon.o \
339 tree-ssa-loop-ivopts.o \
340 tree-ssa-loop-manip.o \
341 tree-ssa-loop-niter.o \
342 tree-ssa-loop-prefetch.o \
343 tree-ssa-loop-split.o \
344 tree-ssa-loop-unswitch.o \
346 tree-ssa-math-opts.o \
347 tree-ssa-operands.o \
348 tree-ssa-phionlycprop.o \
352 tree-ssa-propagate.o \
355 tree-ssa-scopedtables.o \
358 tree-ssa-structalias.o \
359 tree-ssa-tail-merge.o \
361 tree-ssa-threadbackward.o \
362 tree-ssa-threadedge.o \
363 tree-ssa-threadupdate.o \
371 tree-streamer-out.o \
373 tree-vect-generic.o \
374 tree-vect-patterns.o \
375 tree-vect-data-refs.o \
378 tree-vect-loop-manip.o \
381 tree-vector-builder.o \
397 .if
${CFLAGS
:M-DTOOLCHAIN_CHECKING
}
398 BACKEND_OBJS
+= fibonacci_heap.o function-tests.o \
399 hash-map-tests.o hash-set-tests.o \
400 rtl-tests.o selftest-rtl.o \
401 selftest-run-tests.o typed-splay-tree.o
406 graphite-isl-ast-to-gimple.o \
407 graphite-dependences.o \
408 graphite-optimize-isl.o \
410 graphite-scop-detection.o \
411 graphite-sese-to-poly.o
413 # only when VMS_DEBUGGING_INFO
417 # only when XCOFF_DEBUGGING_INFO
421 OBJS
= ${BACKEND_OBJS}
422 SRCS
= gimple-loop-interchange.
cc wide-int.
cc wide-int-print.
cc
424 .if
${CFLAGS
:M-DTOOLCHAIN_CHECKING
}
425 SRCS
+= unique-ptr-tests.
cc
428 # for gimple-ssa-sprintf.c
430 CXXFLAGS
+= -Wno-pragmas
433 # for tree-ssa-structalias.c, tree-vect-stmts.c
435 CXXFLAGS
+= -Wno-narrowing
438 # hack to force c++ compiler to compile *.c files to create library
439 .for cfile in
${BACKEND_OBJS}
440 ${cfile}: ${cfile
:.o
=.c
}
441 ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c
${.IMPSRC
} -o
${.TARGET
}
447 echo
"#include <stdint.h>" > ${.TARGET
}
449 CLEANFILES
= gstdint.h
451 .
include <bsd.lib.mk
>