source: roaraudio/tests/Makefile @ 4523:c263513b053a

Last change on this file since 4523:c263513b053a was 4523:c263513b053a, checked in by phi, 14 years ago

added new test system RAT

File size: 1016 bytes
Line 
1include ../Makefile.conf
2
3CLIENTS=roar-config roarbidir roarcat roarcat2sock roarcatad roarcatpassfh roarcatplay roarcatsendfile roarcatvio roarctl roarfilt roarmon roarradio roarshout roarsin roarsockconnect roarsocktypes roartypes roarvorbis roarvumeter roarinterconnect roarlight roarphone
4
5
6all:
7        echo Warning: There is nothing to build
8clean: sandbox-clean
9        rm -f *.o rat-*
10
11new: clean all
12
13#test: sandbox-install test-all sandbox-clean
14test: sandbox-clean sandbox-install test-all sandbox-clean
15
16test-all: test-runnable test-roard test-rat
17
18test-runnable:
19        PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) EXEC_HELPER=$(EXEC_HELPER) ./test-runnable.sh "$(CLIENTS)"
20test-roard:
21        PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) EXEC_HELPER=$(EXEC_HELPER) ./test-roard.sh
22
23test-rat: rat.o test-rat.o
24        $(CC) -Wall -Wextra -O2 -g -o rat-rat rat.o test-rat.o
25        ./rat-rat
26
27
28sandbox-install: sandbox
29sandbox:
30        mkdir sandbox
31        sh -c 'cd ..; DESTDIR=`pwd`/tests/sandbox $(MAKE) install'
32sandbox-clean:
33        rm -rf sandbox/
Note: See TracBrowser for help on using the repository browser.