aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-15 16:21:08 -0500
committerTed Gould <ted@canonical.com>2009-06-15 16:21:08 -0500
commit0e7a077711211836fcc37968e0db234791c153af (patch)
tree44682d135561eaac22bddaed9bf03c1eb2986ff9 /src/Makefile.am
parentfdf84c9cad59ae4dff01b95bafdfcfd8139f0af9 (diff)
parent094b80fb89c15cc369f4ca50e218cec12efbaadc (diff)
downloadayatana-indicator-session-0e7a077711211836fcc37968e0db234791c153af.tar.gz
ayatana-indicator-session-0e7a077711211836fcc37968e0db234791c153af.tar.bz2
ayatana-indicator-session-0e7a077711211836fcc37968e0db234791c153af.zip
Upstream from the indicator branch.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am76
1 files changed, 71 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c29d179..1965fe9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,72 @@
-fusalibdir = $(libdir)/indicators/1
-fusalib_LTLIBRARIES = libfusa.la
-libfusa_la_SOURCES = indicator-fusa.c
-libfusa_la_CFLAGS = $(APPLET_CFLAGS)
-libfusa_la_LIBADD = $(APPLET_LIBS)
+libexec_PROGRAMS = indicator-status-service indicator-users-service indicator-session-service
+
+###################
+# Indicator Stuff
+###################
+
+status_users_sessionlibdir = $(INDICATORDIR)
+status_users_sessionlib_LTLIBRARIES = libstatus-users-session.la
+libstatus_users_session_la_SOURCES = \
+ indicator-sus.c \
+ dbus-shared-names.h \
+ status-service-client.h
+libstatus_users_session_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Werror
+libstatus_users_session_la_LIBADD = $(APPLET_LIBS)
+
+################
+# Status Stuff
+################
+
+indicator_status_service_SOURCES = \
+ status-service.c \
+ status-service-dbus.h \
+ status-service-dbus.c \
+ status-service-server.h \
+ status-provider.h \
+ status-provider.c \
+ status-provider-pidgin.h \
+ status-provider-pidgin.c
+indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS)
+indicator_status_service_LDADD = $(STATUSSERVICE_LIBS)
+
+status-service-client.h: status-service.xml
+ dbus-binding-tool \
+ --prefix=_status_service_client \
+ --mode=glib-client \
+ --output=status-service-client.h \
+ $(srcdir)/status-service.xml
+
+status-service-server.h: status-service.xml
+ dbus-binding-tool \
+ --prefix=_status_service_server \
+ --mode=glib-server \
+ --output=status-service-server.h \
+ $(srcdir)/status-service.xml
+
+###############
+# Users Stuff
+###############
+
+indicator_users_service_SOURCES = users-service.c
+indicator_users_service_CFLAGS = $(USERSSERVICE_CFLAGS)
+indicator_users_service_LDADD = $(USERSSERVICE_LIBS)
+
+#################
+# Session Stuff
+#################
+
+indicator_session_service_SOURCES = session-service.c
+indicator_session_service_CFLAGS = $(SESSIONSERVICE_CFLAGS)
+indicator_session_service_LDADD = $(SESSIONSERVICE_LIBS)
+
+###############
+# Other Stuff
+###############
+
+BUILT_SOURCES = \
+ status-service-client.h \
+ status-service-server.h
+
+EXTRA_DIST = \
+ status-service.xml