]>
Commit | Line | Data |
---|---|---|
de8a2781 MF |
1 | ## See sim/Makefile.am |
2 | ## | |
1d506c26 | 3 | ## Copyright (C) 1995-2024 Free Software Foundation, Inc. |
c0c25232 | 4 | ## Written by Cygnus Support. |
de8a2781 MF |
5 | ## |
6 | ## This program is free software; you can redistribute it and/or modify | |
7 | ## it under the terms of the GNU General Public License as published by | |
8 | ## the Free Software Foundation; either version 3 of the License, or | |
9 | ## (at your option) any later version. | |
10 | ## | |
11 | ## This program is distributed in the hope that it will be useful, | |
12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ## GNU General Public License for more details. | |
15 | ## | |
16 | ## You should have received a copy of the GNU General Public License | |
17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
ed939535 | 18 | |
688fba23 MF |
19 | AM_CPPFLAGS_%C% = -DMODET |
20 | ||
72be276f MF |
21 | nodist_%C%_libsim_a_SOURCES = \ |
22 | %D%/modules.c | |
eac2fbdc MF |
23 | %C%_libsim_a_SOURCES = \ |
24 | $(common_libcommon_a_SOURCES) | |
6a8e18f0 | 25 | %C%_libsim_a_LIBADD = \ |
6a8e18f0 MF |
26 | %D%/wrapper.o \ |
27 | $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \ | |
28 | $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \ | |
29 | %D%/armemu.o \ | |
30 | %D%/armemu32.o %D%/arminit.o %D%/armos.o %D%/armsupp.o \ | |
31 | %D%/armvirt.o %D%/thumbemu.o \ | |
72be276f | 32 | %D%/armcopro.o %D%/maverick.o %D%/iwmmxt.o |
6a8e18f0 MF |
33 | $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h |
34 | ||
35 | noinst_LIBRARIES += %D%/libsim.a | |
36 | ||
109a0a7e MF |
37 | ## Override wildcards that trigger common/modules.c to be (incorrectly) used. |
38 | %D%/modules.o: %D%/modules.c | |
39 | ||
b36a89d1 MF |
40 | %D%/%.o: common/%.c ; $(SIM_COMPILE) |
41 | -@am__include@ %D%/$(DEPDIR)/*.Po | |
6a8e18f0 | 42 | |
c0c25232 MF |
43 | %C%_run_SOURCES = |
44 | %C%_run_LDADD = \ | |
45 | %D%/nrun.o \ | |
46 | %D%/libsim.a \ | |
47 | $(SIM_COMMON_LIBS) | |
48 | ||
49 | noinst_PROGRAMS += %D%/run | |
50 | ||
ed939535 MF |
51 | %C%docdir = $(docdir)/%C% |
52 | %C%doc_DATA = %D%/README |