]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/t-darwin
re PR target/36348 (f951 link failure on i686-apple-darwin9)
[thirdparty/gcc.git] / gcc / config / t-darwin
CommitLineData
e980df8e
TT
1darwin.o: $(srcdir)/config/darwin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2 $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(REAL_H) insn-config.h \
3 conditions.h insn-flags.h output.h insn-attr.h flags.h $(TREE_H) expr.h \
4 reload.h function.h $(GGC_H) langhooks.h $(TARGET_H) $(TM_P_H) gt-darwin.h \
5 config/darwin-sections.def
6 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/darwin.c
b069de3b 7
e980df8e
TT
8darwin-c.o: $(srcdir)/config/darwin-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
9 $(TM_H) $(CPPLIB_H) $(TREE_H) c-pragma.h $(C_TREE_H) toplev.h $(TM_P_H) \
e8a25ca8 10 incpath.h flags.h $(C_COMMON_H)
e980df8e 11 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/darwin-c.c $(PREPROCESSOR_DEFINES)
b069de3b 12
c776a6d0
DF
13darwin-f.o: $(srcdir)/config/darwin-f.c $(CONFIG_H) $(SYSTEM_H) coretypes.h
14 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
15 $(srcdir)/config/darwin-f.c $(PREPROCESSOR_DEFINES)
16
b069de3b 17gt-darwin.h : s-gtype ; @true
3cfe49da 18
e980df8e
TT
19darwin-driver.o: $(srcdir)/config/darwin-driver.c \
20 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H)
21 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
22 $(srcdir)/config/darwin-driver.c
e46b55d0 23
747b9f55
GK
24# How to build crt3.o
25EXTRA_MULTILIB_PARTS=crt3.o
895de5a8 26# Pass -fno-tree-dominator-opts to work around bug 26840.
747b9f55 27$(T)crt3$(objext): $(srcdir)/config/darwin-crt3.c $(GCC_PASSES) \
859a68dc 28 $(TCONFIG_H) stmp-int-hdrs tsystem.h
3cfe49da 29 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
9613eaff 30 -fno-tree-dominator-opts $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) \
747b9f55 31 -c $(srcdir)/config/darwin-crt3.c -o $(T)crt3$(objext)
3cfe49da
GK
32
33# Use unwind-dw2-fde-darwin
34LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-darwin.c \
0bfa5f65 35 $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
3cfe49da 36LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
f7a75b82 37
5f89fef6
GK
38# -pipe because there's an assembler bug, 4077127, which causes
39# it to not properly process the first # directive, causing temporary
40# file names to appear in stabs, causing the bootstrap to fail. Using -pipe
41# works around this by not having any temporary file names.
42TARGET_LIBGCC2_CFLAGS = -fPIC -pipe