Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 105 lines (74 sloc) 1.608 kB
fdfdd8e @klacke prep for 1.80
authored
1 ###-*-makefile-*- ; force emacs to enter makefile-mode
2
3
4 PREFIX = /usr/local
5 prefix = ${PREFIX}
6 ETCDIR = ${prefix}/etc
7 VARDIR = ${prefix}/var
8
9 DVILATEX = latex
10 PDFLATEX = pdflatex
11 DVIPS = dvips
7811247 @vinoski whitespace cleanup
vinoski authored
12 EPSTOPDF =
fdfdd8e @klacke prep for 1.80
authored
13
7811247 @vinoski whitespace cleanup
vinoski authored
14 COND_DVILATEX =
15 COND_PDFLATEX =
fdfdd8e @klacke prep for 1.80
authored
16
17 ERL="erl"
18 WERL=""
19 ERLC="erlc"
20 EMULATOR=beam
21 DEFAULT_CHARSET=
22 EPAM = ../priv/epam
7811247 @vinoski whitespace cleanup
vinoski authored
23 EXTRAINCLUDE =
fdfdd8e @klacke prep for 1.80
authored
24 ERLBINDIR = /usr/lib/erlang/bin
2150708 @tuncer Use file:sendfile/5 if available
tuncer authored
25 HAVE_YAWS_SENDFILE = true
fdfdd8e @klacke prep for 1.80
authored
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
39 ifdef debug_info
40 ERLC_FLAGS+=+debug_info
41 endif
42
43 CC=gcc
44 CFLAGS=-g -O2 -I/usr/include/security
45 LINKER=gcc
46 LDFLAGS=
47 WIN32=
48 BSDI=
49 EXE=
50 DLL=so
51 OBJ=o
7811247 @vinoski whitespace cleanup
vinoski authored
52 OUT=-o
fdfdd8e @klacke prep for 1.80
authored
53 FPIC=-fpic
54 LIBS=
55
56 ERTS_VSN=5.6.3
57 KERNEL_VSN=2.12.3
58 STDLIB_VSN=1.15.3
59 SASL_VSN=2.1.5.3
60 MNESIA_VSN=4.4.3
61
62
63 ERLDIR=/usr/lib/erlang
64
65 LD_SHARED=gcc -shared
66
67 INSTALL=/usr/bin/install -c
68 INSTALL_DATA=${INSTALL} -m 644
69
70
71
72 EMULATOR=beam
73 ifdef debug
74 ERLC_FLAGS+=-Ddebug
75 endif
76
77 ifdef trace
78 ERLC_FLAGS=+trace
79 endif
80
81 ifdef export_all
82 ERLC_FLAGS+=-Dexport_all
83 endif
84
85
86 # Hmm, don't know if you are supposed to like this better... ;-)
87 APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\''$$1\'\''/; $$mods.=", " if $$mods; $$mods .= $$_; } while(<>) { s/%VSN%/$$vsn/; s/%MODULES%/$$mods/; print; }'
88
89 # Targets
90
91 ../ebin/%.app: %.app.src ../vsn.mk Makefile
92 perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
93
7811247 @vinoski whitespace cleanup
vinoski authored
94 ../ebin/%.appup: %.appup
fdfdd8e @klacke prep for 1.80
authored
95 cp $< $@
96
97 ../ebin/%.$(EMULATOR): %.erl
98 $(ERLC) $(ERLC_FLAGS) -o ../ebin $<
99
100 %.$(EMULATOR): %.erl
101 $(ERLC) $(ERLC_FLAGS) $<
102
103
104
Something went wrong with that request. Please try again.