Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 111 lines (83 sloc) 2.066 kB
21abc5b @klacke Initial revision
authored
1 ###-*-makefile-*- ; force emacs to enter makefile-mode
2
3a3459c @klacke ""
authored
3
4 PREFIX = @prefix@
28972a3 @klacke run_erl to_erl support patch from Mats Cronquist
authored
5 prefix = ${PREFIX}
c008278 @vinoski fix yaws issue #105: configure ignores --libdir
vinoski authored
6 exec_prefix = @exec_prefix@
c9778e0 @klacke added support for 2 additional configure
authored
7 ETCDIR = @sysconfdir@
8 VARDIR = @localstatedir@
c008278 @vinoski fix yaws issue #105: configure ignores --libdir
vinoski authored
9 LIBDIR = @libdir@
c9778e0 @klacke added support for 2 additional configure
authored
10
6c7d7a4 @klacke configure/latex support and also slightly nicer listdir output by Han…
authored
11 DVILATEX = @DVILATEX@
12 PDFLATEX = @PDFLATEX@
13 DVIPS = @DVIPS@
14 EPSTOPDF = @EPSTOPDF@
15
16 COND_DVILATEX = @COND_DVILATEX@
17 COND_PDFLATEX = @COND_PDFLATEX@
18
da61d09 @klacke cygwin install patch by Bill Robertsson
authored
19 ERL="@ERL@"
20 WERL="@WERL@"
21 ERLC="@ERLC@"
0c9da97 @klacke added ability to run as different user than root
authored
22 EMULATOR=beam
177f03b @klacke addded configure option -with-defaultcharset
authored
23 DEFAULT_CHARSET=@DEFAULT_CHARSET@
c9778e0 @klacke added support for 2 additional configure
authored
24 EPAM = @EPAM@
25 EXTRAINCLUDE = @EXTRAINCLUDE@
87a5ac5 @klacke *** empty log message ***
authored
26 ERLBINDIR = @ERLBINDIR@
2150708 @tuncer Use file:sendfile/5 if available
tuncer authored
27 HAVE_YAWS_SENDFILE = @HAVE_YAWS_SENDFILE@
35a5c1a @vinoski add configure detection of erts bits support
vinoski authored
28 BITS_SUPPORT = @BITS_SUPPORT@
0c9da97 @klacke added ability to run as different user than root
authored
29
30 ifdef debug
31 ERLC_FLAGS+=-Ddebug
32 endif
33
34 ifdef trace
35 ERLC_FLAGS=+trace
36 endif
37
38 ifdef export_all
39 ERLC_FLAGS+=-Dexport_all
40 endif
41
b707418 @mremond Added compile option to generate debug information in the Erlang beam
mremond authored
42 ifdef debug_info
43 ERLC_FLAGS+=+debug_info
44 endif
45
0c9da97 @klacke added ability to run as different user than root
authored
46 CC=@CC@
47 CFLAGS=@CFLAGS@
2150708 @tuncer Use file:sendfile/5 if available
tuncer authored
48 ifeq ($(HAVE_YAWS_SENDFILE),true)
49 CFLAGS += -DHAVE_YAWS_SENDFILE
bedbc05 @tuncer add rebar support (Tuncer Ayaz and Steve Vinoski)
tuncer authored
50 endif
0c9da97 @klacke added ability to run as different user than root
authored
51 LINKER=@LINKER@
52 LDFLAGS=@LDFLAGS@
53 WIN32=@WIN32@
54 BSDI=@BSDI@
55 EXE=@EXE@
56 DLL=@DLL@
57 OBJ=@OBJ@
58 OUT=@OUT@
59 FPIC=@FPIC@
60 LIBS=@LIBS@
61
2ae9701 @klacke Added a 'make release' target in the top makefile. he release
authored
62 ERTS_VSN=@ERTS_VSN@
63 KERNEL_VSN=@KERNEL_VSN@
64 STDLIB_VSN=@STDLIB_VSN@
65 SASL_VSN=@SASL_VSN@
66 MNESIA_VSN=@MNESIA_VSN@
b45c0a4 @klacke dialyzer work
authored
67 SSL_VSN=@SSL_VSN@
0c9da97 @klacke added ability to run as different user than root
authored
68
f5eb9d5 @klacke conditional compile of websockets
authored
69 ERTS_MAJOR=@ERTS_MAJOR@
70 ERTS_MINOR=@ERTS_MINOR@
0c9da97 @klacke added ability to run as different user than root
authored
71
72 ERLDIR=@ERLDIR@
73
74 LD_SHARED=@LD_SHARED@
75
76 INSTALL=@INSTALL@
77 INSTALL_DATA=@INSTALL_DATA@
21abc5b @klacke Initial revision
authored
78
79
80
81 EMULATOR=beam
82 ifdef debug
83 ERLC_FLAGS+=-Ddebug
84 endif
85
86 ifdef trace
87 ERLC_FLAGS=+trace
88 endif
89
90 ifdef export_all
91 ERLC_FLAGS+=-Dexport_all
92 endif
93
94
95 # Hmm, don't know if you are supposed to like this better... ;-)
21228ba @tuncer rebar: fix loading of version string from vsn.mk
tuncer authored
96 APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\''$$1\'\''/; $$mods.=", " if $$mods; $$mods .= $$_; } while(<>) { s/\{vsn, \{cmd, .*\}\}/\{vsn, "$$vsn"\}/; s/\{modules,\[\]\}/\{modules,\[$$mods\]\}/; print; }'
21abc5b @klacke Initial revision
authored
97
98 # Targets
99
100 ../ebin/%.app: %.app.src ../vsn.mk Makefile
6e49e77 @klacke git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk…
authored
101 perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
21abc5b @klacke Initial revision
authored
102
bc1a16b @capflam add yaws.appup.src template file (capflam)
capflam authored
103 ../ebin/%.appup: %.appup.src ../vsn.mk Makefile
104 sed -e "s/%VSN%/$(VSN)/g" < $< > $@
21abc5b @klacke Initial revision
authored
105
106 ../ebin/%.$(EMULATOR): %.erl
8054c71 @klacke cygwin build patch by Davide marques
authored
107 $(ERLC) $(ERLC_FLAGS) -o ../ebin $<
21abc5b @klacke Initial revision
authored
108
109 %.$(EMULATOR): %.erl
8054c71 @klacke cygwin build patch by Davide marques
authored
110 $(ERLC) $(ERLC_FLAGS) $<
Something went wrong with that request. Please try again.