Skip to content
This repository
Newer
Older
100644 108 lines (77 sloc) 1.795 kb
21abc5ba »
2002-02-11 Initial revision
1 ###-*-makefile-*- ; force emacs to enter makefile-mode
2
3a3459ca »
2003-05-04 ""
3
4 PREFIX = @prefix@
28972a3c »
2006-05-30 run_erl to_erl support patch from Mats Cronquist
5 prefix = ${PREFIX}
c9778e01 »
2006-04-27 added support for 2 additional configure
6 ETCDIR = @sysconfdir@
7 VARDIR = @localstatedir@
8
6c7d7a4d »
2008-12-17 configure/latex support and also slightly nicer listdir output by Han…
9 DVILATEX = @DVILATEX@
10 PDFLATEX = @PDFLATEX@
11 DVIPS = @DVIPS@
12 EPSTOPDF = @EPSTOPDF@
13
14 COND_DVILATEX = @COND_DVILATEX@
15 COND_PDFLATEX = @COND_PDFLATEX@
16
da61d09a »
2008-05-15 cygwin install patch by Bill Robertsson
17 ERL="@ERL@"
18 WERL="@WERL@"
19 ERLC="@ERLC@"
0c9da974 »
2002-11-27 added ability to run as different user than root
20 EMULATOR=beam
177f03b6 »
2004-06-17 addded configure option -with-defaultcharset
21 DEFAULT_CHARSET=@DEFAULT_CHARSET@
c9778e01 »
2006-04-27 added support for 2 additional configure
22 EPAM = @EPAM@
23 EXTRAINCLUDE = @EXTRAINCLUDE@
87a5ac5c »
2006-05-30 *** empty log message ***
24 ERLBINDIR = @ERLBINDIR@
12471ad5 »
2008-12-20 added configure support for sendfile
25 HAVE_SENDFILE = @HAVE_SENDFILE@
0c9da974 »
2002-11-27 added ability to run as different user than root
26
27 ifdef debug
28 ERLC_FLAGS+=-Ddebug
29 endif
30
31 ifdef trace
32 ERLC_FLAGS=+trace
33 endif
34
35 ifdef export_all
36 ERLC_FLAGS+=-Dexport_all
37 endif
38
b7074188 »
2005-06-30 Added compile option to generate debug information in the Erlang beam
39 ifdef debug_info
40 ERLC_FLAGS+=+debug_info
41 endif
42
0c9da974 »
2002-11-27 added ability to run as different user than root
43 CC=@CC@
44 CFLAGS=@CFLAGS@
45 LINKER=@LINKER@
46 LDFLAGS=@LDFLAGS@
47 WIN32=@WIN32@
48 BSDI=@BSDI@
49 EXE=@EXE@
50 DLL=@DLL@
51 OBJ=@OBJ@
52 OUT=@OUT@
53 FPIC=@FPIC@
54 LIBS=@LIBS@
55
2ae9701b »
2008-05-20 Added a 'make release' target in the top makefile. he release
56 ERTS_VSN=@ERTS_VSN@
57 KERNEL_VSN=@KERNEL_VSN@
58 STDLIB_VSN=@STDLIB_VSN@
59 SASL_VSN=@SASL_VSN@
60 MNESIA_VSN=@MNESIA_VSN@
b45c0a43 »
2010-02-18 dialyzer work
61 SSL_VSN=@SSL_VSN@
0c9da974 »
2002-11-27 added ability to run as different user than root
62
f5eb9d51 »
2010-01-05 conditional compile of websockets
63 ERTS_MAJOR=@ERTS_MAJOR@
64 ERTS_MINOR=@ERTS_MINOR@
0c9da974 »
2002-11-27 added ability to run as different user than root
65
66 ERLDIR=@ERLDIR@
67
68 LD_SHARED=@LD_SHARED@
69
70 INSTALL=@INSTALL@
71 INSTALL_DATA=@INSTALL_DATA@
21abc5ba »
2002-02-11 Initial revision
72
73
74
75 EMULATOR=beam
76 ifdef debug
77 ERLC_FLAGS+=-Ddebug
78 endif
79
80 ifdef trace
81 ERLC_FLAGS=+trace
82 endif
83
84 ifdef export_all
85 ERLC_FLAGS+=-Dexport_all
86 endif
87
88
89 # Hmm, don't know if you are supposed to like this better... ;-)
90 APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\''$$1\'\''/; $$mods.=", " if $$mods; $$mods .= $$_; } while(<>) { s/%VSN%/$$vsn/; s/%MODULES%/$$mods/; print; }'
91
92 # Targets
93
94 ../ebin/%.app: %.app.src ../vsn.mk Makefile
6e49e77b »
2008-02-14 git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk…
95 perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
21abc5ba »
2002-02-11 Initial revision
96
97 ../ebin/%.appup: %.appup
6e49e77b »
2008-02-14 git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk…
98 cp $< $@
21abc5ba »
2002-02-11 Initial revision
99
100 ../ebin/%.$(EMULATOR): %.erl
8054c714 »
2009-01-22 cygwin build patch by Davide marques
101 $(ERLC) $(ERLC_FLAGS) -o ../ebin $<
21abc5ba »
2002-02-11 Initial revision
102
103 %.$(EMULATOR): %.erl
8054c714 »
2009-01-22 cygwin build patch by Davide marques
104 $(ERLC) $(ERLC_FLAGS) $<
21abc5ba »
2002-02-11 Initial revision
105
106
107
Something went wrong with that request. Please try again.