mirror of https://gerrit.osmocom.org/libosmocore
build/include: Only install headers for enabled options
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
49767228f7
commit
bf9d25039c
|
@ -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 \
|
bitvec.h statistics.h utils.h socket.h \
|
||||||
gsmtap.h write_queue.h prim.h \
|
gsmtap.h write_queue.h prim.h \
|
||||||
logging.h rate_ctr.h gsmtap_util.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
|
backtrace.h conv.h application.h
|
||||||
|
|
||||||
|
if ENABLE_PLUGIN
|
||||||
|
osmocore_HEADERS += plugin.h
|
||||||
|
endif
|
||||||
|
|
||||||
if ENABLE_TALLOC
|
if ENABLE_TALLOC
|
||||||
osmocore_HEADERS += talloc.h
|
osmocore_HEADERS += talloc.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if ENABLE_MSGFILE
|
||||||
|
osmocore_HEADERS += msgfile.h
|
||||||
|
endif
|
||||||
|
|
||||||
osmocoredir = $(includedir)/osmocom/core
|
osmocoredir = $(includedir)/osmocom/core
|
||||||
|
|
Loading…
Reference in New Issue