~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to mission-control-plugins/Makefile.am

Tags: upstream-5.5.2
ImportĀ upstreamĀ versionĀ 5.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDES = \
 
2
        $(TELEPATHY_CFLAGS) \
 
3
        $(DBUS_CFLAGS) \
 
4
        $(GLIB_CFLAGS) \
 
5
        -I$(top_srcdir) \
 
6
        -I$(top_builddir) \
 
7
        -DG_LOG_DOMAIN=\"mc-plugins\" \
 
8
        -DMCP_API_VERSION=@MCP_API_VERSION@ \
 
9
        -DMCP_ABI_VERSION=@MCP_ABI_VERSION@
 
10
 
 
11
AM_CFLAGS = $(ERROR_CFLAGS)
 
12
 
 
13
EXTRA_DIST = mcp-signals-marshal.list
 
14
 
 
15
lib_LTLIBRARIES = libmission-control-plugins.la
 
16
 
 
17
plugins_includedir = \
 
18
        $(includedir)/mission-control-@MCP_API_VERSION@/mission-control-plugins
 
19
 
 
20
plugins_include_HEADERS = \
 
21
        mission-control-plugins.h \
 
22
        account.h \
 
23
        account-storage.h \
 
24
        dispatch-operation.h \
 
25
        dispatch-operation-policy.h \
 
26
        loader.h \
 
27
        request.h \
 
28
        request-policy.h \
 
29
        mcp-signals-marshal.h
 
30
 
 
31
libmission_control_plugins_la_LDFLAGS = \
 
32
        -export-symbols-regex "^(mcp_)" \
 
33
        -version-info "@MCP_LT_CURRENT@":"@MCP_LT_REVISION@":"@MCP_LT_AGE@"
 
34
 
 
35
libmission_control_plugins_la_LIBADD = \
 
36
        $(TELEPATHY_LIBS) \
 
37
        $(DBUS_LIBS) \
 
38
        $(GLIB_LIBS)
 
39
 
 
40
nodist_libmission_control_plugins_la_SOURCES = \
 
41
        mcp-signals-marshal.c \
 
42
        mcp-signals-marshal.h
 
43
 
 
44
libmission_control_plugins_la_SOURCES = \
 
45
        debug-internal.h \
 
46
        account.c \
 
47
        account-storage.c \
 
48
        dispatch-operation.c \
 
49
        dispatch-operation-policy.c \
 
50
        implementation.h \
 
51
        loader.c \
 
52
        request.c \
 
53
        request-policy.c
 
54
 
 
55
BUILT_SOURCES = $(nodist_libmission_control_plugins_la_SOURCES)
 
56
 
 
57
CLEANFILES = $(BUILT_SOURCES)
 
58
 
 
59
%-signals-marshal.h: %-signals-marshal.list Makefile
 
60
        glib-genmarshal --header --prefix=_$(subst -,_,$(notdir $*))_marshal $< \
 
61
          > $*-signals-marshal.h
 
62
 
 
63
%-signals-marshal.c: %-signals-marshal.list Makefile
 
64
        { echo '#include "$(notdir $*)-signals-marshal.h"' && \
 
65
          glib-genmarshal --body --prefix=_$(subst -,_,$(notdir $*))_marshal $<; } \
 
66
            > $*-signals-marshal.c