summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/tools/Makefile.am
blob: 6bd226c696c6191959d939f2e43a095f94e0a133 (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
31
32
33
34
35
36
##
## $Id$
##

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

if PERL
perl_scripts = shmdump semdump
PERL_TMPINSTALL_FILES = $(PROJECT_ROOT)/posix/tests/shmdump \
    $(PROJECT_ROOT)/posix/tests/semdump
endif

noinst_SCRIPTS = runtest looptest $(perl_scripts)

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

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

$(PROJECT_ROOT)/posix/tests/looptest: looptest
	$(INSTALL_SCRIPT) $< $@

$(PROJECT_ROOT)/posix/tests/shmdump: shmdump
	$(INSTALL_SCRIPT) $< $@

$(PROJECT_ROOT)/posix/tests/semdump: semdump
	$(INSTALL_SCRIPT) $< $@

TMPINSTALL_FILES = $(PROJECT_ROOT)/posix/tests \
    $(PROJECT_ROOT)/posix/tests/runtest $(PROJECT_ROOT)/posix/tests/looptest

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

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