X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/945a749daf29bd231440da551d3a53908880d278..e6d2653b6a2612ea2cee768d4dadcc3fb9315d00:/Makefile.am diff --git a/Makefile.am b/Makefile.am index fed99c1..fda4993 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,15 +76,21 @@ engine_la_SOURCES += src/engine/music-modplug.c src/engine/modplug-types.h engine_la_LIBADD += $(LIBMODPLUG_LIBS) endif -check_PROGRAMS = test/decodeindex -test_decodeindex_LDADD = libupkg.la libgnu.la +check_LTLIBRARIES = libtest.la +check_PROGRAMS = test/decodeindex test/pcxrle + +libtest_la_SOURCES = test/common.c + +test_decodeindex_LDADD = libupkg.la libgnu.la libtest.la $(test_decodeindex_OBJECTS): $(gnulib_headers) +test_pcxrle_LDADD = src/engine/pcx.lo libupkg.la libgnu.la libtest.la +$(test_pcxrle_OBJECTS): $(gnulib_headers) TESTS_ENVIRONMENT = SHELL='$(SHELL)' EXEEXT='$(EXEEXT)' TEST_EXTENSIONS = .sh SH_LOG_COMPILER = $(SHELL) -TESTS = tests/libupkg-index-decode.sh +TESTS = tests/libupkg-index-decode.sh tests/engine-pcx-rlencode.sh EXTRA_DIST += $(TESTS) # Supporting rules for GObject Builder @@ -105,6 +111,4 @@ STAMP_RECOVER = \ .gobstamp.h: ; $(STAMP_RECOVER) include $(top_srcdir)/lib/gnulib.mk -if BUNDLED_LIBLTDL include $(top_srcdir)/libltdl/ltdl.mk -endif