blob: 7c29ca1052f5facb57e3b5a86cb54aeb53e6fcab [file] [log] [blame]
Pau Espin Pedrol4fc61182023-01-18 18:01:54 +01001osmocore_HEADERS = \
2 application.h \
3 backtrace.h \
4 base64.h \
5 bit16gen.h \
6 bit32gen.h \
7 bit64gen.h \
8 bits.h \
9 bitvec.h \
10 bitcomp.h \
11 byteswap.h \
12 conv.h \
13 counter.h \
14 crc16.h \
15 crc16gen.h \
16 crc32gen.h \
17 crc64gen.h \
18 crc8gen.h \
19 crcgen.h \
20 endian.h \
21 defs.h \
22 exec.h \
23 fsm.h \
24 gsmtap.h \
25 gsmtap_util.h \
26 hash.h \
27 hashtable.h \
28 isdnhdlc.h \
29 it_q.h \
30 linuxlist.h \
31 linuxrbtree.h \
32 log2.h \
33 logging.h \
34 loggingrb.h \
35 stats.h \
36 macaddr.h \
37 msgb.h \
Pau Espin Pedrol9d0321d2023-01-24 17:33:06 +010038 netdev.h \
Pau Espin Pedrol8a5014b2023-01-19 16:54:47 +010039 netns.h \
Harald Welte8857f3b2022-11-18 13:54:44 +010040 osmo_io.h \
Pau Espin Pedrol4fc61182023-01-18 18:01:54 +010041 panic.h \
42 prbs.h \
43 prim.h \
44 process.h \
45 rate_ctr.h \
46 stat_item.h \
47 stats_tcp.h \
48 select.h \
49 sercomm.h \
50 signal.h \
51 socket.h \
52 statistics.h \
53 strrb.h \
54 talloc.h \
55 tdef.h \
56 thread.h \
57 timer.h \
58 timer_compat.h \
Pau Espin Pedrol51e9dde2023-01-24 17:34:34 +010059 tun.h \
Pau Espin Pedrol4fc61182023-01-18 18:01:54 +010060 utils.h \
61 write_queue.h \
62 sockaddr_str.h \
Harald Weltedc023cf2022-11-29 23:15:18 +010063 soft_uart.h \
Pau Espin Pedrol4fc61182023-01-18 18:01:54 +010064 time_cc.h \
65 use_count.h \
Andreas Eversbergbb20d4e2023-06-09 15:21:56 +020066 socket_compat.h \
Pau Espin Pedrol4fc61182023-01-18 18:01:54 +010067 $(NULL)
68
69if ENABLE_PLUGIN
70osmocore_HEADERS += plugin.h
71endif
72
73if ENABLE_MSGFILE
74osmocore_HEADERS += msgfile.h
75endif
76
77if ENABLE_SERIAL
78osmocore_HEADERS += serial.h
79endif
80
81if ENABLE_LIBMNL
82osmocore_HEADERS += mnl.h
83endif
84
85osmocoredir = $(includedir)/osmocom/core
86
87noinst_HEADERS = \
88 logging_internal.h \
89 $(NULL)
90
91bit%gen.h: bitXXgen.h.tpl
92 $(AM_V_GEN)$(MKDIR_P) $(dir $@)
93 $(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
94
95crc%gen.h: crcXXgen.h.tpl
96 $(AM_V_GEN)$(MKDIR_P) $(dir $@)
97 $(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
Andreas Eversbergbb20d4e2023-06-09 15:21:56 +020098
99socket_compat.h: socket_compat.h.tpl
100 $(AM_V_GEN)$(MKDIR_P) $(dir $@)
101 $(AM_V_GEN)sed -e's/XX/$(HAVE_SYS_SOCKET_H)/g' $< > $@
102
103EXTRA_DIST = socket_compat.h.tpl