diff options
author | Stu Grossman <grossman@cygnus> | 1997-01-23 22:09:52 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1997-01-23 22:09:52 +0000 |
commit | 295dbbe44c182edd4201672e6ed5eda9323cfdf4 (patch) | |
tree | d5d8db830d5d189d9fbcf8aeef7ebe42056e3e2e /sim/v850/Makefile.in | |
parent | 80b7b3a50c04a27c6d210e0c42658b3f77ff2f78 (diff) | |
download | gdb-295dbbe44c182edd4201672e6ed5eda9323cfdf4.zip gdb-295dbbe44c182edd4201672e6ed5eda9323cfdf4.tar.gz gdb-295dbbe44c182edd4201672e6ed5eda9323cfdf4.tar.bz2 |
* configure configure.in Makefile.in: Update to new configure
scheme which is more compatible with WinGDB builds.
* configure.in: Improve comment on how to run autoconf.
* configure: Re-run autoconf to get new ../common/aclocal.m4.
* Makefile.in: Use autoconf substitution to install common
makefile fragment.
Diffstat (limited to 'sim/v850/Makefile.in')
-rw-r--r-- | sim/v850/Makefile.in | 140 |
1 files changed, 19 insertions, 121 deletions
diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in index 935e4aa..a7cd628 100644 --- a/sim/v850/Makefile.in +++ b/sim/v850/Makefile.in @@ -1,5 +1,5 @@ # Makefile template for Configure for the V850 sim library. -# Copyright (C) 1990, 1991, 1992, 1995 Free Software Foundation, Inc. +# Copyright (C) 1996 Free Software Foundation, Inc. # Written by Cygnus Support. # # This program is free software; you can redistribute it and/or modify @@ -16,134 +16,32 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -VPATH = @srcdir@:@srcdir@/../common:@srcdir@/../../gdb/ -srcdir = @srcdir@ -srcroot = $(srcdir)/../.. +SIM_OBJS = interp.o table.o simops.o +SIM_EXTRA_CFLAGS = -I$(srcdir)/../../newlib/libc/sys/sysnecv850 +SIM_EXTRA_CLEAN = clean-extra -prefix = @prefix@ -exec_prefix = @exec_prefix@ +INCLUDE = v850_sim.h $(srcdir)/../../include/callback.h -host_alias = @host_alias@ -target_alias = @target_alias@ -program_transform_name = @program_transform_name@ -bindir = @bindir@ +@COMMON_MAKEFILE_FRAG@ -libdir = @libdir@ -tooldir = $(libdir)/$(target_alias) - -datadir = @datadir@ -mandir = @mandir@ -man1dir = $(mandir)/man1 -man2dir = $(mandir)/man2 -man3dir = $(mandir)/man3 -man4dir = $(mandir)/man4 -man5dir = $(mandir)/man5 -man6dir = $(mandir)/man6 -man7dir = $(mandir)/man7 -man8dir = $(mandir)/man8 -man9dir = $(mandir)/man9 -infodir = @infodir@ -includedir = @includedir@ - -SHELL = /bin/sh - -INSTALL = $(srcroot)/install.sh -c -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)' -INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1 - -AR = @AR@ -AR_FLAGS = rc -CC = @CC@ -CFLAGS = @CFLAGS@ @DEFS@ -MAKEINFO = makeinfo -RANLIB = @RANLIB@ -CC_FOR_BUILD = @CC_FOR_BUILD@ - -HDEFINES = @HDEFINES@ -TDEFINES = - -.NOEXPORT: -MAKEOVERRIDES= - -X=xstuff.o -XL=-lX11 -X= -XL= - -INCDIR = $(srcdir)/../../include -CSEARCH = -I. -I$(srcdir) -I../../include \ - -I../../bfd -I$(INCDIR) -I$(srcdir)/../../bfd -I$(srcdir)/../../gdb -I$(srcdir)/../../newlib/libc/sys/sh -DEP = mkdep - -all: run libsim.a - -run: interp.o $(X) run.o table.o callback.o simops.o - $(CC) $(CFLAGS) -o run $(X) interp.o table.o callback.o simops.o run.o ../../bfd/libbfd.a ../../libiberty/libiberty.a $(XL) -lm - -interp.o:interp.c table.c -run.o:run.c - -libsim.a:interp.o table.o simops.o - $(AR) $(ARFLAGS) libsim.a interp.o table.o simops.o - $(RANLIB) libsim.a - -simops.h: gencode +simops.h: gencode ./gencode -h >$@ -table.c: gencode simops.h +table.c: gencode simops.h ./gencode >$@ -gencode: gencode.c ../../opcodes/libopcodes.a - $(CC) $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHE) -o gencode $(srcdir)/gencode.c ../../opcodes/libopcodes.a -lc - -.c.o: - $(CC) -c -DINSIDE_SIMULATOR $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $< - -check: - -info: -clean-info: -install-info: - -tags etags: TAGS - -TAGS: force - etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c - -clean: - rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout - rm -f run table.c simops.h gencode libsim.a - -distclean mostlyclean maintainer-clean realclean: clean - rm -f TAGS - rm -f Makefile config.cache config.log config.status - -# Dummy target to force execution of dependent targets. -# -force: - -# Copy the files into directories where they will be run. -install: - $(INSTALL_XFORM) run $(bindir)/run - -install-man: run.1 - $(INSTALL_XFORM1) $(srcdir)/run.1 $(man1dir)/run.1 - -Makefile: Makefile.in config.status - $(SHELL) ./config.status - -config.status: configure - $(SHELL) ./config.status --recheck - -dep: $(CFILES) - mkdep $(CFLAGS) $? +gencode.o: gencode.c $(INCLUDE) + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/gencode.c -# What appears below is generated by a hacked mkdep using gcc -MM. +v850-opc.o: $(srcdir)/../../opcodes/v850-opc.c + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $< -# DO NOT DELETE THIS LINE -- mkdep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. +gencode: gencode.o v850-opc.o + $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o v850-opc.o +clean-extra: + rm -f table.c simops.h gencode -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY +interp.o: interp.c table.c $(INCLUDE) +simops.o: simops.c $(INCLUDE) +table.o: table.c |