Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

109 lines (81 sloc) 1.981 kb
###-*-makefile-*- ; force emacs to enter makefile-mode
PREFIX = @prefix@
prefix = ${PREFIX}
ETCDIR = @sysconfdir@
VARDIR = @localstatedir@
DVILATEX = @DVILATEX@
PDFLATEX = @PDFLATEX@
DVIPS = @DVIPS@
EPSTOPDF = @EPSTOPDF@
COND_DVILATEX = @COND_DVILATEX@
COND_PDFLATEX = @COND_PDFLATEX@
ERL="@ERL@"
WERL="@WERL@"
ERLC="@ERLC@"
EMULATOR=beam
DEFAULT_CHARSET=@DEFAULT_CHARSET@
EPAM = @EPAM@
EXTRAINCLUDE = @EXTRAINCLUDE@
ERLBINDIR = @ERLBINDIR@
HAVE_SENDFILE = @HAVE_SENDFILE@
BITS_SUPPORT = @BITS_SUPPORT@
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=@CC@
CFLAGS=@CFLAGS@
ifeq ($(HAVE_SENDFILE),true)
CFLAGS += -DHAVE_SENDFILE
endif
LINKER=@LINKER@
LDFLAGS=@LDFLAGS@
WIN32=@WIN32@
BSDI=@BSDI@
EXE=@EXE@
DLL=@DLL@
OBJ=@OBJ@
OUT=@OUT@
FPIC=@FPIC@
LIBS=@LIBS@
ERTS_VSN=@ERTS_VSN@
KERNEL_VSN=@KERNEL_VSN@
STDLIB_VSN=@STDLIB_VSN@
SASL_VSN=@SASL_VSN@
MNESIA_VSN=@MNESIA_VSN@
SSL_VSN=@SSL_VSN@
ERTS_MAJOR=@ERTS_MAJOR@
ERTS_MINOR=@ERTS_MINOR@
ERLDIR=@ERLDIR@
LD_SHARED=@LD_SHARED@
INSTALL=@INSTALL@
INSTALL_DATA=@INSTALL_DATA@
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, \{cmd, .*\}\}/\{vsn, "$$vsn"\}/; s/\{modules,\[\]\}/\{modules,\[$$mods\]\}/; print; }'
# Targets
../ebin/%.app: %.app.src ../vsn.mk Makefile
perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
../ebin/%.appup: %.appup.src ../vsn.mk Makefile
sed -e "s/%VSN%/$(VSN)/g" < $< > $@
../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.