* coffswap.h (coff_swap_scnhdr_in): Don't always add IMAGE_BASE.
[deliverable/binutils-gdb.git] / gas / Makefile.in
index c93947da74f765f7307753523d0494c89fa6f855..c997b59947a730aac33c9edba27716a8953bd091 100644 (file)
@@ -15,7 +15,7 @@
 
 # You should have received a copy of the GNU General Public License
 # along with GNU GAS; see the file COPYING.  If not, write to
-# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+# the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 # The targets for external use include:
 # all, doc, proto, install, uninstall, includes, TAGS,
@@ -62,11 +62,12 @@ INSTALL_DATA = $(INSTALL)
 INSTALL_XFORM = $(INSTALL) -t='-e $(program_transform_name)'
 INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
 
-DISTSTUFF= make-gas.com
+DISTSTUFF= make-gas.com m68k-parse.c
 
 AR = ar
 AR_FLAGS = qv
-BISON = bison -y
+BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
+BISONFLAGS =
 MAKEINFO = makeinfo
 TEXI2DVI = texi2dvi
 RANLIB = ranlib
@@ -162,6 +163,8 @@ LINKED_HEADERS = \
 
 HEADERS = $(LINKED_HEADERS) $(REAL_HEADERS)
 
+TE_OBJS=
+
 # @target_frag@
 
 OBJS = \
@@ -191,9 +194,17 @@ OBJS = \
        listing.o \
        ecoff.o \
        stabs.o \
+       sb.o \
+       macro.o \
        @extra_objects@ \
        $(TE_OBJS)
 
+GASPOBJS = \
+       gasp.o \
+       macro.o \
+       sb.o \
+       hash.o
+
 all: .gdbinit as.new gasp.new
        @srcroot=`cd $(srcroot); pwd`; export srcroot; \
        (cd doc ; $(MAKE) $(FLAGS_TO_PASS) all)
@@ -244,8 +255,8 @@ $(OBJS): config.h as.h targ-env.h obj-format.h targ-cpu.h flonum.h expr.h \
        struc-symbol.h write.h frags.h hash.h read.h symbols.h tc.h obj.h \
        listing.h bignum.h
 
-gasp.new: gasp.o
-       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new gasp.o $(LIBS) $(LOADLIBES)
+gasp.new: $(GASPOBJS)
+       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new $(GASPOBJS) $(LIBS) $(LOADLIBES)
 
 installcheck:
        @echo No installcheck target is available yet for the GNU assembler.
@@ -289,7 +300,8 @@ TARG_CPU_DEP_hppa    =
 TARG_CPU_DEP_i386    = $(srcdir)/../include/opcode/i386.h
 TARG_CPU_DEP_i860    =
 TARG_CPU_DEP_i960    =
-TARG_CPU_DEP_m68k    = $(srcdir)/../include/opcode/m68k.h
+TARG_CPU_DEP_m68k    = $(srcdir)/../include/opcode/m68k.h \
+                       $(srcdir)/config/m68k-parse.h subsegs.h
 TARG_CPU_DEP_m88k    = $(srcdir)/config/m88k-opcode.h
 TARG_CPU_DEP_mips    = $(srcdir)/../include/opcode/mips.h
 TARG_CPU_DEP_ns32k   =
@@ -304,9 +316,11 @@ TARG_CPU_DEP_vax     =
 TARG_CPU_DEP_w65     = $(srcdir)/../opcodes/w65-opc.h
 TARG_CPU_DEP_z8k     = $(srcdir)/../opcodes/z8k-opc.h
 
-gasp.o : gasp.c config.h
+gasp.o : gasp.c sb.h macro.h config.h
+sb.o : sb.c sb.h config.h
+macro.o : macro.c macro.h sb.h hash.h config.h
 app.o : app.c write.h
-as.o : as.c output-file.h write.h subsegs.h
+as.o : as.c output-file.h write.h subsegs.h sb.h macro.h
 atof-generic.o : atof-generic.c
 bignum-copy.o : bignum-copy.c
 cond.o : cond.c
@@ -318,12 +332,12 @@ flonum-mult.o : flonum-mult.c
 frags.o : frags.c subsegs.h
 hash.o : hash.c
 input-file.o : input-file.c input-file.h
-input-scrub.o : input-scrub.c input-file.h
+input-scrub.o : input-scrub.c input-file.h sb.h
 listing.o : listing.c input-file.h subsegs.h
 literal.o : literal.c subsegs.h
 messages.o : messages.c
 output-file.o : output-file.c output-file.h
-read.o : read.c
+read.o : read.c sb.h macro.h
 subsegs.o : subsegs.c subsegs.h
 symbols.o : symbols.c subsegs.h
 write.o : write.c subsegs.h output-file.h
@@ -335,7 +349,7 @@ ecoff.o : ecoff.c ecoff.h \
 stabs.o : stabs.c subsegs.h $(srcdir)/../include/aout/stab_gnu.h
 atof-targ.o : atof-targ.c
 obj-format.o : obj-format.c
-targ-cpu.o : targ-cpu.c $(TARG_CPU_DEP_@cpu_type@)
+targ-cpu.o : targ-cpu.c $(TARG_CPU_DEP_@target_cpu_type@)
 
 obj-elf.o : $(srcdir)/config/obj-elf.c
        $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/obj-elf.c
@@ -347,6 +361,13 @@ e-mipself.o : $(srcdir)/config/e-mipself.c
 e-mipsecoff.o : $(srcdir)/config/e-mipsecoff.c
        $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/e-mipsecoff.c
 
+# The m68k operand parser.
+
+m68k-parse.c: $(srcdir)/config/m68k-parse.y
+       $(BISON) $(BISONFLAGS) $(srcdir)/config/m68k-parse.y
+       mv -f y.tab.c m68k-parse.c
+m68k-parse.o: m68k-parse.c $(srcdir)/config/m68k-parse.h
+
 # Remake the info files.
 
 doc: $(srcdir)/as.info
@@ -492,7 +513,7 @@ de-stage3: force
 force:
 
 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
-               $(srcdir)/configure.in config.status
+               $(srcdir)/configure.in config.status conf.in
        $(SHELL) ./config.status
 .gdbinit: $(srcdir)/gdbinit.in config.status
        $(SHELL) ./config.status
This page took 0.024752 seconds and 4 git commands to generate.