24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00
xmpp.chapril.org-ejabberd/src/Makefile
Alexey Shchepin 275b31b0cf *** empty log message ***
SVN Revision: 52
2003-01-28 19:45:13 +00:00

29 lines
436 B
Makefile

# $Id$
include Makefile.inc
INCLUDES = -I/usr/lib/erlang/usr/include \
-I$(EI_DIR)/include
LIBDIRS = -L$(EI_DIR)/lib
ERLSHLIBS = expat_erl.so
all: $(ERLSHLIBS)
erl -s make all report -noinput -s erlang halt
etags *.erl
$(ERLSHLIBS): %.so: %.c
gcc -Wall $(INCLUDES) $(LIBDIRS) \
-lexpat \
$(subst .so,.c,$@) \
-lerl_interface \
-lei \
-o $@ -fpic -shared \
clean:
rm -f *.beam
Makefile.inc:
./configure