X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=c37e17e8509172587ad1e9b8706e25746fc56993;hb=3f86037d18c697ec9f97eca1a615ad169589da61;hp=1dd7f307564d3387ffa691cd2d714e476bb5b089;hpb=81c16ddcdf0dc76c1aca3a1b3fe6e58c22cc6d73;p=libsigrokflow.git diff --git a/Makefile.am b/Makefile.am index 1dd7f30..c37e17e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,25 +21,44 @@ ACLOCAL_AMFLAGS = -I m4 AM_LIBTOOLFLAGS = --silent GNUMAKEFLAGS = --no-print-directory -AM_CPPFLAGS = -Iinclude -I$(srcdir)/include -I$(srcdir)/src -I. +AM_CPPFLAGS = -Iinclude -I$(srcdir)/include -I$(srcdir)/src -I$(srcdir)/tests -I. AM_CXXFLAGS = $(SRF_WXXFLAGS) $(LIBSIGROKFLOW_CFLAGS) lib_LTLIBRARIES = libsigrokflow.la libsigrokflow_la_SOURCES = \ - src/main.cpp + src/main.cpp \ + src/init.cpp \ + src/legacy_capture_device.cpp \ + src/legacy_input.cpp \ + src/legacy_output.cpp \ + src/legacy_decoder.cpp libsigrokflow_la_LIBADD = $(LIBSIGROKFLOW_LIBS) libsigrokflow_la_LDFLAGS = -version-info $(SRF_LIB_VERSION) -no-undefined library_includedir = $(includedir)/libsigrokflow library_include_HEADERS = \ - include/libsigrokflow/libsigrokflow.hpp + include/libsigrokflow/libsigrokflow.hpp \ + include/libsigrokflow/main.hpp \ + include/libsigrokflow/init.hpp pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libsigrokflow.pc +TESTS = tests/main +check_PROGRAMS = tests/main + +tests_main_SOURCES = \ + include/libsigrokflow/libsigrokflow.hpp \ + tests/main.cpp \ + tests/init.cpp + +tests_main_LDADD = libsigrokflow.la $(LIBSIGROKFLOW_LIBS) + +EXTRA_DIST = Doxyfile contrib/libsigrok_112x112.png + .PHONY: dist-changelog dist-hook: dist-changelog