Initial Skype commit taken from FreeSwitch, which got it from the IETF draft.
[opus.git] / Makefile.am
1
2 AM_CFLAGS = -Isrc -Iinterface -fPIC -Wall -O3 
3 AUTOMAKE_OPTS = gnu
4 NAME = libSKP_SILK_SDK
5 AM_CPPFLAGS = $(AM_CFLAGS)
6
7 EXTRA_DIST = Silk_SDK.sln \
8 src/Silk_FIX.vcproj \
9 test/Encoder.c \
10 test/Enc_SDK.vcproj \
11 test/Decoder.c \
12 test/Dec_SDK.vcproj \
13 test/signalCompare.c \
14 test/SignalCompare.vcproj 
15
16 lib_LTLIBRARIES = libSKP_SILK_SDK.la
17 libSKP_SILK_SDK_la_SOURCES = src/SKP_Silk_A2NLSF.c \
18 src/SKP_Silk_allpass_int.c \
19 src/SKP_Silk_ana_filt_bank_1.c \
20 src/SKP_Silk_apply_sine_window.c \
21 src/SKP_Silk_array_maxabs.c \
22 src/SKP_Silk_autocorr.c \
23 src/SKP_Silk_biquad_alt.c \
24 src/SKP_Silk_biquad.c \
25 src/SKP_Silk_burg_modified.c \
26 src/SKP_Silk_bwexpander_32.c \
27 src/SKP_Silk_bwexpander.c \
28 src/SKP_Silk_CNG.c \
29 src/SKP_Silk_code_signs.c \
30 src/SKP_Silk_control_codec_FIX.c \
31 src/SKP_Silk_corrMatrix_FIX.c \
32 src/SKP_Silk_create_init_destroy.c \
33 src/SKP_Silk_dec_API.c \
34 src/SKP_Silk_decode_core.c \
35 src/SKP_Silk_decode_frame.c \
36 src/SKP_Silk_decode_indices_v4.c \
37 src/SKP_Silk_decode_parameters.c \
38 src/SKP_Silk_decode_parameters_v4.c \
39 src/SKP_Silk_decode_pulses.c \
40 src/SKP_Silk_decoder_set_fs.c \
41 src/SKP_Silk_detect_SWB_input.c \
42 src/SKP_Silk_enc_API.c \
43 src/SKP_Silk_encode_frame_FIX.c \
44 src/SKP_Silk_encode_parameters.c \
45 src/SKP_Silk_encode_parameters_v4.c \
46 src/SKP_Silk_encode_pulses.c \
47 src/SKP_Silk_find_LPC_FIX.c \
48 src/SKP_Silk_find_LTP_FIX.c \
49 src/SKP_Silk_find_pitch_lags_FIX.c \
50 src/SKP_Silk_find_pred_coefs_FIX.c \
51 src/SKP_Silk_gain_quant.c \
52 src/SKP_Silk_HP_variable_cutoff_FIX.c \
53 src/SKP_Silk_init_encoder_FIX.c \
54 src/SKP_Silk_inner_prod_aligned.c \
55 src/SKP_Silk_interpolate.c \
56 src/SKP_Silk_k2a.c \
57 src/SKP_Silk_k2a_Q16.c \
58 src/SKP_Silk_LBRR_reset.c \
59 src/SKP_Silk_lin2log.c \
60 src/SKP_Silk_log2lin.c \
61 src/SKP_Silk_lowpass_int.c \
62 src/SKP_Silk_lowpass_short.c \
63 src/SKP_Silk_LPC_inv_pred_gain.c \
64 src/SKP_Silk_LPC_stabilize.c \
65 src/SKP_Silk_LPC_synthesis_filter.c \
66 src/SKP_Silk_LPC_synthesis_order16.c \
67 src/SKP_Silk_LP_variable_cutoff.c \
68 src/SKP_Silk_LSF_cos_table.c \
69 src/SKP_Silk_LTP_analysis_filter_FIX.c \
70 src/SKP_Silk_LTP_scale_ctrl_FIX.c \
71 src/SKP_Silk_MA.c \
72 src/SKP_Silk_NLSF2A.c \
73 src/SKP_Silk_NLSF2A_stable.c \
74 src/SKP_Silk_NLSF_MSVQ_decode.c \
75 src/SKP_Silk_NLSF_MSVQ_encode_FIX.c \
76 src/SKP_Silk_NLSF_stabilize.c \
77 src/SKP_Silk_NLSF_VQ_rate_distortion_FIX.c \
78 src/SKP_Silk_NLSF_VQ_sum_error_FIX.c \
79 src/SKP_Silk_NLSF_VQ_weights_laroia.c \
80 src/SKP_Silk_noise_shape_analysis_FIX.c \
81 src/SKP_Silk_NSQ.c \
82 src/SKP_Silk_NSQ_del_dec.c \
83 src/SKP_Silk_pitch_analysis_core.c \
84 src/SKP_Silk_pitch_est_tables.c \
85 src/SKP_Silk_PLC.c \
86 src/SKP_Silk_prefilter_FIX.c \
87 src/SKP_Silk_process_gains_FIX.c \
88 src/SKP_Silk_process_NLSFs_FIX.c \
89 src/SKP_Silk_pulses_to_bytes.c \
90 src/SKP_Silk_quant_LTP_gains_FIX.c \
91 src/SKP_Silk_range_coder.c \
92 src/SKP_Silk_regularize_correlations_FIX.c \
93 src/SKP_Silk_resample_1_2.c \
94 src/SKP_Silk_resample_1_2_coarse.c \
95 src/SKP_Silk_resample_1_2_coarsest.c \
96 src/SKP_Silk_resample_1_3.c \
97 src/SKP_Silk_resample_2_1_coarse.c \
98 src/SKP_Silk_resample_2_3.c \
99 src/SKP_Silk_resample_2_3_coarse.c \
100 src/SKP_Silk_resample_2_3_coarsest.c \
101 src/SKP_Silk_resample_2_3_rom.c \
102 src/SKP_Silk_resample_3_1.c \
103 src/SKP_Silk_resample_3_2.c \
104 src/SKP_Silk_resample_3_2_rom.c \
105 src/SKP_Silk_resample_3_4.c \
106 src/SKP_Silk_resample_4_3.c \
107 src/SKP_Silk_residual_energy16_FIX.c \
108 src/SKP_Silk_residual_energy_FIX.c \
109 src/SKP_Silk_scale_copy_vector16.c \
110 src/SKP_Silk_scale_vector.c \
111 src/SKP_Silk_schur64.c \
112 src/SKP_Silk_schur.c \
113 src/SKP_Silk_shell_coder.c \
114 src/SKP_Silk_sigm_Q15.c \
115 src/SKP_Silk_solve_LS_FIX.c \
116 src/SKP_Silk_sort.c \
117 src/SKP_Silk_sum_sqr_shift.c \
118 src/SKP_Silk_tables_gain.c \
119 src/SKP_Silk_tables_LTP.c \
120 src/SKP_Silk_tables_NLSF_CB0_10.c \
121 src/SKP_Silk_tables_NLSF_CB0_16.c \
122 src/SKP_Silk_tables_NLSF_CB1_10.c \
123 src/SKP_Silk_tables_NLSF_CB1_16.c \
124 src/SKP_Silk_tables_other.c \
125 src/SKP_Silk_tables_pitch_lag.c \
126 src/SKP_Silk_tables_pulses_per_block.c \
127 src/SKP_Silk_tables_sign.c \
128 src/SKP_Silk_tables_type_offset.c \
129 src/SKP_Silk_VAD.c \
130 src/SKP_Silk_VQ_nearest_neighbor_FIX.c 
131
132
133 libSKP_SILK_SDK_la_CFLAGS = $(AM_CFLAGS)
134 libSKP_SILK_SDK_la_LDFLAGS = $(LIBS)
135
136 library_includedir = $(prefix)/include/silk
137 library_include_HEADERS = src/SKP_Silk_common_pitch_est_defines.h \
138 src/SKP_Silk_define_FIX.h \
139 src/SKP_Silk_define.h \
140 src/SKP_Silk_Inlines.h \
141 src/SKP_Silk_macros.h \
142 src/SKP_Silk_main_FIX.h \
143 src/SKP_Silk_main.h \
144 src/SKP_Silk_perceptual_parameters_FIX.h \
145 src/SKP_Silk_pitch_est_defines.h \
146 src/SKP_Silk_PLC.h \
147 src/SKP_Silk_resample_rom.h \
148 src/SKP_Silk_SigProc_FIX.h \
149 src/SKP_Silk_structs_FIX.h \
150 src/SKP_Silk_structs.h \
151 src/SKP_Silk_tables.h \
152 src/SKP_Silk_tables_NLSF_CB0_10.h \
153 src/SKP_Silk_tables_NLSF_CB0_16.h \
154 src/SKP_Silk_tables_NLSF_CB1_10.h \
155 src/SKP_Silk_tables_NLSF_CB1_16.h \
156 interface/SKP_Silk_control.h \
157 interface/SKP_Silk_errors.h \
158 interface/SKP_Silk_SDK_API.h \
159 interface/SKP_Silk_typedef.h 
160
161 bin_PROGRAMS = Encoder Decoder signalCompare
162 Encoder_SOURCES = test/Encoder.c $(top_builddir)/interface/SKP_Silk_SDK_API.h
163 Encoder_LDADD = $(lib_LTLIBRARIES) 
164 Encoder_LDFLAGS = $(LIBS)
165
166 Decoder_SOURCES = test/Decoder.c $(top_builddir)/interface/SKP_Silk_SDK_API.h
167 Decoder_LDADD = $(lib_LTLIBRARIES) 
168 Decoder_LDFLAGS = $(LIBS)
169
170 signalCompare_SOURCES = test/signalCompare.c $(top_builddir)/interface/SKP_Silk_SDK_API.h
171 signalCompare_LDADD = $(lib_LTLIBRARIES) 
172 signalCompare_LDFLAGS = $(LIBS)