Skip to content
This repository
Newer
Older
100644 132 lines (102 sloc) 3.062 kb
53c6a29b »
2007-03-20 svn migr
1 include ../include.mk
2
3 ifeq ($(TYPE),debug)
4 DEBUG_FLAGS = -Ddebug +debug_info
5 else
6 DEBUG_FLAGS =
7 endif
8
9 include ../vsn.mk
10 VSN=$(YAWS_VSN)
f5eb9d51 »
2010-01-05 conditional compile of websockets
11
12
13 ## the websocket code uses new modern bits stuff
35a5c1ab »
2010-12-07 add configure detection of erts bits support
14 ifeq ($(BITS_SUPPORT),true)
15 BITSMODS=yaws_websockets
f5eb9d51 »
2010-01-05 conditional compile of websockets
16 endif
17
18
53c6a29b »
2007-03-20 svn migr
19 MODULES=yaws \
20 yaws_app \
21 yaws_ticker \
22 yaws_config \
23 yaws_server \
24 yaws_sup \
25 yaws_api \
26 yaws_log \
27 yaws_ls \
28 yaws_debug \
29 yaws_compile \
30 yaws_ctl \
31 yaws_cgi \
32 yaws_zlib \
33 yaws_generated \
34 mime_types \
35 yaws_session_server \
c1cea992 »
2009-04-16 Changed the way authentication is done, added support for multiple au…
36 yaws_outmod \
53c6a29b »
2007-03-20 svn migr
37 yaws_revproxy \
38 yaws_html \
39 yaws_log_file_h \
40 yaws_rss \
41 yaws_dav \
42 yaws_pam \
96534b2e »
2011-04-24 replace json.erl with json2.erl to fix issue 50
43 json json2 jsonrpc yaws_jsonrpc yaws_xmlrpc\
53c6a29b »
2007-03-20 svn migr
44 haxe yaws_rpc \
a3f4fdeb »
2008-01-03 Reintroduced the SPNEGO/GSSAPI auth support by Mikael Magnusson
45 yaws_soap_srv yaws_soap_lib \
7cd40802 »
2008-03-10 Added CGI documentation including a new page http://yaws.hyber.org/cg…
46 authmod_gssapi \
12471ad5 »
2008-12-20 added configure support for sendfile
47 yaws_appmod_cgi \
2fa66b06 »
2009-07-10 cgi support
48 yaws_appmod_fcgi \
6a4c4e7c »
2011-04-16 change sendfile driver handler to a gen_server
49 yaws_sendfile \
9317a44a »
2009-06-12 Compile yaws_stats
50 yaws_sup_restarts \
4248f8d3 »
2009-09-29 move yaws_multipart.erl to src dir and incorporate klacke's changes
51 yaws_stats \
43d66204 »
2010-10-07 Adding yaws_vdir.erl to the Makefile.
52 yaws_vdir \
7fdc54ad »
2009-12-18 HTML5 Web Sockets support.
53 yaws_multipart \
f5eb9d51 »
2010-01-05 conditional compile of websockets
54 $(BITSMODS)
12471ad5 »
2008-12-20 added configure support for sendfile
55
53c6a29b »
2007-03-20 svn migr
56
57
bc1a16bf »
2011-05-03 add yaws.appup.src template file (capflam)
58 EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR)) ../ebin/yaws.app ../ebin/yaws.appup
5b596d73 »
2007-09-23 added support for GSSAPI through a patch by Mikale Magnusson
59 ERLC_FLAGS+=-W $(DEBUG_FLAGS) -pa ../../yaws -I ../include
53c6a29b »
2007-03-20 svn migr
60
61 #
62 # Targets
63 #
64
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
65 all: yaws_generated.erl yaws_configure.hrl $(EBIN_FILES)
53c6a29b »
2007-03-20 svn migr
66
67 dav:
68 $(MAKE) MODULES="$(MODULES) yaws_dav"
69
70 $(EBIN_FILES) : ../include/yaws.hrl ../include/yaws_api.hrl
71
6a4c4e7c »
2011-04-16 change sendfile driver handler to a gen_server
72 ../ebin/yaws_sendfile.$(EMULATOR): yaws_configure.hrl
53c6a29b »
2007-03-20 svn migr
73
74 yaws_generated.erl: yaws_generated.template ../vsn.mk
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
75 . ../vsn.mk ; \
76 YAWS_VSN='$(YAWS_VSN)' VARDIR='$(VARDIR)' ETCDIR='$(ETCDIR)' \
77 ../scripts/gen-yaws-generated true > yaws_generated.erl
53c6a29b »
2007-03-20 svn migr
78
cd687273 »
2009-01-29 add --disable-sendfile option to configure, fix src/Makefile to clean…
79 yaws_configure.hrl: ../vsn.mk ../include.mk
12471ad5 »
2008-12-20 added configure support for sendfile
80 set -x; \
81 if [ $(HAVE_SENDFILE) = "true" ]; then \
82 echo "-define(HAVE_SENDFILE, true)." > yaws_configure.hrl; \
83 else touch yaws_configure.hrl; fi
84
85
d07115cd »
2008-03-10 Several cleanups due to dialyzer, also moved the control file into us…
86 ## need to differentiate between local install and not
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
87 .PHONY: regen
d07115cd »
2008-03-10 Several cleanups due to dialyzer, also moved the control file into us…
88 regen:
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
89 . ../vsn.mk ; \
90 YAWS_VSN='$(YAWS_VSN)' VARDIR='$(VARDIR)' ETCDIR='$(ETCDIR)' \
91 ../scripts/gen-yaws-generated false > yaws_generated.erl
53c6a29b »
2007-03-20 svn migr
92
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
93 charset.def:
94 if [ -n "$(DEFAULT_CHARSET)" ]; then \
95 echo $(DEFAULT_CHARSET) > charset.def; \
96 else rm -f charset.def ; touch charset.def; fi
53c6a29b »
2007-03-20 svn migr
97
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
98 mime_type_c.beam: mime_type_c.erl
99
100 mime_types.erl: mime.types charset.def mime_type_c.beam
101 $(ERL) -noshell -pa ../ebin -s mime_type_c compile
53c6a29b »
2007-03-20 svn migr
102
103 debug:
104 $(MAKE) TYPE=debug
105
106 clean:
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
107 rm -f $(EBIN_FILES) yaws_generated.erl charset.def \
108 mime_types.erl yaws_configure.hrl
53c6a29b »
2007-03-20 svn migr
109
d07115cd »
2008-03-10 Several cleanups due to dialyzer, also moved the control file into us…
110 install: regen all docsinstall
da61d09a »
2008-05-15 cygwin install patch by Bill Robertsson
111 $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/yaws/examples/ebin
112 $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/yaws/examples/include
113 $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/yaws/ebin
114 $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/yaws/priv
115 $(INSTALL) -d $(DESTDIR)$(VARDIR)/log/yaws
116 $(INSTALL) -d $(DESTDIR)$(VARDIR)/yaws/ebin
117 (cd ..; tar cf - ebin ) | (cd $(DESTDIR)$(PREFIX)/lib/yaws; tar xf - )
118 (cd ..; tar cf - include ) | (cd $(DESTDIR)$(PREFIX)/lib/yaws; tar xf - )
119 (cd ..; tar cf - priv/*.xsd ) | (cd $(DESTDIR)$(PREFIX)/lib/yaws; tar xf - )
53c6a29b »
2007-03-20 svn migr
120
121 docsinstall:
da61d09a »
2008-05-15 cygwin install patch by Bill Robertsson
122 $(INSTALL) -d $(DESTDIR)$(VARDIR)/yaws/www
123 (cd ..; tar cf - www ) | (cd $(DESTDIR)$(VARDIR)/yaws; tar xf - )
53c6a29b »
2007-03-20 svn migr
124
125 tags:
126 erl -noshell -pa ../ebin -s yaws_debug mktags
127
128 xref:
129 erl -noshell -pa ../ebin -s yaws_debug xref ../ebin
130
131
Something went wrong with that request. Please try again.