chiark / gitweb /
tree-wide: beautify remaining copyright statements
[elogind.git] / src / libelogind / meson.build
index cc46f04d9c0cffa5dfb88c1202415316dcf009c9..6e390490ec3e6d6612b255a48181252e38699a2c 100644 (file)
@@ -1,19 +1,6 @@
 # SPDX-License-Identifier: LGPL-2.1+
 #
-# Copyright 2017 Zbigniew Jędrzejewski-Szmek
-#
-# elogind is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# elogind is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with elogind; If not, see <http://www.gnu.org/licenses/>.
+# Copyright © 2017 Zbigniew Jędrzejewski-Szmek
 
 id128_sources = files('''
         sd-id128/id128-util.c
@@ -96,9 +83,7 @@ sd_login_c = files('sd-login/sd-login.c')
 #         sd-utf8/sd-utf8.c
 # '''.split()) + id128_sources + sd_daemon_c + sd_event_c + sd_login_c
 #else
-libelogind_internal_sources = files('''
-        sd-bus/bus-bloom.c
-        sd-bus/bus-bloom.h
+libelogind_sources = files('''
         sd-bus/bus-common-errors.c
         sd-bus/bus-common-errors.h
         sd-bus/bus-container.c
@@ -145,15 +130,17 @@ libelogind_internal_sources = files('''
 #endif // 0
 
 libelogind_static = static_library(
-        'elogind',
         libelogind_sources,
+libelogind_c_args = ['-fvisibility=default']
+
+        'elogind_static',
         install : false,
         include_directories : includes,
         link_with : libbasic,
 #if 0 /// elogind does not need librt
 #         dependencies : [threads,
 #                         librt],
-#         c_args : ['-fvisibility=default'])
+#         c_args : libsystemd_c_args)
 # 
 # libsystemd_sym = 'src/libsystemd/libsystemd.sym'
 # 
@@ -162,7 +149,7 @@ libelogind_static = static_library(
 #         output : 'libsystemd.pc',
 # install_data(libsystemd_pc,
 #else
-        dependencies : [threads])
+        dependencies : [threads],
 #endif // 0
         configuration : substs)
              install_dir : pkgconfiglibdir)