summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 8fdeff70c22006d6ccf8e046ab597c42011886b2 (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
94
95
96
97
98
99
100
101
102
103
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool
# documentation before making any modification
LIBVERSION = 0:0:0

AM_CPPFLAGS = \
	$(all_includes) \
	-I$(top_builddir) \
	-I$(top_srcdir)/include \
	$(NULL)

AM_CFLAGS = \
	-Wall \
	$(LIBOSMOCORE_CFLAGS) \
	$(LIBOSMOCODEC_CFLAGS) \
	${OPENCORE_AMRNB_CFLAGS} \
	$(LIBALSA_CFLAGS) \
	$(NULL)

lib_LTLIBRARIES = libosmogapk.la
EXTRA_DIST = libosmogapk.map

libosmogapk_la_LDFLAGS = \
	$(LIBOSMOCORE_LIBS) \
	$(LIBOSMOCODEC_LIBS) \
	${OPENCORE_AMRNB_LIBS} \
	${LIBGSM_LIBS} \
	$(LIBALSA_LIBS) \
	$(LTLDFLAGS_OSMOGAPK) \
	-version-info $(LIBVERSION) \
	-no-undefined \
	$(NULL)

if ENABLE_GSMHR
libosmogapk_la_LIBADD = $(top_builddir)/libgsmhr/libgsmhr.la
endif

# Processing queue implementation
libosmogapk_la_SOURCES = \
	procqueue.c \
	pq_format.c \
	pq_codec.c \
	pq_file.c \
	pq_alsa.c \
	pq_rtp.c \
	pq_ecu.c \
	$(NULL)

# ECU (Error Concealment Unit) implementation
libosmogapk_la_SOURCES += \
	ecu_fr.c \
	$(NULL)

# Formats implementation
libosmogapk_la_SOURCES += \
	formats.c \
	fmt_ti.c \
	fmt_amr.c \
	fmt_gsm.c \
	fmt_hr_ref.c \
	fmt_racal.c \
	fmt_rawpcm.c \
	fmt_rtp_amr.c \
	fmt_rtp_efr.c \
	fmt_rtp_hr_etsi.c \
	fmt_rtp_hr_ietf.c \
	fmt_amr_opencore.c \
	$(NULL)

# Codecs implementation
libosmogapk_la_SOURCES += \
	codecs.c \
	codec_pcm.c \
	codec_hr.c \
	codec_fr.c \
	codec_efr.c \
	codec_amr.c \
	$(NULL)

# Codec benchmarking
libosmogapk_la_SOURCES += \
	benchmark.c \
	$(NULL)

# Common routines
libosmogapk_la_SOURCES += \
	common.c \
	$(NULL)

# libosmogapk representative application
bin_PROGRAMS = osmo-gapk

osmo_gapk_SOURCES = \
	app_osmo_gapk.c \
	$(NULL)

osmo_gapk_LDFLAGS = \
	$(LIBOSMOCORE_LIBS) \
	$(NULL)

osmo_gapk_LDADD = \
	libosmogapk.la \
	$(NULL)