X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=c6f61a1532d844943f67a45b3109155fa343244b;hb=a1f7c854c502cca8fe7e5576b9a01ad1086f9170;hp=eb2398fa5de299184db6ac45cd7363bcaaaa3de5;hpb=bc8ff24de6948efee1313c7884e56090d8424c8e;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index eb2398fa..c6f61a15 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,13 +19,17 @@ ## ACLOCAL_AMFLAGS = -I m4 +AM_LIBTOOLFLAGS = --silent +MAKEFLAGS = --no-print-directory + +FIRMWARE_DIR = $(datadir)/sigrok-firmware local_includes = -Iinclude -I$(srcdir)/include -I$(srcdir)/src -I. 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) -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' +AM_CPPFLAGS = $(local_includes) -D_POSIX_C_SOURCE=200112L -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' # The check CFLAGS are a superset of the libsigrok CFLAGS, and the # python bindings CFLAGS are a superset of the C++ bindings CFLAGS. @@ -88,6 +92,7 @@ libsigrok_la_SOURCES += \ # SCPI support libsigrok_la_SOURCES += \ src/scpi/scpi.c \ + src/scpi/helpers.c \ src/scpi/scpi_tcp.c if NEED_RPC libsigrok_la_SOURCES += \