689 lines
19 KiB
Makefile
689 lines
19 KiB
Makefile
# Makefile.in generated automatically by automake 1.2e from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = .
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_alias = @build_alias@
|
|
build_triplet = @build@
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
target_alias = @target_alias@
|
|
target_triplet = @target@
|
|
AR = @AR@
|
|
BFD_MACHINES = @BFD_MACHINES@
|
|
CC = @CC@
|
|
EXEEXT = @EXEEXT@
|
|
HDEFINES = @HDEFINES@
|
|
LD = @LD@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
NM = @NM@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
VERSION = @VERSION@
|
|
archdefs = @archdefs@
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCDIR = $(srcdir)/../include
|
|
BFDDIR = $(srcdir)/../bfd
|
|
DEP = mkdep
|
|
|
|
lib_LTLIBRARIES = libopcodes.la
|
|
|
|
# This is where bfd.h lives.
|
|
BFD_H = ../bfd/bfd.h
|
|
|
|
# Header files.
|
|
HFILES = \
|
|
arm-opc.h \
|
|
h8500-opc.h \
|
|
sh-opc.h \
|
|
sysdep.h \
|
|
w65-opc.h \
|
|
z8k-opc.h
|
|
|
|
# C source files that correspond to .o's.
|
|
CFILES = \
|
|
a29k-dis.c \
|
|
alpha-dis.c \
|
|
alpha-opc.c \
|
|
arm-dis.c \
|
|
cgen-asm.c \
|
|
cgen-dis.c \
|
|
cgen-opc.c \
|
|
d10v-dis.c \
|
|
d10v-opc.c \
|
|
dis-buf.c \
|
|
disassemble.c \
|
|
h8300-dis.c \
|
|
h8500-dis.c \
|
|
hppa-dis.c \
|
|
i386-dis.c \
|
|
i960-dis.c \
|
|
m32r-asm.c \
|
|
m32r-dis.c \
|
|
m32r-opc.c \
|
|
m68k-dis.c \
|
|
m68k-opc.c \
|
|
m88k-dis.c \
|
|
mips-dis.c \
|
|
mips-opc.c \
|
|
mips16-opc.c \
|
|
m10200-dis.c \
|
|
m10200-opc.c \
|
|
m10300-dis.c \
|
|
m10300-opc.c \
|
|
ns32k-dis.c \
|
|
ppc-dis.c \
|
|
ppc-opc.c \
|
|
sh-dis.c \
|
|
sparc-dis.c \
|
|
sparc-opc.c \
|
|
tic30-dis.c \
|
|
w65-dis.c \
|
|
z8k-dis.c \
|
|
z8kgen.c
|
|
|
|
ALL_MACHINES = \
|
|
a29k-dis.lo \
|
|
alpha-dis.lo \
|
|
alpha-opc.lo \
|
|
arc-dis.lo \
|
|
arc-opc.lo \
|
|
arm-dis.lo \
|
|
cgen-asm.lo \
|
|
cgen-dis.lo \
|
|
cgen-opc.lo \
|
|
d10v-dis.lo \
|
|
d10v-opc.lo \
|
|
$(start-sanitize-d30v) \
|
|
d30v-dis.lo \
|
|
d30v-opc.lo \
|
|
$(end-sanitize-d30v) \
|
|
h8300-dis.lo \
|
|
h8500-dis.lo \
|
|
hppa-dis.lo \
|
|
i386-dis.lo \
|
|
i960-dis.lo \
|
|
m32r-asm.lo \
|
|
m32r-dis.lo \
|
|
m32r-opc.lo \
|
|
m68k-dis.lo \
|
|
m68k-opc.lo \
|
|
m88k-dis.lo \
|
|
m10200-dis.lo \
|
|
m10200-opc.lo \
|
|
m10300-dis.lo \
|
|
m10300-opc.lo \
|
|
mips-dis.lo \
|
|
mips-opc.lo \
|
|
mips16-opc.lo \
|
|
ppc-dis.lo \
|
|
ppc-opc.lo \
|
|
ns32k-dis.lo \
|
|
sh-dis.lo \
|
|
sparc-dis.lo \
|
|
sparc-opc.lo \
|
|
tic30-dis.lo \
|
|
$(start-sanitize-tic80) \
|
|
tic80-dis.lo \
|
|
tic80-opc.lo \
|
|
$(end-sanitize-tic80) \
|
|
$(start-sanitize-sky) \
|
|
dvp-dis.lo \
|
|
dvp-opc.lo \
|
|
$(end-sanitize-sky) \
|
|
v850-dis.lo \
|
|
v850-opc.lo \
|
|
w65-dis.lo \
|
|
z8k-dis.lo
|
|
|
|
OFILES = @BFD_MACHINES@
|
|
|
|
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@
|
|
|
|
libopcodes_la_SOURCES = dis-buf.c disassemble.c
|
|
libopcodes_la_DEPENDENCIES = $(OFILES)
|
|
libopcodes_la_LIBADD = $(OFILES)
|
|
libopcodes_la_LDFLAGS = -release $(VERSION)
|
|
|
|
# libtool will build .libs/libopcodes.a. We create libopcodes.a in
|
|
# the build directory so that we don't have to convert all the
|
|
# programs that use libopcodes.a simultaneously. This is a hack which
|
|
# should be removed if everything else starts using libtool. FIXME.
|
|
|
|
noinst_LIBRARIES = libopcodes.a
|
|
|
|
CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1
|
|
# start-sanitize-cygnus
|
|
CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 stamp-m32r
|
|
# end-sanitize-cygnus
|
|
|
|
# start-sanitize-cygnus
|
|
# CGEN support is sanitized out of FSF releases for now.
|
|
# Sanitization must be split between assignments and rules because
|
|
# automake splits them that way.
|
|
|
|
SCHEME = @SCHEME@
|
|
SCHEMEFLAGS = -s
|
|
CGENDIR = $(srcdir)/../cgen
|
|
CGENFLAGS = -v
|
|
|
|
CGENFILES = $(CGENDIR)/object.scm $(CGENDIR)/utils.scm \
|
|
$(CGENDIR)/utils-cgen.scm $(CGENDIR)/cpu.scm \
|
|
$(CGENDIR)/mode.scm $(CGENDIR)/mach.scm \
|
|
$(CGENDIR)/ifield.scm $(CGENDIR)/iformat.scm \
|
|
$(CGENDIR)/operand.scm $(CGENDIR)/insn.scm \
|
|
$(CGENDIR)/opcodes.scm $(CGENDIR)/cgen-opc.scm \
|
|
cgen-opc.in cgen-asm.in cgen-dis.in
|
|
# The end marker is written this way to pass through automake unscathed.
|
|
ENDSAN = end-sanitize-cygnus
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
CONFIG_HEADER = config.h
|
|
CONFIG_CLEAN_FILES =
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
libopcodes_a_LIBADD =
|
|
libopcodes_a_SOURCES = libopcodes.a.c
|
|
libopcodes_a_OBJECTS = libopcodes.a.o
|
|
LTLIBRARIES = $(lib_LTLIBRARIES)
|
|
|
|
libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in acconfig.h acinclude.m4 \
|
|
aclocal.m4 config.in configure configure.in stamp-h.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP = --best
|
|
SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
|
|
OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS)
|
|
|
|
default: all
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .lo .o .s
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
config.status: $(srcdir)/configure
|
|
$(SHELL) ./config.status --recheck
|
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
config.h: stamp-h
|
|
@:
|
|
stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
|
|
$(SHELL) ./config.status
|
|
@echo timestamp > stamp-h
|
|
$(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
@echo timestamp > $(srcdir)/stamp-h.in
|
|
|
|
mostlyclean-hdr:
|
|
|
|
clean-hdr:
|
|
|
|
distclean-hdr:
|
|
-rm -f config.h
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
mostlyclean-noinstLIBRARIES:
|
|
|
|
clean-noinstLIBRARIES:
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
|
|
distclean-noinstLIBRARIES:
|
|
|
|
maintainer-clean-noinstLIBRARIES:
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
.c.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.s.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.S.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
mostlyclean-libLTLIBRARIES:
|
|
|
|
clean-libLTLIBRARIES:
|
|
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
|
|
|
|
distclean-libLTLIBRARIES:
|
|
|
|
maintainer-clean-libLTLIBRARIES:
|
|
|
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(libdir)
|
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-libLTLIBRARIES:
|
|
$(NORMAL_UNINSTALL)
|
|
list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$$p; \
|
|
done
|
|
|
|
libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES)
|
|
$(LINK) -rpath $(libdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS)
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
# it guarantees that the distribution is self-contained by making another
|
|
# tarfile.
|
|
distcheck: dist
|
|
-rm -rf $(distdir)
|
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
|
mkdir $(distdir)/=build
|
|
mkdir $(distdir)/=inst
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
cd $(distdir)/=build \
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
&& $(MAKE) \
|
|
&& $(MAKE) dvi \
|
|
&& $(MAKE) check \
|
|
&& $(MAKE) install \
|
|
&& $(MAKE) installcheck \
|
|
&& $(MAKE) dist
|
|
-rm -rf $(distdir)
|
|
@echo "========================"; \
|
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
|
echo "========================"
|
|
dist: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
-rm -rf $(distdir)
|
|
dist-all: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
-rm -rf $(distdir)
|
|
distdir: $(DISTFILES)
|
|
-rm -rf $(distdir)
|
|
mkdir $(distdir)
|
|
-chmod 777 $(distdir)
|
|
@for file in $(DISTFILES); do \
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
done
|
|
info:
|
|
dvi:
|
|
check:
|
|
$(MAKE)
|
|
installcheck:
|
|
install-info:
|
|
install-exec: install-libLTLIBRARIES
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data:
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-exec install-data all
|
|
@:
|
|
|
|
uninstall: uninstall-libLTLIBRARIES
|
|
|
|
all: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h
|
|
|
|
install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
installdirs:
|
|
$(mkinstalldirs) $(libdir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(DISTCLEANFILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
|
mostlyclean: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
|
|
mostlyclean-compile mostlyclean-libtool \
|
|
mostlyclean-libLTLIBRARIES mostlyclean-tags \
|
|
mostlyclean-generic
|
|
|
|
clean: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \
|
|
clean-libLTLIBRARIES clean-tags clean-generic \
|
|
mostlyclean
|
|
|
|
distclean: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
|
|
distclean-libtool distclean-libLTLIBRARIES \
|
|
distclean-tags distclean-generic clean
|
|
-rm -f config.status
|
|
-rm -f libtool
|
|
|
|
maintainer-clean: maintainer-clean-hdr maintainer-clean-noinstLIBRARIES \
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
maintainer-clean-libLTLIBRARIES maintainer-clean-tags \
|
|
maintainer-clean-generic distclean
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-rm -f config.status
|
|
|
|
.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
|
|
maintainer-clean-hdr mostlyclean-noinstLIBRARIES \
|
|
distclean-noinstLIBRARIES clean-noinstLIBRARIES \
|
|
maintainer-clean-noinstLIBRARIES mostlyclean-compile distclean-compile \
|
|
clean-compile maintainer-clean-compile mostlyclean-libtool \
|
|
distclean-libtool clean-libtool maintainer-clean-libtool \
|
|
mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
|
|
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
|
|
uninstall-libLTLIBRARIES install-libLTLIBRARIES tags mostlyclean-tags \
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
|
|
installcheck install-info install-exec install-data install uninstall \
|
|
all installdirs mostlyclean-generic distclean-generic clean-generic \
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
|
disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
|
|
|
|
stamp-lib: libopcodes.la
|
|
cp .libs/libopcodes.a libopcodes.tmp
|
|
$(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a
|
|
touch stamp-lib
|
|
|
|
libopcodes.a: stamp-lib ; @true
|
|
|
|
# start-sanitize-cygnus
|
|
cgen:
|
|
$(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGENDIR) $(CGENFLAGS) $(SCHEME) $(SCHEMEFLAGS) $(arch)
|
|
touch stamp-${arch}
|
|
|
|
.PHONY: cgen
|
|
|
|
# For now, require developers to configure with --enable-maintainer-mode.
|
|
# ??? Do we need to use a different option?
|
|
m32r-opc.h m32r-opc.c m32r-asm.c m32r-dis.c: @MAINT@ stamp-m32r
|
|
@true
|
|
stamp-m32r: $(CGENFILES) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc
|
|
$(MAKE) cgen arch=m32r prefix=m32r
|
|
# end-sanitize-cygnus
|
|
|
|
# start-sanitize-tic80
|
|
tic80-dis.lo: tic80-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
|
|
$(INCDIR)/opcode/tic80.h
|
|
tic80-opc.lo: tic80-opc.c $(INCDIR)/opcode/tic80.h
|
|
# end-sanitize-tic80
|
|
|
|
# start-sanitize-sky
|
|
dvp-dis.lo: dvp-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \
|
|
$(INCDIR)/opcode/dvp.h
|
|
dvp-opc.lo: dvp-opc.c $(INCDIR)/opcode/dvp.h
|
|
|
|
mips-dis.lo: mips-dis.c
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/mips-dis.c
|
|
# end-sanitize-sky
|
|
|
|
# This dependency stuff is copied from BFD.
|
|
|
|
.dep: dep.sed $(CFILES) $(HFILES) config.h
|
|
rm -f .dep1
|
|
$(MAKE) DEP=$(DEP) .dep1
|
|
sed -f dep.sed < .dep1 > .dep
|
|
|
|
.dep1: $(CFILES)
|
|
rm -f .dep2 .dep2a
|
|
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
|
|
echo > .dep2a
|
|
$(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $?
|
|
sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
|
|
rm -f .dep2a
|
|
$(srcdir)/../move-if-change .dep2 .dep1
|
|
|
|
dep.sed: dep-in.sed config.status
|
|
sed <$(srcdir)/dep-in.sed >dep.sed \
|
|
-e 's!@BFD_H@!$(BFD_H)!' \
|
|
-e 's!@INCDIR@!$(INCDIR)!' \
|
|
-e 's!@BFDDIR@!$(BFDDIR)!' \
|
|
-e 's!@SRCDIR@!$(srcdir)!'
|
|
|
|
dep: .dep
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
|
|
cat .dep >> tmp-Makefile
|
|
$(srcdir)/../move-if-change tmp-Makefile Makefile
|
|
|
|
dep-in: .dep
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
|
|
cat .dep >> tmp-Makefile.in
|
|
$(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
|
|
|
|
dep-am: .dep
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
|
|
cat .dep >> tmp-Makefile.am
|
|
$(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
|
|
|
.PHONY: dep dep-in dep-am
|
|
|
|
# What appears below is generated by a hacked mkdep using gcc -MM.
|
|
|
|
# DO NOT DELETE THIS LINE -- mkdep uses it.
|
|
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
|
|
a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h
|
|
alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
|
|
config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
|
|
alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
|
|
$(BFD_H)
|
|
arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \
|
|
$(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
|
|
cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \
|
|
$(BFD_H) $(INCDIR)/opcode/cgen.h
|
|
cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \
|
|
$(BFD_H) $(INCDIR)/opcode/cgen.h
|
|
cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
|
|
$(BFD_H) $(INCDIR)/opcode/cgen.h
|
|
d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \
|
|
$(INCDIR)/dis-asm.h $(BFD_H)
|
|
d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h
|
|
dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H)
|
|
disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
|
|
$(INCDIR)/dis-asm.h $(BFD_H)
|
|
h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
|
|
$(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h
|
|
h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) $(INCDIR)/ansidecl.h
|
|
hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
|
|
i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h sysdep.h config.h
|
|
i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h
|
|
m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \
|
|
m32r-opc.h $(INCDIR)/opcode/cgen.h
|
|
m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h
|
|
m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
|
|
$(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h
|
|
m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h $(INCDIR)/opcode/m68k.h
|
|
m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
|
|
m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h
|
|
mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) $(INCDIR)/opcode/mips.h $(BFDDIR)/elf-bfd.h \
|
|
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
|
$(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h
|
|
mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
|
|
mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
|
|
m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
|
|
$(INCDIR)/dis-asm.h $(BFD_H)
|
|
m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h
|
|
m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \
|
|
$(INCDIR)/dis-asm.h $(BFD_H)
|
|
m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
|
|
ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
|
|
sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h
|
|
ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
|
|
config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
|
|
ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h
|
|
sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h
|
|
sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
|
|
config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) $(INCDIR)/libiberty.h
|
|
sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
|
|
tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
|
|
$(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h
|
|
w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) $(INCDIR)/ansidecl.h
|
|
z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
|
|
$(BFD_H) z8k-opc.h
|
|
z8kgen.lo: z8kgen.c sysdep.h config.h
|
|
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|