Commit 8deede84 authored by Martin Storsjo's avatar Martin Storsjo

Add automake/autoconf source files

parent e29be959
VO_COMMON = common
ENC_SRC = amrwbenc/src
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Iamrwbenc/inc -Icommon/include
amrwbencincludedir = $(includedir)/vo-amrwbenc
amrwbencinclude_HEADERS = enc_if.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vo-amrwbenc.pc
lib_LTLIBRARIES = libvo-amrwbenc.la
libvo_amrwbenc_la_LDFLAGS = -version-info @VO_AMRWBENC_VERSION@ -no-undefined
libvo_amrwbenc_la_SOURCES = \
wrapper.c \
$(VO_COMMON)/cmnMemory.c \
$(ENC_SRC)/autocorr.c \
$(ENC_SRC)/az_isp.c \
$(ENC_SRC)/bits.c \
$(ENC_SRC)/c2t64fx.c \
$(ENC_SRC)/c4t64fx.c \
$(ENC_SRC)/convolve.c \
$(ENC_SRC)/cor_h_x.c \
$(ENC_SRC)/decim54.c \
$(ENC_SRC)/deemph.c \
$(ENC_SRC)/dtx.c \
$(ENC_SRC)/g_pitch.c \
$(ENC_SRC)/gpclip.c \
$(ENC_SRC)/homing.c \
$(ENC_SRC)/hp400.c \
$(ENC_SRC)/hp50.c \
$(ENC_SRC)/hp6k.c \
$(ENC_SRC)/hp_wsp.c \
$(ENC_SRC)/int_lpc.c \
$(ENC_SRC)/isp_az.c \
$(ENC_SRC)/isp_isf.c \
$(ENC_SRC)/lag_wind.c \
$(ENC_SRC)/levinson.c \
$(ENC_SRC)/log2.c \
$(ENC_SRC)/lp_dec2.c \
$(ENC_SRC)/math_op.c \
$(ENC_SRC)/mem_align.c \
$(ENC_SRC)/oper_32b.c \
$(ENC_SRC)/p_med_ol.c \
$(ENC_SRC)/pit_shrp.c \
$(ENC_SRC)/pitch_f4.c \
$(ENC_SRC)/pred_lt4.c \
$(ENC_SRC)/preemph.c \
$(ENC_SRC)/q_gain2.c \
$(ENC_SRC)/q_pulse.c \
$(ENC_SRC)/qisf_ns.c \
$(ENC_SRC)/qpisf_2s.c \
$(ENC_SRC)/random.c \
$(ENC_SRC)/residu.c \
$(ENC_SRC)/scale.c \
$(ENC_SRC)/stream.c \
$(ENC_SRC)/syn_filt.c \
$(ENC_SRC)/updt_tar.c \
$(ENC_SRC)/util.c \
$(ENC_SRC)/voAMRWBEnc.c \
$(ENC_SRC)/voicefac.c \
$(ENC_SRC)/wb_vad.c \
$(ENC_SRC)/weight_a.c
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([vo-amrwbenc], [0.1.0], [])
AC_CONFIG_AUX_DIR(.)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([tar-ustar])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
# Cross compiling support
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
# Setup for libtool
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
# Checks for libraries.
AC_CHECK_LIB([], [main])
# Checks for header files.
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_INT8_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset])
# soname version to use
# goes by ‘current[:revision[:age]]’ with the soname ending up as
# current.age.revision.
VO_AMRWBENC_VERSION=0:1:0
AC_SUBST(VO_AMRWBENC_VERSION)
AC_CONFIG_FILES([Makefile
vo-amrwbenc.pc])
AC_OUTPUT
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/vo-amrwbenc
Name: VisualOn AMR-WB encoder
Description: Adaptive Multi-Rate Wideband speech codec library
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lvo-amrwbenc
Cflags: -I${includedir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment