1 |
38 |
julius |
darwin.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
|
7 |
|
|
|
8 |
|
|
darwin-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) \
|
10 |
|
|
c-incpath.h flags.h $(C_COMMON_H)
|
11 |
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/darwin-c.c $(PREPROCESSOR_DEFINES)
|
12 |
|
|
|
13 |
|
|
gt-darwin.h : s-gtype ; @true
|
14 |
|
|
|
15 |
|
|
# How to build crt3.o
|
16 |
|
|
EXTRA_MULTILIB_PARTS=crt3.o
|
17 |
|
|
# Pass -fno-tree-dominator-opts to work around bug 26840.
|
18 |
|
|
$(T)crt3$(objext): $(srcdir)/config/darwin-crt3.c $(GCC_PASSES) \
|
19 |
|
|
$(TCONFIG_H) stmp-int-hdrs tsystem.h
|
20 |
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
|
21 |
|
|
-fno-tree-dominator-opts $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) \
|
22 |
|
|
-c $(srcdir)/config/darwin-crt3.c -o $(T)crt3$(objext)
|
23 |
|
|
|
24 |
|
|
# Use unwind-dw2-fde-darwin
|
25 |
|
|
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-darwin.c \
|
26 |
|
|
$(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
|
27 |
|
|
LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
|
28 |
|
|
|
29 |
|
|
# -pipe because there's an assembler bug, 4077127, which causes
|
30 |
|
|
# it to not properly process the first # directive, causing temporary
|
31 |
|
|
# file names to appear in stabs, causing the bootstrap to fail. Using -pipe
|
32 |
|
|
# works around this by not having any temporary file names.
|
33 |
|
|
TARGET_LIBGCC2_CFLAGS = -fPIC -pipe
|