summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Unidiff
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..c9daf9a
--- a/dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,41 @@
1# This file is part of vmod-binlog
2# Copyright (C) 2013 Sergey Poznyakoff
3#
4# Vmod-binlog is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3, or (at your option)
7# any later version.
8#
9# Vmod-binlog is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with vmod-binlog. If not, see <http://www.gnu.org/licenses/>.
16
17AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC)
18
19bin_PROGRAMS = binlogcat
20binlogcat_SOURCES = binlogcat.c
21
22vmoddir = $(VMODDIR)
23vmod_LTLIBRARIES = libvmod_binlog.la
24
25libvmod_binlog_la_LDFLAGS = -module -export-dynamic -avoid-version
26libvmod_binlog_la_LIBADD=
27
28libvmod_binlog_la_SOURCES = \
29 binlog.c\
30 vmod-binlog.h\
31 vcc_if.c vcc_if.h
32
33BUILT_SOURCES = vcc_if.c vcc_if.h
34
35vcc_if.c vcc_if.h: $(VARNISHSRC)/lib/libvmod_std/vmod.py $(top_srcdir)/src/vmod.vcc
36 @PYTHON@ $(VARNISHSRC)/lib/libvmod_std/vmod.py $(top_srcdir)/src/vmod.vcc
37
38EXTRA_DIST = vmod.vcc
39
40CLEANFILES = $(builddir)/vcc_if.c $(builddir)/vcc_if.h
41

Return to:

Send suggestions and report system problems to the System administrator.