# 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 . ## 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