]> sigrok.org Git - libsigrok.git/blobdiff - Makefile.am
beaglelogic: Implementation with soft triggers
[libsigrok.git] / Makefile.am
index f24f1f5aa367389ad4908af1c4c975b770fe942d..f1ac6ec31283e048e8c5dd34c325771e47aa50e6 100644 (file)
@@ -124,6 +124,12 @@ libsigrok_la_SOURCES += \
        hardware/atten-pps3xxx/protocol.c \
        hardware/atten-pps3xxx/api.c
 endif
+if HW_BEAGLELOGIC
+libsigrok_la_SOURCES += \
+       hardware/beaglelogic/protocol.h \
+       hardware/beaglelogic/protocol.c \
+       hardware/beaglelogic/api.c
+endif
 if HW_BRYMEN_BM86X
 libsigrok_la_SOURCES += \
        hardware/brymen-bm86x/protocol.h \
@@ -361,7 +367,7 @@ TESTS = tests/check_main
 check_PROGRAMS = ${TESTS}
 
 tests_check_main_SOURCES = \
-       libsigrok.h \
+       include/libsigrok/libsigrok.h \
        tests/lib.c \
        tests/lib.h \
        tests/check_main.c \
@@ -430,17 +436,18 @@ PDIR = bindings/python
 
 python-build: $(PDIR)/timestamp
 
+python-cleanclean:
+       $(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all 2> >(grep -v "can't clean it")
+
 $(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \
-               $(library_include_HEADERS)
-       $(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all
-       $(AM_V_GEN)cd $(PDIR) && python setup.py --quiet build
+               $(library_include_HEADERS) python-cleanclean
+       $(AM_V_GEN)cd $(PDIR) && python setup.py --quiet build 2> >(grep -v "command line option.*Wstrict-prototypes")
        $(AM_V_at)touch $(PDIR)/timestamp
 
 python-install:
        cd $(PDIR) && python setup.py --quiet install --prefix $(prefix)
 
-python-clean:
-       $(AM_V_at)cd $(PDIR) && python setup.py --quiet clean --all
+python-clean: python-cleanclean
        $(AM_V_at)rm -f $(PDIR)/timestamp
 
 BUILD_EXTRA += python-build