diff options
Diffstat (limited to 'src/microhttpd_ws/Makefile.am')
-rw-r--r-- | src/microhttpd_ws/Makefile.am | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/microhttpd_ws/Makefile.am b/src/microhttpd_ws/Makefile.am new file mode 100644 index 00000000..16612506 --- /dev/null +++ b/src/microhttpd_ws/Makefile.am | |||
@@ -0,0 +1,39 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = \ | ||
3 | -I$(top_srcdir)/src/include \ | ||
4 | -I$(top_srcdir)/src/microhttpd | ||
5 | |||
6 | AM_CFLAGS = $(HIDDEN_VISIBILITY_CFLAGS) | ||
7 | |||
8 | noinst_DATA = | ||
9 | MOSTLYCLEANFILES = | ||
10 | |||
11 | SUBDIRS = . | ||
12 | |||
13 | lib_LTLIBRARIES = \ | ||
14 | libmicrohttpd_ws.la | ||
15 | libmicrohttpd_ws_la_SOURCES = \ | ||
16 | sha1.c sha1.h \ | ||
17 | mhd_websocket.c | ||
18 | libmicrohttpd_ws_la_CPPFLAGS = \ | ||
19 | $(AM_CPPFLAGS) $(MHD_LIB_CPPFLAGS) \ | ||
20 | -DBUILDING_MHD_LIB=1 | ||
21 | libmicrohttpd_ws_la_CFLAGS = \ | ||
22 | $(AM_CFLAGS) $(MHD_LIB_CFLAGS) | ||
23 | libmicrohttpd_ws_la_LDFLAGS = \ | ||
24 | $(MHD_LIB_LDFLAGS) \ | ||
25 | $(W32_MHD_LIB_LDFLAGS) \ | ||
26 | -version-info 0:0:0 | ||
27 | libmicrohttpd_ws_la_LIBADD = \ | ||
28 | $(MHD_LIBDEPS) | ||
29 | |||
30 | TESTS = $(check_PROGRAMS) | ||
31 | |||
32 | check_PROGRAMS = \ | ||
33 | test_websocket | ||
34 | |||
35 | test_websocket_SOURCES = \ | ||
36 | test_websocket.c | ||
37 | test_websocket_LDADD = \ | ||
38 | $(top_builddir)/src/microhttpd_ws/libmicrohttpd_ws.la \ | ||
39 | $(top_builddir)/src/microhttpd/libmicrohttpd.la | ||