1999-04-16 09:35:26 +08:00
|
|
|
# Makefile template for Configure for the arm sim library.
|
2012-01-04 16:28:28 +08:00
|
|
|
# Copyright 1995-1997, 2002, 2007-2012 Free Software Foundation, Inc.
|
1999-04-16 09:35:26 +08: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
|
2007-08-24 22:30:15 +08:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
1999-04-16 09:35:26 +08:00
|
|
|
# (at your option) any later version.
|
2007-08-24 22:30:15 +08:00
|
|
|
#
|
1999-04-16 09:35:26 +08:00
|
|
|
# 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.
|
2007-08-24 22:30:15 +08:00
|
|
|
#
|
1999-04-16 09:35:26 +08:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2007-08-24 22:30:15 +08:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
## COMMON_PRE_CONFIG_FRAG
|
|
|
|
|
2002-05-20 22:32:50 +08:00
|
|
|
SIM_EXTRA_CFLAGS = -DMODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2000-05-31 01:13:37 +08: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 09:35:26 +08:00
|
|
|
|
|
|
|
## COMMON_POST_CONFIG_FRAG
|
|
|
|
|
|
|
|
|
2003-12-30 03:52:57 +08:00
|
|
|
armos.o: armos.c armdefs.h armos.h armfpe.h targ-vals.h
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2000-05-31 01:13:37 +08:00
|
|
|
armcopro.o: armcopro.c armdefs.h
|
2003-03-20 20:25:07 +08:00
|
|
|
maverick.o: maverick.c armdefs.h
|
2003-03-28 01:13:33 +08:00
|
|
|
iwmmxt.o: iwmmxt.c iwmmxt.h armdefs.h
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
armemu26.o: armemu.c armdefs.h armemu.h
|
2001-11-17 02:56:01 +08:00
|
|
|
$(CC) -c $(srcdir)/armemu.c -o armemu26.o $(ALL_CFLAGS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
armemu32.o: armemu.c armdefs.h armemu.h
|
2001-11-17 02:56:01 +08:00
|
|
|
$(CC) -c $(srcdir)/armemu.c -o armemu32.o -DMODE32 $(ALL_CFLAGS)
|
1999-04-16 09:35:26 +08: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-13 05:19:43 +08: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
|