diff options
author | Badlop <badlop@process-one.net> | 2013-03-19 13:28:42 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2013-03-19 13:30:15 +0100 |
commit | 1b304aaf0ab86bbc52c23229374baf7de4443cad (patch) | |
tree | 928dc7f80eff7b47f2b8608288748c6e60bc8628 /src/mysql/Makefile.in | |
parent | Accumulated patch to binarize and indent code (diff) |
Copied MySQL erlang library from ejabberd-modules SVN
Diffstat (limited to 'src/mysql/Makefile.in')
-rw-r--r-- | src/mysql/Makefile.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mysql/Makefile.in b/src/mysql/Makefile.in new file mode 100644 index 000000000..e77da8452 --- /dev/null +++ b/src/mysql/Makefile.in @@ -0,0 +1,38 @@ +# $Id: Makefile.in 1453 2008-07-16 16:58:42Z badlop $ + +CC = @CC@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ + +ERLANG_CFLAGS = @ERLANG_CFLAGS@ +ERLANG_LIBS = @ERLANG_LIBS@ + +EFLAGS += -I .. +EFLAGS += -pz .. + +# make debug=true to compile Erlang module with debug informations. +ifdef debug + EFLAGS+=+debug_info +endif + +OUTDIR = .. +SOURCES = $(wildcard *.erl) +BEAMS = $(addprefix $(OUTDIR)/,$(SOURCES:.erl=.beam)) + + +all: $(BEAMS) + +$(OUTDIR)/%.beam: %.erl + @ERLC@ -W $(EFLAGS) -o $(OUTDIR) $< + +clean: + rm -f $(BEAMS) + +distclean: clean + rm -f Makefile + +TAGS: + etags *.erl + |