Home | History | Annotate | Line # | Download | only in cris
local.mk revision 1.1.1.1.4.2
      1  1.1.1.1.4.2  perseant ## See sim/Makefile.am
      2  1.1.1.1.4.2  perseant ##
      3  1.1.1.1.4.2  perseant ## Copyright (C) 2004-2023 Free Software Foundation, Inc.
      4  1.1.1.1.4.2  perseant ## Contributed by Axis Communications.
      5  1.1.1.1.4.2  perseant ##
      6  1.1.1.1.4.2  perseant ## This program is free software; you can redistribute it and/or modify
      7  1.1.1.1.4.2  perseant ## it under the terms of the GNU General Public License as published by
      8  1.1.1.1.4.2  perseant ## the Free Software Foundation; either version 3 of the License, or
      9  1.1.1.1.4.2  perseant ## (at your option) any later version.
     10  1.1.1.1.4.2  perseant ##
     11  1.1.1.1.4.2  perseant ## This program is distributed in the hope that it will be useful,
     12  1.1.1.1.4.2  perseant ## but WITHOUT ANY WARRANTY; without even the implied warranty of
     13  1.1.1.1.4.2  perseant ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14  1.1.1.1.4.2  perseant ## GNU General Public License for more details.
     15  1.1.1.1.4.2  perseant ##
     16  1.1.1.1.4.2  perseant ## You should have received a copy of the GNU General Public License
     17  1.1.1.1.4.2  perseant ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
     18  1.1.1.1.4.2  perseant 
     19  1.1.1.1.4.2  perseant %C%_run_SOURCES =
     20  1.1.1.1.4.2  perseant %C%_run_LDADD = \
     21  1.1.1.1.4.2  perseant 	%D%/nrun.o \
     22  1.1.1.1.4.2  perseant 	%D%/libsim.a \
     23  1.1.1.1.4.2  perseant 	$(SIM_COMMON_LIBS)
     24  1.1.1.1.4.2  perseant 
     25  1.1.1.1.4.2  perseant noinst_PROGRAMS += %D%/run
     26  1.1.1.1.4.2  perseant 
     27  1.1.1.1.4.2  perseant ## rvdummy is just used for testing -- it runs on the same host as `run`.
     28  1.1.1.1.4.2  perseant ## It does nothing if --enable-sim-hardware isn't active.
     29  1.1.1.1.4.2  perseant %C%_rvdummy_SOURCES = %D%/rvdummy.c
     30  1.1.1.1.4.2  perseant %C%_rvdummy_LDADD = $(LIBIBERTY_LIB)
     31  1.1.1.1.4.2  perseant 
     32  1.1.1.1.4.2  perseant check_PROGRAMS += %D%/rvdummy
     33  1.1.1.1.4.2  perseant 
     34  1.1.1.1.4.2  perseant %C%_BUILD_OUTPUTS = \
     35  1.1.1.1.4.2  perseant 	%D%/engv10.h \
     36  1.1.1.1.4.2  perseant 	%D%/mloopv10f.c \
     37  1.1.1.1.4.2  perseant 	%D%/stamp-mloop-v10f \
     38  1.1.1.1.4.2  perseant 	%D%/engv32.h \
     39  1.1.1.1.4.2  perseant 	%D%/mloopv32f.c \
     40  1.1.1.1.4.2  perseant 	%D%/stamp-mloop-v32f
     41  1.1.1.1.4.2  perseant 
     42  1.1.1.1.4.2  perseant ## This makes sure build tools are available before building the arch-subdirs.
     43  1.1.1.1.4.2  perseant SIM_ALL_RECURSIVE_DEPS += $(%C%_BUILD_OUTPUTS)
     44  1.1.1.1.4.2  perseant 
     45  1.1.1.1.4.2  perseant ## FIXME: What is mono and what does "Use of `mono' is wip" mean (other
     46  1.1.1.1.4.2  perseant ## than the apparent; some "mono" feature is work in progress)?
     47  1.1.1.1.4.2  perseant %D%/mloopv10f.c %D%/engv10.h: %D%/stamp-mloop-v10f ; @true
     48  1.1.1.1.4.2  perseant %D%/stamp-mloop-v10f: $(srccom)/genmloop.sh %D%/mloop.in
     49  1.1.1.1.4.2  perseant 	$(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
     50  1.1.1.1.4.2  perseant 		-mono -no-fast -pbb -switch semcrisv10f-switch.c \
     51  1.1.1.1.4.2  perseant 		-cpu crisv10f \
     52  1.1.1.1.4.2  perseant 		-infile $(srcdir)/%D%/mloop.in -outfile-prefix %D%/ -outfile-suffix -v10f
     53  1.1.1.1.4.2  perseant 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/eng-v10f.hin %D%/engv10.h
     54  1.1.1.1.4.2  perseant 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop-v10f.cin %D%/mloopv10f.c
     55  1.1.1.1.4.2  perseant 	$(AM_V_at)touch $@
     56  1.1.1.1.4.2  perseant 
     57  1.1.1.1.4.2  perseant ## FIXME: What is mono and what does "Use of `mono' is wip" mean (other
     58  1.1.1.1.4.2  perseant ## than the apparent; some "mono" feature is work in progress)?
     59  1.1.1.1.4.2  perseant %D%/mloopv32f.c %D%/engv32.h: %D%/stamp-mloop-v32f ; @true
     60  1.1.1.1.4.2  perseant %D%/stamp-mloop-v32f: $(srccom)/genmloop.sh %D%/mloop.in
     61  1.1.1.1.4.2  perseant 	$(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
     62  1.1.1.1.4.2  perseant 		-mono -no-fast -pbb -switch semcrisv32f-switch.c \
     63  1.1.1.1.4.2  perseant 		-cpu crisv32f \
     64  1.1.1.1.4.2  perseant 		-infile $(srcdir)/%D%/mloop.in -outfile-prefix %D%/ -outfile-suffix -v32f
     65  1.1.1.1.4.2  perseant 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/eng-v32f.hin %D%/engv32.h
     66  1.1.1.1.4.2  perseant 	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change %D%/mloop-v32f.cin %D%/mloopv32f.c
     67  1.1.1.1.4.2  perseant 	$(AM_V_at)touch $@
     68  1.1.1.1.4.2  perseant 
     69  1.1.1.1.4.2  perseant MOSTLYCLEANFILES += $(%C%_BUILD_OUTPUTS)
     70