Mercurial > pidgin
diff libpurple/Makefile.am @ 27509:ebd9630ffc77
propagate from branch 'im.pidgin.pidgin' (head cec487e50b3df746ae8b23771513bf85734f618d)
to branch 'im.pidgin.cpw.darkrain42.obsolete' (head 1fc27ec0bc11e95aeff8c890ab68a5ddcb4bfb8d)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 12 Jul 2009 04:41:56 +0000 |
parents | a50d0b8e3b7d |
children | 7fbf964c6c6c |
line wrap: on
line diff
--- a/libpurple/Makefile.am Mon Jul 06 04:38:08 2009 +0000 +++ b/libpurple/Makefile.am Sun Jul 12 04:41:56 2009 +0000 @@ -1,5 +1,6 @@ EXTRA_DIST = \ dbus-analyze-functions.py \ + dbus-analyze-signals.py \ dbus-analyze-types.py \ marshallers.list \ purple-notifications-example \ @@ -52,7 +53,6 @@ idle.c \ imgstore.c \ log.c \ - marshallers.c \ media.c \ mediamanager.c \ mime.c \ @@ -92,6 +92,9 @@ xmlnode.c \ whiteboard.c +purple_builtsources = \ + marshallers.c + purple_coreheaders = \ account.h \ accountopt.h \ @@ -169,6 +172,7 @@ dbus-bindings.c \ dbus-client-binding.c \ dbus-client-binding.h \ + dbus-signals.c \ dbus-types.c \ dbus-types.h \ marshallers.c \ @@ -189,6 +193,10 @@ purple_build_coreheaders = $(addprefix $(srcdir)/, $(purple_coreheaders)) \ $(purple_builtheaders) dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported)) +# We should probably make this better +dbus_signals = $(addprefix $(srcdir)/, $(purple_coresources)) \ + $(srcdir)/protocols/irc/irc.c \ + $(srcdir)/protocols/jabber/libxmpp.c dbus-types.c: dbus-analyze-types.py $(purple_build_coreheaders) cat $(purple_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=PURPLE_DBUS_DEFINE_TYPE\(%s\) > $@ @@ -199,8 +207,11 @@ dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@ -dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h -dbus-server.lo: dbus-bindings.c dbus-types.c dbus-types.h +dbus-signals.c: dbus-analyze-signals.py $(dbus_signals) + cat $(dbus_signals) | $(PYTHON) $(srcdir)/dbus-analyze-signals.py > $@ + +dbus-server.$(OBJEXT): dbus-bindings.c dbus-signals.c dbus-types.c dbus-types.h +dbus-server.lo: dbus-bindings.c dbus-signals.c dbus-types.c dbus-types.h $(libpurple_la_OBJECTS): dbus-types.h # libpurple-client @@ -240,17 +251,17 @@ bin_SCRIPTS = purple-remote purple-send purple-send-async purple-url-handler BUILT_SOURCES = $(purple_builtheaders) \ + $(purple_builtsources) \ + dbus-bindings.c \ + dbus-signals.c \ dbus-types.c \ dbus-types.h \ - dbus-bindings.c \ - marshallers.c \ - marshallers.h \ purple-client-bindings.c \ purple-client-bindings.h else -BUILT_SOURCES = $(purple_builtheaders) +BUILT_SOURCES = $(purple_builtheaders) $(purple_builtsources) endif @@ -258,6 +269,7 @@ libpurple_la_SOURCES = \ $(purple_coresources) \ + $(purple_builtsources) \ $(dbus_sources) noinst_HEADERS= \