25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00
xmpp.chapril.org-ejabberd/src/Makefile

32 lines
444 B
Makefile
Raw Normal View History

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