meson.build 845 B

1234567891011121314151617181920212223242526272829303132333435363738
  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-cpu.c',
  9. 'common-pidfds.c',
  10. 'common-power.c',
  11. ]
  12. daemon_common = static_library(
  13. 'daemon-common',
  14. sources: common_sources,
  15. install: false,
  16. include_directories: [config_h_dir]
  17. )
  18. link_daemon_common = declare_dependency(
  19. link_with: daemon_common,
  20. include_directories: [include_directories('.')]
  21. )
  22. lib_common = static_library(
  23. 'lib-common',
  24. sources: [
  25. 'common-helpers.c',
  26. 'common-pidfds.c'
  27. ],
  28. install: false,
  29. include_directories: [config_h_dir]
  30. )
  31. link_lib_common = declare_dependency(
  32. link_with: lib_common,
  33. include_directories: [include_directories('.')]
  34. )