coff \
ecoff \
elf \
- evax
+ evax \
+ macho
# This is an sh case which sets valid according to whether the CPU
# type in the shell variable c and the OS type in the shell variable o
case $$c in \
alpha) valid=yes ;; \
esac ;; \
+ macho) \
+ case $$c in \
+ i386) valid=yes ;; \
+ esac ;; \
vms) \
case $$c in \
vax) valid=yes ;; \
config/obj-elf.c \
config/obj-evax.c \
config/obj-fdpicelf.c \
+ config/obj-macho.c \
config/obj-som.c
OBJ_FORMAT_HFILES = \
config/obj-elf.h \
config/obj-evax.h \
config/obj-fdpicelf.h \
+ config/obj-macho.h \
config/obj-som.h
# Emulation header files in config
$(COMPILE) -c $(srcdir)/config/obj-evax.c
obj-fdpicelf.o : $(srcdir)/config/obj-fdpicelf.c
$(COMPILE) -c $(srcdir)/config/obj-fdpicelf.c
+obj-macho.o : $(srcdir)/config/obj-macho.c
+ $(COMPILE) -c $(srcdir)/config/obj-macho.c
obj-multi.o : $(srcdir)/config/obj-multi.c
$(COMPILE) -c $(srcdir)/config/obj-multi.c
obj-som.o : $(srcdir)/config/obj-som.c
for f in $?; do \
$(MKDEP) $(DEP_FLAGS) $$f > DEP; \
sed -n -e '1s/: .*/: \\/p' -e q < DEP >> DEP2; \
- sed -e '1s/.*://' -f ../dep.sed < DEP | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*://' -f ../dep.sed < DEP | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
mv -f DEPDIR/DEP2 $@
echo "DEPTC_$${c}_$${o} = \\" >> ../DEPTCA; \
$(MKDEP) $(DEP_FLAGS) dumtc.c | \
sed -e '1s/dumtc.o: //' -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEPTCA; \
rm -f dumtc.c; \
else true; fi; \
echo "DEPOBJ_$${c}_$${o} = \\" >> ../DEPOBJA; \
$(MKDEP) $(DEP_FLAGS) dumobj.c | \
sed -e "s/dumobj.o: //" -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEPOBJA; \
rm -f dumobj.c; \
else true; fi; \
echo "DEP_$${c}_$${o} = \\" >> ../DEP2A; \
$(MKDEP) $(DEP_FLAGS) dummy.c | \
sed -e "s/dummy.o: //" -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEP2A; \
else true; fi; \
done; \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/coff/ecoff.h \
$(INCDIR)/coff/sym.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/alpha.h \
$(INCDIR)/safe-ctype.h \
$(INCDIR)/bfdlink.h \
$(INCDIR)/coff/ecoff.h \
$(INCDIR)/coff/sym.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/alpha.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
DEPTC_alpha_evax = \
$(BFDDIR)/vms.h \
$(INCDIR)/alloca-conf.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/alpha.h \
$(INCDIR)/safe-ctype.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/arm.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
$(BFDDIR)/libhppa.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/hppa.h \
$(INCDIR)/elf/internal.h \
$(BFDDIR)/libaout.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/reloc-macros.h \
$(INCDIR)/elf/x86-64.h \
$(INCDIR)/obstack.h \
$(INCDIR)/coff/external.h \
$(INCDIR)/coff/i386.h \
$(INCDIR)/coff/internal.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/reloc-macros.h \
$(INCDIR)/elf/x86-64.h \
$(INCDIR)/obstack.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
dw2gencfi.h \
dwarf2dbg.h \
subsegs.h
+DEPTC_i386_macho = \
+ $(INCDIR)/alloca-conf.h \
+ $(INCDIR)/dwarf2.h \
+ $(INCDIR)/elf/reloc-macros.h \
+ $(INCDIR)/elf/x86-64.h \
+ $(INCDIR)/obstack.h \
+ $(INCDIR)/opcode/i386.h \
+ $(INCDIR)/safe-ctype.h \
+ $(srcdir)/../opcodes/i386-init.h \
+ $(srcdir)/../opcodes/i386-opc.h \
+ $(srcdir)/config/obj-macho.h \
+ $(srcdir)/config/tc-i386-intel.c \
+ $(srcdir)/config/tc-i386.h \
+ dw2gencfi.h \
+ dwarf2dbg.h \
+ subsegs.h
DEPTC_i860_elf = \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(BFDDIR)/libaout.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/m68k.h \
$(INCDIR)/safe-ctype.h \
$(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h \
$(INCDIR)/coff/m68k.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/m68k.h \
$(INCDIR)/safe-ctype.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/m68k.h \
$(INCDIR)/coff/internal.h \
$(INCDIR)/coff/mipspe.h \
$(INCDIR)/coff/sym.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/mips.h \
$(INCDIR)/bfdlink.h \
$(INCDIR)/coff/ecoff.h \
$(INCDIR)/coff/sym.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/mips.h \
$(INCDIR)/bfdlink.h \
$(INCDIR)/coff/ecoff.h \
$(INCDIR)/coff/sym.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/mips.h \
$(INCDIR)/bfdlink.h \
$(INCDIR)/coff/internal.h \
$(INCDIR)/coff/rs6000.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/ppc.h \
$(INCDIR)/safe-ctype.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/ppc.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
$(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h \
$(INCDIR)/coff/sh.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/safe-ctype.h \
$(srcdir)/../opcodes/sh-opc.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
$(BFDDIR)/elf32-sh64.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
$(BFDDIR)/libaout.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/sparc.h \
$(INCDIR)/safe-ctype.h \
$(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h \
$(INCDIR)/coff/sparc.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/opcode/sparc.h \
$(INCDIR)/safe-ctype.h \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/bfdlink.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/elf/common.h \
- $(INCDIR)/elf/dwarf2.h \
$(INCDIR)/elf/external.h \
$(INCDIR)/elf/internal.h \
$(INCDIR)/elf/reloc-macros.h \
dwarf2dbg.h \
struc-symbol.h \
subsegs.h
+DEPOBJ_i386_macho = \
+ $(BFDDIR)/mach-o.h \
+ $(INCDIR)/alloca-conf.h \
+ $(INCDIR)/opcode/i386.h \
+ $(srcdir)/../opcodes/i386-opc.h \
+ $(srcdir)/config/obj-macho.h \
+ $(srcdir)/config/tc-i386.h
DEPOBJ_i860_elf = \
$(BFDDIR)/elf-bfd.h \
$(INCDIR)/alloca-conf.h \
$(srcdir)/config/obj-elf.h \
$(srcdir)/config/tc-i386.h \
dwarf2dbg.h
+DEP_i386_macho = \
+ $(INCDIR)/opcode/i386.h \
+ $(srcdir)/../opcodes/i386-opc.h \
+ $(srcdir)/config/obj-macho.h \
+ $(srcdir)/config/tc-i386.h
DEP_i860_elf = \
$(BFDDIR)/elf-bfd.h \
$(BFDDIR)/libcoff.h \
as.o: \
as.c \
$(INCDIR)/alloca-conf.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
../bfd/bfdver.h \
dw2gencfi.h \
dwarf2dbg.o: \
dwarf2dbg.c \
$(INCDIR)/alloca-conf.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/filenames.h \
$(INCDIR)/obstack.h \
$(INCDIR)/safe-ctype.h \
dw2gencfi.o: \
dw2gencfi.c \
$(INCDIR)/alloca-conf.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
dw2gencfi.h \
subsegs.h
ehopt.o: \
ehopt.c \
$(INCDIR)/alloca-conf.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
struc-symbol.h \
subsegs.h
read.o: \
read.c \
$(INCDIR)/alloca-conf.h \
- $(INCDIR)/elf/dwarf2.h \
+ $(INCDIR)/dwarf2.h \
$(INCDIR)/obstack.h \
$(INCDIR)/safe-ctype.h \
dw2gencfi.h \