# Makefile.am for or1ksim testsuite CPU test program: kbdtest
|
# Makefile.am for or1ksim testsuite CPU test program: kbdtest
|
|
|
# Copyright (C) Embecosm Limited, 2010
|
# Copyright (C) Embecosm Limited, 2010
|
|
|
# Contributor Jeremy Bennett
|
# Contributor Jeremy Bennett
|
|
|
# This file is part of OpenRISC 1000 Architectural Simulator.
|
# This file is part of OpenRISC 1000 Architectural Simulator.
|
|
|
# This program is free software; you can redistribute it and/or modify it
|
# 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
|
# 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)
|
# Software Foundation; either version 3 of the License, or (at your option)
|
# any later version.
|
# any later version.
|
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
# more details.
|
# more details.
|
|
|
# You should have received a copy of the GNU General Public License along
|
# You should have received a copy of the GNU General Public License along
|
# with this program. If not, see . */
|
# with this program. If not, see . */
|
|
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
# This code is commented throughout for use with Doxygen.
|
# This code is commented throughout for use with Doxygen.
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# A test program of the Or1ksim keyboard
|
# A test program of the Or1ksim keyboard
|
check_PROGRAMS = kbdtest
|
check_PROGRAMS = kbdtest
|
|
|
kbdtest_SOURCES = kbdtest.c
|
kbdtest_SOURCES = kbdtest.c
|
|
|
kbdtest_CPPFLAGS = -I$(srcdir)/../../../peripheral
|
kbdtest_CPPFLAGS = -I$(srcdir)/../../../peripheral
|
|
|
kbdtest_LDFLAGS = -T$(srcdir)/../default.ld
|
kbdtest_LDFLAGS = -T$(srcdir)/../default.ld
|
|
|
kbdtest_LDADD = ../except/except.lo \
|
kbdtest_LDADD = ../except/except.lo \
|
../support/libsupport.la
|
../support/libsupport.la
|
|
|
# For running the check, we'll need the Kbdtest source test file copied to
|
# For running the check, we'll need the Kbdtest source test file copied to
|
# the build testsuite directory.
|
# the build testsuite directory.
|
check-local:
|
check-local:
|
cp $(top_srcdir)/../or1ksim.tests/kbdtest.rx $(top_builddir)/..
|
cp $(top_srcdir)/../or1ksim.tests/kbdtest.rx $(top_builddir)/..
|
|
|