albatross/stats/dune
Reynir Björnsson f597921b44
Linux network stats (#44)
* Add libnl-3 and libnl-route-3 dependency if Linux (libnl-3-dev on ubuntu)
* Add libnl-3 flags, refactor stats/dune

Use dune-configurtator to get C flags. In the dune-configurator script,
we detect whether we're running on Linux or FreeBSD.
2020-11-25 14:39:10 +01:00

28 lines
725 B
Plaintext

(library
(name albatross_stats)
(public_name albatross.stats)
(libraries albatross)
(wrapped false)
(c_names albatross_stats_stubs)
(c_flags (:include c_flags.sexp))
(c_library_flags (:include c_library_flags.sexp))
(modules albatross_stats_pure))
(executable
(name albatross_stats)
(public_name albatross-stats)
(package albatross)
(modules albatross_stats)
(libraries albatross.cli albatross.stats albatross))
(executable
(name albatross_stat_client)
(public_name albatross-stat-client)
(package albatross)
(modules albatross_stat_client)
(libraries albatross.cli albatross.stats albatross))
(rule
(targets c_flags.sexp c_library_flags.sexp)
(action (run ./config/discover.exe)))