]> sigrok.org Git - libserialport.git/blobdiff - Makefile.am
change type of result variables to ssize_t
[libserialport.git] / Makefile.am
index bbc4b3b162e2100a7ac283451475b74000a6ceb8..9b017eb4504dc004eaa700a7d5ea542f2f038ca3 100644 (file)
@@ -24,6 +24,9 @@ GNUMAKEFLAGS = --no-print-directory
 
 # Enable more compiler warnings.
 AM_CFLAGS = -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes -Wshadow
+# Set flag used in libserialport.h to indicate we are building the library
+# using autotools.
+AM_CFLAGS += -DLIBSERIALPORT_ATBUILD
 
 lib_LTLIBRARIES = libserialport.la
 
@@ -62,7 +65,10 @@ EXTRA_DIST = Doxyfile \
        examples/Makefile \
        examples/README \
        examples/list_ports.c \
-       examples/port_info.c
+       examples/port_info.c \
+       examples/port_config.c \
+       examples/await_events.c \
+       examples/handle_errors.c
 
 MAINTAINERCLEANFILES = ChangeLog