aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/Makefile.am
blob: 3b2ef30da864cc70a35017a2116bc61586640292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
osmocore_HEADERS = \
	application.h \
	backtrace.h \
	base64.h \
	bit16gen.h \
	bit32gen.h \
	bit64gen.h \
	bits.h \
	bitvec.h \
	bitcomp.h \
	byteswap.h \
	conv.h \
	counter.h \
	crc16.h \
	crc16gen.h \
	crc32gen.h \
	crc64gen.h \
	crc8gen.h \
	crcgen.h \
	endian.h \
	defs.h \
	exec.h \
	fsm.h \
	gsmtap.h \
	gsmtap_util.h \
	hash.h \
	hashtable.h \
	isdnhdlc.h \
	it_q.h \
	linuxlist.h \
	linuxrbtree.h \
	log2.h \
	logging.h \
	loggingrb.h \
	stats.h \
	macaddr.h \
	msgb.h \
	netdev.h \
	netns.h \
	panic.h \
	prbs.h \
	prim.h \
	process.h \
	rate_ctr.h \
	stat_item.h \
	stats_tcp.h \
	select.h \
	sercomm.h \
	signal.h \
	socket.h \
	statistics.h \
	strrb.h \
	talloc.h \
	tdef.h \
	thread.h \
	timer.h \
	timer_compat.h \
	utils.h \
	write_queue.h \
	sockaddr_str.h \
	time_cc.h \
	use_count.h \
	$(NULL)

if ENABLE_PLUGIN
osmocore_HEADERS += plugin.h
endif

if ENABLE_MSGFILE
osmocore_HEADERS += msgfile.h
endif

if ENABLE_SERIAL
osmocore_HEADERS += serial.h
endif

if ENABLE_LIBMNL
osmocore_HEADERS += mnl.h
endif

osmocoredir = $(includedir)/osmocom/core

noinst_HEADERS = \
	logging_internal.h \
	$(NULL)

bit%gen.h: bitXXgen.h.tpl
	$(AM_V_GEN)$(MKDIR_P) $(dir $@)
	$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@

crc%gen.h: crcXXgen.h.tpl
	$(AM_V_GEN)$(MKDIR_P) $(dir $@)
	$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@