forked from nori0428/mod_websocket
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
40 lines (34 loc) · 917 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
SUBDIRS = . src
if WITH_TEST
SUBDIRS += test
all-local:
(cd $(top_srcdir)/contrib/gtest-1.7.0; make)
endif
clean-local:
${RM} -f *~
install-data-local:
@if [ -z "${LIGHTTPD_LOCATION}" ]; then \
echo "not specified lighttpd location"; \
exit 0; \
fi
@if [ ! -e ${LIGHTTPD_LOCATION} ]; then \
echo "\"${LIGHTTPD_LOCATION}\" does not exist"; \
exit 1; \
fi;
@if [ ! -d ${LIGHTTPD_LOCATION} ]; then \
echo "\"${LIGHTTPD_LOCATION}\" is not a directory"; \
exit 1; \
fi;
@echo "copy mod_websocket files into ${LIGHTTPD_LOCATION}"
cp src/mod_websocket*.{h,c} ${LIGHTTPD_LOCATION}/src
@echo "done"
@echo "patch the lighttpd sources"
@(sh dopatch.sh ${LIGHTTPD_LOCATION})
@echo "done"
@echo "plz make lighty w/ mod_websocket like below"
@echo
@echo "$$ cd ${LIGHTTPD_LOCATION}"
@echo "$$ ./autogen.sh"
@echo "$$ ./configure --with-websocket[=all/rfc-6455/ietf-00]"
@echo "$$ make"
@echo