Automake cleanups.

This commit is contained in:
Jaroslav Kysela 2003-03-07 16:55:24 +00:00
parent 6b7e64beb2
commit 7f888e23f5
7 changed files with 6 additions and 46 deletions

View file

@ -1,20 +0,0 @@
/* Package name */
#undef PACKAGE
/* Package version */
#undef VERSION
/* Sound library version string */
#undef SND_LIB_VERSION
/* DATA directory */
#undef DATADIR
/* NDEBUG */
#undef NDEBUG
/* Do we have FPU on this machine? */
#undef HAVE_SOFT_FLOAT
/* Use versioned symbols for shared library? */
#undef VERSIONED_SYMBOLS

View file

@ -2,7 +2,7 @@ AC_DEFUN(SAVE_LIBRARY_VERSION, [
AC_MSG_CHECKING(for library version)
SND_LIB_VERSION=$VERSION
echo $VERSION > $srcdir/version
AC_DEFINE_UNQUOTED(VERSION, "$SND_LIB_VERSION")
AC_DEFINE_UNQUOTED(VERSION, "$SND_LIB_VERSION", [sound library version string])
AC_SUBST(SND_LIB_VERSION)
SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
AC_SUBST(SND_LIB_MAJOR)

View file

@ -8,7 +8,7 @@ dnl add API = c+1:0:a+1
dnl remove API = c+1:0:0
dnl *************************************************
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(alsa-lib, 0.9.0rc8b)
AM_INIT_AUTOMAKE(alsa-lib, 0.9.0rc8c)
eval LIBTOOL_VERSION_INFO="2:0:0"
dnl *************************************************
AM_CONDITIONAL(INSTALL_M4, test -n "${ACLOCAL}")
@ -161,7 +161,7 @@ esac
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
include/sound/Makefile src/Makefile \
src/control/Makefile src/mixer/Makefile
src/pcm/Makefile src/pcm/ext/Makefile \
src/pcm/Makefile src/pcm/ext/Makefile src/pcm/scopes/Makefile \
src/rawmidi/Makefile src/timer/Makefile \
src/hwdep/Makefile src/seq/Makefile src/instr/Makefile \
src/compat/Makefile src/conf/Makefile \

View file

@ -1,4 +1,5 @@
SUBDIRS = ext
SUBDIRS =
DIST_SUBDIRS = ext scopes
EXTRA_LTLIBRARIES = libpcm.la

View file

@ -1,7 +1,7 @@
CFLAGS = -g -O2 -W -Wall
lib_LTLIBRARIES = liblevel.la
pkglib_LTLIBRARIES = liblevel.la
liblevel_la_SOURCES = level.c
liblevel_la_LIBADD = -lncurses

View file

@ -1,9 +0,0 @@
AC_INIT(level.c)
AM_INIT_AUTOMAKE(scopes, 0.9)
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AM_PROG_LIBTOOL
AC_OUTPUT(Makefile)

View file

@ -1,12 +0,0 @@
#!/bin/bash
libtoolize --force --copy --automake
aclocal $ACLOCAL_FLAGS
automake --foreign --add-missing
autoconf
export CFLAGS='-O2 -Wall -W -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@
unset CFLAGS
make