X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=9b017eb4504dc004eaa700a7d5ea542f2f038ca3;hb=HEAD;hp=bbc4b3b162e2100a7ac283451475b74000a6ceb8;hpb=e9d78d82c4a2bc10863af5511baeae9a954f50db;p=libserialport.git diff --git a/Makefile.am b/Makefile.am index bbc4b3b..9b017eb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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