]> sigrok.org Git - libsigrokflow.git/blobdiff - Makefile.am
Factor out main.hpp.
[libsigrokflow.git] / Makefile.am
index 5370af1bd4ae7a3a728328bc5a9bcdb0c870194f..c37e17e8509172587ad1e9b8706e25746fc56993 100644 (file)
@@ -28,14 +28,21 @@ 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
@@ -45,10 +52,13 @@ check_PROGRAMS = tests/main
 
 tests_main_SOURCES = \
        include/libsigrokflow/libsigrokflow.hpp \
-       tests/main.cpp
+       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