Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

105 lines (74 sloc) 1.609 kb
###-*-makefile-*- ; force emacs to enter makefile-mode
PREFIX = /usr/local
prefix = ${PREFIX}
ETCDIR = ${prefix}/etc
VARDIR = ${prefix}/var
DVILATEX = latex
PDFLATEX = pdflatex
DVIPS = dvips
EPSTOPDF =
COND_DVILATEX =
COND_PDFLATEX =
ERL="erl"
WERL=""
ERLC="erlc"
EMULATOR=beam
DEFAULT_CHARSET=
EPAM = ../priv/epam
EXTRAINCLUDE =
ERLBINDIR = /usr/lib/erlang/bin
HAVE_SENDFILE = true
ifdef debug
ERLC_FLAGS+=-Ddebug
endif
ifdef trace
ERLC_FLAGS=+trace
endif
ifdef export_all
ERLC_FLAGS+=-Dexport_all
endif
ifdef debug_info
ERLC_FLAGS+=+debug_info
endif
CC=gcc
CFLAGS=-g -O2 -I/usr/include/security
LINKER=gcc
LDFLAGS=
WIN32=
BSDI=
EXE=
DLL=so
OBJ=o
OUT=-o
FPIC=-fpic
LIBS=
ERTS_VSN=5.6.3
KERNEL_VSN=2.12.3
STDLIB_VSN=1.15.3
SASL_VSN=2.1.5.3
MNESIA_VSN=4.4.3
ERLDIR=/usr/lib/erlang
LD_SHARED=gcc -shared
INSTALL=/usr/bin/install -c
INSTALL_DATA=${INSTALL} -m 644
EMULATOR=beam
ifdef debug
ERLC_FLAGS+=-Ddebug
endif
ifdef trace
ERLC_FLAGS=+trace
endif
ifdef export_all
ERLC_FLAGS+=-Dexport_all
endif
# Hmm, don't know if you are supposed to like this better... ;-)
APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\''$$1\'\''/; $$mods.=", " if $$mods; $$mods .= $$_; } while(<>) { s/%VSN%/$$vsn/; s/%MODULES%/$$mods/; print; }'
# Targets
../ebin/%.app: %.app.src ../vsn.mk Makefile
perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
../ebin/%.appup: %.appup
cp $< $@
../ebin/%.$(EMULATOR): %.erl
$(ERLC) $(ERLC_FLAGS) -o ../ebin $<
%.$(EMULATOR): %.erl
$(ERLC) $(ERLC_FLAGS) $<
Jump to Line
Something went wrong with that request. Please try again.