diff options
-rw-r--r-- | doc/examples/Makefile.am | 9 | ||||
-rw-r--r-- | src/examples/Makefile.am | 4 | ||||
-rw-r--r-- | src/microhttpd/Makefile.am | 7 | ||||
-rw-r--r-- | src/microspdy/Makefile.am | 7 | ||||
-rw-r--r-- | src/spdy2http/Makefile.am | 3 |
5 files changed, 17 insertions, 13 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 4cfc7be7..e4335985 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am | |||
@@ -6,11 +6,12 @@ endif | |||
6 | 6 | ||
7 | AM_CPPFLAGS = \ | 7 | AM_CPPFLAGS = \ |
8 | $(PLIBC_INCLUDE) \ | 8 | $(PLIBC_INCLUDE) \ |
9 | -I$(top_srcdir)/src/include \ | 9 | -I$(top_srcdir)/src/include |
10 | @LIBGCRYPT_CFLAGS@ | 10 | |
11 | AM_CFLAGS = @LIBGCRYPT_CFLAGS@ | ||
11 | 12 | ||
12 | if USE_COVERAGE | 13 | if USE_COVERAGE |
13 | AM_CFLAGS = --coverage | 14 | AM_CFLAGS += --coverage |
14 | endif | 15 | endif |
15 | 16 | ||
16 | # example programs | 17 | # example programs |
@@ -29,7 +30,7 @@ noinst_PROGRAMS += simplepost largepost sessions | |||
29 | endif | 30 | endif |
30 | 31 | ||
31 | if HAVE_W32 | 32 | if HAVE_W32 |
32 | AM_CFLAGS = -DWINDOWS | 33 | AM_CPPFLAGS += -DWINDOWS |
33 | endif | 34 | endif |
34 | 35 | ||
35 | basicauthentication_SOURCES = \ | 36 | basicauthentication_SOURCES = \ |
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am index 5f6a3e2e..f5fd2be0 100644 --- a/src/examples/Makefile.am +++ b/src/examples/Makefile.am | |||
@@ -7,9 +7,9 @@ endif | |||
7 | AM_CPPFLAGS = \ | 7 | AM_CPPFLAGS = \ |
8 | $(PLIBC_INCLUDE) \ | 8 | $(PLIBC_INCLUDE) \ |
9 | -I$(top_srcdir)/src/include \ | 9 | -I$(top_srcdir)/src/include \ |
10 | @LIBGCRYPT_CFLAGS@ | 10 | -DDATA_DIR=\"$(top_srcdir)/src/datadir/\" |
11 | 11 | ||
12 | AM_CFLAGS = -DDATA_DIR=\"$(top_srcdir)/src/datadir/\" | 12 | AM_CFLAGS = @LIBGCRYPT_CFLAGS@ |
13 | 13 | ||
14 | if USE_COVERAGE | 14 | if USE_COVERAGE |
15 | AM_CFLAGS += --coverage | 15 | AM_CFLAGS += --coverage |
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index 02153a06..35ab6021 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -5,8 +5,9 @@ endif | |||
5 | AM_CPPFLAGS = \ | 5 | AM_CPPFLAGS = \ |
6 | $(PLIBC_INCLUDE) \ | 6 | $(PLIBC_INCLUDE) \ |
7 | -I$(top_srcdir)/src/include \ | 7 | -I$(top_srcdir)/src/include \ |
8 | -I$(top_srcdir)/src/microhttpd \ | 8 | -I$(top_srcdir)/src/microhttpd |
9 | $(HIDDEN_VISIBILITY_CFLAGS) \ | 9 | |
10 | AM_CFLAGS = $(HIDDEN_VISIBILITY_CFLAGS) \ | ||
10 | @LIBGCRYPT_CFLAGS@ | 11 | @LIBGCRYPT_CFLAGS@ |
11 | 12 | ||
12 | lib_LTLIBRARIES = \ | 13 | lib_LTLIBRARIES = \ |
@@ -28,7 +29,7 @@ libmicrohttpd_la_LDFLAGS = \ | |||
28 | -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@ | 29 | -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@ |
29 | 30 | ||
30 | if USE_COVERAGE | 31 | if USE_COVERAGE |
31 | AM_CFLAGS = --coverage | 32 | AM_CFLAGS += --coverage |
32 | endif | 33 | endif |
33 | 34 | ||
34 | if !HAVE_TSEARCH | 35 | if !HAVE_TSEARCH |
diff --git a/src/microspdy/Makefile.am b/src/microspdy/Makefile.am index 52929ee2..1af67a0d 100644 --- a/src/microspdy/Makefile.am +++ b/src/microspdy/Makefile.am | |||
@@ -5,8 +5,9 @@ endif | |||
5 | AM_CPPFLAGS = \ | 5 | AM_CPPFLAGS = \ |
6 | $(PLIBC_INCLUDE) \ | 6 | $(PLIBC_INCLUDE) \ |
7 | -I$(top_srcdir)/src/include \ | 7 | -I$(top_srcdir)/src/include \ |
8 | -I$(top_srcdir)/src/microspdy \ | 8 | -I$(top_srcdir)/src/microspdy |
9 | $(HIDDEN_VISIBILITY_CFLAGS) | 9 | |
10 | AM_CFLAGS = $(HIDDEN_VISIBILITY_CFLAGS) | ||
10 | 11 | ||
11 | 12 | ||
12 | lib_LTLIBRARIES = \ | 13 | lib_LTLIBRARIES = \ |
@@ -38,5 +39,5 @@ libmicrospdy_la_CFLAGS = -Wextra \ | |||
38 | 39 | ||
39 | 40 | ||
40 | if USE_COVERAGE | 41 | if USE_COVERAGE |
41 | AM_CFLAGS = --coverage | 42 | AM_CFLAGS += --coverage |
42 | endif | 43 | endif |
diff --git a/src/spdy2http/Makefile.am b/src/spdy2http/Makefile.am index 475bcbfe..8b83ee91 100644 --- a/src/spdy2http/Makefile.am +++ b/src/spdy2http/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | AM_CFLAGS = -DDATA_DIR=\"$(top_srcdir)/src/datadir/\" | 3 | AM_CFLAGS = |
4 | 4 | ||
5 | if USE_COVERAGE | 5 | if USE_COVERAGE |
6 | AM_CFLAGS += -fprofile-arcs -ftest-coverage | 6 | AM_CFLAGS += -fprofile-arcs -ftest-coverage |
@@ -15,6 +15,7 @@ AM_CPPFLAGS = \ | |||
15 | -I$(top_srcdir) \ | 15 | -I$(top_srcdir) \ |
16 | -I$(top_srcdir)/src/include \ | 16 | -I$(top_srcdir)/src/include \ |
17 | -I$(top_srcdir)/src/applicationlayer \ | 17 | -I$(top_srcdir)/src/applicationlayer \ |
18 | -DDATA_DIR=\"$(top_srcdir)/src/datadir/\" \ | ||
18 | $(LIBCURL_CPPFLAGS) | 19 | $(LIBCURL_CPPFLAGS) |
19 | 20 | ||
20 | if !HAVE_W32 | 21 | if !HAVE_W32 |