]> sigrok.org Git - libsigrok.git/blobdiff - Makefile.am
scpi: Fix incomplete data issue for e.g. Hameg HMO1024.
[libsigrok.git] / Makefile.am
index 23b99e17e2f5b0cea93986c48ae1d6449e783f54..b6bec636df90f382aba6403eef51f17ef00ca047 100644 (file)
@@ -35,6 +35,8 @@ libsigrok_la_SOURCES = \
        src/hwdriver.c \
        src/trigger.c \
        src/soft-trigger.c \
+       src/analog.c \
+       src/fallback.c \
        src/strutil.c \
        src/log.c \
        src/version.c \
@@ -63,6 +65,7 @@ libsigrok_la_SOURCES += \
        src/output/gnuplot.c \
        src/output/hex.c \
        src/output/ols.c \
+       src/output/srzip.c \
        src/output/vcd.c
 
 # SCPI support
@@ -418,7 +421,8 @@ tests_check_main_SOURCES = \
        tests/check_strutil.c \
        tests/check_version.c \
        tests/check_driver_all.c \
-       tests/check_device.c
+       tests/check_device.c \
+       tests/check_trigger.c
 
 tests_check_main_CFLAGS = @check_CFLAGS@
 
@@ -500,8 +504,11 @@ $(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \
                | grep -v "command line option.*Wstrict-prototypes"; true
        $(AM_V_at)touch $(PDIR)/timestamp
 
-python-install:
-       cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix)
+$(DESTDIR)$(prefix):
+       $(MKDIR_P) $@
+
+python-install: $(DESTDIR)$(prefix)
+       cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix) `test "$(DESTDIR)" && echo --root=$(DESTDIR)`
 
 python-clean:
        $(AM_V_at)$(MAKE) python-quietclean