]> sigrok.org Git - libsigrok.git/blobdiff - Makefile.am
session-file: Remove old session save API
[libsigrok.git] / Makefile.am
index 7aaaadab0eda43d6035f9b6eb59c759720b177b0..bde3b2cebf86859407bb39644f9b4f9a22532d89 100644 (file)
@@ -20,6 +20,7 @@
 
 ACLOCAL_AMFLAGS = -I m4
 AM_LIBTOOLFLAGS = --silent
+GNUMAKEFLAGS = --no-print-directory
 
 FIRMWARE_DIR = $(datadir)/sigrok-firmware
 
@@ -28,7 +29,7 @@ if BINDINGS_CXX
 local_includes += -Ibindings/cxx/include -I$(srcdir)/bindings/cxx/include -Ibindings/cxx
 endif
 # Ensure that local include directories are always searched first.
-AM_CPPFLAGS = $(local_includes) -D_POSIX_C_SOURCE=200112L -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
+AM_CPPFLAGS = $(local_includes) -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
 
 # The tests CFLAGS are a superset of the libsigrok CFLAGS, and the
 # python bindings CFLAGS are a superset of the C++ bindings CFLAGS.
@@ -261,6 +262,12 @@ libsigrok_la_SOURCES += \
        src/hardware/gmc-mh-1x-2x/protocol.c \
        src/hardware/gmc-mh-1x-2x/api.c
 endif
+if HW_GWINSTEK_GDS_800
+libsigrok_la_SOURCES += \
+       src/hardware/gwinstek-gds-800/protocol.h \
+       src/hardware/gwinstek-gds-800/protocol.c \
+       src/hardware/gwinstek-gds-800/api.c
+endif
 if HW_HAMEG_HMO
 libsigrok_la_SOURCES += \
        src/hardware/hameg-hmo/protocol.h \
@@ -273,6 +280,12 @@ libsigrok_la_SOURCES += \
        src/hardware/hantek-dso/dso.c \
        src/hardware/hantek-dso/api.c
 endif
+if HW_HUNG_CHANG_DSO_2100
+libsigrok_la_SOURCES += \
+       src/hardware/hung-chang-dso-2100/protocol.h \
+       src/hardware/hung-chang-dso-2100/protocol.c \
+       src/hardware/hung-chang-dso-2100/api.c
+endif
 if HW_IKALOGIC_SCANALOGIC2
 libsigrok_la_SOURCES += \
        src/hardware/ikalogic-scanalogic2/protocol.h \
@@ -668,7 +681,7 @@ MAINTAINERCLEANFILES = ChangeLog
 
 .PHONY: ChangeLog
 ChangeLog:
-       git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
+       git --git-dir '$(top_srcdir)/.git' log >$@ || touch $@
 
 dist-hook: ChangeLog