~dbusmenu-team/libdbusmenu/trunk.16.10

« back to all changes in this revision

Viewing changes to libdbusmenu-glib/Makefile.am

  • Committer: Ted Gould
  • Date: 2009-05-12 16:23:10 UTC
  • mfrom: (1.1.85 work)
  • Revision ID: ted@canonical.com-20090512162310-wz9hm3sks368ry8j
Merging in my working branch that brings in basic object functionality passing across DBus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
EXTRA_DIST = \
3
 
        dbusmenu-glib.pc.in
 
3
        dbusmenu-glib.pc.in \
 
4
        dbus-menu.xml
4
5
 
5
6
lib_LTLIBRARIES = \
6
7
        libdbusmenu-glib.la
8
9
libdbusmenu_glibincludedir=$(includedir)/libdbusmenu-0.1/libdbusmenu-glib/
9
10
 
10
11
libdbusmenu_glibinclude_HEADERS = \
11
 
        test.h
 
12
        menuitem.h \
 
13
        server.h \
 
14
        client.h
12
15
 
13
16
libdbusmenu_glib_la_SOURCES = \
14
 
        test.c
 
17
        dbusmenu-server.h \
 
18
        dbusmenu-client.h \
 
19
        menuitem.h \
 
20
        menuitem.c \
 
21
        server.h \
 
22
        server.c \
 
23
        server-marshal.h \
 
24
        server-marshal.c \
 
25
        client.h \
 
26
        client.c
15
27
 
16
28
libdbusmenu_glib_la_LDFLAGS = \
17
29
        -version-info $(LIBDBUSMENU_CURRENT):$(LIBDBUSMENU_REVISION):$(LIBDBUSMENU_AGE) \
19
31
        -export-symbols-regex "^[^_].*"
20
32
 
21
33
libdbusmenu_glib_la_CFLAGS = \
22
 
        $(LIBDBUSMENU_GLIB_CFLAGS)
 
34
        $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
23
35
 
24
36
libdbusmenu_glib_la_LIBADD = \
25
 
        $(LIBDBUSMENU_GLIB_LIBS)
 
37
        $(DBUSMENUGLIB_LIBS)
26
38
 
27
39
pkgconfig_DATA = dbusmenu-glib.pc
28
40
pkgconfigdir = $(libdir)/pkgconfig
29
41
 
 
42
BUILT_SOURCES = \
 
43
        dbusmenu-client.h \
 
44
        dbusmenu-server.h \
 
45
        server-marshal.h \
 
46
        server-marshal.c
 
47
 
 
48
dbusmenu-server.h: dbus-menu.xml
 
49
        dbus-binding-tool \
 
50
                --prefix=_dbusmenu_server \
 
51
                --mode=glib-server \
 
52
                --output=dbusmenu-server.h \
 
53
                $(srcdir)/dbus-menu.xml
 
54
 
 
55
dbusmenu-client.h: dbus-menu.xml
 
56
        dbus-binding-tool \
 
57
                --prefix=_dbusmenu_client \
 
58
                --mode=glib-client \
 
59
                --output=dbusmenu-client.h \
 
60
                $(srcdir)/dbus-menu.xml
 
61
 
 
62
server-marshal.h: $(srcdir)/server-marshal.list
 
63
        glib-genmarshal --header \
 
64
                --prefix=_dbusmenu_server_marshal $(srcdir)/server-marshal.list \
 
65
                > server-marshal.h
 
66
 
 
67
server-marshal.c: $(srcdir)/server-marshal.list
 
68
        glib-genmarshal --body \
 
69
                --prefix=_dbusmenu_server_marshal $(srcdir)/server-marshal.list \
 
70
                > server-marshal.c
 
71