diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1995-07-05 22:54:10 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1995-07-05 22:54:10 +0000 |
commit | 1ffd292be6d378b2c764e921dc89d94602baef39 (patch) | |
tree | 8840b8a6b998c97c8e8db0590e330946c42ef834 /sim/sh/Makefile.in | |
parent | fec60da3d6cd0c767620b6a87258b9df76d3fff8 (diff) | |
download | gdb-1ffd292be6d378b2c764e921dc89d94602baef39.zip gdb-1ffd292be6d378b2c764e921dc89d94602baef39.tar.gz gdb-1ffd292be6d378b2c764e921dc89d94602baef39.tar.bz2 |
* Makefile.in, configure.in: converted to autoconf.
* configure: New file, generated with autconf 2.4.
Diffstat (limited to 'sim/sh/Makefile.in')
-rw-r--r-- | sim/sh/Makefile.in | 93 |
1 files changed, 27 insertions, 66 deletions
diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in index 5295aa2..cb27cd9 100644 --- a/sim/sh/Makefile.in +++ b/sim/sh/Makefile.in @@ -1,5 +1,5 @@ -# Makefile template for Configure for the h8300sim library. -# Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc. +# Makefile template for Configure for the SH sim library. +# Copyright (C) 1990, 1991, 1992, 1995 Free Software Foundation, Inc. # Written by Cygnus Support. # # This program is free software; you can redistribute it and/or modify @@ -16,14 +16,16 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -srcdir = . -srcroot = $(srcdir)/../../ +VPATH = @srcdir@ +srcdir = @srcdir@ +srcroot = $(srcdir)/../.. +prefix = @prefix@ +exec_prefix = @exec_prefix@ -prefix = /usr/local - -program_transform_name = -exec_prefix = $(prefix) +host_alias = @host_alias@ +target_alias = @target_alias@ +program_transform_name = @program_transform_name@ bindir = $(exec_prefix)/bin libdir = $(exec_prefix)/lib tooldir = $(libdir)/$(target_alias) @@ -41,42 +43,44 @@ man8dir = $(mandir)/man8 man9dir = $(mandir)/man9 infodir = $(prefix)/info includedir = $(prefix)/include -oldincludedir = -docdir = $(srcdir)/doc +docdir = $(datadir)/doc SHELL = /bin/sh - - +# FIXME: use autoconf's AC_PROG_INSTALL INSTALL = $(srcroot)/install.sh -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)' INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1 - - -CC_FOR_BUILD = cc AR = ar -AR_FLAGS = qc +AR_FLAGS = rc CFLAGS = -g BISON = bison MAKEINFO = makeinfo RANLIB = ranlib + +.NOEXPORT +MAKEOVERRIDES= + +CC_FOR_BUILD = cc 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 -#### host, target, and site specific Makefile frags come in here. +#### Makefile fragments come in here. +# @host_makefile_frag@ +### all: run libsim.a - run: interp.o $(X) run.o table.o $(CC) $(CFLAGS) -o run $(X) interp.o table.o run.o ../../bfd/libbfd.a ../../libiberty/libiberty.a $(XL) @@ -98,40 +102,15 @@ table.c:gencode gencode:gencode.c $(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c - -#### host and target dependent Makefile fragments come in here. -### - -FLAGS_TO_PASS = \ - "against=$(against)" \ - "AR=$(AR)" \ - "AR_FLAGS=$(AR_FLAGS)" \ - "CC=$(CC)" \ - "CFLAGS=$(CFLAGS)" \ - "RANLIB=$(RANLIB)" \ - "MAKEINFO=$(MAKEINFO)" \ - "INSTALL=$(INSTALL)" \ - "INSTALL_DATA=$(INSTALL_DATA)" \ - "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ - "BISON=$(BISON)" - .c.o: $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $< - - -.NOEXPORT: - check: info: clean-info: install-info: -# HDEPFILES comes from the host config; TDEPFILES from the target config. - - - tags etags: TAGS TAGS: force @@ -140,28 +119,9 @@ TAGS: force clean: rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout -clobber realclean: clean +distclean mostlyclean realclean: clean rm -f libbfd.a TAGS -# Mark everything as depending on config.status, since the timestamp on -# sysdep.h might actually move backwards if we reconfig and relink it -# to a different hosts/h-xxx.h file. This will force a recompile anyway. -RECONFIG = config.status - - - -# This target should be invoked before building a new release. -# 'VERSION' file must be present and contain a string of the form "x.y" -# -roll: - @V=`cat VERSION` ; \ - MAJ=`sed 's/\..*//' VERSION` ; \ - MIN=`sed 's/.*\.//' VERSION` ; \ - V=$$MAJ.`expr $$MIN + 1` ; \ - rm -f VERSION ; \ - echo $$V >VERSION ; \ - echo Version $$V - # Dummy target to force execution of dependent targets. # force: @@ -182,13 +142,15 @@ install-man: run.1 $(INSTALL_XFORM1) $(srcdir)/run.1 $(man1dir)/run.1 -Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) +Makefile: Makefile.in config.status @frags@ $(SHELL) ./config.status +config.status: configure + $(SHELL) ./config.status --recheck + dep: $(CFILES) mkdep $(CFLAGS) $? - # What appears below is generated by a hacked mkdep using gcc -MM. # DO NOT DELETE THIS LINE -- mkdep uses it. @@ -196,4 +158,3 @@ dep: $(CFILES) # IF YOU PUT ANYTHING HERE IT WILL GO AWAY - |