]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/bpf/local.mk
3 ## Copyright (C) 2020-2023 Free Software Foundation, Inc.
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.
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.
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/>.
24 noinst_PROGRAMS
+= %D
%/run
34 ## This makes sure build tools are available before building the arch-subdirs.
35 SIM_ALL_RECURSIVE_DEPS
+= $(%C
%_BUILD_OUTPUTS
)
37 %D
%/mloop-le.c
%D
%/eng-le.h
: %D
%/stamp-mloop-le
; @true
38 %D
%/stamp-mloop-le
: $(srccom
)/genmloop.sh
%D
%/mloop.in
39 $(AM_V_GEN
)$(SHELL
) $(srccom
)/genmloop.sh
-shell $(SHELL
) \
40 -mono
-scache
-prefix bpfbf_ebpfle
-cpu bpfbf \
41 -infile
$(srcdir)/%D
%/mloop.in \
42 -outfile-prefix
%D
%/ -outfile-suffix
-le
43 $(AM_V_at
)$(SHELL
) $(srcroot
)/move-if-change
%D
%/eng-le.hin
%D
%/eng-le.h
44 $(AM_V_at
)$(SHELL
) $(srcroot
)/move-if-change
%D
%/mloop-le.cin
%D
%/mloop-le.c
47 %D
%/mloop-be.c
%D
%/eng-be.h
: %D
%/stamp-mloop-be
; @true
48 %D
%/stamp-mloop-be
: $(srccom
)/genmloop.sh
%D
%/mloop.in
49 $(AM_V_GEN
)$(SHELL
) $(srccom
)/genmloop.sh
-shell $(SHELL
) \
50 -mono
-scache
-prefix bpfbf_ebpfbe
-cpu bpfbf \
51 -infile
$(srcdir)/%D
%/mloop.in \
52 -outfile-prefix
%D
%/ -outfile-suffix
-be
53 $(AM_V_at
)$(SHELL
) $(srcroot
)/move-if-change
%D
%/eng-be.hin
%D
%/eng-be.h
54 $(AM_V_at
)$(SHELL
) $(srcroot
)/move-if-change
%D
%/mloop-be.cin
%D
%/mloop-be.c
57 MOSTLYCLEANFILES
+= $(%C
%_BUILD_OUTPUTS
)