~ubuntu-branches/ubuntu/saucy/deja-dup/saucy

« back to all changes in this revision

Viewing changes to tools/duplicity/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2012-06-05 13:45:39 UTC
  • mfrom: (1.1.43)
  • Revision ID: package-import@ubuntu.com-20120605134539-l35tewhkjfq4qp6e
Tags: 23.2-0ubuntu1
* New upstream release
* debian/control:
  - Add libpeas-dev to Build-Depends
  - Update valac and libglib2.0-dev versions
  - Bump debhelper version to 9
* debian/compat:
  - Bump to 9
* debian/rules:
  - Don't install new .la and .a files from upstream
* debian/patches/allow-resuming-encrypted-backup.patch:
  - Dropped, included upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Mode: Makefile; indent-tabs-mode: t; tab-width: 2 -*-
 
2
#
 
3
# This file is part of Déjà Dup.
 
4
# For copyright information, see AUTHORS.
 
5
#
 
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.
 
10
#
 
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.
 
15
#
 
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/>.
 
18
 
 
19
toolsdir = $(pkglibexecdir)/tools
 
20
tools_LTLIBRARIES = libduplicity.la
 
21
dist_tools_DATA = duplicity.plugin
 
22
 
 
23
libduplicity_la_CFLAGS = \
 
24
        -I$(top_srcdir)/common \
 
25
        $(COMMON_CFLAGS) \
 
26
        $(DEBUG_CFLAGS) \
 
27
        -DPKG_LIBEXEC_DIR=\"$(pkglibexecdir)\" \
 
28
        -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"
 
29
 
 
30
libduplicity_la_LDFLAGS = -module -avoid-version
 
31
 
 
32
libduplicity_la_LIBADD = \
 
33
        $(COMMON_LIBS) \
 
34
        @INTLLIBS@ \
 
35
        $(top_builddir)/common/libcommon.la
 
36
 
 
37
libduplicity_la_VALASOURCES = \
 
38
        DuplicityInstance.vala \
 
39
        DuplicityJob.vala \
 
40
        DuplicityPlugin.vala \
 
41
        RecursiveDelete.vala \
 
42
        RecursiveMove.vala \
 
43
        RecursiveOp.vala
 
44
 
 
45
libduplicity_la_SOURCES = \
 
46
        $(libduplicity_la_VALASOURCES)
 
47
 
 
48
AM_VALAFLAGS = \
 
49
        --library=libduplicity \
 
50
        --vapidir $(top_srcdir)/common \
 
51
        --vapidir=$(top_srcdir)/vapi \
 
52
        $(SHARED_VALAFLAGS) \
 
53
        --pkg gio-2.0 \
 
54
        --pkg libpeas-1.0 \
 
55
        --pkg gio-unix-2.0 \
 
56
        --pkg posix \
 
57
        --pkg libcommon \
 
58
        --pkg config
 
59
 
 
60
libduplicity_la_vala.stamp: $(top_srcdir)/config.h
 
61
 
 
62
dist-hook:
 
63
        cd $(distdir) && rm -f $(libduplicity_la_VALASOURCES:.vala=.c) \
 
64
                               libduplicity_la_vala.stamp
 
65