Updated build-prcess to be completely under automake control.

For the tutorial the old Makefiles are saved as Makefile.simple in all
the respective directories.

Use generated config.h instead of command-line passing of preprocessor
flags.

Updated support files from current automake.
This commit is contained in:
kuepper 2004-09-17 16:53:31 +00:00
commit c8494642d5
37 changed files with 675 additions and 279 deletions

1
eo/tutorial/.cvsignore Normal file
View file

@ -0,0 +1 @@
Makefile.in

View file

@ -0,0 +1 @@
Makefile.in

View file

@ -0,0 +1,16 @@
bin_PROGRAMS = FirstBitGA FirstRealGA exercise1.3
FirstBitGA_SOURCES = FirstBitGA.cpp
FirstRealGA_SOURCES = FirstRealGA.cpp
exercise1_3_SOURCES = exercise1.3.cpp
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
LIBS = -lga -leoutils -leo
INCLUDES = -I$(top_srcdir)/src

View file

@ -0,0 +1 @@
Makefile.in

View file

@ -0,0 +1,23 @@
bin_PROGRAMS = FirstBitEA FirstRealEA exercise2.3
FirstBitEA_SOURCES = FirstBitEA.cpp
FirstRealEA_SOURCES = FirstRealEA.cpp
exercise2_3_SOURCES = exercise2.3.cpp
noinst_HEADERS = binary_value.h \
real_value.h
extra_DIST = Makefile.simple
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
LIBS = -lga -leoutils -leo
INCLUDES = -I$(top_srcdir)/src

View file

@ -0,0 +1 @@
Makefile.in

View file

@ -0,0 +1,26 @@
bin_PROGRAMS = SecondBitEA SecondRealEA exercise3.1
SecondBitEA_SOURCES = SecondBitEA.cpp
SecondRealEA_SOURCES = SecondRealEA.cpp
exercise3_1_SOURCES = exercise3.1.cpp
noinst_HEADERS = binary_value.h \
real_value.h
extra_DIST = Makefile.simple
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
LIBS = -lga -leoutils -leo
INCLUDES = -I$(top_srcdir)/src
clean-local:
@/bin/rm $(ALL) *.o *.sav *.xg *.status *~

View file

@ -0,0 +1 @@
Makefile.in

View file

@ -0,0 +1,27 @@
bin_PROGRAMS = BitEA RealEA ESEA
BitEA_SOURCES = BitEA.cpp
RealEA_SOURCES = RealEA.cpp
ESEA_SOURCES = ESEA.cpp
noinst_HEADERS = binary_value.h \
real_value.h
extra_DIST = Makefile.simple
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/es \
-L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
LIBS = -lga -les -leoutils -leo
INCLUDES = -I$(top_srcdir)/src
clean-local:
@/bin/rm $(ALL) *.o *.sav *.xg *.status *~

View file

@ -0,0 +1 @@
Makefile.in

View file

@ -0,0 +1,25 @@
bin_PROGRAMS = OneMaxEA OneMaxLibEA
OneMaxEA_SOURCES = OneMaxEA.cpp
OneMaxLibEA_SOURCES = OneMaxLibEA.cpp make_OneMax.cpp
noinst_HEADERS = eoOneMax.h \
eoOneMaxEvalFunc.h \
eoOneMaxInit.h \
eoOneMaxMutation.h \
eoOneMaxQuadCrossover.h \
make_genotype_OneMax.h \
make_op_OneMax.h
extra_DIST = Makefile.simple
LDADD = -L$(top_builddir)/src -L$(top_builddir)/src/ga -L$(top_builddir)/src/utils
LIBS = -lga -leoutils -leo
INCLUDES = -I$(top_srcdir)/src

1
eo/tutorial/Makefile.am Normal file
View file

@ -0,0 +1 @@
SUBDIRS = Lesson1 Lesson2 Lesson3 Lesson4 Lesson5