summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2005-12-06 19:32:50 +0000
committerAlexey Shchepin <alexey@process-one.net>2005-12-06 19:32:50 +0000
commit359f15ffb98d12b5182ef7384a1f5314729ced42 (patch)
tree0301c7c56b0d3ff77348132699487928e112ff54 /src/Makefile.in
parent* src/msgs/pt-br.msg: Updated (thanks to Victor Hugo dos Santos) (diff)
* 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
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in7
1 files changed, 6 insertions, 1 deletions
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 \