aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ab79f0f..bc3c9d9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,17 +29,17 @@ indicator_status_service_SOURCES = \
status-provider.c \
status-provider-pidgin.h \
status-provider-pidgin.c
-indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS)
+indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS) -Wall -Werror
indicator_status_service_LDADD = $(STATUSSERVICE_LIBS)
-status-service-client.h: status-service.xml
+status-service-client.h: $(srcdir)/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
+status-service-server.h: $(srcdir)/status-service.xml
dbus-binding-tool \
--prefix=_status_service_server \
--mode=glib-server \
@@ -51,7 +51,7 @@ status-service-server.h: status-service.xml
###############
indicator_users_service_SOURCES = users-service.c
-indicator_users_service_CFLAGS = $(USERSSERVICE_CFLAGS)
+indicator_users_service_CFLAGS = $(USERSSERVICE_CFLAGS) -Wall -Werror
indicator_users_service_LDADD = $(USERSSERVICE_LIBS)
#################
@@ -59,7 +59,7 @@ indicator_users_service_LDADD = $(USERSSERVICE_LIBS)
#################
indicator_session_service_SOURCES = session-service.c
-indicator_session_service_CFLAGS = $(SESSIONSERVICE_CFLAGS) -DLIBEXECDIR=\"$(libexecdir)\"
+indicator_session_service_CFLAGS = $(SESSIONSERVICE_CFLAGS) -DLIBEXECDIR=\"$(libexecdir)\" -Wall -Werror
indicator_session_service_LDADD = $(SESSIONSERVICE_LIBS)
###############
@@ -72,3 +72,6 @@ BUILT_SOURCES = \
EXTRA_DIST = \
status-service.xml
+
+CLEANFILES = \
+ $(BUILT_SOURCES)