comparison plugins/Makefile.am @ 11171:ebb02ea3c789

[gaim-migrate @ 13272] Moved DBUS init call from gtkmain.c to core.c Reimplemented DBUS bindings mechamism to use low-level GLib bindings as described in my last blog entry. This way plugins can add new DBUS methods on the fly. Also wrote an example plugin that demonstrate how to do it. committer: Tailor Script <tailor@pidgin.im>
author Piotr Zielinski <zielaj>
date Sat, 30 Jul 2005 00:23:21 +0000
parents 0ff7153e17f3
children f305bcd85dda
comparison
equal deleted inserted replaced
11170:0e9e2b923d09 11171:ebb02ea3c789
44 spellchk.la \ 44 spellchk.la \
45 statenotify.la \ 45 statenotify.la \
46 timestamp.la 46 timestamp.la
47 47
48 autorecon_la_SOURCES = autorecon.c 48 autorecon_la_SOURCES = autorecon.c
49
49 extplacement_la_SOURCES = extplacement.c 50 extplacement_la_SOURCES = extplacement.c
50 gaimrc_la_SOURCES = gaimrc.c 51 gaimrc_la_SOURCES = gaimrc.c
51 history_la_SOURCES = history.c 52 history_la_SOURCES = history.c
52 iconaway_la_SOURCES = iconaway.c 53 iconaway_la_SOURCES = iconaway.c
53 idle_la_SOURCES = idle.c 54 idle_la_SOURCES = idle.c
54 notify_la_SOURCES = notify.c 55 notify_la_SOURCES = notify.c
55 relnot_la_SOURCES = relnot.c 56 relnot_la_SOURCES = relnot.c
56 spellchk_la_SOURCES = spellchk.c 57 spellchk_la_SOURCES = spellchk.c
57 statenotify_la_SOURCES = statenotify.c 58 statenotify_la_SOURCES = statenotify.c
58 timestamp_la_SOURCES = timestamp.c 59 timestamp_la_SOURCES = timestamp.c
60
61 if ENABLE_DBUS
62
63 CLEANFILES = dbus-example-bindings.c
64 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS)
65 dbus_example_la_SOURCES = dbus-example.c
66 plugin_LTLIBRARIES += dbus-example.la
67
68 dbus-example-bindings.c: ../src/dbus-analyze-functions.py $(dbus_example_la_SOURCES) $(dbus_example_la_HEADERS)
69 cat $(dbus_example_la_SOURCES) $(dbus_example_la_HEADERS) | \
70 $(PYTHON) ../src/dbus-analyze-functions.py --export-only > $@
71
72 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c
73
74
75 endif # ENABLE_DBUS
59 76
60 endif # PLUGINS 77 endif # PLUGINS
61 78
62 EXTRA_DIST = \ 79 EXTRA_DIST = \
63 ChangeLog HOWTO \ 80 ChangeLog HOWTO \
76 -DDATADIR=\"$(datadir)\" \ 93 -DDATADIR=\"$(datadir)\" \
77 -DVERSION=\"$(VERSION)\" \ 94 -DVERSION=\"$(VERSION)\" \
78 -I$(top_srcdir)/src \ 95 -I$(top_srcdir)/src \
79 $(DEBUG_CFLAGS) \ 96 $(DEBUG_CFLAGS) \
80 $(GTK_CFLAGS) \ 97 $(GTK_CFLAGS) \
81 $(PLUGIN_CFLAGS) 98 $(PLUGIN_CFLAGS) \
99 $(DBUS_CFLAGS)
82 100
83 # 101 #
84 # This part allows people to build their own plugins in here. 102 # This part allows people to build their own plugins in here.
85 # Yes, it's a mess. 103 # Yes, it's a mess.
86 # 104 #