mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
2f7f3d9b00
(thanks to Leif Johansson) * src/ejabberd_auth.erl: Added support for ldap_rootdn and ldap_password options (thanks to Stefan de Konink) * src/mod_vcard_ldap.erl: Likewise * src/ejabberd_router.erl: Now possible to route packet via function call instead of message sending * src/ejabberd_sm.erl: Added function route/3, use it in route table * src/ejabberd_local.erl: Likewise * src/ejabberd_s2s.erl: Likewise * (all): Fixed spelling of word "authentication" * src/*/Makefile.in: Replaced erlc with @ERLC@ SVN Revision: 285
42 lines
729 B
Makefile
42 lines
729 B
Makefile
# $Id$
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@ @ERLANG_CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@ @ERLANG_LIBS@ @LIBICONV@
|
|
|
|
SUBDIRS =
|
|
|
|
ERLSHLIBS = ../iconv_erl.so
|
|
|
|
OUTDIR = ..
|
|
EFLAGS = -I .. -pz ..
|
|
OBJS = \
|
|
$(OUTDIR)/mod_irc.beam \
|
|
$(OUTDIR)/mod_irc_connection.beam \
|
|
$(OUTDIR)/iconv.beam
|
|
|
|
all: $(OBJS) $(ERLSHLIBS)
|
|
|
|
$(OUTDIR)/%.beam: %.erl
|
|
@ERLC@ -W $(EFLAGS) -o $(OUTDIR) $<
|
|
|
|
#all: $(ERLSHLIBS)
|
|
# erl -s make all report "{outdir, \"..\"}" -noinput -s erlang halt
|
|
|
|
$(ERLSHLIBS): ../%.so: %.c
|
|
$(CC) -Wall $(INCLUDES) $(CFLAGS) $(LDFLAGS) \
|
|
$(subst ../,,$(subst .so,.c,$@)) $(LIBS) \
|
|
-o $@ -fpic -shared
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(ERLSHLIBS)
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|
|
TAGS:
|
|
etags *.erl
|
|
|