Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 93 lines (71 sloc) 2.707 kb
3f7f460 Viral B. Shah Makefile cleanup. Add perl to build requirements in README.md.
ViralBShah authored
1 JULIAHOME = $(abspath ..)
2 include $(JULIAHOME)/Make.inc
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
3
89bb894 Jameson Nash additional cleanup to pass only command line CFLAGS, etc to external mak...
vtjnash authored
4 override CFLAGS += $(JCFLAGS)
5 override CXXFLAGS += $(JCXXFLAGS)
6
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
7 SRCS = \
8 jltypes gf ast builtins module codegen interpreter \
9 alloc dlload sys init task array dump
10 FLAGS = \
11 -Wall -Wno-strict-aliasing -fno-omit-frame-pointer \
12 -Iflisp -Isupport -fvisibility=hidden -fno-common \
0caf832 Prepare to build on debian using debian dependencies.
Viral B. Shah authored
13 -I$(shell $(LLVM_CONFIG) --includedir) \
5fa6044 Jeff Bezanson makefile fix so llvm dir can be different from external/root
JeffBezanson authored
14 -I$(EXTROOT)/include
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
15
16 OBJS = $(SRCS:%=%.o)
17 DOBJS = $(SRCS:%=%.do)
38352a3 Viral B. Shah Use SHIPFLAGS and DEBUGFLAGS from Make.inc everywhere.
ViralBShah authored
18 DEBUGFLAGS += $(FLAGS)
7956c7c Viral B. Shah Rename llt to support everywhere.
ViralBShah authored
19 SHIPFLAGS += $(FLAGS)
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
20
a5a4901 Viral B. Shah Load multi.j and darray.j also.
ViralBShah authored
21 ifeq ($(JULIAGC),MARKSWEEP)
22 SRCS += gc
23 endif
24
25 ifeq ($(USE_COPY_STACKS),1)
89bb894 Jameson Nash additional cleanup to pass only command line CFLAGS, etc to external mak...
vtjnash authored
26 JCFLAGS += -DCOPY_STACKS
a5a4901 Viral B. Shah Load multi.j and darray.j also.
ViralBShah authored
27 endif
28
8f0b436 Stefan Karpinski Revert "Make external actually rebuild when anything changes."
StefanKarpinski authored
29 default: release
30
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
31 release debug: %: libjulia-%
8351fa0 Stefan Karpinski Make external actually rebuild when anything changes.
StefanKarpinski authored
32
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
33 %.o: %.c julia.h
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
34 $(QUIET_CC) $(CC) $(CFLAGS) $(SHIPFLAGS) -c $< -o $@
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
35 %.do: %.c julia.h
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
36 $(QUIET_CC) $(CC) $(CFLAGS) $(DEBUGFLAGS) -c $< -o $@
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
37 %.o: %.cpp julia.h
0caf832 Prepare to build on debian using debian dependencies.
Viral B. Shah authored
38 $(QUIET_CC) $(CXX) $(CXXFLAGS) $(SHIPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) -c $< -o $@
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
39 %.do: %.cpp julia.h
0caf832 Prepare to build on debian using debian dependencies.
Viral B. Shah authored
40 $(QUIET_CC) $(CXX) $(CXXFLAGS) $(DEBUGFLAGS) $(shell $(LLVM_CONFIG) --cppflags) -c $< -o $@
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
41
819eb5a Jeff Bezanson using stage 1 system image by default
JeffBezanson authored
42 ast.o ast.do: julia_flisp.boot.inc
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
43
44 julia_flisp.boot.inc: julia_flisp.boot flisp/libflisp.a
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
45 $(QUIET_FLISP) flisp/flisp ./bin2hex.scm < $< > $@
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
46
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
47 julia_flisp.boot: julia-parser.scm julia-syntax.scm \
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
48 match.scm utils.scm jlfrontend.scm mk_julia_flisp_boot.scm flisp/libflisp.a
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
49 $(QUIET_FLISP) flisp/flisp ./mk_julia_flisp_boot.scm
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
50
af53b6e Jeff Bezanson fix function help regex to allow names ending in !
JeffBezanson authored
51 codegen.o codegen.do: intrinsics.cpp debuginfo.cpp cgutils.cpp ccall.cpp
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
52 builtins.o builtins.do: table.c
53
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
54 support/libsupport.a: support/*.h support/*.c
55 $(MAKE) -C support
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
56
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
57 flisp/libflisp.a: flisp/*.h flisp/*.c support/libsupport.a
58 $(MAKE) -C flisp
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
59
8dc8b94 Keno Fischer Automatically rebuild Julia when exported symbols change. Fixes #706
Keno authored
60 ../libjulia-debug.$(SHLIB_EXT): julia.expmap $(DOBJS) flisp/libflisp.a support/libsupport.a
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
61 $(QUIET_LINK) $(CXX) $(DEBUGFLAGS) $(DOBJS) -shared -o ../libjulia-debug.$(SHLIB_EXT) $(LIBS)
8dc8b94 Keno Fischer Automatically rebuild Julia when exported symbols change. Fixes #706
Keno authored
62 libjulia-debug.a: julia.expmap $(DOBJS) flisp/libflisp.a support/libsupport.a
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
63 rm -f $@
64 $(QUIET_LINK) ar -rcs $@ $(DOBJS)
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
65 libjulia-debug: libjulia-debug.a ../libjulia-debug.$(SHLIB_EXT)
d209cfa Viral B. Shah Integrate Make.inc.OS into one Make.inc
ViralBShah authored
66
8dc8b94 Keno Fischer Automatically rebuild Julia when exported symbols change. Fixes #706
Keno authored
67 ../libjulia-release.$(SHLIB_EXT): julia.expmap $(OBJS) flisp/libflisp.a support/libsupport.a
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
68 $(QUIET_LINK) $(CXX) $(SHIPFLAGS) $(OBJS) -shared -o ../libjulia-release.$(SHLIB_EXT) $(LIBS)
8dc8b94 Keno Fischer Automatically rebuild Julia when exported symbols change. Fixes #706
Keno authored
69 libjulia-release.a: julia.expmap $(OBJS) flisp/libflisp.a support/libsupport.a
818375e Stefan Karpinski Make our build output absurdly slick.
StefanKarpinski authored
70 rm -f $@
71 $(QUIET_LINK) ar -rcs $@ $(OBJS)
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
72 libjulia-release: libjulia-release.a ../libjulia-release.$(SHLIB_EXT)
d209cfa Viral B. Shah Integrate Make.inc.OS into one Make.inc
ViralBShah authored
73
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
74 clean:
db792db Stefan Karpinski Make src/.gitignore more conservative and clean more aggressive.
StefanKarpinski authored
75 rm -f libjulia*.$(SHLIB_EXT)
48b1c55 Stefan Karpinski clean src/ slightly less aggressively.
StefanKarpinski authored
76 rm -f libjulia*.a
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
77 rm -f ../libjulia*.$(SHLIB_EXT)
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
78 rm -f julia_flisp.boot
79 rm -f julia_flisp.boot.inc
29bfdd8 Stefan Karpinski Fix Makefile dependency issues: src/Makefile makes locally only.
StefanKarpinski authored
80 rm -f *.do
81 rm -f *.o
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
82 rm -f *~ *#
83
bf72521 Stefan Karpinski Various Makefile improvements; make test now uses release build.
StefanKarpinski authored
84 clean-flisp:
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
85 $(MAKE) -C flisp clean
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
86
bf72521 Stefan Karpinski Various Makefile improvements; make test now uses release build.
StefanKarpinski authored
87 clean-support:
9ed6150 Stefan Karpinski Get rid of a lot of pointless indirection in src/Makefile.
StefanKarpinski authored
88 $(MAKE) -C support clean
bf72521 Stefan Karpinski Various Makefile improvements; make test now uses release build.
StefanKarpinski authored
89
90 cleanall: clean clean-flisp clean-support
8f0411a Jeff Bezanson moving core source into src/, cleaning up top-level directory
JeffBezanson authored
91
bf72521 Stefan Karpinski Various Makefile improvements; make test now uses release build.
StefanKarpinski authored
92 .PHONY: debug release clean cleanall clean-*
Something went wrong with that request. Please try again.