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
110 gcc-rich-location.o \
123 gimple-pretty-print.o \
124 gimple-ssa-backprop.o \
126 gimple-ssa-evrp-analyze.o \
127 gimple-ssa-isolate-paths.o \
128 gimple-ssa-nonnull-compare.o \
129 gimple-ssa-split-paths.o \
130 gimple-ssa-store-merging.o \
131 gimple-ssa-strength-reduction.o \
132 gimple-ssa-sprintf.o \
133 gimple-ssa-warn-alloca.o \
134 gimple-ssa-warn-restrict.o \
135 gimple-streamer-in.o \
136 gimple-streamer-out.o \
165 ipa-polymorphic-call.o \
170 ipa-inline-analysis.o \
171 ipa-inline-transform.o \
175 ipa-param-manipulation.o \
239 print-rtl-function.o \
245 read-rtl-function.o \
265 rtx-vector-builder.o \
274 selftest-run-tests.o \
289 substring-locations.o \
317 tree-loop-distribution.o \
327 tree-pretty-print.o \
329 tree-scalar-evolution.o \
331 tree-switch-conversion.o \
335 tree-ssa-coalesce.o \
340 tree-ssa-forwprop.o \
341 tree-ssa-ifcombine.o \
345 tree-ssa-loop-ivcanon.o \
346 tree-ssa-loop-ivopts.o \
347 tree-ssa-loop-manip.o \
348 tree-ssa-loop-niter.o \
349 tree-ssa-loop-prefetch.o \
350 tree-ssa-loop-split.o \
351 tree-ssa-loop-unswitch.o \
353 tree-ssa-math-opts.o \
354 tree-ssa-operands.o \
355 tree-ssa-phionlycprop.o \
359 tree-ssa-propagate.o \
362 tree-ssa-scopedtables.o \
365 tree-ssa-structalias.o \
366 tree-ssa-tail-merge.o \
368 tree-ssa-threadbackward.o \
369 tree-ssa-threadedge.o \
370 tree-ssa-threadupdate.o \
378 tree-streamer-out.o \
380 tree-vect-generic.o \
381 tree-vect-patterns.o \
382 tree-vect-data-refs.o \
385 tree-vect-loop-manip.o \
388 tree-vector-builder.o \
407 graphite-isl-ast-to-gimple.o \
408 graphite-dependences.o \
409 graphite-optimize-isl.o \
411 graphite-scop-detection.o \
412 graphite-sese-to-poly.o
414 # only when VMS_DEBUGGING_INFO
418 # only when XCOFF_DEBUGGING_INFO
422 OBJS= ${BACKEND_OBJS}
423 SRCS= gimple-loop-interchange.cc unique-ptr-tests.cc \
424 wide-int.cc wide-int-print.cc
426 # for gimple-ssa-sprintf.c
428 CXXFLAGS+= -Wno-pragmas
431 # for tree-ssa-structalias.c, tree-vect-stmts.c
433 CXXFLAGS+= -Wno-narrowing
436 # hack to force c++ compiler to compile *.c files to create library
437 .for cfile in ${BACKEND_OBJS}
438 ${cfile}: ${cfile:.o=.c}
439 ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
445 echo "#include <stdint.h>" > ${.TARGET}
447 CLEANFILES= gstdint.h
449 .include <bsd.lib.mk>