2006-10-28 04:04:55 +02:00
|
|
|
# $Id$
|
|
|
|
|
2007-06-27 13:05:14 +02:00
|
|
|
CC = @CC@
|
2006-10-28 04:04:55 +02:00
|
|
|
CFLAGS = @CFLAGS@ @ERLANG_CFLAGS@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@ @ERLANG_LIBS@
|
|
|
|
|
2007-06-27 13:05:14 +02:00
|
|
|
SUBDIRS =
|
2006-10-28 04:04:55 +02:00
|
|
|
|
|
|
|
OUTDIR = ..
|
|
|
|
EFLAGS = -I .. -pz ..
|
2007-05-29 16:31:12 +02:00
|
|
|
# make debug=true to compile Erlang module with debug informations.
|
|
|
|
ifdef debug
|
|
|
|
EFLAGS+=+debug_info
|
|
|
|
endif
|
|
|
|
|
2006-10-28 04:04:55 +02:00
|
|
|
OBJS = \
|
|
|
|
$(OUTDIR)/mod_proxy65.beam \
|
|
|
|
$(OUTDIR)/mod_proxy65_service.beam \
|
|
|
|
$(OUTDIR)/mod_proxy65_sm.beam \
|
|
|
|
$(OUTDIR)/mod_proxy65_stream.beam \
|
|
|
|
$(OUTDIR)/mod_proxy65_lib.beam
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
$(OUTDIR)/%.beam: %.erl
|
|
|
|
@ERLC@ -W $(EFLAGS) -o $(OUTDIR) $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS)
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|
|
|
|
|
|
|
|
TAGS:
|
|
|
|
etags *.erl
|
2007-06-27 13:05:14 +02:00
|
|
|
|