summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim/tools/Makefile.am
blob: 4aa0a94dc13c8d558062a951cae941d15dea9e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
##
## $Id$
##

ACLOCAL_AMFLAGS = -I ../../../../../../../aclocal

transform =
bsptools_bindir = ${exec_prefix}/@RTEMS_BSP@/tests
bsptools_bin_SCRIPTS = psim runtest

TMPINSTALL_FILES = $(PROJECT_ROOT)/psim/tests \
    $(PROJECT_ROOT)/psim/tests/runtest $(PROJECT_ROOT)/psim/tests/psim \
    $(PROJECT_ROOT)/psim/tests/psim-gdb

$(PROJECT_ROOT)/psim/tests:
	$(mkinstalldirs) $@

$(PROJECT_ROOT)/psim/tests/runtest: runtest
	$(INSTALL_SCRIPT) $< $@

$(PROJECT_ROOT)/psim/tests/psim: psim
	$(INSTALL_SCRIPT) $< $@

$(PROJECT_ROOT)/psim/tests/psim-gdb: psim
	$(INSTALL_SCRIPT) $< $@

## HACK: install to build-tree
all-local: $(TMPINSTALL_FILES)

include $(top_srcdir)/../../../../../../../automake/host.am