1## See sim/Makefile.am 2## 3## Copyright (C) 2009-2024 Free Software Foundation, Inc. 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 3 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, see <http://www.gnu.org/licenses/>. 17 18nodist_%C%_libsim_a_SOURCES = \ 19 %D%/modules.c 20%C%_libsim_a_SOURCES = \ 21 $(common_libcommon_a_SOURCES) 22%C%_libsim_a_LIBADD = \ 23 %D%/interp.o \ 24 $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \ 25 $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \ 26 %D%/sim-resume.o 27$(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h 28 29noinst_LIBRARIES += %D%/libsim.a 30 31## Override wildcards that trigger common/modules.c to be (incorrectly) used. 32%D%/modules.o: %D%/modules.c 33 34%D%/%.o: common/%.c ; $(SIM_COMPILE) 35-@am__include@ %D%/$(DEPDIR)/*.Po 36 37%C%_run_SOURCES = 38%C%_run_LDADD = \ 39 %D%/nrun.o \ 40 %D%/libsim.a \ 41 $(SIM_COMMON_LIBS) 42 43noinst_PROGRAMS += %D%/run 44