fix 'make dist', works now (besides ParadisEO).
This commit is contained in:
parent
de69e235f4
commit
5150bd4888
12 changed files with 79 additions and 85 deletions
|
|
@ -6,6 +6,7 @@ Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
autom4te.cache
|
autom4te.cache
|
||||||
|
build*
|
||||||
confdefs.h
|
confdefs.h
|
||||||
config.cache
|
config.cache
|
||||||
config.cache
|
config.cache
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,3 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
SUBDIRS = mastermind gpsymreg
|
SUBDIRS = mastermind gpsymreg
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
all:
|
|
||||||
for i in $(SUBDIRS); do cd $$i && $(MAKE) all; cd ..; done
|
|
||||||
|
|
||||||
clean:
|
|
||||||
for i in $(SUBDIRS); do cd $$i && $(MAKE) clean; cd ..; done
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,17 @@
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
bin_PROGRAMS = gpsymreg
|
||||||
|
|
||||||
|
gpsymreg_SOURCES = main.cpp
|
||||||
|
|
||||||
|
noinst_HEADERS = fitness.h node.h parameters.h
|
||||||
|
|
||||||
|
|
||||||
LIBEO = $(top_builddir)/src/libeo.a
|
LIBEO = $(top_builddir)/src/libeo.a
|
||||||
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
|
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
|
||||||
|
|
||||||
|
|
||||||
bin_PROGRAMS = gpsymreg
|
|
||||||
|
|
||||||
AM_CXXFLAGS = -I$(top_builddir)/src
|
AM_CXXFLAGS = -I$(top_builddir)/src
|
||||||
DEPS = $(LIBEOUTILS) $(LIBEO)
|
DEPS = $(LIBEOUTILS) $(LIBEO)
|
||||||
LIBS = $(top_builddir)/src/utils/libeoutils.a
|
LIBS = $(LIBEOUTILS) $(LIBEO)
|
||||||
|
|
||||||
gpsymreg_SOURCES = main.cpp
|
|
||||||
|
|
|
||||||
|
|
@ -4,22 +4,15 @@
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
DEPS = $(top_builddir)/src/libeo.a $(top_builddir)/src/utils/libeoutils.a
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
||||||
LDADDS = $(top_builddir)/src/libeo.a $(top_builddir)/src/utils/libeoutils.a
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
bin_PROGRAMS = mastermind
|
bin_PROGRAMS = mastermind
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
mastermind_SOURCES = mastermind.cpp
|
mastermind_SOURCES = mastermind.cpp
|
||||||
mastermind_DEPENDENCIES = $(DEPS)
|
|
||||||
mastermind_LDFLAGS = -lm
|
|
||||||
mastermind_LDADD = $(LDADDS)
|
|
||||||
|
|
||||||
###############################################################################
|
noinst_HEADERS = mastermind.h
|
||||||
|
|
||||||
|
LIBEO = $(top_builddir)/src/libeo.a
|
||||||
|
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
|
||||||
|
|
||||||
|
AM_CXXFLAGS = -I$(top_srcdir)/src
|
||||||
|
DEPS = $(LIBEOUTILS) $(LIBEO)
|
||||||
|
LIBS = $(LIBEOUTILS) $(LIBEO)
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,6 @@
|
||||||
##
|
##
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
SUBDIRS =
|
|
||||||
|
|
||||||
pkginclude_HEADERS = eoAged.h eoDrawable.h
|
pkginclude_HEADERS = eoAged.h eoDrawable.h
|
||||||
|
|
||||||
|
EXTRA_DIST = MGE/VirusOp.h MGE/eoInitVirus.h MGE/eoVirus.h
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,6 @@
|
||||||
|
|
||||||
lib_LIBRARIES = libeoutils.a
|
lib_LIBRARIES = libeoutils.a
|
||||||
|
|
||||||
|
|
||||||
AM_CXXFLAGS = -I$(top_srcdir)/src
|
|
||||||
|
|
||||||
|
|
||||||
libeoutils_a_SOURCES = eoParser.cpp \
|
libeoutils_a_SOURCES = eoParser.cpp \
|
||||||
eoRNG.cpp \
|
eoRNG.cpp \
|
||||||
eoState.cpp \
|
eoState.cpp \
|
||||||
|
|
@ -19,6 +15,8 @@ libeoutils_a_SOURCES = eoParser.cpp \
|
||||||
eoRealBounds.cpp \
|
eoRealBounds.cpp \
|
||||||
make_help.cpp
|
make_help.cpp
|
||||||
|
|
||||||
libeoincdir = $(includedir)/eo/utils
|
pkginclude_HEADERS = checkpointing $(srcdir)/*.h
|
||||||
|
|
||||||
libeoinc_HEADERS = checkpointing $(srcdir)/*.h
|
AM_CXXFLAGS = -I$(top_srcdir)/src
|
||||||
|
|
||||||
|
EXTRA_DIST = *.h
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,11 @@
|
||||||
#pragma warning(disable:4786)
|
#pragma warning(disable:4786)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <ctime>
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <ctime>
|
||||||
#ifdef HAVE_SSTREAM
|
#ifdef HAVE_SSTREAM
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable:4786)
|
#pragma warning(disable:4786)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#ifdef HAVE_SSTREAM
|
#ifdef HAVE_SSTREAM
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,10 @@
|
||||||
#pragma warning(disable:4786)
|
#pragma warning(disable:4786)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SSTREAM
|
#ifdef HAVE_SSTREAM
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,11 @@ LIBGA = $(top_builddir)/src/ga/libga.a
|
||||||
|
|
||||||
AM_CXXFLAGS = -g -Wall -I$(top_srcdir)/src
|
AM_CXXFLAGS = -g -Wall -I$(top_srcdir)/src
|
||||||
|
|
||||||
CLEANFILES = *~ *.sav *.status monitor.csv t-eoRandom.out
|
CLEANFILES = monitor.csv t-eoRandom.out
|
||||||
|
|
||||||
DEPS = $(LIBGA) $(LIBES) $(LIBEO) $(LIBEOUTILS)
|
DEPS = $(LIBGA) $(LIBES) $(LIBEO) $(LIBEOUTILS)
|
||||||
|
|
||||||
LDADD = $(DEPS)
|
LIBS = $(DEPS)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -62,3 +62,6 @@ t_eoPBIL_SOURCES = t-eoPBIL.cpp
|
||||||
t_eoFitnessAssembled_SOURCES = t-eoFitnessAssembled.cpp
|
t_eoFitnessAssembled_SOURCES = t-eoFitnessAssembled.cpp
|
||||||
t_eoRoulette_SOURCES = t-eoRoulette.cpp
|
t_eoRoulette_SOURCES = t-eoRoulette.cpp
|
||||||
t_eoSharing_SOURCES = t-eoSharing.cpp
|
t_eoSharing_SOURCES = t-eoSharing.cpp
|
||||||
|
|
||||||
|
# extra flags for specific targets
|
||||||
|
t_eoVirus_CXXFLAGS = -I$(top_srcdir)/contrib
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@
|
||||||
|
|
||||||
#include <iostream> // std::cout
|
#include <iostream> // std::cout
|
||||||
#include <eo> // general EO
|
#include <eo> // general EO
|
||||||
#include "../contrib/MGE/VirusOp.h"
|
#include "MGE/VirusOp.h"
|
||||||
#include "../contrib/MGE/eoVirus.h"
|
#include "MGE/eoVirus.h"
|
||||||
#include "../contrib/MGE/eoInitVirus.h"
|
#include "MGE/eoInitVirus.h"
|
||||||
#include <utils/eoRndGenerators.h>
|
#include <utils/eoRndGenerators.h>
|
||||||
|
|
||||||
#include "binary_value.h"
|
#include "binary_value.h"
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,7 @@ noinst_HEADERS = eoOneMax.h \
|
||||||
|
|
||||||
extra_DIST = Makefile.simple
|
extra_DIST = Makefile.simple
|
||||||
|
|
||||||
|
AM_CXXFLAGS = -I$(top_srcdir)/src
|
||||||
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
|
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
|
||||||
|
|
||||||
LIBS = -lga -leoutils -leo
|
LIBS = -lga -leoutils -leo
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src
|
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue