Browse files

Add automake/autoconf source files

  • Loading branch information...
1 parent 69e9071 commit 7e9e3420c0f26878b5224b4d706dd3f241842b21 @mstorsjo mstorsjo committed Dec 19, 2010
Showing with 98 additions and 0 deletions.
  1. +45 −0 Makefile.am
  2. +53 −0 configure.ac
View
45 Makefile.am
@@ -0,0 +1,45 @@
+VO_COMMON = common
+ENC_SRC = aacenc/src
+
+ACLOCAL_AMFLAGS = -I m4
+
+AM_CFLAGS = -Iaacenc/inc -Iaacenc/basic_op -Icommon/include
+
+aacencincludedir = $(includedir)/vo-aacenc
+aacencinclude_HEADERS = $(VO_COMMON)/include/*.h
+
+lib_LTLIBRARIES = libvo-aacenc.la
+
+libvo_aacenc_la_LDFLAGS = -version-info @VO_AACENC_VERSION@ -no-undefined
+
+libvo_aacenc_la_SOURCES = \
+ $(VO_COMMON)/cmnMemory.c \
+ aacenc/basic_op/basicop2.c \
+ aacenc/basic_op/oper_32b.c \
+ $(ENC_SRC)/aac_rom.c \
+ $(ENC_SRC)/aacenc.c \
+ $(ENC_SRC)/aacenc_core.c \
+ $(ENC_SRC)/adj_thr.c \
+ $(ENC_SRC)/band_nrg.c \
+ $(ENC_SRC)/bit_cnt.c \
+ $(ENC_SRC)/bitbuffer.c \
+ $(ENC_SRC)/bitenc.c \
+ $(ENC_SRC)/block_switch.c \
+ $(ENC_SRC)/channel_map.c \
+ $(ENC_SRC)/dyn_bits.c \
+ $(ENC_SRC)/grp_data.c \
+ $(ENC_SRC)/interface.c \
+ $(ENC_SRC)/line_pe.c \
+ $(ENC_SRC)/memalign.c \
+ $(ENC_SRC)/ms_stereo.c \
+ $(ENC_SRC)/pre_echo_control.c \
+ $(ENC_SRC)/psy_configuration.c \
+ $(ENC_SRC)/psy_main.c \
+ $(ENC_SRC)/qc_main.c \
+ $(ENC_SRC)/quantize.c \
+ $(ENC_SRC)/sf_estim.c \
+ $(ENC_SRC)/spreading.c \
+ $(ENC_SRC)/stat_bits.c \
+ $(ENC_SRC)/tns.c \
+ $(ENC_SRC)/transform.c
+
View
53 configure.ac
@@ -0,0 +1,53 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_INIT([vo-aacenc], [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_AACENC_VERSION=0:1:0
+AC_SUBST(VO_AACENC_VERSION)
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

0 comments on commit 7e9e342

Please sign in to comment.