git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1259246 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
c21d34f250
commit
deb7c8cc85
@ -1,32 +0,0 @@
|
||||
# This file is part of the KDE libraries
|
||||
# Copyright (C) 1996-1997 Matthias Kalle Dalheimer (kalle@kde.org)
|
||||
# (C) 1997,1998 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Library General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Library General Public License
|
||||
# along with this library; see the file COPYING.LIB. If not, write to
|
||||
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
|
||||
include admin/deps.am
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/libltdl/ltdl.m4
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.6.1
|
||||
COMPILE_FIRST = libltdl mcop mcopidl flow mcop_mt soundserver artsc examples tests doc
|
||||
EXTRA_DIST = admin
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
|
||||
#DIST_SUBDIRS = mcop mcop_mt mcopidl flow soundserver artsc examples tests doc
|
||||
# gmcop x11 qtmcop kde knotify message
|
@ -1,22 +0,0 @@
|
||||
|
||||
all:
|
||||
@echo "This Makefile is only for the CVS repository"
|
||||
@echo "This will be deleted before making the distribution"
|
||||
@echo ""
|
||||
@if test ! -d admin; then \
|
||||
echo "Please recheckout this module!" ;\
|
||||
echo "for cvs: use checkout once and after that update again" ;\
|
||||
echo "for cvsup: checkout kde-common from cvsup and" ;\
|
||||
echo " link kde-common/admin to ./admin" ;\
|
||||
exit 1 ;\
|
||||
fi
|
||||
@if test ! -d libltdl; then \
|
||||
echo "Please recheckout this module!" ;\
|
||||
echo "for cvs: use checkout once and after that update again" ;\
|
||||
echo "for cvsup: checkout kdelibs from cvsup and" ;\
|
||||
echo " cp -a ../kdelibs/libltdl ./libltdl" ;\
|
||||
exit 1 ;\
|
||||
fi
|
||||
$(MAKE) -f admin/Makefile.common cvs
|
||||
|
||||
.SILENT:
|
@ -1,32 +0,0 @@
|
||||
AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.la"'
|
||||
AM_CPPFLAGS = -DCOMPILING_ARTSC
|
||||
lib_LTLIBRARIES = libartsc.la libartscbackend.la libartsdsp.la libartsdsp_st.la
|
||||
FLOWLIBS = $(top_builddir)/flow/libartsflow.la
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop -I$(top_srcdir)/flow \
|
||||
-I$(top_builddir)/flow -I$(top_builddir)/soundserver \
|
||||
-I$(top_srcdir)/libltdl $(all_includes)
|
||||
|
||||
bin_SCRIPTS = artsc-config artsdsp
|
||||
|
||||
libartsdsp_la_SOURCES = artsdsp.c
|
||||
libartsdsp_la_LDFLAGS = -no-undefined -module $(all_libraries)
|
||||
libartsdsp_la_LIBADD = libartsc.la
|
||||
|
||||
libartsdsp_st_la_SOURCES = artsc.c artsdsp.c
|
||||
libartsdsp_st_la_LDFLAGS = -no-undefined -module $(all_libraries)
|
||||
libartsdsp_st_la_LIBADD = $(top_builddir)/libltdl/libltdlc.la
|
||||
|
||||
libartsc_la_SOURCES = artsc.c
|
||||
libartsc_la_LDFLAGS = -no-undefined $(USE_THREADS) $(all_libraries)
|
||||
libartsc_la_LIBADD = $(top_builddir)/libltdl/libltdlc.la $(LIBPTHREAD)
|
||||
|
||||
libartscbackend_la_SOURCES = artscbackend.cc
|
||||
libartscbackend_la_LDFLAGS = -no-undefined -module $(KDE_RPATH) $(all_libraries)
|
||||
libartscbackend_la_LIBADD = $(FLOWLIBS) \
|
||||
$(top_builddir)/soundserver/libsoundserver_idl.la
|
||||
|
||||
artscincludedir = $(includedir)/artsc
|
||||
artscinclude_HEADERS = artsc.h artsc_export.h
|
||||
|
||||
artscbackend.lo: $(top_builddir)/soundserver/soundserver.h ../flow/artsflow.h
|
@ -1,11 +0,0 @@
|
||||
dnl put here things which have to be done as very last part of configure
|
||||
|
||||
if test "x$arts_audiolib_found" = "xno"; then
|
||||
echo ""
|
||||
echo "You're missing libaudiofile. aRts won't be able to load or play"
|
||||
echo "any samples without it, so please install it."
|
||||
echo "Have a look at http://www.68k.org/~michael/audiofile/ or find a"
|
||||
echo "binary package for your platform."
|
||||
echo ""
|
||||
all_tests=bad
|
||||
fi
|
@ -1,851 +0,0 @@
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl right now: install aRts in the same prefix as KDE3.x currently
|
||||
KDE_SET_PREFIX_CORE
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Version (we /might/ want to use libtool versioning, too)
|
||||
ARTS_MAJOR_VERSION=1
|
||||
ARTS_MINOR_VERSION=5
|
||||
ARTS_MICRO_VERSION=10
|
||||
ARTS_VERSION=$ARTS_MAJOR_VERSION.$ARTS_MINOR_VERSION.$ARTS_MICRO_VERSION
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(arts, $ARTS_VERSION) dnl searches for some needed programs
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_LIBLTDL_CONVENIENCE
|
||||
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
KDE_LIB_LTDL
|
||||
AC_LANG_RESTORE
|
||||
|
||||
# this checks for --with-extra-libs
|
||||
KDE_CHECK_EXTRA_LIBS
|
||||
KDE_MISC_TESTS
|
||||
dnl KDE_CHECK_LIBDL
|
||||
dnl AC_PROG_LIBTOOL
|
||||
KDE_CHECK_QT_DIRECT
|
||||
KDE_ENABLE_HIDDEN_VISIBILITY
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files, GNU_GETTEXT for the sources
|
||||
dnl AM_KDE_WITH_NLS
|
||||
dnl AM_KDE_GNU_GETTEXT
|
||||
|
||||
dnl Checks for header files.
|
||||
KDE_CHECK_STL
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/cdefs.h fnmatch.h sysent.h strings.h sys/stat.h sys/select.h sys/socket.h linux/socket.h socketbits.h sigaction.h paths.h malloc.h monetary.h sys/param.h limits.h sys/mnttab.h mntent.h fstab.h)
|
||||
|
||||
KDE_CHECK_HEADERS(sys/soundcard.h)
|
||||
|
||||
dnl Checks for libraries.
|
||||
AC_BASE_PATH_KDE([don't test]) dnl arts is a special case
|
||||
AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for FreeBSD
|
||||
AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for FreeBSD
|
||||
AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(rt, sem_init, [LIBSEM="-lrt"]))
|
||||
|
||||
AM_CONDITIONAL(HAVE_LIBJPEG, test -n "$LIBJPEG" )
|
||||
AM_CONDITIONAL(HAVE_LIBPNG, test -n "$LIBPNG" )
|
||||
AM_CONDITIONAL(HAVE_LIBTIFF, test -n "$LIBTIFF")
|
||||
|
||||
# configure would do this very late. Too late for us!
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
|
||||
AC_DEFINE_UNQUOTED(KDEDIR, "$prefix", [The prefix to use as fallback])
|
||||
|
||||
ac_cpp_safe=$ac_cpp
|
||||
ac_cpp='$CXXCPP $CPPFLAGS $X_INCLUDES'
|
||||
KDE_CHECK_HEADERS(X11/ICE/ICElib.h)
|
||||
ac_cpp=$ac_cpp_safe
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_TIME
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
dnl check if the compiler has bool
|
||||
AC_CHECK_BOOL
|
||||
dnl AC_CHECK_GNU_EXTENSIONS
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_CHECK_FUNCS(socket snprintf vsnprintf seteuid setegid random strfmon stpcpy mkstemp setmntent gettimeofday vasprintf)
|
||||
AC_FUNC_VFORK
|
||||
AC_CHECK_USLEEP
|
||||
AC_CHECK_SETENV
|
||||
AC_CHECK_GETHOSTNAME
|
||||
AC_CHECK_RANDOM
|
||||
AC_CHECK_S_ISSOCK
|
||||
AC_CHECK_SOCKLEN_T
|
||||
|
||||
dnl output files
|
||||
AC_SUBST(x_includes)
|
||||
AC_SUBST(x_libraries)
|
||||
AC_SUBST(LIBSOCKET)
|
||||
AC_SUBST(LIBCOMPAT)
|
||||
AC_SUBST(LIBUTIL)
|
||||
AC_SUBST(LIBSEM)
|
||||
AC_SUBST(LIBICE)
|
||||
|
||||
all_includes="$all_includes $INCLTDL"
|
||||
AC_SUBST(all_includes)
|
||||
|
||||
AC_SUBST(EXTRA_SUBDIRS)
|
||||
|
||||
topdir=`cd $srcdir && pwd`
|
||||
ac_configure_args="$ac_configure_args --with-auxdir=$topdir/admin"
|
||||
|
||||
CXXFLAGS="$CXXFLAGS $USE_RTTI"
|
||||
|
||||
dnl----------------------------------------------------------------------------
|
||||
dnl aRts specific configure tests
|
||||
dnl
|
||||
dnl Check for libaudioio (which can be used to get solaris audio support)
|
||||
AC_DEFUN([AC_CHECK_LIBAUDIOIO],
|
||||
[
|
||||
ac_ldflags_save="$LDFLAGS"
|
||||
ac_CPPFLAGS_save="$CPPFLAGS"
|
||||
LDFLAGS="$all_libraries $LDFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $all_includes"
|
||||
arts_libaudioio_found=no
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
kde_have_libaudioio=no
|
||||
AC_CHECK_HEADER(libaudioio.h,
|
||||
[
|
||||
kde_have_libaudioio=yes
|
||||
])
|
||||
if test "x$kde_have_libaudioio" = "xyes"; then
|
||||
AC_CHECK_LIB(audioio,AudioIOGetVersion,[
|
||||
dnl LDFLAGS in case it's in KDEDIR/lib
|
||||
LIBAUDIOIO="$LDFLAGS -laudioio"
|
||||
AC_DEFINE(HAVE_LIBAUDIOIO, 1,
|
||||
[Define if you have libaudioIO (required if you want to have libaudioio support)])
|
||||
arts_libaudioio_found=yes
|
||||
])
|
||||
fi
|
||||
AC_SUBST(LIBAUDIOIO)
|
||||
AC_LANG_RESTORE
|
||||
CPPFLAGS="$ac_CPPFLAGS_save"
|
||||
LDFLAGS="$ac_ldflags_save"
|
||||
])
|
||||
|
||||
dnl aRts specific configure tests
|
||||
dnl
|
||||
dnl Check for libaudio (which can be used to get network audio support)
|
||||
AC_DEFUN([AC_CHECK_LIBAUDIONAS],
|
||||
[
|
||||
ac_ldflags_save="$LDFLAGS"
|
||||
ac_CPPFLAGS_save="$CPPFLAGS"
|
||||
LDFLAGS="$all_libraries $LDFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $all_includes"
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
arts_libaudionas_include=no
|
||||
AC_CHECK_HEADER(audio/audiolib.h,
|
||||
[
|
||||
arts_libaudionas_include=yes
|
||||
])
|
||||
if test "x$arts_libaudionas_include" = "xyes"; then
|
||||
AC_CHECK_LIB(audio,AuOpenServer,[
|
||||
dnl LDFLAGS in case it's in KDEDIR/lib
|
||||
LIBAUDIONAS="-laudio -lXt"
|
||||
LIBAUDIONAS_LDFLAGS="$LDFLAGS"
|
||||
AC_DEFINE(HAVE_LIBAUDIONAS, 1,
|
||||
[Define if you have libaudio (required if you want to have NAS support)])
|
||||
])
|
||||
fi
|
||||
AC_SUBST(LIBAUDIONAS)
|
||||
AC_SUBST(LIBAUDIONAS_LDFLAGS)
|
||||
AC_LANG_RESTORE
|
||||
CPPFLAGS="$ac_CPPFLAGS_save"
|
||||
LDFLAGS="$ac_ldflags_save"
|
||||
])
|
||||
|
||||
dnl Check for libesd (for EsounD support)
|
||||
AC_DEFUN([AC_CHECK_LIBESD],
|
||||
[
|
||||
ac_ldflags_save="$LDFLAGS"
|
||||
ac_CPPFLAGS_save="$CPPFLAGS"
|
||||
LDFLAGS="$all_libraries $LDFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $all_includes"
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
arts_libaudionas_include=no
|
||||
AC_CHECK_HEADER(esd.h,
|
||||
[
|
||||
arts_libesd_include=yes
|
||||
])
|
||||
if test "x$arts_libesd_include" = "xyes"; then
|
||||
AC_CHECK_LIB(esd,esd_open_sound,[
|
||||
dnl LDFLAGS in case it's in KDEDIR/lib
|
||||
LIBESD="-lesd"
|
||||
LIBESD_LDFLAGS="$LDFLAGS"
|
||||
AC_DEFINE(HAVE_LIBESD, 1,
|
||||
[Define if you have libesd (required if you want EsounD support)])
|
||||
])
|
||||
fi
|
||||
AC_SUBST(LIBESD)
|
||||
AC_SUBST(LIBESD_LDFLAGS)
|
||||
AC_LANG_RESTORE
|
||||
CPPFLAGS="$ac_CPPFLAGS_save"
|
||||
LDFLAGS="$ac_ldflags_save"
|
||||
])
|
||||
|
||||
dnl libaudiofile is used for loading wave files
|
||||
AC_DEFUN([AC_CHECK_LIBAUDIOFILE],
|
||||
[
|
||||
ac_ldflags_save="$LDFLAGS"
|
||||
ac_CPPFLAGS_save="$CPPFLAGS"
|
||||
LDFLAGS="$all_libraries $LDFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $all_includes"
|
||||
arts_audiolib_found=no
|
||||
dnl WAV reading
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
kde_has_audio_lib=no
|
||||
AC_CHECK_HEADER(audiofile.h,
|
||||
[
|
||||
kde_has_audio_lib=yes
|
||||
])
|
||||
if test "x$kde_has_audio_lib" = "xyes"; then
|
||||
KDE_CHECK_LIB(audiofile,afOpenFile,[
|
||||
dnl LDFLAGS in case it's in KDEDIR/lib
|
||||
LIBAUDIOFILE="-laudiofile"
|
||||
LIBAUDIOFILE_LDFLAGS="$LDFLAGS"
|
||||
AC_DEFINE(HAVE_LIBAUDIOFILE, 1,
|
||||
[Define if you have libaudiofile (required for playing wavs with aRts)])
|
||||
arts_audiolib_found=yes
|
||||
])
|
||||
fi
|
||||
AC_SUBST(LIBAUDIOFILE)
|
||||
AC_SUBST(LIBAUDIOFILE_LDFLAGS)
|
||||
AC_LANG_RESTORE
|
||||
CPPFLAGS="$ac_CPPFLAGS_save"
|
||||
LDFLAGS="$ac_ldflags_save"
|
||||
])
|
||||
|
||||
|
||||
dnl check if sgi libaudio is present
|
||||
AC_DEFUN([AC_CHECK_SGILIBAUDIO],
|
||||
[
|
||||
ac_ldflags_save="$LDFLAGS"
|
||||
ac_CPPFLAGS_save="$CPPFLAGS"
|
||||
LDFLAGS="$all_libraries $LDFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $all_includes"
|
||||
|
||||
dnl SGI libaudio (required on IRIX)
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
arts_dmedia_include=no
|
||||
AC_CHECK_HEADER(dmedia/audio.h,
|
||||
[
|
||||
arts_dmedia_include=yes
|
||||
])
|
||||
if test "x$arts_dmedia_include" = "xyes"; then
|
||||
KDE_CHECK_LIB(audio,alOpenPort,[
|
||||
SGILIBAUDIO="-laudio"
|
||||
AC_DEFINE(HAVE_SGILIBAUDIO, 1,
|
||||
[Define if you have libaudio (required for sound i/o on IRIX)])
|
||||
])
|
||||
fi
|
||||
AC_SUBST(SGILIBAUDIO)
|
||||
AC_LANG_RESTORE
|
||||
CPPFLAGS="$ac_CPPFLAGS_save"
|
||||
LDFLAGS="$ac_ldflags_save"
|
||||
])
|
||||
|
||||
dnl check if we want to build MAS support
|
||||
AC_DEFUN([AC_CHECK_LIBMAS],
|
||||
[
|
||||
AC_PATH_PROG(MAS_CONFIG, mas-config, no)
|
||||
|
||||
if test "$MAS_CONFIG" != "no"; then
|
||||
AC_DEFINE(HAVE_LIBMAS, 1,
|
||||
[Define if you have libmas (required if you want MAS support)])
|
||||
MAS_CFLAGS="`$MAS_CONFIG --cflags`"
|
||||
tmp_mas_libs="`$MAS_CONFIG --libs` -lmas_jrtp"
|
||||
MAS_LDFLAGS="`for i in $tmp_mas_libs; do echo $i; done |grep ^-L`"
|
||||
MAS_LDFLAGS="$MAS_LDFLAGS `for i in $tmp_mas_libs; do echo $i; done |grep ^-L |sed s/^-L/-R/g`"
|
||||
LIBMAS="$MAS_LDFLAGS"
|
||||
for i in $tmp_mas_libs; do LIBMAS="$LIBMAS `echo $i |grep ^-l`"; done
|
||||
fi
|
||||
AC_SUBST(MAS_CFLAGS)
|
||||
AC_SUBST(MAS_LDFLAGS)
|
||||
AC_SUBST(LIBMAS)
|
||||
|
||||
])
|
||||
|
||||
dnl Posix realtime scheduling - this is helpful if you want arts to run with
|
||||
dnl higher priority than everthing else
|
||||
|
||||
AC_DEFUN([ARTS_TRY_LINK_POSIX_REALTIME],
|
||||
[
|
||||
AC_TRY_LINK([
|
||||
#include <sched.h>
|
||||
],
|
||||
[
|
||||
sched_getscheduler(0);
|
||||
],
|
||||
arts_realtime_sched=yes,
|
||||
arts_realtime_sched=no)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_CHECK_REALTIME_SCHED],
|
||||
[
|
||||
AC_MSG_CHECKING([for posix realtime scheduling support])
|
||||
save_LIBS="$LIBS"
|
||||
LIBPOSIX4=""
|
||||
ARTS_TRY_LINK_POSIX_REALTIME
|
||||
if test "x$arts_realtime_sched" = "xno"; then
|
||||
LIBS="$LIBS -lposix4"
|
||||
ARTS_TRY_LINK_POSIX_REALTIME
|
||||
if test "x$arts_realtime_sched" = "xyes"; then
|
||||
LIBPOSIX4="-lposix4"
|
||||
fi
|
||||
fi
|
||||
LIBS="$save_LIBS"
|
||||
AC_SUBST(LIBPOSIX4)
|
||||
AC_MSG_RESULT($arts_realtime_sched)
|
||||
|
||||
if test "x$arts_realtime_sched" = "xyes"; then
|
||||
AC_DEFINE(HAVE_REALTIME_SCHED,1,
|
||||
[Define if your system supports realtime scheduling])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl Type of the ioctl function test - after some tries, it seems that this
|
||||
dnl not required for Linux vs. FreeBSD (for which this test was written), and
|
||||
dnl that only the Linux documentation claims that it has an "int" as second
|
||||
dnl argument. But maybe there will pop up systems for which the signature
|
||||
dnl differs, later.
|
||||
|
||||
AC_DEFUN([AC_CHECK_IOCTL_TYPE],
|
||||
[
|
||||
AC_MSG_CHECKING([ioctl type])
|
||||
AC_CACHE_VAL(ac_cv_ioctl_type,
|
||||
[
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
int ioctl(int d, int request,...);
|
||||
],
|
||||
[
|
||||
],
|
||||
ac_cv_ioctl_type=1)
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
int ioctl(int d, unsigned long request,...);
|
||||
],
|
||||
[
|
||||
],
|
||||
ac_cv_ioctl_type=2)
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
int ioctl(int d, unsigned long int request,...);
|
||||
],
|
||||
[
|
||||
],
|
||||
ac_cv_ioctl_type=3)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
AC_MSG_RESULT($ac_cv_ioctl_type)
|
||||
|
||||
|
||||
if test "$ac_cv_ioctl_type" = "1"; then
|
||||
AC_DEFINE(HAVE_IOCTL_INT_INT_DOTS,1,
|
||||
[Define if ioctl is declared as int ioctl(int d, int request,...)])
|
||||
fi
|
||||
if test "$ac_cv_ioctl_type" = "2"; then
|
||||
AC_DEFINE(HAVE_IOCTL_INT_ULONG_DOTS,2,
|
||||
[Define if ioctl is declared as int ioctl(int d, unsigned long request,...)])
|
||||
fi
|
||||
if test "$ac_cv_ioctl_type" = "3"; then
|
||||
AC_DEFINE(HAVE_IOCTL_INT_ULONGINT_DOTS,3,
|
||||
[Define if ioctl is declared as int ioctl(int d, unsigned long int request,...)])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl check whether we can do rouding using asm optimization
|
||||
|
||||
AC_DEFUN([AC_CHECK_X86_FLOAT_INT],
|
||||
[
|
||||
AC_MSG_CHECKING([for x86 float to int conversions])
|
||||
AC_CACHE_VAL(ac_cv_x86_float_int,
|
||||
[
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_LINK([
|
||||
#if defined(__i386__)
|
||||
static inline long QRound (float inval)
|
||||
{
|
||||
long ret;
|
||||
__asm__ ("fistpl %0" : "=m" (ret) : "t" (inval) : "st");
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
error
|
||||
#endif
|
||||
],
|
||||
[
|
||||
long i = QRound(41.93); /* should be 42 */
|
||||
],
|
||||
ac_cv_x86_float_int=yes,
|
||||
ac_cv_x86_float_int=no)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
AC_MSG_RESULT($ac_cv_x86_float_int)
|
||||
if test "x$ac_cv_x86_float_int" = "xyes"; then
|
||||
AC_DEFINE(HAVE_X86_FLOAT_INT,1,
|
||||
[Define if you want to use optimized x86 float to int conversion code])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl check if the assembler supports SSE instructions
|
||||
AC_DEFUN([AC_CHECK_X86_SSE],
|
||||
[
|
||||
AC_MSG_CHECKING([for x86 SSE instructions])
|
||||
AC_CACHE_VAL(ac_cv_x86_sse,
|
||||
[
|
||||
AC_TRY_COMPILE(,
|
||||
[
|
||||
#if defined(__GNUC__) && defined(__i386__)
|
||||
__asm__("movups %xmm0, (%esp)");
|
||||
#else
|
||||
/* IRIX's cc treats #error as a warning, make sure it errors out here */
|
||||
error Not gcc on x86
|
||||
#endif
|
||||
],
|
||||
ac_cv_x86_sse=yes,
|
||||
ac_cv_x86_sse=no)
|
||||
])
|
||||
AC_MSG_RESULT($ac_cv_x86_sse)
|
||||
if test "x$ac_cv_x86_sse" = "xyes"; then
|
||||
AC_DEFINE(HAVE_X86_SSE,1,
|
||||
[Define if your assembler supports x86 SSE instructions])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl check whether we should try to emulate stdio fopen/fclose via
|
||||
dnl glibc facilities (this *really* depends on glibc internals)
|
||||
|
||||
AC_DEFUN([AC_CHECK_ARTSDSP_STDIO_EMU],
|
||||
[
|
||||
AC_MSG_CHECKING([for stdio emulation in artsdsp])
|
||||
AC_CACHE_VAL(ac_cv_artsdsp_stdio_emu,
|
||||
[
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
AC_TRY_LINK([
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
],
|
||||
[
|
||||
cookie_io_functions_t fns = { 0, 0, 0, 0 };
|
||||
struct fd_cookie *fdc = 0;
|
||||
FILE *out = fopencookie (fdc,"w", fns);
|
||||
out->_fileno = 0;
|
||||
],
|
||||
ac_cv_artsdsp_stdio_emu=yes,
|
||||
ac_cv_artsdsp_stdio_emu=no)
|
||||
])
|
||||
AC_LANG_RESTORE
|
||||
AC_MSG_RESULT($ac_cv_artsdsp_stdio_emu)
|
||||
if test "x$ac_cv_artsdsp_stdio_emu" = "xyes"; then
|
||||
AC_DEFINE(HAVE_ARTSDSP_STDIO_EMU,1,
|
||||
[Define if you want to use glibc facilities to emulate stdio accesses in artsdsp])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl call the tests
|
||||
AC_ARG_WITH(libaudioio,
|
||||
[AC_HELP_STRING(--with-libaudioio,
|
||||
[enable support for libaudioio @<:@default=check@:>@])],
|
||||
[], with_libaudioio=check)
|
||||
|
||||
if test "x$with_libaudioio" != xno; then
|
||||
AC_CHECK_LIBAUDIOIO
|
||||
|
||||
if test "x$with_libaudioio" != xcheck && test -z "$LIBAUDIOIO"; then
|
||||
AC_MSG_FAILURE([--with-libaudioio was given, but test for libaudioio failed])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(nas,
|
||||
[AC_HELP_STRING(--with-nas,
|
||||
[enable support for NAS @<:@default=check@:>@])],
|
||||
[], with_nas=check)
|
||||
|
||||
if test "x$with_nas" != xno; then
|
||||
AC_CHECK_LIBAUDIONAS
|
||||
|
||||
if test "x$with_nas" != xcheck && test -z "$LIBAUDIONAS"; then
|
||||
AC_MSG_FAILURE([--with-nas was given, but test for NAS failed])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(esd,
|
||||
[AC_HELP_STRING(--with-esd,
|
||||
[enable support for EsounD @<:@default=check@:>@])],
|
||||
[], with_esd=check)
|
||||
|
||||
if test "x$with_esd" != xno; then
|
||||
AC_CHECK_LIBESD
|
||||
|
||||
if test "x$with_esd" != xcheck && test -z "$LIBESD"; then
|
||||
AC_MSG_FAILURE([--with-esd was given, but test for EsounD failed])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(audiofile,
|
||||
[AC_HELP_STRING(--with-audiofile,
|
||||
[enable support for audiofile @<:@default=check@:>@])],
|
||||
[], with_audiofile=check)
|
||||
|
||||
if test "x$with_audiofile" != xno; then
|
||||
AC_CHECK_LIBAUDIOFILE
|
||||
|
||||
if test "x$with_audiofile" != xcheck && test -z "$LIBAUDIOFILE"; then
|
||||
AC_MSG_FAILURE([--with-audiofile was given, but test for audiofile failed])
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_WAVSUPPORT, test -n "$LIBAUDIOFILE")
|
||||
|
||||
AC_ARG_WITH(sgilibaudio,
|
||||
[AC_HELP_STRING(--with-sgilibaudio,
|
||||
[enable support for SGI libaudio @<:@default=check@:>@])],
|
||||
[], with_sgilibaudio=check)
|
||||
|
||||
if test "x$with_sgilibaudio" != xno; then
|
||||
AC_CHECK_SGILIBAUDIO
|
||||
|
||||
if test "x$with_sgilibaudio" != xcheck && test -z "$SGILIBAUDIO"; then
|
||||
AC_MSG_FAILURE([--with-sgilibaudio was given, but test for SGI libaudio failed])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(mas,
|
||||
[AC_HELP_STRING(--with-mas,
|
||||
[enable support for MAS @<:@default=check@:>@])],
|
||||
[], with_mas=check)
|
||||
|
||||
if test "x$with_mas" != xno; then
|
||||
AC_CHECK_LIBMAS
|
||||
|
||||
if test "x$with_mas" != xcheck && test -z "$LIBMAS"; then
|
||||
AC_MSG_FAILURE([--with-mas was given, but test for MAS failed])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CHECK_REALTIME_SCHED
|
||||
AC_CHECK_GETDOMAINNAME
|
||||
AC_CHECK_IOCTL_TYPE
|
||||
AC_CHECK_X86_FLOAT_INT
|
||||
AC_CHECK_X86_SSE
|
||||
AC_CHECK_ARTSDSP_STDIO_EMU
|
||||
KDE_CHECK_THREADING
|
||||
|
||||
dnl somewhat more deeply nested template code than gcc understands by default
|
||||
if test "$GXX" = "yes"; then
|
||||
KDE_CHECK_COMPILER_FLAG(ftemplate-depth-99,
|
||||
[
|
||||
CXXFLAGS="$CXXFLAGS -ftemplate-depth-99"
|
||||
])
|
||||
fi
|
||||
|
||||
dnl check for ALSA audio support
|
||||
arts_with_alsa=yes
|
||||
AC_ARG_WITH(alsa, [ --with-alsa enable aRts ALSA support],
|
||||
[arts_with_alsa=$withval])
|
||||
|
||||
if test "$arts_with_alsa" = "yes"; then
|
||||
AC_DEFUN([AC_CHECK_LIBASOUND],
|
||||
[
|
||||
ac_ldflags_save="$LDFLAGS"
|
||||
LDFLAGS="$all_libraries $LDFLAGS"
|
||||
kde_has_asoundlib=no
|
||||
|
||||
AC_CHECK_HEADERS([ sys/asoundlib.h alsa/asoundlib.h ],
|
||||
[
|
||||
kde_has_asoundlib=yes
|
||||
])
|
||||
|
||||
dnl trial and error version check for ALSA 0.5.x / ALSA 0.9.x
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
if test "x$kde_has_asoundlib" = "xyes"; then
|
||||
AC_TRY_COMPILE([
|
||||
#include "confdefs.h"
|
||||
#ifdef HAVE_SYS_ASOUNDLIB_H
|
||||
#include <sys/asoundlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_ALSA_ASOUNDLIB_H
|
||||
#include <alsa/asoundlib.h>
|
||||
#endif
|
||||
],[
|
||||
#if (SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9)
|
||||
/* we have ALSA 0.9.x */
|
||||
#else
|
||||
#error not ALSA 0.9.x
|
||||
#endif
|
||||
],
|
||||
kde_has_alsa_0_9=yes,
|
||||
kde_has_alsa_0_9=no)
|
||||
fi
|
||||
|
||||
if test "x$kde_has_asoundlib" = "xyes"; then
|
||||
AC_TRY_COMPILE([
|
||||
#include "confdefs.h"
|
||||
#ifdef HAVE_SYS_ASOUNDLIB_H
|
||||
#include <sys/asoundlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_ALSA_ASOUNDLIB_H
|
||||
#include <alsa/asoundlib.h>
|
||||
#endif
|
||||
],[
|
||||
#if (SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0)
|
||||
/* we have ALSA 1.x */
|
||||
#else
|
||||
#error not ALSA 1.x
|
||||
#endif
|
||||
],
|
||||
kde_has_alsa_1_0=yes,
|
||||
kde_has_alsa_1_0=no)
|
||||
fi
|
||||
|
||||
if test "x$kde_has_asoundlib" = "xyes"; then
|
||||
AC_TRY_COMPILE([
|
||||
#include "confdefs.h"
|
||||
#ifdef HAVE_SYS_ASOUNDLIB_H
|
||||
#include <sys/asoundlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_ALSA_ASOUNDLIB_H
|
||||
#include <alsa/asoundlib.h>
|
||||
#endif
|
||||
],[
|
||||
#if (SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5)
|
||||
/* we have ALSA 0.5.x */
|
||||
#else
|
||||
#error not ALSA 0.5.x
|
||||
#endif
|
||||
],
|
||||
kde_has_alsa_0_5=yes,
|
||||
kde_has_alsa_0_5=no)
|
||||
fi
|
||||
AC_LANG_RESTORE
|
||||
|
||||
if test "x$kde_has_asoundlib" = "xyes"; then
|
||||
AC_CHECK_LIB(asound,snd_seq_create_simple_port,[
|
||||
if test "x$kde_has_alsa_0_5" = "xyes"; then
|
||||
LIBASOUND="-lasound"
|
||||
AC_DEFINE(HAVE_LIBASOUND, 1,
|
||||
[Define if you have libasound.so.1 (required for ALSA 0.5.x support)])
|
||||
fi
|
||||
if test "x$kde_has_alsa_0_9" = "xyes"; then
|
||||
LIBASOUND="-lasound"
|
||||
AC_DEFINE(HAVE_LIBASOUND2, 1,
|
||||
[Define if you have libasound.so.2 (required for ALSA 0.9.x support)])
|
||||
AC_CHECK_LIB(asound,snd_pcm_resume,[
|
||||
AC_DEFINE(HAVE_SND_PCM_RESUME, 1,
|
||||
[Define if libasound has snd_pcm_resume()])])
|
||||
fi
|
||||
if test "x$kde_has_alsa_1_0" = "xyes"; then
|
||||
LIBASOUND="-lasound"
|
||||
AC_DEFINE(HAVE_LIBASOUND2, 1,
|
||||
[Define if you have libasound.so.2 (required for ALSA 0.9.x/1.x support)])
|
||||
AC_DEFINE(ALSA_PCM_OLD_SW_PARAMS_API, 1,
|
||||
[Define if you have alsa 1.x])
|
||||
AC_DEFINE(ALSA_PCM_OLD_HW_PARAMS_API, 1,
|
||||
[Define if you have alsa 1.x])
|
||||
AC_CHECK_LIB(asound,snd_pcm_resume,[
|
||||
AC_DEFINE(HAVE_SND_PCM_RESUME, 1,
|
||||
[Define if libasound has snd_pcm_resume()])])
|
||||
fi
|
||||
])
|
||||
fi
|
||||
AC_SUBST(LIBASOUND)
|
||||
LDFLAGS="$ac_ldflags_save"
|
||||
])
|
||||
AC_CHECK_LIBASOUND
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBASOUND)
|
||||
|
||||
dnl check for IRIX audio support
|
||||
AC_MSG_CHECKING([for IRIX])
|
||||
if test `uname` = "IRIX" -o `uname` = "IRIX64" ; then
|
||||
AC_DEFINE(HAVE_IRIX, 1, [Define if you compile under IRIX])
|
||||
AC_MSG_RESULT("yes")
|
||||
else
|
||||
AC_MSG_RESULT("no")
|
||||
fi
|
||||
|
||||
dnl check wether we want to use libcsl style sound I/O
|
||||
AC_ARG_ENABLE(csl,
|
||||
[ --enable-csl enable libcsl style sound I/O for aRts],
|
||||
[arts_want_csl="$enableval"],[arts_want_csl="no"])
|
||||
|
||||
if test "$arts_want_csl" = "yes"; then
|
||||
LIBCSL="-lcsl"
|
||||
AC_DEFINE(HAVE_LIBCSL, 1,
|
||||
[Define if you have libcsl (required if you want to have CSL support)])
|
||||
else
|
||||
LIBCSL=""
|
||||
fi
|
||||
AC_SUBST(LIBCSL)
|
||||
|
||||
dnl Check for pkg-config
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
|
||||
if test "$PKG_CONFIG" = "no"; then
|
||||
AC_MSG_ERROR([
|
||||
This package requires pkg-config.
|
||||
])
|
||||
fi
|
||||
|
||||
dnl Check for Glib-2.0
|
||||
# GLIB_CFLAGS: cflags for compiling glib dependant sources
|
||||
# GLIB_LIBADD: glib libraries (-l options)
|
||||
# GLIB_LDFLAGS: flags containing path to glib libraries (-L options)
|
||||
|
||||
GLIB_PACKAGES="gmodule-2.0 gthread-2.0"
|
||||
GLIB_VERSION="1.3.3"
|
||||
AC_MSG_CHECKING(for GLib-2.0 (at least $GLIB_VERSION))
|
||||
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.15 ; then
|
||||
if $PKG_CONFIG --atleast-version $GLIB_VERSION $GLIB_PACKAGES >/dev/null 2>&1 ; then
|
||||
GLIB_CFLAGS="`$PKG_CONFIG --cflags $GLIB_PACKAGES`"
|
||||
GLIB_LIBADD="`$PKG_CONFIG --libs-only-l --libs-only-other $GLIB_PACKAGES`"
|
||||
GLIB_LDFLAGS="`$PKG_CONFIG --libs-only-L $GLIB_PACKAGES`"
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
else
|
||||
if $PKG_CONFIG --atleast-version $GLIB_VERSION $GLIB_PACKAGES >/dev/null 2>&1 ; then
|
||||
GLIB_CFLAGS="`$PKG_CONFIG --cflags $GLIB_PACKAGES`"
|
||||
GLIB_LIBADD="`$PKG_CONFIG --libs $GLIB_PACKAGES`"
|
||||
GLIB_LDFLAGS="`$PKG_CONFIG --libs-only-L $GLIB_PACKAGES`"
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_MSG_WARN([you may need to run make LDFLAGS=-pthread to compile arts])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$GLIB_LIBADD"; then
|
||||
AC_MSG_RESULT(not installed)
|
||||
AC_ERROR([
|
||||
Please install glib-2.0 (see http://www.gtk.org).
|
||||
])
|
||||
DO_NOT_COMPILE="$DO_NOT_COMPILE gmcop"
|
||||
fi
|
||||
|
||||
CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
|
||||
CFLAGS="$CFLAGS $GLIB_CFLAGS"
|
||||
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBADD)
|
||||
AC_SUBST(GLIB_LDFLAGS)
|
||||
|
||||
AC_ARG_WITH(jack,
|
||||
[AC_HELP_STRING(--with-jack,
|
||||
[enable support for Jack @<:@default=check@:>@])],
|
||||
[], with_jack=check)
|
||||
|
||||
if test "x$with_jack" != xno; then
|
||||
AC_MSG_CHECKING(for Jack Audio Connection Kit)
|
||||
if $PKG_CONFIG --atleast-version 0.90 jack >/dev/null 2>&1 ; then
|
||||
JACK_CFLAGS="`$PKG_CONFIG --cflags jack`"
|
||||
JACK_LIBADD="`$PKG_CONFIG --libs-only-l jack`"
|
||||
JACK_LDFLAGS="`$PKG_CONFIG --libs-only-L jack`"
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_LIBJACK, 1,
|
||||
[Define if you have libjack (required if you want Jack support)])
|
||||
else
|
||||
AC_MSG_RESULT(not installed)
|
||||
fi
|
||||
AC_SUBST(JACK_CFLAGS)
|
||||
AC_SUBST(JACK_LIBADD)
|
||||
AC_SUBST(JACK_LDFLAGS)
|
||||
|
||||
if test "x$with_jack" != xcheck && test -z "$JACK_LIBADD"; then
|
||||
AC_MSG_FAILURE([--with-jack was given, but test for Jack failed])
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl OpenBSD requires an -lossaudio and soundcard.h to provide OSS audio I/O
|
||||
AC_CHECK_HEADERS(soundcard.h)
|
||||
AC_CHECK_LIB(ossaudio, _oss_ioctl, [LIBOSSAUDIO="-lossaudio"])
|
||||
AC_SUBST(LIBOSSAUDIO)
|
||||
|
||||
AM_CONFIG_HEADER(mcop/arts_export.h)
|
||||
AM_CONFIG_HEADER(artsc/artsc_export.h)
|
||||
|
||||
dnl Don't remove !
|
||||
dnl AC_OUTPUT(artsc/artsc-config)
|
||||
|
||||
dnl Check if we are building as part of KDE. Arts can also be built as
|
||||
dnl a standalone snapshot in which case KDE may not be present and things
|
||||
dnl that depend on KDE should not be built.
|
||||
dnl AC_MSG_CHECKING(if building standalone aRts snapshot without KDE)
|
||||
dnl if test "$DCOPIDL" = ""; then
|
||||
dnl AC_MSG_RESULT(yes)
|
||||
dnl ARTS_BUILD_KDE=""
|
||||
dnl TQMOC="true"
|
||||
dnl DCOPIDL="true"
|
||||
dnl DCOPIDL2CPP="true"
|
||||
dnl AC_SUBST(TQMOC)
|
||||
dnl AC_SUBST(DCOPIDL)
|
||||
dnl AC_SUBST(DCOPIDL2CPP)
|
||||
dnl else
|
||||
dnl AC_MSG_RESULT(no)
|
||||
dnl if test "x$kde_use_qt_emb" = "xyes"; then
|
||||
dnl ARTS_BUILD_KDE="qtmcop kde knotify message"
|
||||
dnl else
|
||||
dnl ARTS_BUILD_KDE="x11 qtmcop kde knotify message"
|
||||
dnl fi
|
||||
dnl fi
|
||||
dnl AC_SUBST(ARTS_BUILD_KDE)
|
||||
|
||||
MCOPIDL='$(top_builddir)/mcopidl/mcopidl'
|
||||
AC_SUBST(MCOPIDL)
|
||||
|
||||
AC_SUBST(ARTS_MAJOR_VERSION)
|
||||
AC_SUBST(ARTS_MINOR_VERSION)
|
||||
AC_SUBST(ARTS_MICRO_VERSION)
|
||||
AC_SUBST(ARTS_VERSION)
|
||||
|
||||
dnl Don't remove !
|
||||
dnl AC_OUTPUT(artsc/artsdsp)
|
||||
dnl AC_OUTPUT(soundserver/artsversion-new.h)
|
||||
dnl AC_OUTPUT(flow/gsl/gslconfig.h)
|
||||
|
@ -1 +0,0 @@
|
||||
EXTRA_DIST = NEWS README TODO
|
@ -1,97 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_srcdir)/flow \
|
||||
-I$(top_builddir)/flow -I$(top_srcdir)/soundserver \
|
||||
-I$(top_builddir)/soundserver -I$(top_srcdir)/artsc \
|
||||
-I$(top_builddir)/mcop -I$(top_builddir)/artsc \
|
||||
$(all_includes)
|
||||
|
||||
AM_LDFLAGS = $(all_libraries)
|
||||
LDADD = $(top_builddir)/mcop/libmcop.la
|
||||
FLOWLIBS = $(top_builddir)/flow/libartsflow.la
|
||||
|
||||
####### Files
|
||||
|
||||
check_PROGRAMS = helloserver helloclient referenceinfo \
|
||||
irdemo x11commtest streamsound hellomain flow artsctest \
|
||||
artscrec artsccat artscmt \
|
||||
dcasttest hellodynamic hellodynamic2 testasubsys testaggregation \
|
||||
playtofile testthreads testnothreads catfile testdhandle
|
||||
helloserver_SOURCES = hello.cc helloserver.cc hello_impl.cc
|
||||
helloclient_SOURCES = hello.cc helloclient.cc
|
||||
hellodynamic_SOURCES = hello.cc hellodynamic.cc hello_impl.cc
|
||||
hellodynamic2_SOURCES = hello.cc hellodynamic2.cc
|
||||
referenceinfo_SOURCES = referenceinfo.cc
|
||||
|
||||
testdhandle_SOURCES = testdhandle.cc
|
||||
testdhandle.o: ../soundserver/soundserver.h ../flow/artsflow.h
|
||||
testdhandle_LDADD = $(FLOWLIBS) \
|
||||
$(top_builddir)/soundserver/libsoundserver_idl.la \
|
||||
$(top_builddir)/flow/gslpp/libgslpp.la
|
||||
|
||||
irdemo_SOURCES = irdemo.cc
|
||||
x11commtest_SOURCES = x11commtest.cc
|
||||
hellomain_SOURCES = hellomain.cc hello.cc hello_impl.cc
|
||||
|
||||
testasubsys_SOURCES = testasubsys.cc
|
||||
testasubsys_LDADD = $(FLOWLIBS)
|
||||
|
||||
## testthreads/testnothreads:
|
||||
## if we link testthreads.cc against libmcop_mt, it will be able to use
|
||||
## real threading, if we don't, we won't
|
||||
testthreads_SOURCES = testthreads.cc
|
||||
testthreads_LDFLAGS = $(LDFLAGS)
|
||||
testthreads_LDADD = $(top_builddir)/mcop_mt/libmcop_mt.la
|
||||
testnothreads_SOURCES = testthreads.cc
|
||||
|
||||
testaggregation_SOURCES = aggregation.cc testaggregation.cc
|
||||
|
||||
flow_LDADD = $(FLOWLIBS)
|
||||
flow_SOURCES = flow.cc
|
||||
|
||||
streamsound_LDADD = $(FLOWLIBS) \
|
||||
$(top_builddir)/soundserver/libsoundserver_idl.la
|
||||
streamsound_SOURCES = streamsound.cc
|
||||
|
||||
dcasttest_LDADD = $(FLOWLIBS) \
|
||||
$(top_builddir)/soundserver/libsoundserver_idl.la
|
||||
dcasttest_SOURCES = dcasttest.cc
|
||||
|
||||
artsctest_LDADD = $(top_builddir)/artsc/libartsc.la
|
||||
artsctest_SOURCES = artsctest.c
|
||||
|
||||
artsccat_LDADD = $(top_builddir)/artsc/libartsc.la
|
||||
artsccat_SOURCES = artsccat.c
|
||||
|
||||
artscrec_LDADD = $(top_builddir)/artsc/libartsc.la
|
||||
artscrec_SOURCES = artscrec.c
|
||||
|
||||
artscmt_LDFLAGS = $(LDFLAGS) $(USE_THREADS)
|
||||
artscmt_LDADD = $(top_builddir)/artsc/libartsc.la -lm $(LIBPTHREAD) $(LIBPOSIX4)
|
||||
artscmt_SOURCES = artscmt.c
|
||||
|
||||
playtofile_SOURCES = playtofile.cc playtofile_impl.cc playtofile_main.cc
|
||||
|
||||
playtofile_LDADD = $(FLOWLIBS) \
|
||||
$(top_builddir)/soundserver/libsoundserver_idl.la \
|
||||
$(top_builddir)/soundserver/libkmedia2_idl.la
|
||||
|
||||
catfile_SOURCES = catfile.cc
|
||||
|
||||
catfile_LDADD = $(top_builddir)/soundserver/libkmedia2.la
|
||||
|
||||
DISTCLEANFILES = hello.cc hello.h aggregation.cc aggregation.h \
|
||||
playtofile.cc playtofile.h
|
||||
|
||||
####### Implicit rules
|
||||
|
||||
####### Build rules
|
||||
|
||||
helloclient.o: hello.h
|
||||
hello.cc hello.h: $(top_srcdir)/examples/hello.idl $(MCOPIDL)
|
||||
$(MCOPIDL) $(top_srcdir)/examples/hello.idl
|
||||
|
||||
aggregation.cc aggregation.h: $(top_srcdir)/examples/aggregation.idl $(MCOPIDL)
|
||||
$(MCOPIDL) $(top_srcdir)/examples/aggregation.idl
|
||||
|
||||
playtofile.cc playtofile.h: $(srcdir)/playtofile.idl $(MCOPIDL)
|
||||
$(MCOPIDL) -I$(top_srcdir)/flow $(srcdir)/playtofile.idl
|
||||
|
@ -1,49 +0,0 @@
|
||||
|
||||
SUBDIRS = mcopclass gsl gslpp
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop $(all_includes)
|
||||
AM_CXXFLAGS = $(MAS_CFLAGS) $(JACK_CFLAGS) -DQT_CLEAN_NAMESPACE
|
||||
|
||||
####### Files
|
||||
|
||||
lib_LTLIBRARIES = libartsflow_idl.la libartsflow.la
|
||||
|
||||
libartsflow_idl_la_SOURCES = artsflow.cc
|
||||
libartsflow_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
|
||||
libartsflow_idl_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(LIBPOSIX4)
|
||||
|
||||
libartsflow_la_LIBADD = $(top_builddir)/mcop/libmcop.la libartsflow_idl.la $(top_builddir)/flow/gslpp/libgslpp.la $(LIBAUDIOFILE) $(LIBASOUND) $(LIBAUDIOIO) $(LIBOSSAUDIO) $(LIBAUDIONAS) $(LIBCSL) $(SGILIBAUDIO) $(LIBESD) $(LIBMAS) $(JACK_LIBADD) -lm \
|
||||
$(top_builddir)/flow/gsl/libgsl.la
|
||||
libartsflow_la_LDFLAGS = $(MAS_LDFLAGS) $(JACK_LDFLAGS) $(LIBAUDIOFILE_LDFLAGS) $(LIBAUDIONAS_LDFLAGS) $(LIBESD_LDFLAGS) -no-undefined -version-info 1:0
|
||||
libartsflow_la_COMPILE_FIRST = artsflow.h
|
||||
libartsflow_la_SOURCES = synth_play_impl.cc \
|
||||
gslschedule.cc audiosubsys.cc \
|
||||
pipebuffer.cc convert.cc synth_wave_sin_impl.cc synth_frequency_impl.cc \
|
||||
synth_multi_add_impl.cc synth_add_impl.cc synth_mul_impl.cc \
|
||||
synth_play_wav_impl.cc stdsynthmodule.cc cache.cc asyncschedule.cc \
|
||||
bytestreamtoaudio_impl.cc stereovolumecontrol_impl.cc \
|
||||
stereoeffectstack_impl.cc fft.c stereofftscope_impl.cc virtualports.cc \
|
||||
bus.cc audiomanager_impl.cc synth_record_impl.cc resample.cc \
|
||||
audioio.cc audioiooss.cc audioioalsa.cc audioioalsa9.cc \
|
||||
audioionull.cc audioiolibaudioio.cc audioioesd.cc audioiojack.cc \
|
||||
audioiosun.cc audioioaix.cc audioionas.cc cpuinfo.cc \
|
||||
audioioossthreaded.cc audiotobytestream_impl.cc audioiosgi.cc \
|
||||
audioiocsl.cc audioiomas.cc datahandle_impl.cc
|
||||
|
||||
artsincludedir = $(includedir)/arts
|
||||
artsinclude_HEADERS = artsflow.h audiosubsys.h cache.h \
|
||||
cachedwav.h convert.h pipebuffer.h stdsynthmodule.h \
|
||||
synthschedule.h fft.h artsflow.idl audioio.h resample.h \
|
||||
cpuinfo.h bufferqueue.h gslschedule.h
|
||||
|
||||
DISTCLEANFILES = artsflow.cc artsflow.h artsflow.mcoptype artsflow.mcopclass
|
||||
|
||||
artsflow.cc artsflow.h: $(top_srcdir)/flow/artsflow.idl $(MCOPIDL)
|
||||
$(MCOPIDL) -t $(top_srcdir)/flow/artsflow.idl
|
||||
|
||||
artsflow.mcoptype: artsflow.h
|
||||
artsflow.mcopclass: artsflow.h
|
||||
|
||||
######## install idl typeinfo files
|
||||
|
||||
mcoptypedir = $(libdir)/mcop
|
||||
mcoptype_DATA = artsflow.mcoptype artsflow.mcopclass
|
@ -1,24 +0,0 @@
|
||||
|
||||
EXTRA_DIST =
|
||||
CLEANFILES =
|
||||
MAINTAINERCLEANFILES =
|
||||
|
||||
gslincludedir=$(includedir)/arts/gsl
|
||||
include gslmakefile.inc
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/flow -I$(top_builddir)/flow -I$(top_srcdir)/mcop -I$(top_builddir)/mcop -I$(top_builddir) $(all_includes)
|
||||
AM_CFLAGS = $(GSL_CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libgsl.la
|
||||
|
||||
libgsl_la_SOURCES = $(GSL_C_SRC) gslfilehash.c gslartsthreads.cc
|
||||
libgsl_la_LIBADD = $(top_builddir)/mcop/libmcop.la -lm $(LIBPOSIX4) $(GSL_LIBS) $(LIB_POLL) $(GLIB_LIBADD)
|
||||
libgsl_la_LDFLAGS = -no-undefined $(all_libraries)
|
||||
|
||||
#noinst_PROGRAMS = $(GSL_NOINST_PROGS)
|
||||
|
||||
GSL_progs_ldadd = libgsl.la -lm $(LIBPTHREAD)
|
||||
|
||||
GSL_cc_dummy = dummy.cc
|
||||
$(srcdir)/dummy.cc: gslconfig.h
|
||||
|
@ -1,7 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/flow -I$(top_srcdir)/flow/gsl -I$(top_builddir)/flow -I$(top_srcdir)/mcop -I$(top_builddir)/mcop -I$(top_builddir) $(all_includes)
|
||||
|
||||
noinst_LTLIBRARIES = libgslpp.la
|
||||
|
||||
libgslpp_la_SOURCES = datahandle.cpp
|
||||
#libgslpp_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(top_builddir)/flow/gsl/libgsl.la -lm $(LIBPOSIX4)
|
||||
#libgslpp_la_LDFLAGS = -no-undefined
|
@ -1,15 +0,0 @@
|
||||
mcopclassdir = $(libdir)/mcop/Arts
|
||||
mcopclass_DATA = Synth_ADD.mcopclass \
|
||||
Synth_FREQUENCY.mcopclass \
|
||||
Synth_MUL.mcopclass \
|
||||
Synth_MULTI_ADD.mcopclass \
|
||||
Synth_PLAY.mcopclass \
|
||||
Synth_RECORD.mcopclass \
|
||||
Synth_PLAY_WAV.mcopclass \
|
||||
Synth_WAVE_SIN.mcopclass \
|
||||
Synth_BUS_DOWNLINK.mcopclass \
|
||||
Synth_BUS_UPLINK.mcopclass \
|
||||
Synth_AMAN_PLAY.mcopclass \
|
||||
Synth_AMAN_RECORD.mcopclass \
|
||||
DataHandlePlay.mcopclass \
|
||||
WaveDataHandle.mcopclass
|
@ -1,10 +0,0 @@
|
||||
lib_LTLIBRARIES = libgmcop.la
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop $(GLIB_CFLAGS) $(all_includes)
|
||||
|
||||
libgmcop_la_SOURCES = giomanager.cc
|
||||
libgmcop_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(GLIB_LIBADD)
|
||||
libgmcop_la_LDFLAGS = -no-undefined -version-info 1:0 $(GLIB_LDFLAGS) $(all_libraries)
|
||||
|
||||
artsincludedir = $(includedir)/arts
|
||||
artsinclude_HEADERS = giomanager.h
|
@ -1,33 +0,0 @@
|
||||
|
||||
AM_CPPFLAGS = -DEXTENSION_DIR='"$(libdir)"' -DTRADER_DIR='"$(libdir)/mcop"'
|
||||
##
|
||||
lib_LTLIBRARIES = libmcop.la
|
||||
#
|
||||
# Programs to compile, Manpages to install and Versions
|
||||
#
|
||||
INCLUDES = -I$(top_srcdir)/libltdl $(all_includes)
|
||||
libmcop_la_SOURCES = buffer.cc connection.cc core.cc debug.cc dispatcher.cc \
|
||||
iomanager.cc object.cc socketconnection.cc tcpconnection.cc \
|
||||
unixconnection.cc tcpserver.cc unixserver.cc objectmanager.cc \
|
||||
factory.cc idlfilereg.cc ifacerepo_impl.cc mcoputils.cc \
|
||||
startupmanager.cc md5.c md5auth.cc referenceclean.cc datapacket.cc \
|
||||
asyncstream.cc notification.cc flowsystem.cc extensionloader.cc \
|
||||
tmpglobalcomm.cc mcopconfig.cc connect.cc reference.cc type.cc \
|
||||
trader_impl.cc dynamicrequest.cc anyref.cc loopback.cc \
|
||||
delayedreturn.cc thread.cc dynamicskeleton.cc
|
||||
|
||||
libmcop_la_LIBADD = $(LIBSOCKET) $(GLIB_LIBADD) $(top_builddir)/libltdl/libltdlc.la
|
||||
libmcop_la_LDFLAGS = -no-undefined -version-info 1:0 $(GLIB_LDFLAGS) $(all_libraries)
|
||||
|
||||
artsincludedir = $(includedir)/arts
|
||||
artsinclude_HEADERS = arts_export.h buffer.h common.h connection.h core.h dispatcher.h \
|
||||
factory.h flowsystem.h idlfilereg.h ifacerepo_impl.h iomanager.h \
|
||||
mcoputils.h object.h objectmanager.h pool.h socketconnection.h \
|
||||
startupmanager.h tcpconnection.h tcpserver.h type.h unixconnection.h \
|
||||
unixserver.h referenceclean.h datapacket.h asyncstream.h notification.h \
|
||||
extensionloader.h mcopconfig.h connect.h reference.h weakreference.h \
|
||||
dynamicrequest.h anyref.h debug.h delayedreturn.h dynamicskeleton.h thread.h \
|
||||
core.idl
|
||||
|
||||
core: $(srcdir)/core.idl $(MCOPIDL)
|
||||
$(MCOPIDL) -e Arts::Object -I$(srcdir) $(srcdir)/core.idl
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop -I$(top_srcdir)/flow -I$(top_builddir)/flow $(all_includes)
|
||||
|
||||
lib_LTLIBRARIES = libmcop_mt.la
|
||||
|
||||
libmcop_mt_la_SOURCES = threads_posix.cc
|
||||
libmcop_mt_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
|
||||
$(top_builddir)/flow/libartsflow.la $(LIBPTHREAD) \
|
||||
$(LIBPOSIX4) $(LIBSEM)
|
||||
libmcop_mt_la_LDFLAGS = -no-undefined -version-info 1:0 $(USE_THREADS) $(all_libraries)
|
@ -1,19 +0,0 @@
|
||||
KDE_CXXFLAGS = $(NOOPT_CXXFLAGS)
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop $(all_includes)
|
||||
####### Files
|
||||
|
||||
bin_PROGRAMS = mcopidl
|
||||
|
||||
mcopidl_SOURCES = mcopidl.cc yacc.cc scanner.cc namespace.cc
|
||||
mcopidl_LDFLAGS = $(all_libraries)
|
||||
mcopidl_LDADD = ../mcop/libmcop.la $(LIBPTHREAD) $(LIB_QT)
|
||||
noinst_HEADERS = yacc.cc.h
|
||||
|
||||
mcopidl.o: $(top_srcdir)/mcop/common.h
|
||||
|
||||
####### Build rules
|
||||
|
||||
parser:
|
||||
cd $(srcdir) && flex -B -8 -oscanner.cc scanner.ll ;\
|
||||
bison -d -t -o yacc.cc yacc.yy
|
||||
|
@ -1,14 +0,0 @@
|
||||
lib_LTLIBRARIES = libqtmcop.la
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop $(all_includes) $(QT_INCLUDES)
|
||||
KDE_OPTIONS = qtonly
|
||||
|
||||
libqtmcop_la_SOURCES = qiomanager.cc
|
||||
libqtmcop_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(LIB_QT)
|
||||
libqtmcop_la_LDFLAGS = -no-undefined -version-info 1:0 $(KDE_RPATH) \
|
||||
$(KDE_MT_LDFLAGS) $(QT_LDFLAGS) $(USER_LDFLAGS) $(X_LDFLAGS) $(LDFLAGS_AS_NEEDED)
|
||||
|
||||
METASOURCES = qiomanager_p.moc
|
||||
|
||||
artsincludedir = $(includedir)/arts
|
||||
artsinclude_HEADERS = qiomanager.h
|
@ -1,122 +0,0 @@
|
||||
# $Id: Makefile.am 434809 2005-07-15 13:20:54Z mueller $
|
||||
|
||||
# necessary for artswrapper
|
||||
artsdpath = $(bindir)/artsd
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop -I$(top_srcdir)/flow \
|
||||
-I$(top_builddir)/flow -DEXECUTE=\"$(artsdpath)\" $(all_includes)
|
||||
MCOPINC = -I$(srcdir) -I$(top_srcdir)/flow -I$(top_srcdir)/mcop
|
||||
FLOWLIBS = $(top_builddir)/flow/libartsflow.la
|
||||
|
||||
####### install idl files
|
||||
|
||||
artsincludedir = $(includedir)/arts
|
||||
artsinclude_HEADERS = soundserver.h soundserver.idl kmedia2.h kmedia2.idl \
|
||||
artsversion.h
|
||||
|
||||
####### libsoundserver_idl, libkmedia2_idl (idl files as library)
|
||||
|
||||
lib_LTLIBRARIES = libkmedia2_idl.la libsoundserver_idl.la \
|
||||
libartsgslplayobject.la libartswavplayobject.la libkmedia2.la
|
||||
|
||||
AM_LDFLAGS = $(LDFLAGS_AS_NEEDED)
|
||||
|
||||
libsoundserver_idl_la_LIBADD = libkmedia2_idl.la \
|
||||
$(top_builddir)/flow/libartsflow_idl.la
|
||||
libsoundserver_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
|
||||
libsoundserver_idl_la_SOURCES = soundserver.cc
|
||||
libsoundserver_idl_la_COMPILE_FIRST = soundserver.h
|
||||
|
||||
libkmedia2_idl_la_SOURCES = kmedia2.cc
|
||||
libkmedia2_idl_la_COMPILE_FIRST = kmedia2.h
|
||||
libkmedia2_idl_la_LIBADD = $(top_builddir)/flow/libartsflow.la
|
||||
libkmedia2_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
|
||||
|
||||
libkmedia2_la_SOURCES = fileinputstream_impl.cc stdoutwriter_impl.cc
|
||||
libkmedia2_la_LIBADD = libkmedia2_idl.la $(FLOWLIBS)
|
||||
libkmedia2_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
|
||||
libkmedia2_la_COMPILE_FIRST = kmedia2.h ../flow/artsflow.h
|
||||
|
||||
libartswavplayobject_la_SOURCES = wavplayobject_impl.cc
|
||||
libartswavplayobject_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
|
||||
libsoundserver_idl.la $(FLOWLIBS)
|
||||
libartswavplayobject_la_LDFLAGS = -no-undefined -module $(all_libraries)
|
||||
libartswavplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h
|
||||
|
||||
libartsgslplayobject_la_SOURCES = gslplayobject_impl.cc
|
||||
libartsgslplayobject_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
|
||||
libsoundserver_idl.la $(FLOWLIBS)
|
||||
libartsgslplayobject_la_LDFLAGS = -no-undefined -module $(all_libraries)
|
||||
libartsgslplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h
|
||||
|
||||
###### "real" programs
|
||||
|
||||
bin_PROGRAMS = artsd artsplay artscat artswrapper artsshell artsrec
|
||||
|
||||
artsd_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) \
|
||||
$(top_builddir)/mcop_mt/libmcop_mt.la
|
||||
artsd_LDFLAGS = $(USE_THREADS)
|
||||
artsd_SOURCES = soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc crashhandler.cc soundserverstartup_impl.cc
|
||||
artsd_COMPILE_FIRST = soundserver.h artsversion.h
|
||||
|
||||
artscat_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) $(LIBPTHREAD)
|
||||
artscat_LDFLAGS = $(USE_THREADS)
|
||||
artscat_SOURCES = artscat.cc
|
||||
artscat_COMPILE_FIRST = soundserver.h artsversion.h
|
||||
|
||||
artsrec_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) $(LIBPTHREAD)
|
||||
artsrec_LDFLAGS = $(USE_THREADS)
|
||||
artsrec_SOURCES = artsrec.cc
|
||||
artsrec_COMPILE_FIRST = soundserver.h artsversion.h
|
||||
|
||||
artsplay_LDADD = libsoundserver_idl.la $(LIB_QT) $(LIBPTHREAD)
|
||||
artsplay_LDFLAGS = $(USE_THREADS)
|
||||
artsplay_SOURCES = artsplay.cc
|
||||
artsplay_COMPILE_FIRST = soundserver.h artsversion.h
|
||||
|
||||
artswrapper_SOURCES = artswrapper.c
|
||||
artswrapper_CFLAGS = $(KDE_USE_FPIE)
|
||||
artswrapper_INCLUDES = -I$(top_builddir) -DEXECUTE=\"$(artsdpath)\"
|
||||
artswrapper_LDADD = $(LIBPOSIX4)
|
||||
artswrapper_LDFLAGS = $(KDE_USE_PIE)
|
||||
|
||||
artsshell_LDADD = libsoundserver_idl.la $(LIB_QT) $(LIBPTHREAD)
|
||||
artsshell_LDFLAGS = $(USE_THREADS)
|
||||
artsshell_SOURCES = artsshell.cc tradercheck.cc
|
||||
artsshell_COMPILE_FIRST = soundserver.h artsversion.h ../flow/artsflow.h
|
||||
|
||||
DISTCLEANFILES = soundserver.cc soundserver.h soundserver.mcopclass \
|
||||
soundserver.mcoptype kmedia2.h kmedia2.cc kmedia2.mcopclass kmedia2.mcoptype artsversion.h
|
||||
|
||||
####### Build rules
|
||||
soundserver.mcoptype: soundserver.h
|
||||
soundserver.mcopclass: soundserver.h
|
||||
soundserver.cc soundserver.h: $(top_srcdir)/soundserver/soundserver.idl kmedia2.h $(MCOPIDL) ../flow/artsflow.h
|
||||
$(MCOPIDL) -t $(MCOPINC) $(top_srcdir)/soundserver/soundserver.idl
|
||||
|
||||
kmedia2.mcoptype: kmedia2.h
|
||||
kmedia2.mcopclass: kmedia2.h
|
||||
kmedia2.cc kmedia2.h: $(top_srcdir)/soundserver/kmedia2.idl $(MCOPIDL) ../flow/artsflow.h
|
||||
$(MCOPIDL) -t $(MCOPINC) $(top_srcdir)/soundserver/kmedia2.idl
|
||||
|
||||
|
||||
artsversion.h: artsversion-new.h
|
||||
(cmp -s artsversion-new.h artsversion.h \
|
||||
|| cp artsversion-new.h artsversion.h)
|
||||
|
||||
if HAVE_WAVSUPPORT
|
||||
WAV_MCOPCLASS = WavPlayObject.mcopclass
|
||||
endif
|
||||
|
||||
mcopclassdir = $(libdir)/mcop/Arts
|
||||
mcopclass_DATA = FileInputStream.mcopclass $(WAV_MCOPCLASS) GSLPlayObject.mcopclass
|
||||
|
||||
#install-exec-hook:
|
||||
# @(chown root $(DESTDIR)$(bindir)/artswrapper && chmod 4755 $(DESTDIR)$(bindir)/artswrapper) \
|
||||
# || echo "please make $(DESTDIR)$(bindir)/artswrapper suid root"
|
||||
|
||||
######## install idl typeinfo files
|
||||
|
||||
mcoptypedir = $(libdir)/mcop
|
||||
mcoptype_DATA = soundserver.mcoptype soundserver.mcopclass \
|
||||
kmedia2.mcoptype kmedia2.mcopclass
|
@ -1,44 +0,0 @@
|
||||
check_PROGRAMS = testbuffer testifacerepo testanyref testwrapper \
|
||||
testchangenotify testflowsystem testdispatcher testnotification \
|
||||
testremote
|
||||
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_srcdir)/flow \
|
||||
-I$(top_builddir)/flow -I$(top_srcdir)/soundserver \
|
||||
-I$(top_builddir)/soundserver -I$(top_srcdir)/artsc \
|
||||
-I$(top_builddir)/mcop $(all_includes)
|
||||
|
||||
AM_LDFLAGS = $(all_libraries)
|
||||
LDADD = $(top_builddir)/mcop/libmcop.la
|
||||
FLOWLIBS = $(top_builddir)/flow/libartsflow.la
|
||||
|
||||
testbuffer_SOURCES = testbuffer.cc
|
||||
testifacerepo_SOURCES = testifacerepo.cc
|
||||
testanyref_SOURCES = testanyref.cc
|
||||
testdispatcher_SOURCES = testdispatcher.cc
|
||||
testnotification_SOURCES = testnotification.cc
|
||||
testwrapper_SOURCES = wrapper.cc testwrapper.cc
|
||||
|
||||
testchangenotify_LDADD = $(FLOWLIBS)
|
||||
testchangenotify_SOURCES = value.cc value_impl.cc testchangenotify.cc
|
||||
|
||||
testflowsystem_LDADD = $(FLOWLIBS)
|
||||
testflowsystem_SOURCES = value.cc value_impl.cc testflowsystem.cc
|
||||
|
||||
testremote_LDADD = $(FLOWLIBS)
|
||||
testremote_SOURCES = remotetest.cc value.cc value_impl.cc testremote.cc
|
||||
|
||||
DISTCLEANFILES = wrapper.h wrapper.cc value.h value.cc \
|
||||
remotetest.h remotetest.cc
|
||||
|
||||
wrapper.cc wrapper.h: $(top_srcdir)/tests/wrapper.idl $(MCOPIDL)
|
||||
$(MCOPIDL) $(top_srcdir)/tests/wrapper.idl
|
||||
|
||||
value_impl.o: value.h
|
||||
value.cc value.h: $(top_srcdir)/tests/value.idl $(MCOPIDL)
|
||||
$(MCOPIDL) $(top_srcdir)/tests/value.idl
|
||||
|
||||
remotetest.cc remotetest.h: $(top_srcdir)/tests/remotetest.idl $(MCOPIDL)
|
||||
$(MCOPIDL) $(top_srcdir)/tests/remotetest.idl
|
||||
|
@ -1,29 +0,0 @@
|
||||
if include_x11
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop $(all_includes)
|
||||
|
||||
lib_LTLIBRARIES = libx11globalcomm.la
|
||||
|
||||
libx11globalcomm_la_SOURCES = x11globalcomm.cc x11globalcomm_impl.cc
|
||||
libx11globalcomm_la_LIBADD = $(top_builddir)/mcop/libmcop.la $(LIB_X11)
|
||||
libx11globalcomm_la_LDFLAGS = -no-undefined -module -version-info 1:0 $(X_LDFLAGS) $(all_libraries)
|
||||
|
||||
DISTCLEANFILES = x11globalcomm.cc x11globalcomm.h \
|
||||
x11globalcomm.mcoptype x11globalcomm.mcopclass
|
||||
|
||||
x11globalcomm.cc x11globalcomm.h: $(srcdir)/x11globalcomm.idl $(MCOPIDL)
|
||||
$(MCOPIDL) -t $(INCLUDES) $(srcdir)/x11globalcomm.idl
|
||||
|
||||
x11globalcomm_impl.lo: x11globalcomm.h
|
||||
x11globalcomm.mcoptype: x11globalcomm.h
|
||||
x11globalcomm.mcopclass: x11globalcomm.h
|
||||
|
||||
mcopclassdir = $(libdir)/mcop/Arts
|
||||
mcopclass_DATA = X11GlobalComm.mcopclass
|
||||
|
||||
######## install idl typeinfo files
|
||||
|
||||
mcoptypedir = $(libdir)/mcop
|
||||
mcoptype_DATA = x11globalcomm.mcoptype x11globalcomm.mcopclass
|
||||
|
||||
endif
|
Loading…
Reference in new issue