Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 425 lines (303 sloc) 12.206 kb
15594ea @ry Replace WAF with make/autoconf
ry authored
1 #config
90ab079 @ry Use --jobs=1 with WAF
ry authored
2
15594ea @ry Replace WAF with make/autoconf
ry authored
3 # define DEBUG=1 to build node_g
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
4
15594ea @ry Replace WAF with make/autoconf
ry authored
5 WANT_OPENSSL=1
6 PREFIX=/usr
7 SHELL=/bin/sh
8 INSTALL = install
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
9 SCONS = python tools/scons/scons.py
10 LINKFLAGS += $(LDFLAGS)
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
11
15594ea @ry Replace WAF with make/autoconf
ry authored
12 -include config.mak.autogen
13 -include config.mak
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
14
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
15 # -----------------------------------------------------------------------------
15594ea @ry Replace WAF with make/autoconf
ry authored
16
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
17 dylib_suffix = so
15594ea @ry Replace WAF with make/autoconf
ry authored
18
19 ifeq ($(platform),darwin)
20 LINKFLAGS += -framework Carbon
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
21 dylib_suffix = dylib
15594ea @ry Replace WAF with make/autoconf
ry authored
22 endif
23
24 ifeq ($(platform),linux)
25 LINKFLAGS += -pthread -lrt
26 endif
27
28 ifdef WANT_OPENSSL
29 HAVE_OPENSSL = 1
30 HAVE_CRYPTO = 1
31 ifdef OPENSSL_DIR
32 OPENSSL_LINKFLAGS += -L$(OPENSSL_DIR)/lib
33 OPENSSL_CPPFLAGS += -I$(OPENSSL_DIR)/include
34 endif
35 OPENSSL_LINKFLAGS += -lssl -lcrypto
36 endif
37
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
38 ifneq (,$(findstring build/libnode.so,$(MAKEFLAGS)))
39 CFLAGS += -shared -fPIC
40 #else
41 # CFLAGS += $(MAKEFLAGS)
42 endif
15594ea @ry Replace WAF with make/autoconf
ry authored
43
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
44 cflags += -pedantic
15594ea @ry Replace WAF with make/autoconf
ry authored
45
46
47 debug_CPPDEFINES = -DDEBUG $(CFLAGS)
48 debug_CFLAGS = -Wall -O0 -ggdb $(CFLAGS)
49 debug_CXXFLAGS = $(debug_CFLAGS)
50 debug_LINKFLAGS = $(LINKFLAGS)
51
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
52 release_CPPDEFINES = -DNODEBUG $(CFLAGS)
53 release_CFLAGS = -Wall -O2 $(CFLAGS)
15594ea @ry Replace WAF with make/autoconf
ry authored
54 release_CXXFLAGS = $(release_CFLAGS)
55 release_LINKFLAGS = $(LINKFLAGS)
56
57 builddir = build
58
59
60 libev_sources = deps/libev/ev.c
61 # Note: -I$(builddir)/deps/libev contains config.h which is generated from
62 # deps/libev/config.h.in during the configure script
63 libev_CPPFLAGS = -Ideps/libev -I$(builddir)/deps/libev
64 libev_release_objects = $(builddir)/release/deps/libev/ev.o
65 libev_debug_objects = $(builddir)/debug/deps/libev/ev.o
66
67 libeio_sources = deps/libeio/eio.c
68 libeio_release_objects = $(builddir)/release/deps/libeio/eio.o
69 libeio_debug_objects = $(builddir)/debug/deps/libeio/eio.o
70 # Note: -I$(builddir)/deps/libeio contains config.h which is generated from
71 # deps/libeio/config.h.in during the configure script
72 libeio_CPPFLAGS = -D_GNU_SOURCE -Ideps/libeio -I$(builddir)/deps/libeio
73
74 http_parser_sources = deps/http_parser/http_parser.c
75 http_parser_release_objects = $(builddir)/release/deps/http_parser/http_parser.o
76 http_parser_debug_objects = $(builddir)/debug/deps/http_parser/http_parser.o
77 http_parser_CPPFLAGS = -Ideps/http_parser
78
79 cares_sources = $(wildcard deps/c-ares/*.c)
80 cares_release_objects = $(addprefix $(builddir)/release/,$(cares_sources:.c=.o))
81 cares_debug_objects = $(addprefix $(builddir)/debug/,$(cares_sources:.c=.o))
82 cares_CPPFLAGS = -DHAVE_CONFIG_H=1 -Ideps/c-ares -Ideps/c-ares/$(platform)-$(arch)
83
84 node_sources = src/node.cc \
85 src/platform_$(platform).cc \
86 src/node_buffer.cc \
87 src/node_cares.cc \
88 src/node_child_process.cc \
89 src/node_constants.cc \
90 src/node_crypto.cc \
91 src/node_events.cc \
92 src/node_extensions.cc \
93 src/node_file.cc \
94 src/node_http_parser.cc \
95 src/node_idle_watcher.cc \
96 src/node_io_watcher.cc \
97 src/node_net.cc \
98 src/node_script.cc \
99 src/node_signal_watcher.cc \
100 src/node_stat_watcher.cc \
101 src/node_stdio.cc \
102 src/node_timer.cc \
103 src/node_javascript.cc \
104
105 node_debug_objects = $(addprefix $(builddir)/debug/,$(node_sources:.cc=.o))
106 node_release_objects = $(addprefix $(builddir)/release/,$(node_sources:.cc=.o))
107
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
108 node_exe_sources = src/node_main.cc
109
110 node_exe_debug_objects = \
111 $(addprefix $(builddir)/debug/,$(node_exe_sources:.cc=.o))
112 node_exe_release_objects = \
113 $(addprefix $(builddir)/release/,$(node_exe_sources:.cc=.o))
114
15594ea @ry Replace WAF with make/autoconf
ry authored
115 # TODO HAVE_FDATASYNC should be set in configure.
116
117 node_CPPFLAGS = -Isrc/ -Ideps/libeio/ -Ideps/libev/ -Ideps/http_parser/ \
118 -Ideps/libev/include/ -Ideps/v8/include -DPLATFORM=\"$(platform)\" \
119 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
9977831 Add HAVE_OPENSSL flag to makefile
Paul Querna authored
120 -DHAVE_OPENSSL=${HAVE_OPENSSL} \
15594ea @ry Replace WAF with make/autoconf
ry authored
121 -DHAVE_FDATASYNC=0 -I$(builddir)/release/src $(cares_CPPFLAGS)
122 node_debug_CPPFLAGS = $(subst release,debug,$(NODE_CPPFLAGS))
123
124 libv8 = $(builddir)/libv8.a
125 libv8_g = $(builddir)/libv8_g.a
126
127
128
129 # Rules
130
a7b4af0 @ry create directories during configure
ry authored
131 all: node
15594ea @ry Replace WAF with make/autoconf
ry authored
132
133 ifdef DEBUG
a7b4af0 @ry create directories during configure
ry authored
134 all: node_g
15594ea @ry Replace WAF with make/autoconf
ry authored
135 endif
136
137
138 node: $(builddir)/node
139 ln -fs $< $@
140
141 node_g: $(builddir)/node_g
142 ln -fs $< $@
143
144
145
146 # libev
147
148 $(builddir)/release/deps/libev/%.o: deps/libev/%.c
149 $(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(libev_CFLAGS) \
150 $(libev_CPPFLAGS) $< -o $@
151
152 $(builddir)/debug/deps/libev/%.o: deps/libev/%.c
153 $(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(libev_CFLAGS) \
154 $(libev_CPPFLAGS) $< -o $@
155
156
157 # libeio
158
159 $(builddir)/release/deps/libeio/%.o: deps/libeio/%.c
160 $(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(libeio_CFLAGS) \
161 $(libeio_CPPFLAGS) $< -o $@
162
163 $(builddir)/debug/deps/libeio/%.o: deps/libeio/%.c
164 $(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(libeio_CFLAGS) \
165 $(libeio_CPPFLAGS) $< -o $@
166
167
168 # http-parser
169
170 $(builddir)/release/deps/http_parser/%.o: deps/http_parser/%.c
171 $(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(http_parser_CFLAGS) \
172 $(http_parser_CPPFLAGS) $< -o $@
173
174 $(builddir)/debug/deps/http_parser/%.o: deps/http_parser/%.c
175 $(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(http_parser_CFLAGS) \
176 $(http_parser_CPPFLAGS) $< -o $@
177
178
179 # c-ares
180
181 $(builddir)/release/deps/c-ares/%.o: deps/c-ares/%.c
182 $(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(cares_CFLAGS) \
183 $(cares_CPPFLAGS) $< -o $@
184
185 $(builddir)/debug/deps/c-ares/%.o: deps/c-ares/%.c
186 $(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(cares_CFLAGS) \
187 $(cares_CPPFLAGS) $< -o $@
188
189
190 # node
191
192 $(builddir)/release/src/%.o: src/%.cc
193 $(CXX) -c $(release_CXXFLAGS) $(release_CPPFLAGS) $(node_CXXFLAGS) \
194 $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
195
196 $(builddir)/debug/src/%.o: src/%.cc
197 $(CXX) -c $(debug_CXXFLAGS) $(debug_CPPFLAGS) $(node_CXXFLAGS) \
198 $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
199
200
201 # node.o
202
203 $(builddir)/release/src/node.o: src/node.cc $(builddir)/release/src/node_natives.h
204 $(CXX) -c $(release_CXXFLAGS) $(release_CPPFLAGS) $(node_CFLAGS) \
205 $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
206
207 $(builddir)/debug/src/node.o: src/node.cc $(builddir)/debug/src/node_natives.h
208 $(CXX) -c $(debug_CXXFLAGS) $(debug_CPPFLAGS) $(node_CFLAGS) \
209 $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
210
211
9977831 Add HAVE_OPENSSL flag to makefile
Paul Querna authored
212 # node_javascript.o
213
214 $(builddir)/release/src/node_javascript.o: src/node_javascript.cc $(builddir)/release/src/node_natives.h
215 $(CXX) -c $(release_CXXFLAGS) $(release_CPPFLAGS) $(node_CFLAGS) \
216 $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
217
218 $(builddir)/debug/src/node_javascript.o: src/node_javascript.cc $(builddir)/debug/src/node_natives.h
219 $(CXX) -c $(debug_CXXFLAGS) $(debug_CPPFLAGS) $(node_CFLAGS) \
220 $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
221
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
222 # -----------------------------------------------------------------------------
223 # end products
9977831 Add HAVE_OPENSSL flag to makefile
Paul Querna authored
224
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
225 endproduct_release_objects = $(node_release_objects) \
226 $(libev_release_objects) $(libeio_release_objects) \
227 $(http_parser_release_objects) $(cares_release_objects) $(libv8)
228
229 endproduct_debug_objects = $(node_debug_objects) \
230 $(libev_debug_objects) $(libeio_debug_objects) \
231 $(http_parser_debug_objects) $(cares_debug_objects) $(libv8_g)
15594ea @ry Replace WAF with make/autoconf
ry authored
232
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
233 endproduct_release_linkflags = $(release_LINKFLAGS) $(node_LINKFLAGS) \
234 $(OPENSSL_LINKFLAGS)
15594ea @ry Replace WAF with make/autoconf
ry authored
235
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
236 endproduct_debug_linkflags = $(debug_LINKFLAGS) $(node_LINKFLAGS) \
237 $(OPENSSL_LINKFLAGS)
15594ea @ry Replace WAF with make/autoconf
ry authored
238
239
240
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
241 # node executable
242 $(builddir)/node: $(node_exe_release_objects) $(endproduct_release_objects)
243 $(CXX) -o $@ $^ $(endproduct_release_linkflags)
244
245 $(builddir)/node_g: $(node_exe_debug_objects) $(endproduct_debug_objects)
246 $(CXX) -o $@ $^ $(endproduct_debug_linkflags)
247
248 # node static library
249 $(builddir)/libnode.a: $(endproduct_release_objects)
250 ar -rcs $@ $^
251
252 $(builddir)/libnode_g.a: $(endproduct_debug_objects)
253 ar -rcs $@ $^
254
255 # node dynamic library
256 # WIP -- currently disabled
257 #$(builddir)/libnode.$(dylib_suffix): CFLAGS += -shared -fPIC
258 #$(builddir)/libnode.$(dylib_suffix): $(endproduct_release_objects)
259 # $(CXX) -o $@ $^ $(endproduct_release_linkflags)
260 #
261 #$(builddir)/libnode_g.$(dylib_suffix): CFLAGS += -shared -fPIC
262 #$(builddir)/libnode_g.$(dylib_suffix): $(endproduct_debug_objects)
263 # $(CXX) -o $@ $^ $(endproduct_debug_linkflags)
264
265 # built-in javascript (the "node standard library")
15594ea @ry Replace WAF with make/autoconf
ry authored
266 $(builddir)/release/src/node_natives.h: src/node.js lib/*.js
267 python tools/js2c.py $^ > $@
268
269 $(builddir)/debug/src/node_natives.h: src/node.js lib/*.js
270 python tools/js2c.py $^ > $@
271 # TODO a debug flag for the macros ?
272
273
274
275 $(builddir)/release/src/node_config.h: src/node_config.h.in
276 sed -e "s#@PREFIX@#$(PREFIX)#" \
277 -e "s#@CCFLAGS@#$(release_CFLAGS)#" \
278 -e "s#@CPPFLAGS@#$(release_CPPFLAGS)#" $< > $@ || rm $@
279
280 $(builddir)/debug/src/node_config.h: src/node_config.h.in
281 sed -e "s#@PREFIX@#$(PREFIX)#" \
282 -e "s#@CCFLAGS@#$(debug_CFLAGS)#" \
283 -e "s#@CPPFLAGS@#$(debug_CPPFLAGS)#" $< > $@ || rm $@
284
285
286 # FIXME convert to a generalized *.in preprocessor
287 $(builddir)/release/lib/pkgconfig/nodejs.pc: tools/nodejs.pc.in
288 sed \
289 -e "s#@PREFIX@#$(PREFIX)#" \
290 -e "s#@VERSION@#$(VERSION)#" \
291 -e "s#@CCFLAGS@#$(CFLAGS)#" \
292 -e "s#@CPPFLAGS@#$(CPPFLAGS)#" $< > $@ || rm $@
293
294 # v8 does its own debug and release version, so we don't put it in the
295 # profile_builddir but rather just the builddir.
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
296 libv8_flags = --directory="$(builddir)" --srcdir="`pwd`/deps/v8" \
297 visibility=default arch=$(arch) library=static
298 # TODO: if env[SNAPSHOT_V8]; then
299 libv8_flags += snapshot=on
300 #fi
15594ea @ry Replace WAF with make/autoconf
ry authored
301 $(libv8):
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
302 $(SCONS) $(libv8_flags) mode=release
15594ea @ry Replace WAF with make/autoconf
ry authored
303
304 $(libv8_g):
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
305 $(SCONS) $(libv8_flags) mode=debug
15594ea @ry Replace WAF with make/autoconf
ry authored
306
307
308 # header deps
309 $(builddir)/release/src/node.o: $(builddir)/release/src/node_config.h
310 $(builddir)/debug/src/node.o: $(builddir)/debug/src/node_config.h
311
312
446d2ec @isaacs Add make install
isaacs authored
313 # TODO install libs
314 install: all doc
315 $(INSTALL) -d -m 755 '$(PREFIX)/bin'
316 $(INSTALL) $(builddir)/node '$(PREFIX)/bin'
317 $(INSTALL) -d -m 755 '$(PREFIX)/share/man/man1/'
318 $(INSTALL) -d -m 755 '$(PREFIX)/lib/node/wafadmin/Tools'
319 $(INSTALL) tools/wafadmin/*.py '$(PREFIX)/lib/node/wafadmin'
320 $(INSTALL) tools/wafadmin/Tools/*.py '$(PREFIX)/lib/node/wafadmin/Tools'
321 $(INSTALL) doc/node.1 '$(PREFIX)/share/man/man1/'
322
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
323 libnode-static: $(builddir)/libnode.a
324 ln -fs $< $@
325
326 libnode-static-debug: $(builddir)/libnode_g.a
327 ln -fs $< $@
328
329 libnode-dynamic: $(builddir)/libnode.$(dylib_suffix)
330 ln -fs $< $@
331
332 libnode-dynamic-debug: $(builddir)/libnode_g.$(dylib_suffix)
333 ln -fs $< $@
334
446d2ec @isaacs Add make install
isaacs authored
335
15594ea @ry Replace WAF with make/autoconf
ry authored
336
337 test: $(builddir)/node
125b868 @ry Add message tests
ry authored
338 python tools/test.py --mode=release simple message
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
339
15594ea @ry Replace WAF with make/autoconf
ry authored
340 test-all: $(builddir)/node $(builddir)/node_g
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
341 python tools/test.py --mode=debug,release
342
15594ea @ry Replace WAF with make/autoconf
ry authored
343 test-release: $(builddir)/node
6670154 @ry 'make test' only runs the simple test
ry authored
344 python tools/test.py --mode=release
345
15594ea @ry Replace WAF with make/autoconf
ry authored
346 test-debug: $(builddir)/node_g
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
347 python tools/test.py --mode=debug
348
15594ea @ry Replace WAF with make/autoconf
ry authored
349 test-message: $(builddir)/node
125b868 @ry Add message tests
ry authored
350 python tools/test.py message
351
15594ea @ry Replace WAF with make/autoconf
ry authored
352 test-simple: $(builddir)/node
04fac19 @arlolra Split tests.
arlolra authored
353 python tools/test.py simple
354
15594ea @ry Replace WAF with make/autoconf
ry authored
355 test-pummel: $(builddir)/node
04fac19 @arlolra Split tests.
arlolra authored
356 python tools/test.py pummel
357
15594ea @ry Replace WAF with make/autoconf
ry authored
358 test-internet: $(builddir)/node
04fac19 @arlolra Split tests.
arlolra authored
359 python tools/test.py internet
360
2392775 @ry Fix make doc
ry authored
361
362 doc: $(builddir)/doc/api/all.html $(builddir)/doc/changelog.html
363
364 docopen: $(builddir)/doc/api/all.html
365 -google-chrome $(builddir)/doc/api/all.html
366
367 $(builddir)/doc/api/all.html: $(builddir)/node doc/api/*.markdown
368 $(builddir)/node tools/doctool/doctool.js
369
370 $(builddir)/doc/changelog.html: ChangeLog doc/changelog_header.html \
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
371 doc/changelog_footer.html
2392775 @ry Fix make doc
ry authored
372 cat doc/changelog_header.html ChangeLog doc/changelog_footer.html > $(builddir)/doc/changelog.html
1db824a @ry Add changelog to website
ry authored
373
2392775 @ry Fix make doc
ry authored
374 $(buildir)/doc/node.1: $(builddir)/node doc/api.markdown all
375 $(builddir)/node tools/ronnjs/bin/ronn.js --roff doc/api.markdown > $(builddir)/doc/node.1
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
376
377 website-upload: doc
4fcbc1b @ry Update make website-upload
ry authored
378 scp doc/* ryan@nodejs.org:~/web/nodejs.org/
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
379
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
380 docclean:
2392775 @ry Fix make doc
ry authored
381 -rm -rf $(builddir)/doc
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
382
d67fdcc @ry clean should not docclean
ry authored
383 clean:
15594ea @ry Replace WAF with make/autoconf
ry authored
384 -rm -f node node_g $(builddir)/node $(builddir)/node_g
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
385 -find $(builddir) -name "*.o" -or -name "*.a" \
386 -or -name "*.so" -or -name "*.dylib" | xargs rm -f
15594ea @ry Replace WAF with make/autoconf
ry authored
387 -find . -name "*.pyc" | xargs rm -f
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
388
ff64094 @ry Make 'make distclean' work on solaris
ry authored
389 distclean: docclean
15594ea @ry Replace WAF with make/autoconf
ry authored
390 -find tools -name "*.pyc" | xargs rm -f
391 -rm -rf build/ node node_g
5cf4cef @ry add configure
ry authored
392 -rm -rf configure.real config.mak.autogen config.log autom4te.cache config.status
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
393
394
217b60a @ry sed -i 's/git-/git /g' Makefile
ry authored
395 VERSION=$(shell git describe)
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
396 TARNAME=node-$(VERSION)
397
398 dist: doc/node.1 doc/api.html
ce2d5ad @ry Change the 'make dist' to remove v8 test dir
ry authored
399 git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
400 mkdir -p $(TARNAME)/doc
401 cp doc/node.1 $(TARNAME)/doc/node.1
402 cp doc/api.html $(TARNAME)/doc/api.html
ce2d5ad @ry Change the 'make dist' to remove v8 test dir
ry authored
403 rm -rf $(TARNAME)/deps/v8/test # too big
404 tar -cf $(TARNAME).tar $(TARNAME)
405 rm -rf $(TARNAME)
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
406 gzip -f -9 $(TARNAME).tar
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
407
ff456b3 @ry Add 'make bench' script
ry authored
408 bench:
409 benchmark/http_simple_bench.sh
410
3cf4827 @ry Add idle connection test
ry authored
411 bench-idle:
412 ./node benchmark/idle_server.js &
413 sleep 1
414 ./node benchmark/idle_clients.js &
415
416
899fffa @rsms Build system improvements: (cross compilation, libnode, etc)
rsms authored
417 .PHONY: all \
418 test test-all \
419 bench \
420 install uninstall \
421 dist distclean \
422 website-upload \
2392775 @ry Fix make doc
ry authored
423 clean docclean docopen
424
Something went wrong with that request. Please try again.