Files
binutils-gdb/sim/bpf/Makefile.in
T
Mike Frysinger e732fe9b4f sim: build: drop support for creating libsim.a in subdirs
Now that all ports have moved to creating libsim.a in the top-level,
drop all the support code to create it in a subdir.
2023-01-10 01:15:26 -05:00

49 lines
1.5 KiB
Makefile

# Makefile template for configure for the eBPF simulator
# Copyright (C) 2020-2023 Free Software Foundation, Inc.
#
# This file is part of GDB, the GNU debugger.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
## COMMON_PRE_CONFIG_FRAG
SIM_EXTRA_CFLAGS = -DWITH_TARGET_WORD_BITSIZE=64
## COMMON_POST_CONFIG_FRAG
# Dependencies for binaries from CGEN generated source
mloop-le.o: mloop-le.c
$(COMPILE) -DWANT_ISA_EBPFLE mloop-le.c
$(POSTCOMPILE)
mloop-be.o: mloop-be.c
$(COMPILE) -DWANT_ISA_EBPFBE mloop-be.c
$(POSTCOMPILE)
decode-le.o: decode-le.c
$(COMPILE) -DWANT_ISA_EBPFLE $(srcdir)/decode-le.c
$(POSTCOMPILE)
decode-be.o: decode-be.c
$(COMPILE) -DWANT_ISA_EBPFBE $(srcdir)/decode-be.c
$(POSTCOMPILE)
sem-le.o: sem-le.c
$(COMPILE) -DWANT_ISA_EBPFLE $(srcdir)/sem-le.c
$(POSTCOMPILE)
sem-be.o: sem-be.c
$(COMPILE) -DWANT_ISA_EBPFBE $(srcdir)/sem-be.c
$(POSTCOMPILE)
arch = bpf