summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/tools/Makefile.am
blob: a5d745036ebaab39793e438bd9508399c8a0fdda (plain) (tree)
1
2
3
4
5
6
7
8
9


       
 
                              
                                                 
 
       
                              

                                                             

     
















                                                 
                                                
                                                                            
 
                              
                                                       
 
                                                           
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4
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