]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/cris/local.mk
sim: reg: constify store helper
[thirdparty/binutils-gdb.git] / sim / cris / local.mk
1 ## See sim/Makefile.am
2 ##
3 ## Copyright (C) 2004-2022 Free Software Foundation, Inc.
4 ## Contributed by Axis Communications.
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 3 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19 %C%_BUILD_OUTPUTS = \
20 %D%/engv10.h \
21 %D%/mloopv10f.c \
22 %D%/stamp-mloop-v10f \
23 %D%/engv32.h \
24 %D%/mloopv32f.c \
25 %D%/stamp-mloop-v32f
26
27 ## This makes sure build tools are available before building the arch-subdirs.
28 SIM_ALL_RECURSIVE_DEPS += $(%C%_BUILD_OUTPUTS)
29
30 ## FIXME: What is mono and what does "Use of `mono' is wip" mean (other
31 ## than the apparent; some "mono" feature is work in progress)?
32 %D%/mloopv10f.c %D%/engv10.h: %D%/stamp-mloop-v10f ; @true
33 %D%/stamp-mloop-v10f: $(srccom)/genmloop.sh %D%/mloop.in
34 $(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
35 -mono -no-fast -pbb -switch semcrisv10f-switch.c \
36 -cpu crisv10f \
37 -infile $(srcdir)/%D%/mloop.in -outfile-prefix %D%/ -outfile-suffix -v10f
38 $(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/eng-v10f.hin %D%/engv10.h
39 $(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop-v10f.cin %D%/mloopv10f.c
40 $(AM_V_at)touch $@
41
42 ## FIXME: What is mono and what does "Use of `mono' is wip" mean (other
43 ## than the apparent; some "mono" feature is work in progress)?
44 %D%/mloopv32f.c %D%/engv32.h: %D%/stamp-mloop-v32f ; @true
45 %D%/stamp-mloop-v32f: $(srccom)/genmloop.sh %D%/mloop.in
46 $(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
47 -mono -no-fast -pbb -switch semcrisv32f-switch.c \
48 -cpu crisv32f \
49 -infile $(srcdir)/%D%/mloop.in -outfile-prefix %D%/ -outfile-suffix -v32f
50 $(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/eng-v32f.hin %D%/engv32.h
51 $(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop-v32f.cin %D%/mloopv32f.c
52 $(AM_V_at)touch $@
53
54 MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)