1995-07-06 00:54:10 +02:00
|
|
|
# Makefile template for Configure for the SH sim library.
|
1997-04-17 12:52:59 +02:00
|
|
|
# Copyright (C) 1990, 91, 92, 95, 96, 1997 Free Software Foundation, Inc.
|
1993-04-27 03:02:38 +02:00
|
|
|
# Written by Cygnus Support.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
(Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
(CC, CFLAGS, AR, RANLIB): Likewise.
(HDEFINES, TDEFINES): Define.
(CC_FOR_BUILD): Delete.
(host_makefile_frag): Delete.
(Makefile): Don't depend on frags.
* configure.in (sysdep.h): Don't create symlink.
(host_makefile_frag, frags): Deleted.
(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
* configure: Regenerated.
1995-09-08 00:07:47 +02:00
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1993-04-27 03:02:38 +02:00
|
|
|
|
1997-04-17 12:52:59 +02:00
|
|
|
## COMMON_PRE_CONFIG_FRAG
|
|
|
|
|
|
|
|
SIM_OBJS = interp.o table.o sim-load.o
|
1997-01-23 23:09:52 +01:00
|
|
|
SIM_EXTRA_LIBS = -lm
|
1994-11-24 06:33:47 +01:00
|
|
|
|
1997-04-17 12:52:59 +02:00
|
|
|
## COMMON_POST_CONFIG_FRAG
|
1993-04-27 03:02:38 +02:00
|
|
|
|
1997-01-23 23:09:52 +01:00
|
|
|
interp.o: interp.c code.c table.c
|
(Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
(CC, CFLAGS, AR, RANLIB): Likewise.
(HDEFINES, TDEFINES): Define.
(CC_FOR_BUILD): Delete.
(host_makefile_frag): Delete.
(Makefile): Don't depend on frags.
* configure.in (sysdep.h): Don't create symlink.
(host_makefile_frag, frags): Deleted.
(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
* configure: Regenerated.
1995-09-08 00:07:47 +02:00
|
|
|
|
1997-01-23 23:09:52 +01:00
|
|
|
code.c: gencode
|
1993-04-27 03:02:38 +02:00
|
|
|
./gencode -x >code.c
|
1994-11-24 06:33:47 +01:00
|
|
|
# indent code.c
|
1993-04-27 03:02:38 +02:00
|
|
|
|
1997-01-23 23:09:52 +01:00
|
|
|
table.c: gencode
|
1993-04-27 03:02:38 +02:00
|
|
|
./gencode -s >table.c
|
1994-11-24 06:33:47 +01:00
|
|
|
# indent table.c
|
1993-04-27 03:02:38 +02:00
|
|
|
|
1997-01-23 23:09:52 +01:00
|
|
|
gencode: gencode.c
|
1995-09-08 20:32:37 +02:00
|
|
|
$(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c
|