~ubuntu-branches/ubuntu/oneiric/libinfinity/oneiric

« back to all changes in this revision

Viewing changes to infinoted/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Philipp Kern
  • Date: 2009-12-22 00:04:27 UTC
  • mfrom: (1.2.2 upstream) (1.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091222000427-8iyupvgjy3gkle3w
Tags: 0.4.0-2
Fix up infinoted alternative in infinoted-0.4's postinst.
(Closes: #562002)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
SUBDIRS = note-plugins
2
2
 
3
3
# TODO: Find a way to have the version number set automatically.
4
 
bin_PROGRAMS = infinoted-0.3
 
4
bin_PROGRAMS = infinoted-0.4
5
5
 
6
6
plugin_path = infinoted-$(LIBINFINITY_API_VERSION)/note-plugins
7
7
 
8
 
infinoted_0_3_CPPFLAGS = \
 
8
infinoted_0_4_CPPFLAGS = \
9
9
        -I${top_srcdir} \
10
10
        $(infinoted_CFLAGS) \
11
11
        $(infinity_CFLAGS) \
12
12
        -DPLUGIN_LIBPATH=\"${libdir}\" \
13
 
        -DPLUGIN_BASEPATH=\"${plugin_path}\"
 
13
        -DPLUGIN_BASEPATH=\"${plugin_path}\" \
 
14
        -DLOCALSTATEDIR=\"${localstatedir}\" \
 
15
        -DLIBINFINITY_API_VERSION=\"$(LIBINFINITY_API_VERSION)\"
14
16
 
15
 
infinoted_0_3_LDADD = \
 
17
infinoted_0_4_LDADD = \
 
18
        ${top_builddir}/libinftext/libinftext-$(LIBINFINITY_API_VERSION).la \
16
19
        ${top_builddir}/libinfinity/libinfinity-$(LIBINFINITY_API_VERSION).la \
17
20
        $(infinoted_LIBS) \
18
 
        $(infinity_LIBS)
 
21
        $(infinity_LIBS) \
 
22
        $(libdaemon_LIBS)
19
23
 
20
 
infinoted_0_3_SOURCES = \
 
24
infinoted_0_4_SOURCES = \
21
25
        infinoted-autosave.c \
 
26
        infinoted-config-reload.c \
22
27
        infinoted-creds.c \
 
28
        infinoted-dh-params.c \
 
29
        infinoted-directory-sync.c \
23
30
        infinoted-main.c \
24
31
        infinoted-note-plugin.c \
25
32
        infinoted-options.c \
 
33
        infinoted-record.c \
26
34
        infinoted-run.c \
27
35
        infinoted-signal.c \
28
 
        infinoted-startup.c
 
36
        infinoted-startup.c \
 
37
        infinoted-util.c
29
38
 
30
39
noinst_HEADERS = \
31
40
        infinoted-autosave.h \
 
41
        infinoted-config-reload.h \
32
42
        infinoted-creds.h \
 
43
        infinoted-dh-params.h \
 
44
        infinoted-directory-sync.h \
33
45
        infinoted-note-plugin.h \
34
46
        infinoted-options.h \
 
47
        infinoted-record.h \
35
48
        infinoted-run.h \
36
49
        infinoted-signal.h \
37
 
        infinoted-startup.h
 
50
        infinoted-startup.h \
 
51
        infinoted-util.h
 
52
 
 
53
# Create pid file directory
 
54
pidfiledir = ${localstatedir}/run/infinoted-$(LIBINFINITY_API_VERSION)
 
55
pidfile_DATA =