ticket #1: Remove the autotools files done

This commit is contained in:
Caner Candan 2010-09-01 14:51:09 +02:00
commit 6d04ba9d32
37 changed files with 0 additions and 998 deletions

View file

@ -1,30 +0,0 @@
## Makefile.am for eo
if USE_APPLICATIONS
SUBDIRS_APP = app
endif
if USE_TUTORIAL
SUBDIRS_TUT = tutorial
endif
SUBDIRS = src doc contrib $(SUBDIRS_APP) $(SUBDIRS_TUT) test
# Directory for documents
DOCDIR = ~/public_html/eodocs
# Directory for indices -- not useful for the user
IDXDIR = ~/index
# Add documentation to distribution
dist-hook:
$(MAKE) documentation
$(INSTALL_DATA) -d $(srcdir)/doc/html $(srcdir)/doc/latex $(srcdir)/doc/man $(distdir)/doc/
# Prepare documentation
documentation:
cd doc && $(MAKE) doc && cd ..
# convinience-target
doc: documentation

View file

@ -1,84 +0,0 @@
# AC_APPLICATIONS()
#
# Compile applications unless user requests not to do it.
AC_DEFUN([AC_APPLICATIONS],[dnl
AC_ARG_ENABLE([applications],
AC_HELP_STRING([--enable-applications], [build applications (default=yes)]),
[ case "${enableval}" in
yes) applications=true ;;
no) applications=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for applications option) ;;
esac],
[applications=true])
if test "$applications" = "true"; then
AM_CONDITIONAL([USE_APPLICATIONS], true)
else
AM_CONDITIONAL([USE_APPLICATIONS], false)
fi
])
# AC_DEBUG()
#
# Check for commandline options requesting DEBUG feature.
# Might define DEBUG, NODEBUG, or NDEBUG, depending on flags given.
AC_DEFUN([AC_DEBUG],[dnl
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [include debugging code (default=no)]),
[ case "${enableval}" in
yes) debug=true ;;
no) debug=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for debug option) ;;
esac],
[debug=false])
if test "$debug" = true; then
AC_DEFINE([DEBUG], true, [Debugging flag])
else
AC_DEFINE([NDEBUG], true, [no debugging])
AC_DEFINE([NODEBUG], true, [no debugging])
fi
])
# AC_GNUPLOT()
#
# Compile applications unless user requests not to do it.
AC_DEFUN([AC_GNUPLOT], [dnl
AC_ARG_ENABLE([gnuplot],
AC_HELP_STRING([--enable-gnuplot], [use gnuplot for graphical display (default=yes)]),
[ac_cv_use_gnuplot=$enableval],
[ac_cv_use_gnuplot=yes])
AC_CACHE_CHECK([use gnuplot for graphical display],
[ac_cv_use_gnuplot],
[ac_cv_use_gnuplot=no])
if test "$ac_cv_use_gnuplot" = "yes"; then
AC_ARG_VAR([GNUPLOT], [gnuplot executable used for graphical display])
AC_CHECK_PROG([GNUPLOT], [gnuplot], [gnuplot], [true])
AC_DEFINE([HAVE_GNUPLOT], [1], [gnuplot graphical display])
else
AC_DEFINE([NO_GNUPLOT], [1], [no gnuplot graphical display -- deprecated, will be reomoved!])
fi
])
# AC_TUTORIAL()
#
# Compile tutorial unless user requests not to do it.
AC_DEFUN([AC_TUTORIAL],[dnl
AC_ARG_ENABLE([tutorial],
AC_HELP_STRING([--enable-tutorial], [build tutorial (default=yes)]),
[ case "${enableval}" in
yes) tutorial=true ;;
no) tutorial=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for tutorial option) ;;
esac],
[tutorial=true])
if test "$tutorial" = "true"; then
AM_CONDITIONAL([USE_TUTORIAL], true)
else
AM_CONDITIONAL([USE_TUTORIAL], false)
fi
])

View file

@ -1,3 +0,0 @@
## Makefile.am for app dir in eo
SUBDIRS = mastermind gprop gpsymreg

View file

@ -1,22 +0,0 @@
# Makefile.am for app/gprop
noinst_PROGRAMS = gprop
gprop_SOURCES = gprop.cpp
noinst_HEADERS = gprop.h \
l2.h \
mlp.h \
mse.h \
qp.h \
vecop.h
AM_CXXFLAGS = -I$(top_srcdir)/src
LIBEO = $(top_builddir)/src/libeo.a
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
DEPS = $(LIBEO) $(LIBEOUTILS)
LIBS = $(LIBEO) $(LIBEOUTILS)

