Line 13... |
Line 13... |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
|
|
@SET_MAKE@
|
@SET_MAKE@
|
|
|
# Makefile.am for or1ksim testsuite CPU test program: inst-set-test
|
# Makefile.am for or1ksim instruction set test programs:
|
|
|
# Copyright (C) Embecosm Limited, 2010
|
# Copyright (C) Embecosm Limited, 2010
|
|
|
# Contributor Jeremy Bennett
|
# Contributor Jeremy Bennett
|
|
|
Line 56... |
Line 56... |
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
build_triplet = @build@
|
build_triplet = @build@
|
host_triplet = @host@
|
host_triplet = @host@
|
@BUILD_ALL_TESTS_TRUE@check_PROGRAMS = inst-set-test$(EXEEXT)
|
check_PROGRAMS = is-div-test$(EXEEXT) is-lws-test$(EXEEXT) \
|
|
$(am__EXEEXT_1)
|
subdir = inst-set-test
|
subdir = inst-set-test
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
Line 70... |
Line 71... |
$(ACLOCAL_M4)
|
$(ACLOCAL_M4)
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
CONFIG_HEADER = $(top_builddir)/config.h
|
CONFIG_HEADER = $(top_builddir)/config.h
|
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_VPATH_FILES =
|
CONFIG_CLEAN_VPATH_FILES =
|
am_inst_set_test_OBJECTS = inst-set-test.$(OBJEXT)
|
libinst_set_test_la_LIBADD =
|
inst_set_test_OBJECTS = $(am_inst_set_test_OBJECTS)
|
am_libinst_set_test_la_OBJECTS = inst-set-test.lo
|
inst_set_test_DEPENDENCIES = ../except/except.lo \
|
libinst_set_test_la_OBJECTS = $(am_libinst_set_test_la_OBJECTS)
|
|
@BUILD_ALL_TESTS_TRUE@am__EXEEXT_1 = inst-set-test-old$(EXEEXT)
|
|
am_inst_set_test_old_OBJECTS = inst-set-test-old.$(OBJEXT)
|
|
inst_set_test_old_OBJECTS = $(am_inst_set_test_old_OBJECTS)
|
|
inst_set_test_old_DEPENDENCIES = ../except/except.lo \
|
../support/libsupport.la
|
../support/libsupport.la
|
inst_set_test_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
inst_set_test_old_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
$(inst_set_test_LDFLAGS) $(LDFLAGS) -o $@
|
$(inst_set_test_old_LDFLAGS) $(LDFLAGS) -o $@
|
|
am_is_div_test_OBJECTS = is-div-test.$(OBJEXT)
|
|
is_div_test_OBJECTS = $(am_is_div_test_OBJECTS)
|
|
is_div_test_DEPENDENCIES = inst-set-test.lo
|
|
is_div_test_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
$(is_div_test_LDFLAGS) $(LDFLAGS) -o $@
|
|
am_is_lws_test_OBJECTS = is-lws-test.$(OBJEXT)
|
|
is_lws_test_OBJECTS = $(am_is_lws_test_OBJECTS)
|
|
is_lws_test_DEPENDENCIES = inst-set-test.lo
|
|
is_lws_test_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
$(is_lws_test_LDFLAGS) $(LDFLAGS) -o $@
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
depcomp = $(SHELL) $(top_srcdir)/../../depcomp
|
depcomp = $(SHELL) $(top_srcdir)/../../depcomp
|
am__depfiles_maybe = depfiles
|
am__depfiles_maybe = depfiles
|
am__mv = mv -f
|
am__mv = mv -f
|
|
CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
|
LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
CCLD = $(CC)
|
CCLD = $(CC)
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
$(LDFLAGS) -o $@
|
$(LDFLAGS) -o $@
|
SOURCES = $(inst_set_test_SOURCES)
|
SOURCES = $(libinst_set_test_la_SOURCES) $(inst_set_test_old_SOURCES) \
|
DIST_SOURCES = $(inst_set_test_SOURCES)
|
$(is_div_test_SOURCES) $(is_lws_test_SOURCES)
|
|
DIST_SOURCES = $(libinst_set_test_la_SOURCES) \
|
|
$(inst_set_test_old_SOURCES) $(is_div_test_SOURCES) \
|
|
$(is_lws_test_SOURCES)
|
ETAGS = etags
|
ETAGS = etags
|
CTAGS = ctags
|
CTAGS = ctags
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
Line 209... |
Line 234... |
sysconfdir = @sysconfdir@
|
sysconfdir = @sysconfdir@
|
target_alias = @target_alias@
|
target_alias = @target_alias@
|
top_build_prefix = @top_build_prefix@
|
top_build_prefix = @top_build_prefix@
|
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
inst_set_test_SOURCES = inst-set-test.c
|
|
inst_set_test_LDFLAGS = -T$(srcdir)/../default.ld
|
# Tests of the instruction set. Broken out into separate tests, to avoid them
|
inst_set_test_LDADD = ../except/except.lo \
|
# getting too large. The original instruction set test is still here, but not
|
|
# built by default.
|
|
EXTRA_DIST = inst-set.ld
|
|
@BUILD_ALL_TESTS_FALSE@INST_SET_TEST_OLD =
|
|
@BUILD_ALL_TESTS_TRUE@INST_SET_TEST_OLD = inst-set-test-old
|
|
|
|
# Support library for use when testing the instruction set.
|
|
check_LTLIBRARIES = libinst-set-test.la
|
|
libinst_set_test_la_SOURCES = inst-set-test.S
|
|
|
|
# The new instruction set tests.
|
|
is_div_test_SOURCES = is-div-test.S
|
|
is_div_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
|
|
is_div_test_LDADD = inst-set-test.lo
|
|
is_lws_test_SOURCES = is-lws-test.S
|
|
is_lws_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
|
|
is_lws_test_LDADD = inst-set-test.lo
|
|
|
|
# The old test which builds with warnings and runs with errors
|
|
inst_set_test_old_SOURCES = inst-set-test-old.c
|
|
inst_set_test_old_LDFLAGS = -T$(srcdir)/../default.ld
|
|
inst_set_test_old_LDADD = ../except/except.lo \
|
../support/libsupport.la
|
../support/libsupport.la
|
|
|
all: all-am
|
all: all-am
|
|
|
.SUFFIXES:
|
.SUFFIXES:
|
.SUFFIXES: .c .lo .o .obj
|
.SUFFIXES: .S .c .lo .o .obj
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
@for dep in $?; do \
|
@for dep in $?; do \
|
case '$(am__configure_deps)' in \
|
case '$(am__configure_deps)' in \
|
*$$dep*) \
|
*$$dep*) \
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
Line 249... |
Line 295... |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
$(am__aclocal_m4_deps):
|
$(am__aclocal_m4_deps):
|
|
|
|
clean-checkLTLIBRARIES:
|
|
-test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
|
|
@list='$(check_LTLIBRARIES)'; for p in $$list; do \
|
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
|
test "$$dir" != "$$p" || dir=.; \
|
|
echo "rm -f \"$${dir}/so_locations\""; \
|
|
rm -f "$${dir}/so_locations"; \
|
|
done
|
|
libinst-set-test.la: $(libinst_set_test_la_OBJECTS) $(libinst_set_test_la_DEPENDENCIES)
|
|
$(LINK) $(libinst_set_test_la_OBJECTS) $(libinst_set_test_la_LIBADD) $(LIBS)
|
|
|
clean-checkPROGRAMS:
|
clean-checkPROGRAMS:
|
@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
|
@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
|
echo " rm -f" $$list; \
|
echo " rm -f" $$list; \
|
rm -f $$list || exit $$?; \
|
rm -f $$list || exit $$?; \
|
test -n "$(EXEEXT)" || exit 0; \
|
test -n "$(EXEEXT)" || exit 0; \
|
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
echo " rm -f" $$list; \
|
echo " rm -f" $$list; \
|
rm -f $$list
|
rm -f $$list
|
inst-set-test$(EXEEXT): $(inst_set_test_OBJECTS) $(inst_set_test_DEPENDENCIES)
|
inst-set-test-old$(EXEEXT): $(inst_set_test_old_OBJECTS) $(inst_set_test_old_DEPENDENCIES)
|
@rm -f inst-set-test$(EXEEXT)
|
@rm -f inst-set-test-old$(EXEEXT)
|
$(inst_set_test_LINK) $(inst_set_test_OBJECTS) $(inst_set_test_LDADD) $(LIBS)
|
$(inst_set_test_old_LINK) $(inst_set_test_old_OBJECTS) $(inst_set_test_old_LDADD) $(LIBS)
|
|
is-div-test$(EXEEXT): $(is_div_test_OBJECTS) $(is_div_test_DEPENDENCIES)
|
|
@rm -f is-div-test$(EXEEXT)
|
|
$(is_div_test_LINK) $(is_div_test_OBJECTS) $(is_div_test_LDADD) $(LIBS)
|
|
is-lws-test$(EXEEXT): $(is_lws_test_OBJECTS) $(is_lws_test_DEPENDENCIES)
|
|
@rm -f is-lws-test$(EXEEXT)
|
|
$(is_lws_test_LINK) $(is_lws_test_OBJECTS) $(is_lws_test_LDADD) $(LIBS)
|
|
|
mostlyclean-compile:
|
mostlyclean-compile:
|
-rm -f *.$(OBJEXT)
|
-rm -f *.$(OBJEXT)
|
|
|
distclean-compile:
|
distclean-compile:
|
-rm -f *.tab.c
|
-rm -f *.tab.c
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inst-set-test.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inst-set-test-old.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inst-set-test.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/is-div-test.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/is-lws-test.Po@am__quote@
|
|
|
|
.S.o:
|
|
@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
|
@am__fastdepCCAS_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ $<
|
|
|
|
.S.obj:
|
|
@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
|
@am__fastdepCCAS_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
|
|
|
.S.lo:
|
|
@am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
|
@am__fastdepCCAS_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCCAS_FALSE@ $(LTCPPASCOMPILE) -c -o $@ $<
|
|
|
.c.o:
|
.c.o:
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
Line 379... |
Line 466... |
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
|| exit 1; \
|
|| exit 1; \
|
fi; \
|
fi; \
|
done
|
done
|
check-am: all-am
|
check-am: all-am
|
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
|
$(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
|
check: check-am
|
check: check-am
|
all-am: Makefile
|
all-am: Makefile
|
installdirs:
|
installdirs:
|
install: install-am
|
install: install-am
|
install-exec: install-exec-am
|
install-exec: install-exec-am
|
Line 410... |
Line 497... |
maintainer-clean-generic:
|
maintainer-clean-generic:
|
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
clean: clean-am
|
clean: clean-am
|
|
|
clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
|
clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
|
mostlyclean-am
|
clean-libtool mostlyclean-am
|
|
|
distclean: distclean-am
|
distclean: distclean-am
|
-rm -rf ./$(DEPDIR)
|
-rm -rf ./$(DEPDIR)
|
-rm -f Makefile
|
-rm -f Makefile
|
distclean-am: clean-am distclean-compile distclean-generic \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
Line 482... |
Line 569... |
uninstall-am:
|
uninstall-am:
|
|
|
.MAKE: check-am install-am install-strip
|
.MAKE: check-am install-am install-strip
|
|
|
.PHONY: CTAGS GTAGS all all-am check check-am clean \
|
.PHONY: CTAGS GTAGS all all-am check check-am clean \
|
clean-checkPROGRAMS clean-generic clean-libtool ctags \
|
clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
|
distclean distclean-compile distclean-generic \
|
clean-libtool ctags distclean distclean-compile \
|
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
html-am info info-am install install-am install-data \
|
dvi-am html html-am info info-am install install-am \
|
install-data-am install-dvi install-dvi-am install-exec \
|
install-data install-data-am install-dvi install-dvi-am \
|
install-exec-am install-html install-html-am install-info \
|
install-exec install-exec-am install-html install-html-am \
|
install-info-am install-man install-pdf install-pdf-am \
|
install-info install-info-am install-man install-pdf \
|
install-ps install-ps-am install-strip installcheck \
|
install-pdf-am install-ps install-ps-am install-strip \
|
installcheck-am installdirs maintainer-clean \
|
installcheck installcheck-am installdirs maintainer-clean \
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
tags uninstall uninstall-am
|
tags uninstall uninstall-am
|
|
|
|
|