X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=5501968fa42bfc28d2e848fcc079fd50a0705880;hb=4439363aa02928098eab8dcd18b5ccb41737c882;hp=aaff5d2fb3b38cc6eb91398a5a19b81f06f56b57;hpb=a28b3df111ce6b942d0904b7647b959a48f2b479;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index aaff5d2f..5501968f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -376,6 +376,12 @@ src_libdrivers_la_SOURCES += \ src/hardware/lecroy-logicstudio/protocol.c \ src/hardware/lecroy-logicstudio/api.c endif +if HW_LECROY_XSTREAM +src_libdrivers_la_SOURCES += \ + src/hardware/lecroy-xstream/protocol.h \ + src/hardware/lecroy-xstream/protocol.c \ + src/hardware/lecroy-xstream/api.c +endif if HW_MANSON_HCS_3XXX src_libdrivers_la_SOURCES += \ src/hardware/manson-hcs-3xxx/protocol.h \ @@ -595,6 +601,11 @@ INSTALL_EXTRA = UNINSTALL_EXTRA = CLEAN_EXTRA = +libsigrok-uninstall: + -rmdir $(DESTDIR)$(includedir)/libsigrok + +UNINSTALL_EXTRA += libsigrok-uninstall + if BINDINGS_CXX lib_LTLIBRARIES += bindings/cxx/libsigrokcxx.la @@ -637,6 +648,11 @@ cxx-clean: CLEAN_EXTRA += cxx-clean +cxx-uninstall: + -rmdir $(DESTDIR)$(includedir)/libsigrokcxx + +UNINSTALL_EXTRA += cxx-uninstall + endif CPPXMLDOC = bindings/cxx/doxy/xml/index.xml @@ -819,7 +835,7 @@ endif all-local: $(BUILD_EXTRA) install-exec-local: $(INSTALL_EXTRA) -uninstall-local: $(UNINSTALL_EXTRA) +uninstall-hook: $(UNINSTALL_EXTRA) clean-local: $(CLEAN_EXTRA) .PHONY: dist-changelog