meson.build (1014B)
1 # This build file is in the public domain 2 3 libsync_SOURCES = [ 4 'sync_api_curl_defaults.c', 5 'sync_api_block_operation_common.c', 6 'sync_api_block_append.c', 7 'sync_api_block_update.c', 8 'sync_api_block_delete.c', 9 'sync_api_block_list.c', 10 'sync_api_object_upload.c', 11 'sync_api_object_fetch.c', 12 ] 13 14 libsync = library( 15 'sync', 16 libsync_SOURCES, 17 soversion: solibversions['libsync']['soversion'], 18 version: solibversions['libsync']['soversion'], 19 install_rpath: rpath_option, 20 dependencies: [ 21 libsyncutil_dep, 22 talerutil_dep, 23 talercurl_dep, 24 talerjson_dep, 25 gnunetutil_dep, 26 gnunetjson_dep, 27 gnunetcurl_dep, 28 json_dep, 29 curl_dep, 30 ], 31 include_directories: [incdir, configuration_inc], 32 install: true, 33 install_dir: get_option('libdir'), 34 ) 35 36 libsync_dep = declare_dependency(link_with: libsync) 37 pkg.generate( 38 libsync, 39 url: 'https://taler.net', 40 description: 'GNU Taler sync library', 41 )