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