From 359f15ffb98d12b5182ef7384a1f5314729ced42 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Tue, 6 Dec 2005 19:32:50 +0000 Subject: * src/ejabberd.cfg.example: Updated * src/Makefile.*: Can now be build when the Erlang environment is not Erlang/OTP but the Erlang REPOS CDROM. Still compatible with standard Erlang/OTP install * aclocal.m4: Likewise * src/Makefile.*: Can now be build with Erlang debug_info with 'make debug=true' SVN Revision: 448 --- src/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Makefile.in') diff --git a/src/Makefile.in b/src/Makefile.in index c0dbccaf..c8c56b34 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -12,6 +12,11 @@ ERLANG_CFLAGS= @ERLANG_CFLAGS@ EXPAT_LIBS = @EXPAT_LIBS@ ERLANG_LIBS = @ERLANG_LIBS@ +# make debug=true to compile Erlang module with debug informations. +ifdef debug + ERLC_FLAGS+=+debug_info +endif + prefix = @prefix@ SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @eldap@ @web@ stringprep @tls@ @odbc@ @@ -32,7 +37,7 @@ ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj all: $(ERLSHLIBS) compile-beam all-recursive compile-beam: XmppAddr.hrl - @ERL@ -s make all report -noinput -s erlang halt + @ERLC@ $(ERLC_FLAGS) *.erl all-recursive install-recursive uninstall-recursive \ -- cgit v1.2.3