Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 217 lines (164 sloc) 6.075 kb
e493b295 » bnoordhuis
2012-01-17 build: respect --debug configure switch
1 -include config.mk
2
14b04b06 » ry
2011-11-14 Remove SCONS deprecate WAF
3 BUILDTYPE ?= Release
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
4 PYTHON ?= python
90ab0794 » ry
2009-12-06 Use --jobs=1 with WAF
5
f89beaf3 » bnoordhuis
2012-01-26 build: compile release build too if BUILDTYPE=Debug
6 # BUILDTYPE=Debug builds both release and debug builds. If you want to compile
7 # just the debug build, run `make -C out BUILDTYPE=Debug` instead.
10d92b3d » ry
2011-12-17 saner targets
8 ifeq ($(BUILDTYPE),Release)
9 all: out/Makefile node
10 else
f89beaf3 » bnoordhuis
2012-01-26 build: compile release build too if BUILDTYPE=Debug
11 all: out/Makefile node node_g
10d92b3d » ry
2011-12-17 saner targets
12 endif
13
bb8f7341 » ry
2011-12-18 Fix make targets so they detect changes
14 # The .PHONY is needed to ensure that we recursively use the out/Makefile
15 # to check for changes.
16 .PHONY: node node_g
10d92b3d » ry
2011-12-17 saner targets
17
21dd53f9 » ry
2012-01-16 Makefile: Don't force user to run ./configure first
18 node: config.gypi
10d92b3d » ry
2011-12-17 saner targets
19 $(MAKE) -C out BUILDTYPE=Release
bb8f7341 » ry
2011-12-18 Fix make targets so they detect changes
20 ln -fs out/Release/node node
10d92b3d » ry
2011-12-17 saner targets
21
21dd53f9 » ry
2012-01-16 Makefile: Don't force user to run ./configure first
22 node_g: config.gypi
bb8f7341 » ry
2011-12-18 Fix make targets so they detect changes
23 $(MAKE) -C out BUILDTYPE=Debug
24 ln -fs out/Debug/node node_g
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
25
21dd53f9 » ry
2012-01-16 Makefile: Don't force user to run ./configure first
26 config.gypi: configure
27 ./configure
28
10d92b3d » ry
2011-12-17 saner targets
29 out/Debug/node:
30 $(MAKE) -C out BUILDTYPE=Debug
e5a0fbe5 » rsms
2010-10-24 Added support for cross compilation and also fixed DEST_CPU to repres…
31
624f70e8 » ry
2011-12-23 GYP: rename options.gypi to config.gypi
32 out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/zlib/zlib.gyp deps/v8/build/common.gypi deps/v8/tools/gyp/v8.gyp node.gyp config.gypi
eda15387 » eddy_me08@yahoo.com
2011-11-29 build: regenerate out/Makefile from within the main Makefile
33 tools/gyp_node -f make
e5a0fbe5 » rsms
2010-10-24 Added support for cross compilation and also fixed DEST_CPU to repres…
34
be23c51f » indutny
2011-12-14 Implement make install
35 install: all
624f70e8 » ry
2011-12-23 GYP: rename options.gypi to config.gypi
36 out/Release/node tools/installer.js ./config.gypi install
be23c51f » indutny
2011-12-14 Implement make install
37
38 uninstall:
624f70e8 » ry
2011-12-23 GYP: rename options.gypi to config.gypi
39 out/Release/node tools/installer.js ./config.gypi uninstall
1db9a2ad » bnoordhuis
2011-11-23 build: print "not yet implemented" warning on `make install`
40
14b04b06 » ry
2011-11-14 Remove SCONS deprecate WAF
41 clean:
02c1cb54 » isaacs
2012-02-08 Makefile: Don't use ** in globs
42 -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node
43 -find out/ -name '*.o' -o -name '*.a' | xargs rm -rf
bf0d278a » ry
2009-10-03 Improve "make dist" remove generated doc from repo.
44
14b04b06 » ry
2011-11-14 Remove SCONS deprecate WAF
45 distclean:
48d21dd5 » ry
2011-11-17 Force makefile generation in gyp
46 -rm -rf out
07872870 » TooTallNate
2012-02-17 build: remove 'config.mk' during `make distclean`
47 -rm -f config.gypi
48 -rm -f config.mk
15594eaf » ry
2010-10-04 Replace WAF with make/autoconf
49
97c97450 » ry
2010-11-01 Back to WAF
50 test: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
51 $(PYTHON) tools/test.py --mode=release simple message
bae4018b » isaacs
2012-02-21 Run jslint after tests, not before
52 PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
bf0d278a » ry
2009-10-03 Improve "make dist" remove generated doc from repo.
53
38f948a3 » bnoordhuis
2011-08-02 http: make http2 the default, legacy backend is available with --use-…
54 test-http1: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
55 $(PYTHON) tools/test.py --mode=release --use-http1 simple message
e1bb241b » bnoordhuis
2011-08-01 test: add targets `test-http2` and `test-all-http2`
56
d02131d2 » ry
2010-12-22 Add 'make test-valgrind'
57 test-valgrind: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
58 $(PYTHON) tools/test.py --mode=release --valgrind simple message
d02131d2 » ry
2010-12-22 Add 'make test-valgrind'
59
97c97450 » ry
2010-11-01 Back to WAF
60 test-all: all
861f28f3 » ry
2009-10-03 Don't unnecessarily output the makefile from the configure script.
61 python tools/test.py --mode=debug,release
f7f8af84 » ry
2011-12-21 Merge remote branch 'origin/v0.6'
62 $(MAKE) test-npm
861f28f3 » ry
2009-10-03 Don't unnecessarily output the makefile from the configure script.
63
38f948a3 » bnoordhuis
2011-08-02 http: make http2 the default, legacy backend is available with --use-…
64 test-all-http1: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
65 $(PYTHON) tools/test.py --mode=debug,release --use-http1
e1bb241b » bnoordhuis
2011-08-01 test: add targets `test-http2` and `test-all-http2`
66
d02131d2 » ry
2010-12-22 Add 'make test-valgrind'
67 test-all-valgrind: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
68 $(PYTHON) tools/test.py --mode=debug,release --valgrind
d02131d2 » ry
2010-12-22 Add 'make test-valgrind'
69
97c97450 » ry
2010-11-01 Back to WAF
70 test-release: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
71 $(PYTHON) tools/test.py --mode=release
66701548 » ry
2010-03-02 'make test' only runs the simple test
72
97c97450 » ry
2010-11-01 Back to WAF
73 test-debug: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
74 $(PYTHON) tools/test.py --mode=debug
861f28f3 » ry
2009-10-03 Don't unnecessarily output the makefile from the configure script.
75
97c97450 » ry
2010-11-01 Back to WAF
76 test-message: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
77 $(PYTHON) tools/test.py message
125b868e » ry
2010-06-18 Add message tests
78
97c97450 » ry
2010-11-01 Back to WAF
79 test-simple: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
80 $(PYTHON) tools/test.py simple
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
81
97c97450 » ry
2010-11-01 Back to WAF
82 test-pummel: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
83 $(PYTHON) tools/test.py pummel
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
84
97c97450 » ry
2010-11-01 Back to WAF
85 test-internet: all
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
86 $(PYTHON) tools/test.py internet
04fac198 » arlolra
2010-02-25 Split tests.
87
f7f8af84 » ry
2011-12-21 Merge remote branch 'origin/v0.6'
88 test-npm: node
d75de86e » isaacs
2011-12-16 add 'make test-npm'
89 ./node deps/npm/test/run.js
90
f7f8af84 » ry
2011-12-21 Merge remote branch 'origin/v0.6'
91 test-npm-publish: node
d75de86e » isaacs
2011-12-16 add 'make test-npm'
92 npm_package_config_publishtest=true ./node deps/npm/test/run.js
15286c83 » ry
2011-07-08 Start 'make test-uv' command
93
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
94 apidoc_sources = $(wildcard doc/api/*.markdown)
7d6d5e26 » isaacs
2012-02-27 Use new doc generation tool
95 apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) \
96 $(addprefix out/,$(apidoc_sources:.markdown=.json))
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
97
a7af84f9 » isaacs
2012-02-13 docs: Move images out of the dist tarball
98 apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/logos out/doc/images
23927751 » ry
2010-10-28 Fix make doc
99
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
100 apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
320e0020 » ry
2010-11-13 fix 'make doc'
101
a7af84f9 » isaacs
2012-02-13 docs: Move images out of the dist tarball
102 doc_images = $(addprefix out/,$(wildcard doc/images/* doc/*.jpg doc/*.png))
103
90d1e473 » ry
2010-11-15 make doc improvements
104 website_files = \
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
105 out/doc/index.html \
106 out/doc/v0.4_announcement.html \
107 out/doc/cla.html \
108 out/doc/sh_main.js \
109 out/doc/sh_javascript.min.js \
110 out/doc/sh_vim-dark.css \
5c0d11b1 » isaacs
2012-01-23 doc: Add images to makefile
111 out/doc/sh.css \
ae17e2d9 » ry
2011-12-14 Fix doc generation for new website
112 out/doc/favicon.ico \
113 out/doc/pipe.css \
114 out/doc/about/index.html \
115 out/doc/community/index.html \
5c0d11b1 » isaacs
2012-01-23 doc: Add images to makefile
116 out/doc/logos/index.html \
a7af84f9 » isaacs
2012-02-13 docs: Move images out of the dist tarball
117 $(doc_images)
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
118
7d6d5e26 » isaacs
2012-02-27 Use new doc generation tool
119 doc: node $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/
320e0020 » ry
2010-11-13 fix 'make doc'
120
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
121 $(apidoc_dirs):
122 mkdir -p $@
23927751 » ry
2010-10-28 Fix make doc
123
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
124 out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
125 cp $< $@
126
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
127 out/doc/%: doc/%
a7af84f9 » isaacs
2012-02-13 docs: Move images out of the dist tarball
128 cp -r $< $@
90d1e473 » ry
2010-11-15 make doc improvements
129
7d6d5e26 » isaacs
2012-02-27 Use new doc generation tool
130 out/doc/api/%.json: doc/api/%.markdown
131 out/Release/node tools/doc/generate.js --format=json $< > $@
132
133 out/doc/api/%.html: doc/api/%.markdown
134 out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
135
861f28f3 » ry
2009-10-03 Don't unnecessarily output the makefile from the configure script.
136 website-upload: doc
ee731326 » ry
2011-12-15 use rsync instead of scp to upload website
137 rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/
ade8cf96 » miksago
2010-11-15 Build API page into build/doc; simplify doctool.
138
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
139 docopen: out/doc/api/all.html
140 -google-chrome out/doc/api/all.html
861f28f3 » ry
2009-10-03 Don't unnecessarily output the makefile from the configure script.
141
2c016bad » ry
2009-12-30 'make distclean' should not call 'waf clean'
142 docclean:
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
143 -rm -rf out/doc
2c016bad » ry
2009-12-30 'make distclean' should not call 'waf clean'
144
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
145 VERSION=v$(shell $(PYTHON) tools/getnodeversion.py)
bf0d278a » ry
2009-10-03 Improve "make dist" remove generated doc from repo.
146 TARNAME=node-$(VERSION)
317ba9fb » ry
2012-01-16 Fix 'make dist'
147 TARBALL=$(TARNAME).tar.gz
148 PKG=out/$(TARNAME).pkg
149 packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
bf0d278a » ry
2009-10-03 Improve "make dist" remove generated doc from repo.
150
317ba9fb » ry
2012-01-16 Fix 'make dist'
151 dist: doc $(TARBALL) $(PKG)
5bc1809b » ry
2011-11-11 Add 'make dist-upload'
152
9d1bdbcf » ry
2011-11-20 Fixes #2084. Makeify tools/osx-dist.sh
153 PKGDIR=out/dist-osx
154
155 pkg: $(PKG)
156
5bc1809b » ry
2011-11-11 Add 'make dist-upload'
157 $(PKG):
e60b18bb » TooTallNate
2012-02-22 Make a fat binary for the OS X `make pkg`.
158 rm -rf $(PKGDIR)
159 rm -rf out/deps out/Release
160 ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32
317ba9fb » ry
2012-01-16 Fix 'make dist'
161 $(MAKE) install
e60b18bb » TooTallNate
2012-02-22 Make a fat binary for the OS X `make pkg`.
162 rm -rf out/deps out/Release
163 ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64
164 $(MAKE) install
165 lipo $(PKGDIR)/32/usr/local/bin/node \
166 $(PKGDIR)/usr/local/bin/node \
167 -output $(PKGDIR)/usr/local/bin/node-universal \
168 -create
169 mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
170 rm -rf $(PKGDIR)/32
9d1bdbcf » ry
2011-11-20 Fixes #2084. Makeify tools/osx-dist.sh
171 $(packagemaker) \
172 --id "org.nodejs.NodeJS-$(VERSION)" \
173 --doc tools/osx-pkg.pmdoc \
174 --out $(PKG)
5bc1809b » ry
2011-11-11 Add 'make dist-upload'
175
317ba9fb » ry
2012-01-16 Fix 'make dist'
176 $(TARBALL): node out/doc
349cab0b » isaacs
2012-02-07 Check the version before building tarball
177 @if [ $(shell ./node --version) = "$(VERSION)" ]; then \
178 exit 0; \
179 else \
180 echo "" >&2 ; \
181 echo "$(shell ./node --version) doesn't match $(VERSION)." >&2 ; \
182 echo "Did you remember to update src/node_version.cc?" >&2 ; \
183 echo "" >&2 ; \
184 exit 1 ; \
185 fi
a1138c6f » miksago
2010-12-02 Cleanup Makefile for JSLint, CPPLint
186 git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
bf0d278a » ry
2009-10-03 Improve "make dist" remove generated doc from repo.
187 mkdir -p $(TARNAME)/doc
188 cp doc/node.1 $(TARNAME)/doc/node.1
a7300c82 » ry
2011-08-23 WAF builds in out/ instead of build/
189 cp -r out/doc/api $(TARNAME)/doc/api
ce2d5ad0 » ry
2010-05-13 Change the 'make dist' to remove v8 test dir
190 rm -rf $(TARNAME)/deps/v8/test # too big
a7af84f9 » isaacs
2012-02-13 docs: Move images out of the dist tarball
191 rm -rf $(TARNAME)/doc/images # too big
ce2d5ad0 » ry
2010-05-13 Change the 'make dist' to remove v8 test dir
192 tar -cf $(TARNAME).tar $(TARNAME)
193 rm -rf $(TARNAME)
bf0d278a » ry
2009-10-03 Improve "make dist" remove generated doc from repo.
194 gzip -f -9 $(TARNAME).tar
861f28f3 » ry
2009-10-03 Don't unnecessarily output the makefile from the configure script.
195
716f5bc6 » ry
2012-01-16 Add make dist-upload
196 dist-upload: $(TARBALL) $(PKG)
197 ssh node@nodejs.org mkdir -p web/nodejs.org/dist/$(VERSION)
198 scp $(TARBALL) node@nodejs.org:~/web/nodejs.org/dist/$(VERSION)/$(TARBALL)
199 scp $(PKG) node@nodejs.org:~/web/nodejs.org/dist/$(VERSION)/$(TARNAME).pkg
200
ff456b38 » ry
2010-10-13 Add 'make bench' script
201 bench:
202 benchmark/http_simple_bench.sh
203
3cf4827a » ry
2010-10-15 Add idle connection test
204 bench-idle:
205 ./node benchmark/idle_server.js &
206 sleep 1
207 ./node benchmark/idle_clients.js &
208
ac58d3a6 » ry
2010-12-01 Import cpplint.py
209 jslint:
b073989e » Maciej Małecki
2012-01-10 makefile: ignore `lib/punycode.js` while linting
210 PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/ --exclude_files lib/punycode.js
3cf4827a » ry
2010-10-15 Add idle connection test
211
ac58d3a6 » ry
2010-12-01 Import cpplint.py
212 cpplint:
472a72d2 » bnoordhuis
2012-01-08 build: honour the PYTHON environment variable
213 @$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)
ac58d3a6 » ry
2010-12-01 Import cpplint.py
214
215 lint: jslint cpplint
a1284510 » ry
2010-12-01 Import Google's closure_linter
216
317ba9fb » ry
2012-01-16 Fix 'make dist'
217 .PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean check uninstall install install-includes install-bin all program staticlib dynamiclib test test-all website-upload pkg
Something went wrong with that request. Please try again.