View file

@ -1,15 +0,0 @@
# Makefile.am for app/gpsymreg
noinst_PROGRAMS = gpsymreg
gpsymreg_SOURCES = main.cpp
noinst_HEADERS = fitness.h node.h parameters.h
LIBEO = $(top_builddir)/src/libeo.a
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
AM_CXXFLAGS = -I$(top_srcdir)/src
DEPS = $(LIBEO) $(LIBEOUTILS)
LIBS = $(LIBEO) $(LIBEOUTILS)

View file

@ -1,14 +0,0 @@
# Makefile.am for app/mastermind
noinst_PROGRAMS = mastermind
mastermind_SOURCES = mastermind.cpp
noinst_HEADERS = mastermind.h
LIBEO = $(top_builddir)/src/libeo.a
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
AM_CXXFLAGS = -I$(top_srcdir)/src
DEPS = $(LIBEO) $(LIBEOUTILS)
LIBS = $(LIBEO) $(LIBEOUTILS)

View file

@ -1,39 +0,0 @@
#!/bin/sh
DIE=0
PROG=eo
(autoconf --version) < /dev/null > /dev/null 2>&1 ||
{
echo
echo "You must have autoconf installed to compile $PROG."
DIE=1
}
(automake --version) < /dev/null > /dev/null 2>&1 ||
{
echo
echo "You must have automake installed to compile $PROG."
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
set aclocalinclude="$ACLOCAL_FLAGS"
aclocal $aclocalinclude
unset $aclocalinclude
autoheader
automake -a -c
autoconf
# we want doc to be recompiled - and it keeps saying it's up to date!!!
# touch doc/eo.cfg
echo
echo "Now run 'configure' and 'make' to build $PROG."
echo "You can check the libraries by running 'make check'"
echo
echo "If you have Doxygen installed, type 'make doc' to generate $PROG documentation."
echo

View file

@ -1,88 +0,0 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl Change the version number here
AC_INIT([Evolving Objects], [1.0.1], [eodev-help@sourceforge.net], [eo])
AC_PREREQ(2.53)
dnl make sure we are compiling from the correct sources
AC_CONFIG_SRCDIR(src/eoOp.h)
dnl define host, build, and target machine
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
dnl automake initialization
AM_INIT_AUTOMAKE([gnu dist-bzip2 dist-zip])
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PATH_PROG([AR], [ar], [false], [$PATH:/usr/ccs/bin]) # solaris-x86 needs extra path
AC_ARG_VAR([DOXYGEN], [automatic documentation generation])
AC_CHECK_PROGS([DOXYGEN], [doxygen], [true])
dnl Checks for header files.
AC_LANG(C++)
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_TYPES(uint32_t, [], AC_MSG_WARN([Need uint32_t from C99 standard.]))
AC_TYPE_SIZE_T
dnl Checks for libraries and library functions.
AC_CHECK_LIB(m, cos)
dnl Check for C++ library yaml-cpp (AC_CHEC_LIB only supports checking for C libraries)
AC_MSG_CHECKING('libyaml-cpp available')
AC_LANG(C++)
SAVED_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -lyaml-cpp"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <yaml-cpp/yaml.h>], [YAML::Emitter dummy])],
[ AC_MSG_RESULT([yes])
SAVED_LDFLAGS="$SAVED_LDFLAGS -lyaml-cpp"
AC_DEFINE(HAVE_LIBYAML_CPP,1,[Define to 1 if you have libyaml-cpp installed]) ],
[AC_MSG_RESULT([no])])
LDFLAGS=$SAVED_LDFLAGS
dnl user-switches
AC_APPLICATIONS
AC_DEBUG
AC_GNUPLOT
AC_TUTORIAL
dnl create makefiles
AC_OUTPUT(Makefile \
app/Makefile \
app/mastermind/Makefile \
app/gprop/Makefile \
app/gpsymreg/Makefile \
contrib/Makefile \
doc/Makefile \
src/Makefile \
src/do/Makefile \
src/es/Makefile \
src/gp/Makefile \
src/ga/Makefile \
src/other/Makefile \
src/utils/Makefile \
src/moo/Makefile \
test/Makefile \
tutorial/Makefile \
tutorial/html/Makefile \
tutorial/Lesson1/Makefile \
tutorial/Lesson2/Makefile \
tutorial/Lesson3/Makefile \
tutorial/Lesson4/Makefile \
tutorial/Lesson5/Makefile \
tutorial/Templates/Makefile \
tutorial/pdf/Makefile)

