1noinst_PROGRAMS = \ 2 test-json test-jsonrpc test-plugin+app test-data \ 3 test-uglib test-uget 4# test-uglib-cxx test-uget-cxx 5TESTS_LIBS = @PTHREAD_LIBS@ @CURL_LIBS@ @GLIB_LIBS@ 6 7if WITH_LIBPWMD 8TESTS_LIBS += @LIBPWMD_LIBS@ 9endif 10 11# set the include path found by configure 12AM_CPPFLAGS = -I$(top_srcdir)/uglib -I$(top_srcdir)/uget 13AM_CFLAGS = @PTHREAD_CFLAGS@ @LFS_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ 14AM_LDFLAGS = @LFS_LDFLAGS@ 15 16# test_json_CPPFLAGS = -I$(top_srcdir)/uglib 17test_json_LDADD = $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 18test_json_SOURCES = test-json.c 19 20# test_jsonrpc_CPPFLAGS = -I$(top_srcdir)/uglib -I$(top_srcdir)/uget 21test_jsonrpc_LDADD = $(top_builddir)/uget/libuget.a $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 22test_jsonrpc_SOURCES = test-jsonrpc.c 23 24test_plugin_app_CPPFLAGS = -I$(top_srcdir)/uglib -I$(top_srcdir)/uget @LIBGCRYPT_CFLAGS@ @LIBCRYPTO_CFLAGS@ 25test_plugin_app_LDADD = $(top_builddir)/uget/libuget.a $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) @LIBGCRYPT_LIBS@ @LIBCRYPTO_LIBS@ 26test_plugin_app_SOURCES = test-plugin+app.c 27 28# test_data_CPPFLAGS = -I$(top_srcdir)/uglib 29test_data_LDADD = $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 30test_data_SOURCES = test-data.c 31 32# test_uglib_CPPFLAGS = -I$(top_srcdir)/uglib 33test_uglib_LDADD = $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 34test_uglib_SOURCES = test-uglib.c 35 36# test_uget_CPPFLAGS = -I$(top_srcdir)/uglib -I$(top_srcdir)/uget 37test_uget_LDADD = $(top_builddir)/uget/libuget.a $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 38test_uget_SOURCES = test-uget.c 39 40## test C++ standard-layout 41#test_uglib_cxx_CPPFLAGS = -I$(top_srcdir)/uglib 42#test_uglib_cxx_CXXFLAGS = -std=c++11 43#test_uglib_cxx_LDADD = $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 44#test_uglib_cxx_SOURCES = test-uglib-cxx.cxx 45 46## test_uget_cxx_CPPFLAGS = -I$(top_srcdir)/uglib -I$(top_srcdir)/uget 47#test_uget_cxx_CXXFLAGS = -std=c++11 48#test_uget_cxx_LDADD = $(top_builddir)/uget/libuget.a $(top_builddir)/uglib/libuglib.a $(TESTS_LIBS) 49#test_uget_cxx_SOURCES = test-uget-cxx.cxx 50 51