25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

* src/Makefile.in: Added Dialyzer target (EJAB-189 - Thanks to Geoff Cant)

* src/Makefile.in: Build XmppAddr.beam in a single pass
* src/mod_muc/Makefile.in: +debug_info directive support
* src/stringprep/Makefile.in: Likewise
* src/mod_irc/Makefile.in: Likewise
* src/web/Makefile.in: Likewise
* src/eldap/Makefile.in: Likewise
* src/mod_pubsub/Makefile.in: Likewise
* src/ejabberd_zlib/Makefile.in: Likewise
* src/mod_proxy65/Makefile.in: Likewise
* src/tls/Makefile.in: Likewise
* src/odbc/Makefile.in: Likewise

SVN Revision: 775
This commit is contained in:
Mickaël Rémond 2007-05-29 14:31:12 +00:00
parent 03740c8bca
commit c228e7aeb3
12 changed files with 70 additions and 3 deletions

View File

@ -1,5 +1,19 @@
2007-05-29 Mickael Remond <mickael.remond@process-one.net> 2007-05-29 Mickael Remond <mickael.remond@process-one.net>
* src/Makefile.in: Added Dialyzer target (EJAB-189 - Thanks
to Geoff Cant)
* src/Makefile.in: Build XmppAddr.beam in a single pass
* src/mod_muc/Makefile.in: +debug_info directive support
* src/stringprep/Makefile.in: Likewise
* src/mod_irc/Makefile.in: Likewise
* src/web/Makefile.in: Likewise
* src/eldap/Makefile.in: Likewise
* src/mod_pubsub/Makefile.in: Likewise
* src/ejabberd_zlib/Makefile.in: Likewise
* src/mod_proxy65/Makefile.in: Likewise
* src/tls/Makefile.in: Likewise
* src/odbc/Makefile.in: Likewise
* src/mod_vcard.erl: Make services description translatable in * src/mod_vcard.erl: Make services description translatable in
discovery (EJAB-236 - thanks to Badlop) discovery (EJAB-236 - thanks to Badlop)
* src/mod_muc/mod_muc.erl: Likewise * src/mod_muc/mod_muc.erl: Likewise

View File

@ -12,6 +12,7 @@ ERLANG_CFLAGS= @ERLANG_CFLAGS@
EXPAT_LIBS = @EXPAT_LIBS@ EXPAT_LIBS = @EXPAT_LIBS@
ERLANG_LIBS = @ERLANG_LIBS@ ERLANG_LIBS = @ERLANG_LIBS@
ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj
# make debug=true to compile Erlang module with debug informations. # make debug=true to compile Erlang module with debug informations.
ifdef debug ifdef debug
ERLC_FLAGS+=+debug_info ERLC_FLAGS+=+debug_info
@ -42,8 +43,6 @@ MSGSDIR = $(PRIVDIR)/msgs
LOGDIR = $(DESTDIR)@prefix@/var/log/ejabberd LOGDIR = $(DESTDIR)@prefix@/var/log/ejabberd
ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd
ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj
ifeq ($(shell uname),Darwin) ifeq ($(shell uname),Darwin)
DYNAMIC_LIB_CFLAGS = -fPIC -bundle -flat_namespace -undefined suppress DYNAMIC_LIB_CFLAGS = -fPIC -bundle -flat_namespace -undefined suppress
else else
@ -71,6 +70,7 @@ mostlyclean-recursive maintainer-clean-recursive:
%.hrl: %.asn1 %.hrl: %.asn1
@ERLC@ $(ASN_FLAGS) $< @ERLC@ $(ASN_FLAGS) $<
@ERLC@ -W $(ERLC_FLAGS) $*.erl
$(ERLSHLIBS): %.so: %.c $(ERLSHLIBS): %.so: %.c
gcc -Wall $(CFLAGS) $(LDFLAGS) $(LIBS) \ gcc -Wall $(CFLAGS) $(LDFLAGS) $(LIBS) \
@ -109,3 +109,7 @@ TAGS:
etags *.erl etags *.erl
Makefile: Makefile.in Makefile: Makefile.in
dialyzer: $(BEAMS)
@dialyzer -c .

View File

@ -19,6 +19,11 @@ ERLSHLIBS = ../ejabberd_zlib_drv.so
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/ejabberd_zlib.beam $(OUTDIR)/ejabberd_zlib.beam

View File

@ -10,6 +10,11 @@ SUBDIRS =
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/eldap.beam \ $(OUTDIR)/eldap.beam \
$(OUTDIR)/ELDAPv3.beam \ $(OUTDIR)/ELDAPv3.beam \

View File

@ -19,6 +19,11 @@ ERLSHLIBS = ../iconv_erl.so
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/mod_irc.beam \ $(OUTDIR)/mod_irc.beam \
$(OUTDIR)/mod_irc_connection.beam \ $(OUTDIR)/mod_irc_connection.beam \

View File

@ -10,6 +10,11 @@ SUBDIRS =
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/mod_muc.beam \ $(OUTDIR)/mod_muc.beam \
$(OUTDIR)/mod_muc_log.beam \ $(OUTDIR)/mod_muc_log.beam \

View File

@ -10,6 +10,11 @@ SUBDIRS =
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/mod_proxy65.beam \ $(OUTDIR)/mod_proxy65.beam \
$(OUTDIR)/mod_proxy65_service.beam \ $(OUTDIR)/mod_proxy65_service.beam \

View File

@ -10,6 +10,11 @@ SUBDIRS =
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/mod_pubsub.beam $(OUTDIR)/mod_pubsub.beam

View File

@ -8,9 +8,13 @@ LIBS = @LIBS@ @ERLANG_LIBS@
SUBDIRS = SUBDIRS =
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/ejabberd_odbc.beam \ $(OUTDIR)/ejabberd_odbc.beam \
$(OUTDIR)/ejabberd_odbc_sup.beam \ $(OUTDIR)/ejabberd_odbc_sup.beam \

View File

@ -19,6 +19,11 @@ ERLSHLIBS = ../stringprep_drv.so
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/stringprep.beam $(OUTDIR)/stringprep.beam

View File

@ -19,6 +19,11 @@ ERLSHLIBS = ../tls_drv.so
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/tls.beam $(OUTDIR)/tls.beam

View File

@ -11,6 +11,11 @@ SUBDIRS =
OUTDIR = .. OUTDIR = ..
EFLAGS = -I .. -pz .. EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \ OBJS = \
$(OUTDIR)/ejabberd_http.beam \ $(OUTDIR)/ejabberd_http.beam \
$(OUTDIR)/ejabberd_web.beam \ $(OUTDIR)/ejabberd_web.beam \