[Fresco-devel] update on top level automake
Warren Turkal <[email protected]>
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
I updated the Makefile.am to actually build everything. I will be testing if it installs the stuff later. I expect it to. Warren -- Treasurer, GOLUM, Inc. http://www.golum.org
configure.ac
(text/plain, 3.9 KB)
dnl $Id: configure.ac,v 1.23 2003/01/21 07:45:31 stefan Exp $ dnl dnl This source file is a part of the Fresco Project. dnl Copyright (C) 1999, 2000 Stefan Seefeld <[email protected]> dnl http://www.fresco.org/ dnl dnl This library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Library General Public dnl License as published by the Free Software Foundation; either dnl version 2 of the License, or (at your option) any later version. dnl dnl This library is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Library General Public License for more details. dnl dnl You should have received a copy of the GNU Library General Public dnl License along with this library; if not, write to the dnl Free Software Foundation, Inc., 675 Mass Ave, Cambridge, dnl MA 02139, USA. dnl dnl Process this file with autoconf to produce a configure script. dnl ------------------------------------------------------------------ dnl Autoconf initialization dnl ------------------------------------------------------------------ AC_PREREQ(2.52) AC_REVISION($Revision: 1.23 $) AC_INIT(Fresco, M1, [email protected]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR(COPYING) AC_CONFIG_AUX_DIR(config) echo "The Fresco Windowing System," echo "Copyright (c) 2000 The Fresco Project <[email protected]>" echo AC_ARG_ENABLE(ggi, AC_HELP_STRING([--enable-ggi],[Configure with ggi support]), [enable_ggi="$enableval"],[enable_ggi="yes"]) AC_ARG_ENABLE(sdl, AC_HELP_STRING([--enable-sdl],[Configure with sdl support]), [enable_sdl="$enableval"],[enable_sdl="yes"]) AC_ARG_ENABLE(c++-demos, AC_HELP_STRING([--enable-c++-demos],[Configure c++ demos support]), [enable_cxx_demos="$enableval"],[enable_cxx_demos="yes"]) AC_ARG_ENABLE(python-runtime, AC_HELP_STRING([--enable-python-runtime],[Configure python runtime support]), [enable_python_runtime="$enableval"],[enable_python_runtime="yes"]) AC_ARG_ENABLE(python-demos, AC_HELP_STRING([--enable-python-demos],[Configure python demos support]), [enable_python_demos="$enableval"],[enable_python_demos="yes"]) AM_CONDITIONAL([ENABLED_GGI], [test "$enable_ggi" = yes]) AM_CONDITIONAL([ENABLED_SDL], [test "$enable_sdl" = yes]) AM_CONDITIONAL([ENABLED_CXX_DEMOS], [test "$enable_cxx_demos" = yes]) AM_CONDITIONAL([ENABLED_PYTHON_RUNTIME], [test "$enable_python_runtime" = yes]) AM_CONDITIONAL([ENABLED_PYTHON_DEMOS], [test "$enable_demos" = yes]) if test -d $srcdir/Prague; then AC_CONFIG_SUBDIRS(Prague) fi if test -d $srcdir/Babylon; then AC_CONFIG_SUBDIRS(Babylon) fi if test -d $srcdir/Fresco-IDL; then AC_CONFIG_SUBDIRS(Fresco-IDL) fi if test -d $srcdir/Fresco-C++; then AC_CONFIG_SUBDIRS(Fresco-C++) fi if test -d $srcdir/Berlin; then AC_CONFIG_SUBDIRS(Berlin) fi if test -d $srcdir/GGI -a ".$enable_ggi" = ".yes"; then AC_CONFIG_SUBDIRS(GGI) fi if test -d $srcdir/SDL -a ".$enable_sdl" = ".yes"; then AC_CONFIG_SUBDIRS(SDL) fi if test -d $srcdir/Fresco-Python -a ".$enable_python_runtime" = ".yes"; then AC_CONFIG_SUBDIRS(Fresco-Python) fi if test -d $srcdir/Fresco-Java -a ".$enable_java_runtime" = ".yes"; then AC_CONFIG_SUBDIRS(Fresco-Java) fi if test -d $srcdir/Fresco-Perl -a ".$enable_perl_runtime" = ".yes"; then AC_CONFIG_SUBDIRS(Fresco-Perl) fi if test -d $srcdir/Fresco-C++-demos -a ".$enable_cxx_demos" = ".yes"; then AC_CONFIG_SUBDIRS(Fresco-C++-demos) fi if test -d $srcdir/Fresco-Python-demos -a ".$enable_python_demos" = ".yes"; then AC_CONFIG_SUBDIRS(Fresco-Python-demos) fi if test -d $srcdir/Documentation; then AC_CONFIG_SUBDIRS(Documentation) fi if test -d $srcdir/contrib/daVinci; then AC_CONFIG_SUBDIRS(contrib/daVinci) fi AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([config/synopsis.py]) AC_OUTPUT
Makefile.am
(text/x-makefile, 480 B)
REQUIRED = Prague Babylon Fresco-IDL Fresco-C++ Berlin
if ENABLED_GGI
GGI_BACKEND = GGI
endif
if ENABLED_SDL
SDL_BACKEND = SDL
endif
if ENABLED_CXX_DEMOS
CXX_DEMOS = Fresco-C++-demos
endif
if ENABLED_PYTHON_RUNTIME
PYTHON_RUNTIME = Fresco-Python
endif
if ENABLED_PYTHON_DEMOS
PYTHON_DEMOS = Fresco-Python-demos
endif
SUBDIRS = $(REQUIRED) $(GGI_BACKEND) $(SDL_BACKEND) $(CXX_DEMOS) \
$(PYTHON_RUNTIME) $(PYTHON_DEMOS)
ACLOCAL_AMFLAGS = -I $(srcdir)/config/