1999-04-16 03:35:26 +02:00
|
|
|
# Makefile template for Configure for the arm sim library.
|
2002-06-12 23:19:43 +02:00
|
|
|
# Copyright 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
|
1999-04-16 03:35:26 +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
|
2005-05-12 09:36:59 +02:00
|
|
|
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
## COMMON_PRE_CONFIG_FRAG
|
|
|
|
|
2002-05-20 16:32:50 +02:00
|
|
|
SIM_EXTRA_CFLAGS = -DMODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2000-05-30 19:13:37 +02:00
|
|
|
COPRO=@COPRO@
|
|
|
|
|
|
|
|
SIM_OBJS = armemu26.o armemu32.o arminit.o armos.o armsupp.o \
|
|
|
|
armvirt.o bag.o thumbemu.o wrapper.o sim-load.o $(COPRO)
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
## COMMON_POST_CONFIG_FRAG
|
|
|
|
|
|
|
|
|
2003-12-29 20:52:57 +01:00
|
|
|
armos.o: armos.c armdefs.h armos.h armfpe.h targ-vals.h
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2000-05-30 19:13:37 +02:00
|
|
|
armcopro.o: armcopro.c armdefs.h
|
2003-03-20 13:25:07 +01:00
|
|
|
maverick.o: maverick.c armdefs.h
|
2003-03-27 18:13:33 +01:00
|
|
|
iwmmxt.o: iwmmxt.c iwmmxt.h armdefs.h
|
|
|
|
|
1999-04-16 03:35:26 +02:00
|
|
|
armemu26.o: armemu.c armdefs.h armemu.h
|
2001-11-16 19:56:01 +01:00
|
|
|
$(CC) -c $(srcdir)/armemu.c -o armemu26.o $(ALL_CFLAGS)
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
armemu32.o: armemu.c armdefs.h armemu.h
|
2001-11-16 19:56:01 +01:00
|
|
|
$(CC) -c $(srcdir)/armemu.c -o armemu32.o -DMODE32 $(ALL_CFLAGS)
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
arminit.o: arminit.c armdefs.h armemu.h
|
|
|
|
|
|
|
|
armrdi.o: armrdi.c armdefs.h armemu.h armos.h dbg_cp.h dbg_conf.h dbg_rdi.h \
|
|
|
|
dbg_hif.h communicate.h
|
|
|
|
|
|
|
|
armsupp.o: armsupp.c armdefs.h armemu.h
|
|
|
|
|
|
|
|
thumbemu.o: thumbemu.c armdefs.h armemu.h
|
|
|
|
|
|
|
|
bag.o: bag.c bag.h
|
2002-06-12 23:19:43 +02:00
|
|
|
|
|
|
|
wrapper.o: armdefs.h armemu.h dbg_rdi.h \
|
|
|
|
$(srcdir)/../common/run-sim.h \
|
|
|
|
$(srcdir)/../common/sim-utils.h \
|
|
|
|
$(srcdir)/../../include/gdb/sim-arm.h \
|
|
|
|
$(srcdir)/../../include/gdb/remote-sim.h
|