Automatic date update in version.in
[binutils-gdb.git] / sim / bpf / local.mk
blobfe3b621914e425b45c05ed3468f42dd6927daaac
1 ## See sim/Makefile.am
2 ##
3 ## Contributed by Oracle Inc.
4 ##
5 ## Copyright (C) 2023-2024 Free Software Foundation, Inc.
6 ##
7 ## This program is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; either version 3 of the License, or
10 ## (at your option) any later version.
12 ## This program is distributed in the hope that it will be useful,
13 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU General Public License for more details.
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
20 nodist_%C%_libsim_a_SOURCES = \
21 %D%/modules.c
22 %C%_libsim_a_SOURCES = \
23 $(common_libcommon_a_SOURCES)
24 %C%_libsim_a_LIBADD = \
25 %D%/bpf-sim.o \
26 $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \
27 $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \
28 %D%/sim-resume.o
29 $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
31 noinst_LIBRARIES += %D%/libsim.a
33 ## Override wildcards that trigger common/modules.c to be (incorrectly) used.
34 %D%/modules.o: %D%/modules.c
36 %D%/%.o: common/%.c ; $(SIM_COMPILE)
37 -@am__include@ %D%/$(DEPDIR)/*.Po
39 %C%_run_SOURCES =
40 %C%_run_LDADD = \
41 %D%/nrun.o \
42 %D%/libsim.a \
43 $(SIM_COMMON_LIBS)
45 noinst_PROGRAMS += %D%/run