[libcloudproviders/wip/rename-exporter: 7/9] build: Remove cloudprovidermanager from libcloudproviders



commit f876462a72e01825d6f06606f7cefc22ee4815b1
Author: Julius Härtl <jus bitgrid net>
Date:   Fri Sep 1 21:02:05 2017 +0200

    build: Remove cloudprovidermanager from libcloudproviders
    
    It is only required for cloudproviderd and is not part of the public API

 src/meson.build | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 7a2c749..3d3a9db 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,19 +1,22 @@
 libcloudproviders_headers = [
-  'cloudprovidermanager.h',
-  'cloudprovideraccount.h',
   'cloudproviders.h',
+  'cloudprovideraccount.h',
   'cloudproviderexporter.h',
   'cloudprovideraccountexporter.h',
 ]
 
 libcloudproviders_sources = [
-  'cloudprovidermanager.c',
-  'cloudprovideraccount.c',
   'cloudproviders.c',
+  'cloudprovideraccount.c',
   'cloudproviderexporter.c',
   'cloudprovideraccountexporter.c',
 ]
 
+cloudproviderd_sources = [
+  'cloudproviderd.c',
+  'cloudprovidermanager.c',
+]
+
 libcloudproviders_deps = [glib, gio, gio_unix]
 
 generated_sources = []
@@ -58,10 +61,9 @@ configure_file(input: 'libcloudproviders.service.in',
 
 
 cloudproviderd_deps = declare_dependency (link_with: libcloudproviders,
-                                          include_directories: include_directories('.'),
                                           dependencies: libcloudproviders_deps)
 
-executable('cloudproviderd', 'cloudproviderd.c',
+executable('cloudproviderd', cloudproviderd_sources,
            dependencies: cloudproviderd_deps,
            install: true,
            install_dir: libexecdir)


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