[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 19/331] Tidy up Makefile for new D-Bus code



commit a4a346f68bb5a4771bfd1a48d8b1db1300c2b752
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Jan 22 14:05:48 2016 +1300

    Tidy up Makefile for new D-Bus code

 src/plugins/Makefile.am |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 776fa9f..eb1599c 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -178,21 +178,23 @@ endif
 libgs_plugin_ubuntu_reviews_la_SOURCES =               \
        gs-plugin-ubuntu-reviews.c                      \
        ubuntu-sso-accounts-proxy.c                     \
-       ubuntu-sso-credentials-proxy.c
+       ubuntu-sso-accounts-proxy.h                     \
+       ubuntu-sso-credentials-proxy.c                  \
+       ubuntu-sso-credentials-proxy.h
 libgs_plugin_ubuntu_reviews_la_LIBADD = $(GS_PLUGIN_LIBS) $(SOUP_LIBS) $(JSON_GLIB_LIBS) $(OAUTH_LIBS) 
$(SQLITE_LIBS)
 libgs_plugin_ubuntu_reviews_la_LDFLAGS = -module -avoid-version
 libgs_plugin_ubuntu_reviews_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARNINGFLAGS_C)
 
-ubuntu-sso-accounts-proxy.c: com.ubuntu.sso.UserManagement.xml
+ubuntu-sso-accounts-proxy.c ubuntu-sso-accounts-proxy.h: com.ubuntu.sso.UserManagement.xml Makefile
        $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
                         --generate-c-code ubuntu-sso-accounts-proxy \
                         --c-namespace UbuntuSSO \
                         --annotate 'com.ubuntu.sso.UserManagement' \
                                    org.gtk.GDBus.C.Name \
                                    Accounts \
-                        com.ubuntu.sso.UserManagement.xml
+                        $<
 
-ubuntu-sso-credentials-proxy.c: com.ubuntu.sso.CredentialsManagement.xml
+ubuntu-sso-credentials-proxy.c ubuntu-sso-credentials-proxy.h: com.ubuntu.sso.CredentialsManagement.xml 
Makefile
        $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
                         --generate-c-code ubuntu-sso-credentials-proxy \
                         --c-namespace UbuntuSSO \
@@ -202,7 +204,7 @@ ubuntu-sso-credentials-proxy.c: com.ubuntu.sso.CredentialsManagement.xml
                         --annotate 'com.ubuntu.sso.CredentialsManagement.find_credentials_sync()' \
                                    org.gtk.GDBus.C.Name \
                                    find_credentials_and_wait \
-                        com.ubuntu.sso.CredentialsManagement.xml
+                        $<
 
 libgs_plugin_packagekit_la_SOURCES =                   \
        gs-plugin-packagekit.c                          \
@@ -294,4 +296,10 @@ GITIGNOREFILES =                                   \
        ubuntu-sso-credentials-proxy.h                  \
        ubuntu-sso-credentials-proxy.c
 
+CLEANFILES =                                   \
+       ubuntu-sso-accounts-proxy.c                     \
+       ubuntu-sso-accounts-proxy.h                     \
+       ubuntu-sso-credentials-proxy.c                  \
+       ubuntu-sso-credentials-proxy.h
+
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]