ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
AM_CXXFLAGS=-std=c++11
-EXTRA_DIST = \
- config.rpath
-
MAINTAINERCLEANFILES = \
aclocal.m4 \
config.h.in \
%~ \
doxyfile.stamp
-SUBDIRS = . tests
+SUBDIRS = include . tests
+
+# bin_PROGRAMS = bin/genetic
+noinst_PROGRAMS = bin_genetic
-bin_PROGRAMS = bin/genetic
dist_noinst_SCRIPTS = autogen.sh
-bin_genetic_SOURCES = \
+nodist_bin_genetic_SOURCES = \
src/main.cpp
+
bin_genetic_CPPFLAGS = \
$(bin_genetic_CFLAGS) \
- -I$(top_srcdir)/src \
+ -I$(top_srcdir)/include \
-Wall -pedantic -Wextra \
-Wl,--export-dynamic
$(bin_genetic_LIBS)
bin_genetic_LDFLAGS = $(LTLIBINTL)
-
-.PHONY:
AC_INIT([Genetic], [0.2], [bugz@dlugolecki.net.pl], [genetic], [http://dlugolecki.net.pl/software/genetic/])
-AC_CANONICAL_SYSTEM
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([1.10 -Wall])
AC_CONFIG_HEADERS([config.h])
AC_PROG_CXX
AC_CONFIG_FILES([
Makefile
+ include/Makefile
tests/Makefile
])
--- /dev/null
+nobase_pkginclude_HEADERS = \
+ gene.h \
+ chromosome.h \
+ generation.h \
+ algorithm.h \
+ condition/condition.h \
+ condition/generationLimitCondition.h \
+ crossover/crossover.h \
+ fitness/fitness.h \
+ fitness/wsti.h \
+ fitness/example.h \
+ generator/generator.h \
+ generator/bitGenerator.h \
+ mutation/mutation.h \
+ selection/selection.h \
+ selection/rouletteSelection.h \
+ selection/linearRankSelection.h
noinst_PROGRAMS = $(TESTS)
-AM_CXXFLAGS = -O3 -I$(top_srcdir)/src -std=c++11
+AM_CXXFLAGS = -O3 -I$(top_srcdir)/include -std=c++11
gene_create_test_SOURCES = gene/create.cpp
gene_copy_test_SOURCES = gene/copy.cpp