24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00
xmpp.chapril.org-ejabberd/src/odbc/Makefile.in

38 lines
562 B
Makefile
Raw Normal View History

# $Id$
CC = @CC@
CFLAGS = @CFLAGS@ @ERLANG_CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@ @ERLANG_LIBS@
SUBDIRS =
OUTDIR = ..
EFLAGS = -I .. -pz ..
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
endif
OBJS = \
$(OUTDIR)/ejabberd_odbc.beam \
$(OUTDIR)/ejabberd_odbc_sup.beam \
$(OUTDIR)/odbc_queries.beam
all: $(OBJS)
$(OUTDIR)/%.beam: %.erl
@ERLC@ -W $(EFLAGS) -D@db_type@ -o $(OUTDIR) $<
clean:
rm -f $(OBJS)
distclean: clean
rm -f Makefile
TAGS:
etags *.erl