SDL-mirror/test/test-automation/Makefile.am

28 lines
857 B
Text
Raw Normal View History

2011-05-25 18:53:48 +03:00
ACLOCAL_AMFLAGS = -I acinclude -I build-scripts
SUBDIRS = testdummy testrect testplatform
2011-05-25 18:53:48 +03:00
bin_PROGRAMS = runner
runner_SOURCES = runner.c SDL_test.c
2011-05-25 18:53:48 +03:00
runner_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
runner_LDFLAGS = `sdl-config --libs`
2011-05-25 18:53:48 +03:00
bin_PROGRAMS = logger
logger_SOURCES = xml_logger.c xml.c plain_logger.c logger.c
logger_CLAGS = -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
logger_LDFLAGS = `sdl-config --libs`
2011-05-25 18:53:48 +03:00
install: install-tests
install-tests:
-mkdir tests
-cp -f testdummy/.libs/*.dylib tests/ 2> /dev/null
-cp -f testdummy/.libs/*.so tests/ 2> /dev/null
-cp -f testrect/.libs/*.dylib tests/ 2> /dev/null
-cp -f testrect/.libs/*.so tests/ 2> /dev/null
-cp -f testplatform/.libs/*.dylib tests/ 2> /dev/null
-cp -f testplatform/.libs/*.so tests/ 2> /dev/null
2011-05-25 18:53:48 +03:00
distclean-local:
-rm -Rf tests/ docs/