Permalink
Browse files

Initial revision

  • Loading branch information...
0 parents commit 06cbd43b489544558dd6d8e5609cc0802ed53d6c @essej committed Sep 18, 2003
Showing with 4,742 additions and 0 deletions.
  1. +4 −0 Makefile.am
  2. +26 −0 autogen.sh
  3. +22 −0 config.h.in
  4. +73 −0 configure.ac
  5. +423 −0 depcomp
  6. +251 −0 install-sh
  7. +336 −0 missing
  8. +99 −0 mkinstalldirs
  9. +2,908 −0 plugin.cc
  10. +600 −0 soop.cc
@@ -0,0 +1,4 @@
+bin_PROGRAMS = soop
+
+soop_SOURCES = soop.cc plugin.cc
+
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+aclocal $ACLOCAL_FLAGS || {
+ echo "aclocal \$ACLOCAL_FLAGS where \$ACLOCAL_FLAGS= failed, exiting..."
+ exit 1
+}
+
+autoheader || {
+ echo "autoheader failed, exiting..."
+ exit 1
+}
+
+automake --add-missing --foreign || {
+ echo "automake --add-missing --foreign failed, exiting..."
+ exit 1
+}
+
+autoconf || {
+ echo "autoconf failed, exiting..."
+ exit 1
+}
+
+#echo "Running ./configure --enable-maintainer-mode $@..."
+
+#./configure --enable-maintainer-mode $@
+
@@ -0,0 +1,22 @@
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Version number of package */
+#undef VERSION
@@ -0,0 +1,73 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(soop.cc)
+
+AC_CONFIG_AUX_DIR(.)
+
+SOOP_MAJOR_VERSION=0
+SOOP_MINOR_VERSION=1
+SOOP_MICRO_VERSION=0
+
+BETA=
+
+AC_SUBST(SOOP_MAJOR_VERSION)
+AC_SUBST(SOOP_MINOR_VERSION)
+AC_SUBST(SOOP_MICRO_VERSION)
+
+SOOP_SO_VERSION=${SOOP_MAJOR_VERSION}:${SOOP_MINOR_VERSION}:${SOOP_MICRO_VERSION}${BETA}
+SOOP_VERSION=$SOOP_MAJOR_VERSION.$SOOP_MINOR_VERSION.${SOOP_MICRO_VERSION}${BETA}
+SOOP_RELEASE=$SOOP_MAJOR_VERSION-$SOOP_MINOR_VERSION-${SOOP_MICRO_VERSION}${BETA}
+
+AC_SUBST(SOOP_SO_VERSION)
+AC_SUBST(SOOP_VERSION)
+AC_SUBST(SOOP_RELEASE)
+
+AM_INIT_AUTOMAKE(soop,$SOOP_VERSION)
+AM_CONFIG_HEADER(config.h)
+
+dnl ====================================================================
+dnl you do have C++, right ?
+dnl ====================================================================
+
+AC_PROG_CC
+AC_PROG_CXX
+if test "$ac_cv_prog_cxx" = "no" ; then
+ AC_MSG_ERROR([*** Ardour is written in C++. You don't appear to have a C++ compiler])
+fi
+
+CXXFLAGS="-g -D_REENTRANT"
+OPT_CXXFLAGS="-D_REENTRANT -O6 -fomit-frame-pointer -ffast-math -fstrength-reduce -funroll-loops -fmove-all-movables"
+if test x"$GXX" = xyes ; then
+ CXXFLAGS="$CXXFLAGS -Wall"
+fi
+if test x"$GXX" = xyes ; then
+ OPT_CXXFLAGS="$OPT_CXXFLAGS -Wall"
+fi
+
+AC_ARG_ENABLE(optimize,
+ [ --disable-optimize avoid optimizations to allow gdb debugging.],
+ [ if test "x$enable_optimize" != "xno" ; then CXXFLAGS="$OPT_CXXFLAGS" ; fi ],
+ [ CXXFLAGS="$OPT_CXXFLAGS" ]
+)
+
+#AM_PATH_GTK(1.0.0, , [
+# AC_MSG_ERROR([*** soop requires GTK+, but it doesn't appear to be installed])
+#])
+
+PKG_CHECK_MODULES(JACK, jack >= 0.66.0)
+PKG_CHECK_MODULES(XML, libxml-2.0 >= 2.5)
+
+PKG_CHECK_MODULES(GTKMM, gtkmm-2.0 >= 2.0)
+
+EXTRA_LIBS="$JACK_LIBS $XML_LIBS $GTKMM_LIBS"
+
+AC_LANG_CPLUSPLUS
+
+CFLAGS="$CFLAGS -DSAMPLE_MEMORY=200 $GTKMM_CFLAGS $JACK_CFLAGS $XML_CFLAGS"
+CXXFLAGS=$CFLAGS
+LIBS="$LIBS $EXTRA_LIBS"
+
+#CFLAGS="$CFLAGS -DSAMPLE_MEMORY=200 -I../ardour/libs/sigc++/sigc++/config -I../ardour/libs/sigc++ -I../ardour/libs/gtkmm -I../ardour/libs/gtkmm/gdk-- -I../ardour/libs/gtkmm/src $GTK_CFLAGS $JACK_CFLAGS $XML_CFLAGS"
+#CXXFLAGS="$CXXFLAGS -DSAMPLE_MEMORY=200 -I../ardour/libs/sigc++/sigc++/config -I../ardour/libs/sigc++ -I../ardour/libs/gtkmm -I../ardour/libs/gtkmm/gdk-- -I../ardour/libs/gtkmm/src $GTK_CFLAGS $JACK_CFLAGS $XML_CFLAGS"
+#LIBS="$LIBS -L../ardour/libs/gtkmm/gdk--/gdk-- -L../ardour/libs/sigc++/sigc++ -L../ardour/libs/gtkmm/src/gtk-- -lgtkmm -lgdkmm -lsigc $GTK_LIBS $JACK_LIBS $XML_LIBS $EXTRA_LIBS"
+
+AC_OUTPUT(Makefile)
Oops, something went wrong.

0 comments on commit 06cbd43

Please sign in to comment.