Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 97 lines (79 sloc) 3.234 kb
3f7f460 Viral B. Shah Makefile cleanup. Add perl to build requirements in README.md.
ViralBShah authored
1 JULIAHOME = $(abspath .)
577b2f9 Viral B. Shah Fix ui/webserver/Makefile so that julia-release-webserver is not built e...
ViralBShah authored
2 include $(JULIAHOME)/Make.inc
19fce6f Viral B. Shah Install libraries from $JULIA_HOME/ext/root/lib into $JULIA_HOME/lib as ...
ViralBShah authored
3
c956b74 Jameson Nash copy system SuiteSparse locally to be compatible with the way we build i...
vtjnash authored
4 all: default
5f094bd Stefan Karpinski Ditch quick tests.
StefanKarpinski authored
5 default: release
f611387 Viral B. Shah Simplify build environment.
ViralBShah authored
6
af27aa7 Stefan Karpinski Don't require Rmath (doesn't build); get rid of makelinks stuff.
StefanKarpinski authored
7 debug release:
f5bbd1e Stefan Karpinski Don't echo make commands in top-level Makefile.
StefanKarpinski authored
8 @$(MAKE) -s julia-$@
9 @$(MAKE) -s sys.ji
9298e59 Stefan Karpinski Makefile: julia-{debug,release} only depend on src/*.{h,c,cpp,scm}.
StefanKarpinski authored
10
52d1556 Jeff Bezanson adding debug build to ui/Makefile
JeffBezanson authored
11 julia-debug julia-release:
33dd8e1 Stefan Karpinski Rename: external/ => deps/ [closes #726].
StefanKarpinski authored
12 @$(MAKE) -sC deps
203455c Patrick O'Leary make: remove PARALLEL_BUILD_JOBS
pao authored
13 @$(MAKE) -sC src lib$@
14 @$(MAKE) -sC base
15 @$(MAKE) -sC ui $@
cbe3bd7 Viral B. Shah Install julia binaries in $JULIAHOME instead of $JULIAHOME/usr/bin
ViralBShah authored
16 @ln -f $@-$(DEFAULT_REPL) julia
f611387 Viral B. Shah Simplify build environment.
ViralBShah authored
17
d76a658 Stefan Karpinski Rename: jl/ => base/ [closes #591].
StefanKarpinski authored
18 sys0.ji: src/boot.jl src/dump.c base/stage0.jl
77abb7b Jeff Bezanson fixing top-level loading behavior to be consistent with REPL
JeffBezanson authored
19 $(QUIET_JULIA) cd base && ../julia -b stage0.jl
9afc1e1 Stefan Karpinski Don't echo the "rm -f sys.ji" command in Makefile.
StefanKarpinski authored
20 @rm -f sys.ji
f611387 Viral B. Shah Simplify build environment.
ViralBShah authored
21
819eb5a Jeff Bezanson using stage 1 system image by default
JeffBezanson authored
22 # if sys.ji exists, use it to rebuild, otherwise use sys0.ji
d76a658 Stefan Karpinski Rename: jl/ => base/ [closes #591].
StefanKarpinski authored
23 sys.ji: VERSION sys0.ji base/*.jl
77abb7b Jeff Bezanson fixing top-level loading behavior to be consistent with REPL
JeffBezanson authored
24 $(QUIET_JULIA) cd base && ../julia `test -f ../sys.ji && echo stage1.jl || echo -J sys0.ji stage1.jl`
819eb5a Jeff Bezanson using stage 1 system image by default
JeffBezanson authored
25
329cbc0 Viral B. Shah make install now works at toplevel, and installs into DESTDIR.
ViralBShah authored
26 install: release
743b84c Viral B. Shah Fix path of installed libraries in `make dist`.
ViralBShah authored
27 install -d $(DESTDIR)$(PREFIX)/share/julia/usr/lib
f02f0ac Viral B. Shah Install the web stuff in dist as well. Still some issues to iron out.
ViralBShah authored
28 install -d $(DESTDIR)$(PREFIX)/share/julia/usr/sbin
29 install -d $(DESTDIR)$(PREFIX)/share/julia/usr/etc
c36d6e8 Jeff Bezanson jl => base renaming in Makefile
JeffBezanson authored
30 install -d $(DESTDIR)$(PREFIX)/share/julia/base
6a24e50 Exaos Lee Use `$(PREFIX)` instead of `/usr`; Usually, `PREFIX=`.
exaos authored
31 install -d $(DESTDIR)$(PREFIX)/share/julia/contrib
32 install -d $(DESTDIR)$(PREFIX)/share/julia/examples
8574723 Jeff Bezanson install extras
JeffBezanson authored
33 install -d $(DESTDIR)$(PREFIX)/share/julia/extras
f02f0ac Viral B. Shah Install the web stuff in dist as well. Still some issues to iron out.
ViralBShah authored
34 install -d $(DESTDIR)$(PREFIX)/share/julia/ui/webserver
35 install -d $(DESTDIR)$(PREFIX)/share/julia/ui/website/assets
36 install -d $(DESTDIR)$(PREFIX)/share/julia/ui/website/images
37 install -d $(DESTDIR)$(PREFIX)/share/julia/ui/website/images
c84e3e4 Jeff Bezanson make dist update: don't install multiple copies of executable or shared ...
JeffBezanson authored
38 install -v julia-release-basic $(DESTDIR)$(PREFIX)/share/julia
39 install -v julia-release-webserver $(DESTDIR)$(PREFIX)/share/julia
f02f0ac Viral B. Shah Install the web stuff in dist as well. Still some issues to iron out.
ViralBShah authored
40 install -v julia-release-readline $(DESTDIR)$(PREFIX)/share/julia
41 install -v julia $(DESTDIR)$(PREFIX)/share/julia
6a24e50 Exaos Lee Use `$(PREFIX)` instead of `/usr`; Usually, `PREFIX=`.
exaos authored
42 install -v sys.ji $(DESTDIR)$(PREFIX)/share/julia
c36d6e8 Jeff Bezanson jl => base renaming in Makefile
JeffBezanson authored
43 install -v base/* $(DESTDIR)$(PREFIX)/share/julia/base
8574723 Jeff Bezanson install extras
JeffBezanson authored
44 install -v extras/* $(DESTDIR)$(PREFIX)/share/julia/extras
50ede50 Jeff Bezanson the big rename: official source file extension is now .jl
JeffBezanson authored
45 install -v examples/*.jl $(DESTDIR)$(PREFIX)/share/julia/examples
743b84c Viral B. Shah Fix path of installed libraries in `make dist`.
ViralBShah authored
46 install -v $(USRLIB)/*.$(SHLIB_EXT) $(DESTDIR)$(PREFIX)/share/julia/usr/lib
f02f0ac Viral B. Shah Install the web stuff in dist as well. Still some issues to iron out.
ViralBShah authored
47 install -v usr/sbin/* $(DESTDIR)$(PREFIX)/share/julia/usr/sbin
48 install -v launch-julia-webserver $(DESTDIR)$(PREFIX)/share/julia
49 install -v ui/webserver/*.jl $(DESTDIR)$(PREFIX)/share/julia/ui/webserver
50 install -v ui/website/*.{js,htm,css,scgi,ico} $(DESTDIR)$(PREFIX)/share/julia/ui/website
51 install -v ui/website/assets/* $(DESTDIR)$(PREFIX)/share/julia/ui/website/assets
52 install -v ui/website/images/* $(DESTDIR)$(PREFIX)/share/julia/ui/website/images
53 install -v usr/etc/lighttpd.conf $(DESTDIR)$(PREFIX)/share/julia/usr/etc
84e970b Viral B. Shah Create a dist target to build binary distributions.
ViralBShah authored
54
55 dist: release
56 rm -fr dist julia-*.tar.gz
6a24e50 Exaos Lee Use `$(PREFIX)` instead of `/usr`; Usually, `PREFIX=`.
exaos authored
57 $(MAKE) install DESTDIR=dist PREFIX=/usr
7dca4d7 Viral B. Shah Uploading files to github is manual. Include the julia commit version as...
ViralBShah authored
58 cd dist/usr/share && tar zcvf ../../../julia-$(JULIA_COMMIT)-$(OS)-$(ARCH).tar.gz *
329cbc0 Viral B. Shah make install now works at toplevel, and installs into DESTDIR.
ViralBShah authored
59
24dc5e7 Viral B. Shah Makefile rule to build and clean debian packages.
ViralBShah authored
60 deb:
61 fakeroot debian/rules binary
62
63 debclean:
64 fakeroot debian/rules clean
65
cf6f13f Stefan Karpinski Run "make h2j && ./h2j" to see all of julia.h's function signatures.
StefanKarpinski authored
66 h2j: lib/libLLVM*.a lib/libclang*.a src/h2j.cpp
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
67 $(QUIET_CC) g++ -O2 -fno-rtti -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Iinclude $^ -o $@
cf6f13f Stefan Karpinski Run "make h2j && ./h2j" to see all of julia.h's function signatures.
StefanKarpinski authored
68
1c273f2 Viral B. Shah Add Makefiles for j/ and test/
ViralBShah authored
69 clean:
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
70 @rm -f julia
71 @rm -f *~ *#
819eb5a Jeff Bezanson using stage 1 system image by default
JeffBezanson authored
72 @rm -f sys0.ji
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
73 @rm -f sys.ji
c36d6e8 Jeff Bezanson jl => base renaming in Makefile
JeffBezanson authored
74 @$(MAKE) -sC base clean
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
75 @$(MAKE) -sC src clean
76 @$(MAKE) -sC ui clean
77 @$(MAKE) -sC ui/webserver clean
78 @$(MAKE) -sC test/unicode clean
95a480c Stefan Karpinski Generate pcre_h.j file of PCRE constants.
StefanKarpinski authored
79
1c273f2 Viral B. Shah Add Makefiles for j/ and test/
ViralBShah authored
80 cleanall: clean
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
81 @$(MAKE) -sC src clean-flisp clean-support
95a480c Stefan Karpinski Generate pcre_h.j file of PCRE constants.
StefanKarpinski authored
82
1c273f2 Viral B. Shah Add Makefiles for j/ and test/
ViralBShah authored
83 distclean: cleanall
2065166 Viral B. Shah Remove dist when doing distclean
ViralBShah authored
84 rm -fr dist
c806c20 Viral B. Shah install does not exist any more.
ViralBShah authored
85
1c273f2 Viral B. Shah Add Makefiles for j/ and test/
ViralBShah authored
86 .PHONY: default debug release julia-debug julia-release \
af27aa7 Stefan Karpinski Don't require Rmath (doesn't build); get rid of makelinks stuff.
StefanKarpinski authored
87 test testall test-* sloccount clean cleanall
9f80094 Stefan Karpinski Add make target "testall" that runs tests.j and test_utf8.j.
StefanKarpinski authored
88
767e05e Stefan Karpinski Makefile: need to ensure that sys.ji gets built.
StefanKarpinski authored
89 test: release
5f094bd Stefan Karpinski Ditch quick tests.
StefanKarpinski authored
90 @$(MAKE) -sC test default
ba4768a Stefan Karpinski Some renaming in test/; test hashing as part of testall.
StefanKarpinski authored
91
767e05e Stefan Karpinski Makefile: need to ensure that sys.ji gets built.
StefanKarpinski authored
92 testall: release
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
93 @$(MAKE) -sC test all
ba4768a Stefan Karpinski Some renaming in test/; test hashing as part of testall.
StefanKarpinski authored
94
767e05e Stefan Karpinski Makefile: need to ensure that sys.ji gets built.
StefanKarpinski authored
95 test-%: release
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
96 @$(MAKE) -sC test $*
Something went wrong with that request. Please try again.