1
# -*- Mode: Makefile; indent-tabs-mode: t; tab-width: 2 -*-
3
# This file is part of Déjà Dup.
4
# For copyright information, see AUTHORS.
6
# Déjà Dup is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 3 of the License, or
9
# (at your option) any later version.
11
# Déjà Dup is distributed in the hope that it will be useful, but
12
# WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
# General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with Déjà Dup. If not, see <http://www.gnu.org/licenses/>.
19
toolsdir = $(pkglibexecdir)/tools
20
tools_LTLIBRARIES = libduplicity.la
21
dist_tools_DATA = duplicity.plugin
23
libduplicity_la_CFLAGS = \
24
-I$(top_srcdir)/common \
27
-DPKG_LIBEXEC_DIR=\"$(pkglibexecdir)\" \
28
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"
30
libduplicity_la_LDFLAGS = -module -avoid-version
32
libduplicity_la_LIBADD = \
35
$(top_builddir)/common/libcommon.la
37
libduplicity_la_VALASOURCES = \
38
DuplicityInstance.vala \
40
DuplicityPlugin.vala \
41
RecursiveDelete.vala \
45
libduplicity_la_SOURCES = \
46
$(libduplicity_la_VALASOURCES)
49
--library=libduplicity \
50
--vapidir $(top_srcdir)/common \
51
--vapidir=$(top_srcdir)/vapi \
60
libduplicity_la_vala.stamp: $(top_srcdir)/config.h
63
cd $(distdir) && rm -f $(libduplicity_la_VALASOURCES:.vala=.c) \
64
libduplicity_la_vala.stamp