meson.build 803 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Convenience library for the duplicated logging functionality
  2. common_sources = [
  3. 'common-logging.c',
  4. 'common-governors.c',
  5. 'common-external.c',
  6. 'common-helpers.c',
  7. 'common-gpu.c',
  8. 'common-pidfds.c',
  9. ]
  10. daemon_common = static_library(
  11. 'daemon-common',
  12. sources: common_sources,
  13. install: false,
  14. include_directories: [config_h_dir]
  15. )
  16. link_daemon_common = declare_dependency(
  17. link_with: daemon_common,
  18. include_directories: [include_directories('.')]
  19. )
  20. lib_common = static_library(
  21. 'lib-common',
  22. sources: [
  23. 'common-helpers.c',
  24. 'common-pidfds.c'
  25. ],
  26. install: false,
  27. include_directories: [config_h_dir]
  28. )
  29. link_lib_common = declare_dependency(
  30. link_with: lib_common,
  31. include_directories: [include_directories('.')]
  32. )