View file

@ -1,9 +0,0 @@
###############################################################################
##
## Makefile.am for eo/src
##
###############################################################################
pkginclude_HEADERS = eoAged.h eoDrawable.h
EXTRA_DIST = MGE/VirusOp.h MGE/eoInitVirus.h MGE/eoVirus.h

View file

@ -1,11 +0,0 @@
## Makefile.am for eo/doc
EXTRA_DIST = EO_EA2001.pdf LeCreusot.pdf eo.cfg index.h \
mainpage.html publications.html sflogo-hammer1.jpg
doc:
cd $(srcdir) && $(DOXYGEN) eo.cfg
clean-local:
cd $(srcdir) && rm -rf html latex man

View file

@ -1,146 +0,0 @@
# Makefile.am for eo/src
SUBDIRS = es ga gp do utils other moo
lib_LIBRARIES = libeo.a
libeo_a_SOURCES = eoFunctorStore.cpp \
eoPersistent.cpp \
eoPrintable.cpp \
eoCtrlCContinue.cpp \
eoParetoFitness.cpp \
eoScalarFitnessAssembled.cpp
pkginclude_HEADERS = eo \
EO.h \
apply.h \
eoAlgo.h \
eoBinaryFlight.h \
eoBitParticle.h \
eoBreed.h \
eoCellularEasyEA.h \
eoCloneOps.h \
eoCombinedContinue.h \
eoCombinedInit.h \
eoConstrictedVariableWeightVelocity.h \
eoConstrictedVelocity.h \
eoContinue.h \
eoCounter.h \
eoCtrlCContinue.h \
eoDetSelect.h \
eoDetTournamentSelect.h \
eoDistribUpdater.h \
eoDistribution.h \
eoDominanceMap.h \
eoEDA.h \
eoEasyEA.h \
eoEasyPSO.h \
eoEvalContinue.h \
eoEvalFunc.h \
eoEvalFuncCounter.h \
eoEvalFuncPtr.h \
eoFactory.h \
eoFitContinue.h \
eoFitnessScalingSelect.h \
eoFixedInertiaWeightedVelocity.h \
eoFlight.h \
eoFlOrBinOp.h \
eoFlOrMonOp.h \
eoFlOrQuadOp.h \
eoFunctor.h \
eoFunctorStore.h \
eoG3Replacement.h \
eoGaussRealWeightUp.h \
eoGenContinue.h \
eoGenOp.h \
eoGeneralBreeder.h \
eoInit.h \
eoInvalidateOps.h \
eoLinearDecreasingWeightUp.h \
eoLinearFitScaling.h \
eoLinearTopology.h \
eoMGGReplacement.h \
eoMerge.h \
eoMergeReduce.h \
eoNDSorting.h \
eoNeighborhood.h \
eoObject.h \
eoOneToOneBreeder.h \
eoOp.h \
eoOpContainer.h \
eoOpSelMason.h \
eoParetoConstraintFitness.h \
eoParetoFitness.h \
eoParetoRanking.h \
eoParticleBestInit.h \
eoPerf2Worth.h \
eoPeriodicContinue.h \
eoPersistent.h \
eoPop.h \
eoPopAlgo.h \
eoPopEvalFunc.h \
eoPopulator.h \
eoPrintable.h \
eoPropGAGenOp.h \
eoProportionalCombinedOp.h \
eoProportionalSelect.h \
eoPSO.h \
eoRandomRealWeightUp.h \
eoRandomSelect.h \
eoRanking.h \
eoRankingSelect.h \
eoRealBoundModifier.h \
eoRealParticle.h \
eoReduce.h \
eoReduceMerge.h \
eoReduceMergeReduce.h \
eoReduceSplit.h \
eoReplacement.h \
eoSGA.h \
eoSGAGenOp.h \
eoSGATransform.h \
eoSTLFunctor.h \
eoScalarFitness.h \
eoScalarFitnessAssembled.cpp \
eoScalarFitnessAssembled.h \
eoSelect.h \
eoSelectFactory.h \
eoSelectFromWorth.h \
eoSelectMany.h \
eoSelectNumber.h \
eoSelectOne.h \
eoSelectPerc.h \
eoSequentialSelect.h \
eoSharing.h \
eoSharingSelect.h \
eoSigBinaryFlight.h \
eoSimpleEDA.h \
eoSocialNeighborhood.h \
eoStandardFlight.h \
eoStandardVelocity.h \
eoStarTopology.h \
eoSteadyFitContinue.h \
eoStochTournamentSelect.h \
eoStochasticUniversalSelect.h \
eoSurviveAndDie.h \
eoSyncEasyPSO.h \
eoTopology.h \
eoTransform.h \
eoTruncSelect.h \
eoTruncatedSelectMany.h \
eoTruncatedSelectOne.h \
eoVariableInertiaWeightedVelocity.h \
eoVariableLengthCrossover.h \
eoVariableLengthMutation.h \
eoVector.h \
eoVectorParticle.h \
eoVelocity.h \
eoVelocityInit.h \
eoWeightUpdater.h \
es.h \
ga.h \
PO.h \
eoTimeContinue.h
AM_CXXFLAGS = -I$(top_srcdir)/src

