diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2011-09-02 20:41:42 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-09-02 20:41:42 +0200 |
commit | bf9d25039c770867d2761ef11ef700e21addffba (patch) | |
tree | 891281de56a0f5754c52c22a5e8ff91a1290624f | |
parent | 49767228f70528afffb6483dd338de7e27c2617f (diff) |
build/include: Only install headers for enabled options
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | include/osmocom/core/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/osmocom/core/Makefile.am b/include/osmocom/core/Makefile.am index 1ef37693..adf7220c 100644 --- a/include/osmocom/core/Makefile.am +++ b/include/osmocom/core/Makefile.am @@ -2,11 +2,19 @@ osmocore_HEADERS = signal.h linuxlist.h timer.h select.h msgb.h bits.h \ bitvec.h statistics.h utils.h socket.h \ gsmtap.h write_queue.h prim.h \ logging.h rate_ctr.h gsmtap_util.h \ - plugin.h crc16.h panic.h process.h msgfile.h \ + crc16.h panic.h process.h \ backtrace.h conv.h application.h +if ENABLE_PLUGIN +osmocore_HEADERS += plugin.h +endif + if ENABLE_TALLOC osmocore_HEADERS += talloc.h endif +if ENABLE_MSGFILE +osmocore_HEADERS += msgfile.h +endif + osmocoredir = $(includedir)/osmocom/core |