c8fe559da802149c46205ffb37901af073883ba5
[opus.git] / Makefile.am
1
2 #AM_CFLAGS = -Isrc -Iinterface -fPIC -Wall -O3 
3 NAME = libSKP_SILK_SDK
4 AM_CPPFLAGS = $(AM_CFLAGS)
5
6 INCLUDES = -I$(top_srcdir)/src_FLP -I$(top_srcdir)/src_SigProc_FIX -I$(top_srcdir)/src_SigProc_FLP -I$(top_srcdir)/src_common -I$(top_srcdir)/interface -I$(top_srcdir)/../celt/libcelt
7 EXTRA_DIST = Silk_FLP.sln \
8 Silk_FLP.sln \
9 src_FIX/src_FIX.vcxproj \
10 src_FIX/src_FIX.vcxproj.filters \
11 src_FLP/src_FLP.vcxproj \
12 src_FLP/src_FLP.vcxproj.filters \
13 src_common/src_common.vcxproj \
14 src_common/src_common.vcxproj.filters \
15 test/Encoder.c \
16 test/Decoder.c \
17 test/signalCompare.c \
18 src_SigProc_FLP/src_SigProc_FLP.vcxproj \
19 src_SigProc_FLP/src_SigProc_FLP.vcxproj.filters \
20 src_SigProc_FIX/src_SigProc_FIX.vcxproj \
21 src_SigProc_FIX/src_SigProc_FIX.vcxproj.filters \
22 test_silk_dec/test_silk_dec.vcxproj \
23 test_silk_dec/test_silk_dec.vcxproj.filters \
24 test_silk_enc/test_silk_enc.vcxproj \
25 test_silk_enc/test_silk_enc.vcxproj.filters
26
27 lib_LTLIBRARIES = libSKP_SILK_SDK.la
28 libSKP_SILK_SDK_la_SOURCES = src_common/SKP_Silk_CNG.c \
29 src_common/SKP_Silk_code_signs.c \
30 src_common/SKP_Silk_create_init_destroy.c \
31 src_common/SKP_Silk_decode_core.c \
32 src_common/SKP_Silk_decode_frame.c \
33 src_common/SKP_Silk_decode_indices.c \
34 src_common/SKP_Silk_decode_parameters.c \
35 src_common/SKP_Silk_decode_pulses.c \
36 src_common/SKP_Silk_decoder_set_fs.c \
37 src_common/SKP_Silk_dec_API.c \
38 src_common/SKP_Silk_detect_SWB_input.c \
39 src_common/SKP_Silk_enc_API.c \
40 src_common/SKP_Silk_encode_parameters.c \
41 src_common/SKP_Silk_encode_pulses.c \
42 src_common/SKP_Silk_gain_quant.c \
43 src_common/SKP_Silk_interpolate.c \
44 src_common/SKP_Silk_LBRR_reset.c \
45 src_common/SKP_Silk_LP_variable_cutoff.c \
46 src_common/SKP_Silk_NLSF2A_stable.c \
47 src_common/SKP_Silk_NLSF_MSVQ_decode.c \
48 src_common/SKP_Silk_NSQ.c \
49 src_common/SKP_Silk_NSQ_del_dec.c \
50 src_common/SKP_Silk_PLC.c \
51 src_common/SKP_Silk_pulses_to_bytes.c \
52 src_common/SKP_Silk_range_coder.c \
53 src_common/SKP_Silk_shell_coder.c \
54 src_common/SKP_Silk_tables_gain.c \
55 src_common/SKP_Silk_tables_LTP.c \
56 src_common/SKP_Silk_tables_NLSF_CB0_10.c \
57 src_common/SKP_Silk_tables_NLSF_CB0_16.c \
58 src_common/SKP_Silk_tables_NLSF_CB1_10.c \
59 src_common/SKP_Silk_tables_NLSF_CB1_16.c \
60 src_common/SKP_Silk_tables_other.c \
61 src_common/SKP_Silk_tables_pitch_lag.c \
62 src_common/SKP_Silk_tables_pulses_per_block.c \
63 src_common/SKP_Silk_tables_sign.c \
64 src_common/SKP_Silk_VAD.c \
65 src_common/SKP_Silk_control_audio_bandwidth.c \
66 src_common/SKP_Silk_quant_LTP_gains.c \
67 src_common/SKP_Silk_VQ_WMat_EC.c \
68 src_FLP/SKP_Silk_apply_sine_window_FLP.c \
69 src_FLP/SKP_Silk_control_codec_FLP.c \
70 src_FLP/SKP_Silk_corrMatrix_FLP.c \
71 src_FLP/SKP_Silk_encode_frame_FLP.c \
72 src_FLP/SKP_Silk_find_LPC_FLP.c \
73 src_FLP/SKP_Silk_find_LTP_FLP.c \
74 src_FLP/SKP_Silk_find_pitch_lags_FLP.c \
75 src_FLP/SKP_Silk_find_pred_coefs_FLP.c \
76 src_FLP/SKP_Silk_HP_variable_cutoff_FLP.c \
77 src_FLP/SKP_Silk_init_encoder_FLP.c \
78 src_FLP/SKP_Silk_LPC_analysis_filter_FLP.c \
79 src_FLP/SKP_Silk_LTP_analysis_filter_FLP.c \
80 src_FLP/SKP_Silk_LTP_scale_ctrl_FLP.c \
81 src_FLP/SKP_Silk_NLSF_MSVQ_decode_FLP.c \
82 src_FLP/SKP_Silk_NLSF_MSVQ_encode_FLP.c \
83 src_FLP/SKP_Silk_NLSF_VQ_rate_distortion_FLP.c \
84 src_FLP/SKP_Silk_NLSF_VQ_sum_error_FLP.c \
85 src_FLP/SKP_Silk_NLSF_VQ_weights_laroia_FLP.c \
86 src_FLP/SKP_Silk_noise_shape_analysis_FLP.c \
87 src_FLP/SKP_Silk_prefilter_FLP.c \
88 src_FLP/SKP_Silk_process_gains_FLP.c \
89 src_FLP/SKP_Silk_process_NLSFs_FLP.c \
90 src_FLP/SKP_Silk_regularize_correlations_FLP.c \
91 src_FLP/SKP_Silk_residual_energy_FLP.c \
92 src_FLP/SKP_Silk_solve_LS_FLP.c \
93 src_FLP/SKP_Silk_warped_autocorrelation_FLP.c \
94 src_FLP/SKP_Silk_wrappers_FLP.c \
95 src_SigProc_FIX/SKP_Silk_A2NLSF.c \
96 src_SigProc_FIX/SKP_Silk_allpass_int.c \
97 src_SigProc_FIX/SKP_Silk_ana_filt_bank_1.c \
98 src_SigProc_FIX/SKP_Silk_apply_sine_window.c \
99 src_SigProc_FIX/SKP_Silk_array_maxabs.c \
100 src_SigProc_FIX/SKP_Silk_autocorr.c \
101 src_SigProc_FIX/SKP_Silk_biquad_alt.c \
102 src_SigProc_FIX/SKP_Silk_biquad.c \
103 src_SigProc_FIX/SKP_Silk_burg_modified.c \
104 src_SigProc_FIX/SKP_Silk_bwexpander_32.c \
105 src_SigProc_FIX/SKP_Silk_bwexpander.c \
106 src_SigProc_FIX/SKP_Silk_decode_pitch.c \
107 src_SigProc_FIX/SKP_Silk_inner_prod_aligned.c \
108 src_SigProc_FIX/SKP_Silk_k2a.c \
109 src_SigProc_FIX/SKP_Silk_k2a_Q16.c \
110 src_SigProc_FIX/SKP_Silk_lin2log.c \
111 src_SigProc_FIX/SKP_Silk_log2lin.c \
112 src_SigProc_FIX/SKP_Silk_lowpass_int.c \
113 src_SigProc_FIX/SKP_Silk_lowpass_short.c \
114 src_SigProc_FIX/SKP_Silk_LPC_inv_pred_gain.c \
115 src_SigProc_FIX/SKP_Silk_LPC_stabilize.c \
116 src_SigProc_FIX/SKP_Silk_LPC_synthesis_filter.c \
117 src_SigProc_FIX/SKP_Silk_LPC_synthesis_order16.c \
118 src_SigProc_FIX/SKP_Silk_LSF_cos_table.c \
119 src_SigProc_FIX/SKP_Silk_MA.c \
120 src_SigProc_FIX/SKP_Silk_NLSF2A.c \
121 src_SigProc_FIX/SKP_Silk_NLSF_stabilize.c \
122 src_SigProc_FIX/SKP_Silk_NLSF_VQ_weights_laroia.c \
123 src_SigProc_FIX/SKP_Silk_pitch_analysis_core.c \
124 src_SigProc_FIX/SKP_Silk_pitch_est_tables.c \
125 src_SigProc_FIX/SKP_Silk_resampler.c \
126 src_SigProc_FIX/SKP_Silk_resampler_down2_3.c \
127 src_SigProc_FIX/SKP_Silk_resampler_down2.c \
128 src_SigProc_FIX/SKP_Silk_resampler_down3.c \
129 src_SigProc_FIX/SKP_Silk_resampler_private_AR2.c \
130 src_SigProc_FIX/SKP_Silk_resampler_private_ARMA4.c \
131 src_SigProc_FIX/SKP_Silk_resampler_private_copy.c \
132 src_SigProc_FIX/SKP_Silk_resampler_private_down4.c \
133 src_SigProc_FIX/SKP_Silk_resampler_private_down_FIR.c \
134 src_SigProc_FIX/SKP_Silk_resampler_private_IIR_FIR.c \
135 src_SigProc_FIX/SKP_Silk_resampler_private_up2_HQ.c \
136 src_SigProc_FIX/SKP_Silk_resampler_private_up4.c \
137 src_SigProc_FIX/SKP_Silk_resampler_rom.c \
138 src_SigProc_FIX/SKP_Silk_resampler_up2.c \
139 src_SigProc_FIX/SKP_Silk_scale_copy_vector16.c \
140 src_SigProc_FIX/SKP_Silk_scale_vector.c \
141 src_SigProc_FIX/SKP_Silk_schur64.c \
142 src_SigProc_FIX/SKP_Silk_schur.c \
143 src_SigProc_FIX/SKP_Silk_sigm_Q15.c \
144 src_SigProc_FIX/SKP_Silk_sort.c \
145 src_SigProc_FIX/SKP_Silk_sum_sqr_shift.c \
146 src_SigProc_FLP/SKP_Silk_allpass_int_FLP.c \
147 src_SigProc_FLP/SKP_Silk_autocorrelation_FLP.c \
148 src_SigProc_FLP/SKP_Silk_burg_modified_FLP.c \
149 src_SigProc_FLP/SKP_Silk_bwexpander_FLP.c \
150 src_SigProc_FLP/SKP_Silk_decimate2_coarse_FLP.c \
151 src_SigProc_FLP/SKP_Silk_decimate2_coarsest_FLP.c \
152 src_SigProc_FLP/SKP_Silk_energy_FLP.c \
153 src_SigProc_FLP/SKP_Silk_inner_product_FLP.c \
154 src_SigProc_FLP/SKP_Silk_k2a_FLP.c \
155 src_SigProc_FLP/SKP_Silk_levinsondurbin_FLP.c \
156 src_SigProc_FLP/SKP_Silk_LPC_inv_pred_gain_FLP.c \
157 src_SigProc_FLP/SKP_Silk_pitch_analysis_core_FLP.c \
158 src_SigProc_FLP/SKP_Silk_scale_copy_vector_FLP.c \
159 src_SigProc_FLP/SKP_Silk_scale_vector_FLP.c \
160 src_SigProc_FLP/SKP_Silk_schur_FLP.c \
161 src_SigProc_FLP/SKP_Silk_sort_FLP.c
162
163
164 libSKP_SILK_SDK_la_CFLAGS = $(AM_CFLAGS)
165 libSKP_SILK_SDK_la_LDFLAGS = $(LIBS)
166
167 library_includedir = $(prefix)/include/silk
168 library_include_HEADERS = interface/SKP_debug.h \
169 interface/SKP_Silk_control.h \
170 interface/SKP_Silk_errors.h \
171 interface/SKP_Silk_SDK_API.h \
172 interface/SKP_Silk_typedef.h \
173 src_common/SKP_Silk_define.h \
174 src_common/SKP_Silk_main.h \
175 src_common/SKP_Silk_perceptual_parameters.h \
176 src_common/SKP_Silk_PLC.h \
177 src_common/SKP_Silk_structs.h \
178 src_common/SKP_Silk_tables.h \
179 src_common/SKP_Silk_tables_NLSF_CB.h \
180 src_common/SKP_Silk_tuning_parameters.h \
181 src_common/SKP_Silk_setup_complexity.h \
182 src_FIX/SKP_Silk_main_FIX.h \
183 src_FIX/SKP_Silk_structs_FIX.h \
184 src_FLP/SKP_Silk_assembler_FLP.h \
185 src_FLP/SKP_Silk_main_FLP.h \
186 src_FLP/SKP_Silk_structs_FLP.h \
187 src_SigProc_FIX/SKP_Silk_common_pitch_est_defines.h \
188 src_SigProc_FIX/SKP_Silk_Inlines.h \
189 src_SigProc_FIX/SKP_Silk_MacroCount.h \
190 src_SigProc_FIX/SKP_Silk_MacroDebug.h \
191 src_SigProc_FIX/SKP_Silk_macros.h \
192 src_SigProc_FIX/SKP_Silk_pitch_est_defines.h \
193 src_SigProc_FIX/SKP_Silk_resampler_private.h \
194 src_SigProc_FIX/SKP_Silk_resampler_rom.h \
195 src_SigProc_FIX/SKP_Silk_resampler_structs.h \
196 src_SigProc_FIX/SKP_Silk_SigProc_FIX.h \
197 src_SigProc_FLP/SKP_Silk_SigProc_FLP.h
198
199 bin_PROGRAMS = Encoder Decoder signalCompare
200 Encoder_SOURCES = test/Encoder.c $(top_builddir)/interface/SKP_Silk_SDK_API.h
201 Encoder_LDADD = $(lib_LTLIBRARIES) 
202 Encoder_LDFLAGS = $(LIBS)
203
204 Decoder_SOURCES = test/Decoder.c $(top_builddir)/interface/SKP_Silk_SDK_API.h
205 Decoder_LDADD = $(lib_LTLIBRARIES) 
206 Decoder_LDFLAGS = $(LIBS)
207
208 signalCompare_SOURCES = test/signalCompare.c $(top_builddir)/interface/SKP_Silk_SDK_API.h
209 signalCompare_LDADD = $(lib_LTLIBRARIES) 
210 signalCompare_LDFLAGS = $(LIBS)
211
212 LIBS = ../celt/libcelt/libcelt0.la