View file

@ -1,15 +0,0 @@
pkginclude_HEADERS = make_algo_easea.h \
make_algo_pareto.h \
make_algo_scalar.h \
make_checkpoint.h \
make_checkpoint_FDC.h \
make_checkpoint_assembled.h \
make_checkpoint_pareto.h \
make_continue.h \
make_continue_pareto.h \
make_general_replacement.h \
make_pop.h \
make_run.h
EXTRA_DIST = Readme

0
eo/src/eoDetTournamentSelect.h Executable file → Normal file
View file

0
eo/src/eoProportionalSelect.h Executable file → Normal file
View file

0
eo/src/eoSteadyFitContinue.h Executable file → Normal file
View file

0
eo/src/eoStochTournamentSelect.h Executable file → Normal file
View file

0
eo/src/eoStochasticUniversalSelect.h Executable file → Normal file
View file

View file

@ -1,56 +0,0 @@
## Makefile.am for eo/src/es
lib_LIBRARIES = libes.a libcma.a
libes_a_SOURCES = make_algo_scalar_es.cpp \
make_algo_scalar_real.cpp \
make_checkpoint_es.cpp \
make_checkpoint_real.cpp \
make_continue_es.cpp \
make_continue_real.cpp \
make_genotype_es.cpp \
make_genotype_real.cpp \
make_op_es.cpp \
make_op_real.cpp \
make_pop_es.cpp \
make_pop_real.cpp \
make_run_es.cpp \
make_run_real.cpp
esincludedir = $(pkgincludedir)/es
esinclude_HEADERS = eoEsChromInit.h \
eoEsFull.h \
eoEsGlobalXover.h \
eoEsMutate.h \
eoEsMutationInit.h \
eoEsSimple.h \
eoEsStandardXover.h \
eoEsStdev.h \
eoNormalMutation.h \
eoRealAtomXover.h \
eoReal.h \
eoRealInitBounded.h \
eoRealOp.h \
eoSBXcross.h \
make_es.h \
make_genotype_real.h \
make_op_es.h \
make_op.h \
make_op_real.h \
make_real.h
libcma_a_SOURCES = eig.cpp \
CMAState.cpp \
CMAParams.cpp
cmaincludedir = $(pkgincludedir)/es
cmainclude_HEADERS = CMAParams.h \
CMAState.h \
eig.h \
eoCMAInit.h \
eoCMABreed.h \
matrices.h
AM_CXXFLAGS = -I$(top_srcdir)/src

View file

@ -1,32 +0,0 @@
###############################################################################
##
## Makefile.am for eo/src/ga
##
###############################################################################
AM_CXXFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
lib_LIBRARIES = libga.a
libga_a_SOURCES = make_algo_scalar_ga.cpp \
make_checkpoint_ga.cpp \
make_continue_ga.cpp \
make_genotype_ga.cpp \
make_op_ga.cpp \
make_pop_ga.cpp \
make_run_ga.cpp
gaincludedir = $(pkgincludedir)/ga
gainclude_HEADERS = eoBit.h \
eoBitOpFactory.h \
eoBitOp.h \
eoBoolFlip.h \
eoPBILAdditive.h \
eoPBILDistrib.h \
eoPBILOrg.h \
make_ga.h \
make_genotype_ga.h \
make_op.h \
make_PBILdistrib.h \
make_PBILupdate.h

View file

@ -1,11 +0,0 @@
## Makefile.am for eo/src/gp
gpincludedir = $(pkgincludedir)/gp
gpinclude_HEADERS = eoParseTreeDepthInit.h \
eoParseTree.h \
eoParseTreeOp.h \
eoStParseTreeDepthInit.h \
eoStParseTreeOp.h \
node_pool.h \
parse_tree.h

Some files were not shown because too many files have changed in this diff Show more