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

33 lines
488 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 \
-I/usr/local/include
2002-11-18 21:39:47 +01:00
LIBDIRS = -L$(EI_DIR)/lib -L/usr/local/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