meson.build (1066B)
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_block_reconcile.c', 11 'sync_api_object_upload.c', 12 'sync_api_object_fetch.c', 13 ] 14 15 libsync = library( 16 'sync', 17 libsync_SOURCES, 18 soversion: solibversions['libsync']['soversion'], 19 version: solibversions['libsync']['soversion'], 20 install_rpath: rpath_option, 21 dependencies: [ 22 libsyncutil_dep, 23 talerutil_dep, 24 talercurl_dep, 25 talerjson_dep, 26 gnunetutil_dep, 27 gnunetjson_dep, 28 gnunetcurl_dep, 29 mhd2_dep, 30 json_dep, 31 curl_dep, 32 ], 33 include_directories: [incdir, configuration_inc], 34 install: true, 35 install_dir: get_option('libdir'), 36 ) 37 38 libsync_dep = declare_dependency(link_with: libsync) 39 pkg.generate( 40 libsync, 41 url: 'https://taler.net', 42 description: 'GNU Taler sync library', 43 )