-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
88 lines (81 loc) · 3 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Automake script for darwin.
#
# This is part of the darwin program.
#
# darwin. A simple genetic algorithm implementation with an adaptative
# strategy.
#
# Copyright (C) 2015 Marcos Diez García <marcos.diez.garcia@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4 --install
###############################################################################
# Preprocessor
###############################################################################
# Disable assertions.
AM_CPPFLAGS = -DNDEBUG
# Darwin specific flags to setup the problem instance.
AM_CPPFLAGS += $(DARWIN_FLAGS)
###############################################################################
# Targets
###############################################################################
bin_PROGRAMS = darwin
darwin_SOURCES = \
./src/genome.h \
./src/genome.c \
./src/operators.h \
./src/operators.c \
./src/life.h \
./src/life.c \
./src/base/report.h \
./src/base/darwin_limits.h \
./src/base/xmem.h \
./src/base/xmem.c \
./src/base/bits.h \
./src/base/bits.c \
./src/base/random.h \
./src/base/random.c \
./src/experiment/parse.h \
./src/experiment/parse.c \
./src/experiment/nqueens/queen.h \
./src/experiment/nqueens/queen.c \
./src/experiment/nqueens/nqueens.h \
./src/experiment/nqueens/nqueens.c \
./src/experiment/nqueens/parser_nqueens.c \
./src/experiment/hampath/graph.h \
./src/experiment/hampath/graph.c \
./src/experiment/hampath/hampath.h \
./src/experiment/hampath/hampath.c \
./src/experiment/hampath/parser_hampath.h \
./src/experiment/hampath/parser_hampath.c \
./src/experiment/subsetsum/subsetsum.h \
./src/experiment/subsetsum/subsetsum.c \
./src/experiment/subsetsum/parser_subsetsum.h \
./src/experiment/subsetsum/parser_subsetsum.c \
./src/experiment/parser_evolution.h \
./src/experiment/parser_evolution.c \
./src/out/stats.h \
./src/out/stats.c \
./src/out/result.h \
./src/out/result.c \
./src/darwin.c
###############################################################################
# Darwin data files and scripts
###############################################################################
# Enable distribution and installation of darwin's data and script files.
pkgdata_DATA = ./data/*
install-data-hook:
cd $(DESTDIR)$(pkgdatadir);\
chmod u+x ./*.pl
# Enable cleaning of darwin's autogenerated configuration files.
CLEANFILES = ./data/*auto.config ./data/*.csv
EXTRA_DIST = m4/NOTES # autoreconf -i bug (v2.68)