* config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true for
[deliverable/binutils-gdb.git] / sim / arm / Makefile.in
CommitLineData
982744ff
C
1# Makefile template for Configure for the arm sim library.
2# Copyright (C) 1995 Free Software Foundation, Inc.
3# Written by Cygnus Support.
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
24691f55 17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
982744ff
C
18
19VPATH = @srcdir@
20srcdir = @srcdir@
21srcroot = $(srcdir)/../..
22
23prefix = @prefix@
24exec_prefix = @exec_prefix@
25
26host_alias = @host_alias@
27target_alias = @target_alias@
28program_transform_name = @program_transform_name@
29bindir = $(exec_prefix)/bin
30libdir = $(exec_prefix)/lib
31tooldir = $(libdir)/$(target_alias)
32
33datadir = $(prefix)/lib
34mandir = $(prefix)/man
35man1dir = $(mandir)/man1
36man2dir = $(mandir)/man2
37man3dir = $(mandir)/man3
38man4dir = $(mandir)/man4
39man5dir = $(mandir)/man5
40man6dir = $(mandir)/man6
41man7dir = $(mandir)/man7
42man8dir = $(mandir)/man8
43man9dir = $(mandir)/man9
44infodir = $(prefix)/info
45includedir = $(prefix)/include
46docdir = $(datadir)/doc
47
48SHELL = /bin/sh
49
c64dfabd
ILT
50INSTALL = $(srcroot)/install.sh -c
51INSTALL_PROGRAM = $(INSTALL)
52INSTALL_DATA = $(INSTALL)
53INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
54INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
982744ff 55
24691f55 56AR = @AR@
982744ff 57AR_FLAGS = rc
24691f55
DE
58CC = @CC@
59CFLAGS = @CFLAGS@
982744ff 60MAKEINFO = makeinfo
24691f55
DE
61RANLIB = @RANLIB@
62
63HDEFINES = @HDEFINES@
64TDEFINES =
982744ff
C
65
66.NOEXPORT:
67MAKEOVERRIDES=
68
982744ff
C
69X=xstuff.o
70XL=-lX11
71X=
72XL=
73
74INCDIR = $(srcdir)/../../include
75CSEARCH = -I. -I$(srcdir) -I../../include -I../../bfd -I$(INCDIR) -I$(srcdir)/../../bfd -I$(srcdir)/../../gdb
76DEP = mkdep
77
982744ff
C
78ARMOBJ=armcopro.o armemu26.o armemu32.o arminit.o armos.o armsupp.o armvirt.o bag.o
79OUROBJ=wrapper.o
80
81OBJ=$(ARMOBJ) $(OUROBJ)
82
83all: run libsim.a
84
85run: $(OBJ) run.o
86 $(CC) $(CFLAGS) -o run $(OBJ) run.o ../../bfd/libbfd.a ../../libiberty/libiberty.a $(XL)
87
88run.o:run.c
89
90
91armos.o: armos.c armdefs.h armos.h armfpe.h
92
93armcopro.o: armcopro.c armdefs.h
94
95armemu26.o: armemu.c armdefs.h armemu.h
96 $(CC) $(CFLAGS) -o armemu26.o -c $<
97
98armemu32.o: armemu.c armdefs.h armemu.h
99 $(CC) $(CFLAGS) -o armemu32.o -DMODE32 -c $<
100
101arminit.o: arminit.c armdefs.h armemu.h
102
103armrdi.o: armrdi.c armdefs.h armemu.h armos.h dbg_cp.h dbg_conf.h dbg_rdi.h \
104 dbg_hif.h communicate.h
105
106armsupp.o: armsupp.c armdefs.h armemu.h
107
108bag.o: bag.c bag.h
109
110
111libsim.a: $(OBJ)
112 $(AR) $(ARFLAGS) libsim.a $(OBJ)
113 $(RANLIB) libsim.a
114
115.c.o:
116 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $<
117
118check:
119
120info:
121clean-info:
122install-info:
123
124tags etags: TAGS
125
126TAGS: force
127 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
128
c64dfabd 129mostlyclean clean:
982744ff 130 rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout
c64dfabd 131 rm -f run libsim.a config.log
982744ff 132
c64dfabd 133distclean realclean: clean
982744ff
C
134 rm -f TAGS
135 rm -f Makefile config.cache config.log config.status
136
137# Dummy target to force execution of dependent targets.
138#
139force:
140
141# Copy the files into directories where they will be run.
142install:
c64dfabd 143 $(INSTALL_XFORM) run $(bindir)/run
982744ff
C
144
145install-man: run.1
146 $(INSTALL_XFORM1) $(srcdir)/run.1 $(man1dir)/run.1
147
148
24691f55 149Makefile: Makefile.in
982744ff
C
150 $(SHELL) ./config.status
151
152config.status: configure
153 $(SHELL) ./config.status --recheck
154
155dep: $(CFILES)
156 mkdep $(CFLAGS) $?
157
158
159# What appears below is generated by a hacked mkdep using gcc -MM.
160
161# DO NOT DELETE THIS LINE -- mkdep uses it.
162# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
163
164
165# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.07174 seconds and 4 git commands to generate.