diff options
Diffstat (limited to 'src/microhttpd/Makefile.am')
-rw-r--r-- | src/microhttpd/Makefile.am | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index c4d62e97..563a8c28 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -120,9 +120,14 @@ MHD_DLL_RES_LO = libmicrohttpd_la-$(MHD_DLL_RES_SRC:.rc=.lo) | |||
120 | EXTRA_libmicrohttpd_la_DEPENDENCIES = $(MHD_DLL_RES_LO) | 120 | EXTRA_libmicrohttpd_la_DEPENDENCIES = $(MHD_DLL_RES_LO) |
121 | libmicrohttpd_la_LIBADD += $(MHD_DLL_RES_LO) | 121 | libmicrohttpd_la_LIBADD += $(MHD_DLL_RES_LO) |
122 | 122 | ||
123 | AM_V_RC = $(am__v_RC_$(V)) | ||
124 | am__v_RC_ = $(am__v_RC_$(AM_DEFAULT_VERBOSITY)) | ||
125 | am__v_RC_0 = @echo " RC " $@; | ||
126 | am__v_RC_1 = | ||
127 | |||
123 | # General rule is not required, but keep it just in case | 128 | # General rule is not required, but keep it just in case |
124 | .rc.lo: | 129 | .rc.lo: |
125 | $(LIBTOOL) $(AM_V_lt) --tag=RC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCFLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< -o $@ | 130 | $(AM_V_RC) $(LIBTOOL) $(AM_V_lt) --tag=RC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCFLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< -o $@ |
126 | 131 | ||
127 | # To add dll resource only to .dll file and exclude it form static | 132 | # To add dll resource only to .dll file and exclude it form static |
128 | # lib, a little trick was used. Allow libtool to create file.lo, | 133 | # lib, a little trick was used. Allow libtool to create file.lo, |
@@ -133,9 +138,9 @@ libmicrohttpd_la_LIBADD += $(MHD_DLL_RES_LO) | |||
133 | # Note: windres does not understand '-isystem' flag, so all | 138 | # Note: windres does not understand '-isystem' flag, so all |
134 | # possible '-isystem' flags are replaced by simple '-I' flags. | 139 | # possible '-isystem' flags are replaced by simple '-I' flags. |
135 | $(MHD_DLL_RES_LO): $(MHD_DLL_RES_SRC) | 140 | $(MHD_DLL_RES_LO): $(MHD_DLL_RES_SRC) |
136 | RC_CPP_FLAGS=" $(DEFAULT_INCLUDES) $(INCLUDES) $(libmicrohttpd_la_CPPFLAGS) $(CPPFLAGS) " && \ | 141 | $(AM_V_RC) RC_CPP_FLAGS=" $(DEFAULT_INCLUDES) $(INCLUDES) $(libmicrohttpd_la_CPPFLAGS) $(CPPFLAGS) " && \ |
137 | $(LIBTOOL) $(AM_V_lt) --tag=RC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCFLAGS) $(DEFS) $${RC_CPP_FLAGS// -isystem / -I } $< -o $@ && \ | 142 | $(LIBTOOL) $(AM_V_lt) --tag=RC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCFLAGS) $(DEFS) $${RC_CPP_FLAGS// -isystem / -I} $< -o $@ && \ |
138 | echo > $@-empty.c && $(CC) $(AM_CFLAGS) $(CFLAGS) -c $@-empty.c -o $(@:.lo=.o) && rm -f $@-empty.c | 143 | echo > $@-empty.c && $(CC) $(DEFS) $(AM_CFLAGS) $(CFLAGS) -c $@-empty.c -o $(@:.lo=.o) && rm -f $@-empty.c |
139 | endif | 144 | endif |
140 | 145 | ||
141 | if USE_COVERAGE | 146 | if USE_COVERAGE |