↑ Collapse diff ↑
Ignore white space 6 line context
1
ACLOCAL_AMFLAGS = -I m4
2

	
3
AM_CPPFLAGS = -I$(top_srcdir)
4
LDADD = $(top_builddir)/lemon/libemon.la
5

	
6
EXTRA_DIST = \
7
	m4/lx_check_cplex.m4 \
8
	m4/lx_check_glpk.m4 \
9
	m4/lx_check_soplex.m4
10

	
11
pkgconfigdir = $(libdir)/pkgconfig
12
lemondir = $(pkgincludedir)
13
bitsdir = $(lemondir)/bits
14
conceptdir = $(lemondir)/concepts
15
pkgconfig_DATA =
16
lib_LTLIBRARIES =
17
lemon_HEADERS =
18
bits_HEADERS =
19
concept_HEADERS =
20
noinst_HEADERS =
21
noinst_PROGRAMS =
22
bin_PROGRAMS =
23
check_PROGRAMS =
24
TESTS =
25
XFAIL_TESTS =
26

	
27
include lemon/Makefile.am
28
include test/Makefile.am
29
include doc/Makefile.am
30
include demo/Makefile.am
31
include benchmark/Makefile.am
32
include tools/Makefile.am
33

	
34
MRPROPERFILES = \
35
	aclocal.m4 \
36
	config.h.in \
37
	config.h.in~ \
38
	configure \
39
	Makefile.in \
40
	build-aux/config.guess \
41
	build-aux/config.sub \
42
	build-aux/depcomp \
43
	build-aux/install-sh \
44
	build-aux/ltmain.sh \
45
	build-aux/missing \
46
	doc/Makefile.in \
47
	doc/doxygen.log \
48
	Makefile.in \
49
	lemon/Makefile.in \
50
	test/Makefile.in \
51
	benchmark/Makefile.in \
52
	demo/Makefile.in
53

	
54
mrproper:
55
	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
56
	-rm -f $(MRPROPERFILES)
57

	
58
dist-bz2: dist
59
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
60
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
61

	
62
distcheck-bz2: distcheck
63
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
64
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
65

	
66
.PHONY: mrproper dist-bz2 distcheck-bz2
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
EXTRA_DIST += \
2
        benchmark/Makefile
3

	
4
if WANT_BENCHMARK
5

	
6
noinst_HEADERS +=
7

	
8
noinst_PROGRAMS +=
9

	
10
endif WANT_BENCHMARK
Ignore white space 6 line context
1
dnl Process this file with autoconf to produce a configure script.
2

	
3
dnl Version information.
4
m4_define([lemon_version_major], [0])
5
m4_define([lemon_version_minor], [6])
6
m4_define([lemon_version_micro], [90])
7
m4_define([lemon_version_nano], [])
8
m4_define([lemon_version_tag], [hg])
9
m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg tip |grep ^changeset |cut -d ':' -f 3]))])
10
m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [hg], [[_]lemon_version_tag()[]lemon_hg_revision()], [[_]lemon_version_tag()])])
11

	
12
AC_PREREQ([2.59])
13
AC_INIT([LEMON], [lemon_version()], [etik-ol@cs.elte.hu], [lemon])
14
AC_CONFIG_AUX_DIR([build-aux])
15
AC_CONFIG_MACRO_DIR([m4])
16
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
17
AC_CONFIG_SRCDIR([lemon/list_graph.h])
18
AC_CONFIG_HEADERS([config.h lemon/config.h])
19

	
20
lx_cmdline_cxxflags_set=${CXXFLAGS+set}
21

	
22
dnl Checks for programs.
23
AC_PROG_CXX
24
AC_PROG_CXXCPP
25
AC_PROG_INSTALL
26
AC_DISABLE_SHARED
27
AC_PROG_LIBTOOL
28

	
29
if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then
30
  CXXFLAGS="$CXXFLAGS -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas"
31
fi
32

	
33
AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
34

	
35
dnl Checks for libraries.
36
LX_CHECK_GLPK
37
LX_CHECK_CPLEX
38
LX_CHECK_SOPLEX
39

	
40
dnl Enable/disable installing the documentation
41
AC_ARG_ENABLE([doc],
42
AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
43
AS_HELP_STRING([--disable-doc], [do not build the documentation]),
44
              [], [enable_doc=yes])
45

	
46
AC_MSG_CHECKING([whether to build the documention])
47
case "$enable_doc" in
48
  yes)
49
    DOXYGEN_INTERNAL_DOCS=NO
50
    AC_MSG_RESULT([yes])
51
    ;;
52
  full)
53
    DOXYGEN_INTERNAL_DOCS=YES
54
    AC_MSG_RESULT([full])
55
    ;;
56
  no)
57
    DOXYGEN_INTERNAL_DOCS=NO
58
    AC_MSG_RESULT([no])
59
    ;;
60
  *)
61
    AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])
62
    ;;
63
esac
64
AC_SUBST(DOXYGEN_INTERNAL_DOCS)
65
AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])
66

	
67
dnl Disable/enable building the demo programs
68
AC_ARG_ENABLE([demo],
69
AS_HELP_STRING([--enable-demo], [build the demo programs])
70
AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]),
71
              [], [enable_demo=no])
72
AC_MSG_CHECKING([whether to build the demo programs])
73
if test x"$enable_demo" != x"no"; then
74
  AC_MSG_RESULT([yes])
75
else
76
  AC_MSG_RESULT([no])
77
fi
78
AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
79

	
80
dnl Disable/enable building the binary tools
81
AC_ARG_ENABLE([tools],
82
AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@])
83
AS_HELP_STRING([--disable-tools], [do not build additional tools]),
84
              [], [enable_tools=yes])
85
AC_MSG_CHECKING([whether to build the additional tools])
86
if test x"$enable_tools" != x"no"; then
87
  AC_MSG_RESULT([yes])
88
else
89
  AC_MSG_RESULT([no])
90
fi
91
AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
92

	
93
dnl Disable/enable building the benchmarks
94
AC_ARG_ENABLE([benchmark],
95
AS_HELP_STRING([--enable-benchmark], [build the benchmarks])
96
AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]),
97
              [], [enable_benchmark=no])
98
AC_MSG_CHECKING([whether to build the benchmarks])
99
if test x"$enable_benchmark" != x"no"; then
100
  AC_MSG_RESULT([yes])
101
else
102
  AC_MSG_RESULT([no])
103
fi
104
AM_CONDITIONAL([WANT_BENCHMARK], [test x"$enable_benchmark" != x"no"])
105

	
106
dnl Checks for header files.
107
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
108

	
109
dnl Checks for typedefs, structures, and compiler characteristics.
110
AC_C_CONST
111
AC_C_INLINE
112
AC_TYPE_SIZE_T
113
AC_HEADER_TIME
114
AC_STRUCT_TM
115

	
116
dnl Checks for library functions.
117
AC_HEADER_STDC
118
AC_CHECK_FUNCS(gettimeofday times ctime_r)
119

	
120
AC_CONFIG_FILES([
121
Makefile
122
doc/Doxyfile
123
lemon/lemon.pc
124
])
125

	
126
AC_OUTPUT
127

	
128
echo
129
echo '****************************** SUMMARY ******************************'
130
echo
131
echo Package version............... : $PACKAGE-$VERSION
132
echo
133
echo C++ compiler.................. : $CXX
134
echo C++ compiles flags............ : $CXXFLAGS
135
echo
136
echo GLPK support.................. : $lx_glpk_found
137
echo CPLEX support................. : $lx_cplex_found
138
echo SOPLEX support................ : $lx_soplex_found
139
echo
140
echo build benchmarks.............. : $enable_benchmark
141
echo build demo programs........... : $enable_demo
142
echo build additional tools........ : $enable_tools
143
echo
144
echo The packace will be installed in
145
echo -n '  '
146
echo $prefix.
147
echo
148
echo The documentation will be installed in
149
echo -n '  '
150
eval echo ${datadir}/doc/$PACKAGE.
151
echo
152
echo '*********************************************************************'
153

	
154
echo
155
echo configure complete, now type \'make\' and then \'make install\'.
156
echo
Ignore white space 4 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
EXTRA_DIST += \
2
	demo/Makefile
3

	
4
if WANT_DEMO
5

	
6
noinst_PROGRAMS +=
7

	
8
endif WANT_DEMO
Ignore white space 6 line context
1
# Doxyfile 1.4.2
2

	
3
# This file describes the settings to be used by the documentation system
4
# doxygen (www.doxygen.org) for a project
5
#
6
# All text after a hash (#) is considered a comment and will be ignored
7
# The format is:
8
#       TAG = value [value, ...]
9
# For lists items can also be appended using:
10
#       TAG += value [value, ...]
11
# Values that contain spaces should be placed between quotes (" ")
12

	
13
#---------------------------------------------------------------------------
14
# Project related configuration options
15
#---------------------------------------------------------------------------
16

	
17
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
18
# by quotes) that should identify the project.
19

	
20
PROJECT_NAME           = @PACKAGE_NAME@
21

	
22
# The PROJECT_NUMBER tag can be used to enter a project or revision number. 
23
# This could be handy for archiving the generated documentation or 
24
# if some version control system is used.
25

	
26
PROJECT_NUMBER         = @PACKAGE_VERSION@
27

	
28
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
29
# base path where the generated documentation will be put. 
30
# If a relative path is entered, it will be relative to the location 
31
# where doxygen was started. If left blank the current directory will be used.
32

	
33
OUTPUT_DIRECTORY       = 
34

	
35
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 
36
# 4096 sub-directories (in 2 levels) under the output directory of each output 
37
# format and will distribute the generated files over these directories. 
38
# Enabling this option can be useful when feeding doxygen a huge amount of 
39
# source files, where putting all generated files in the same directory would 
40
# otherwise cause performance problems for the file system.
41

	
42
CREATE_SUBDIRS         = NO
43

	
44
# The OUTPUT_LANGUAGE tag is used to specify the language in which all 
45
# documentation generated by doxygen is written. Doxygen will use this 
46
# information to generate all constant output in the proper language. 
47
# The default language is English, other supported languages are: 
48
# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, 
49
# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, 
50
# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, 
51
# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, 
52
# Swedish, and Ukrainian.
53

	
54
OUTPUT_LANGUAGE        = English
55

	
56
# This tag can be used to specify the encoding used in the generated output. 
57
# The encoding is not always determined by the language that is chosen, 
58
# but also whether or not the output is meant for Windows or non-Windows users. 
59
# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES 
60
# forces the Windows encoding (this is the default for the Windows binary), 
61
# whereas setting the tag to NO uses a Unix-style encoding (the default for 
62
# all platforms other than Windows).
63

	
64
USE_WINDOWS_ENCODING   = NO
65

	
66
# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 
67
# include brief member descriptions after the members that are listed in 
68
# the file and class documentation (similar to JavaDoc). 
69
# Set to NO to disable this.
70

	
71
BRIEF_MEMBER_DESC      = YES
72

	
73
# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 
74
# the brief description of a member or function before the detailed description. 
75
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the 
76
# brief descriptions will be completely suppressed.
77

	
78
REPEAT_BRIEF           = NO
79

	
80
# This tag implements a quasi-intelligent brief description abbreviator 
81
# that is used to form the text in various listings. Each string 
82
# in this list, if found as the leading text of the brief description, will be 
83
# stripped from the text and the result after processing the whole list, is 
84
# used as the annotated text. Otherwise, the brief description is used as-is. 
85
# If left blank, the following values are used ("$name" is automatically 
86
# replaced with the name of the entity): "The $name class" "The $name widget" 
87
# "The $name file" "is" "provides" "specifies" "contains" 
88
# "represents" "a" "an" "the"
89

	
90
ABBREVIATE_BRIEF       = 
91

	
92
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then 
93
# Doxygen will generate a detailed section even if there is only a brief 
94
# description.
95

	
96
ALWAYS_DETAILED_SEC    = NO
97

	
98
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all 
99
# inherited members of a class in the documentation of that class as if those 
100
# members were ordinary class members. Constructors, destructors and assignment 
101
# operators of the base classes will not be shown.
102

	
103
INLINE_INHERITED_MEMB  = NO
104

	
105
# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full 
106
# path before files name in the file list and in the header files. If set 
107
# to NO the shortest path that makes the file name unique will be used.
108

	
109
FULL_PATH_NAMES        = YES
110

	
111
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag 
112
# can be used to strip a user-defined part of the path. Stripping is 
113
# only done if one of the specified strings matches the left-hand part of 
114
# the path. The tag can be used to show relative paths in the file list. 
115
# If left blank the directory from which doxygen is run is used as the 
116
# path to strip.
117

	
118
STRIP_FROM_PATH        = @abs_top_srcdir@
119

	
120
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of 
121
# the path mentioned in the documentation of a class, which tells 
122
# the reader which header file to include in order to use a class. 
123
# If left blank only the name of the header file containing the class 
124
# definition is used. Otherwise one should specify the include paths that 
125
# are normally passed to the compiler using the -I flag.
126

	
127
STRIP_FROM_INC_PATH    = @abs_top_srcdir@
128

	
129
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter 
130
# (but less readable) file names. This can be useful is your file systems 
131
# doesn't support long names like on DOS, Mac, or CD-ROM.
132

	
133
SHORT_NAMES            = YES
134

	
135
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen 
136
# will interpret the first line (until the first dot) of a JavaDoc-style 
137
# comment as the brief description. If set to NO, the JavaDoc 
138
# comments will behave just like the Qt-style comments (thus requiring an 
139
# explicit @brief command for a brief description.
140

	
141
JAVADOC_AUTOBRIEF      = NO
142

	
143
# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen 
144
# treat a multi-line C++ special comment block (i.e. a block of //! or /// 
145
# comments) as a brief description. This used to be the default behaviour. 
146
# The new default is to treat a multi-line C++ comment block as a detailed 
147
# description. Set this tag to YES if you prefer the old behaviour instead.
148

	
149
MULTILINE_CPP_IS_BRIEF = NO
150

	
151
# If the DETAILS_AT_TOP tag is set to YES then Doxygen 
152
# will output the detailed description near the top, like JavaDoc.
153
# If set to NO, the detailed description appears after the member 
154
# documentation.
155

	
156
DETAILS_AT_TOP         = YES
157

	
158
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented 
159
# member inherits the documentation from any documented member that it 
160
# re-implements.
161

	
162
INHERIT_DOCS           = NO
163

	
164
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC 
165
# tag is set to YES, then doxygen will reuse the documentation of the first 
166
# member in the group (if any) for the other members of the group. By default 
167
# all members of a group must be documented explicitly.
168

	
169
DISTRIBUTE_GROUP_DOC   = NO
170

	
171
# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce 
172
# a new page for each member. If set to NO, the documentation of a member will 
173
# be part of the file/class/namespace that contains it.
174

	
175
SEPARATE_MEMBER_PAGES  = NO
176

	
177
# The TAB_SIZE tag can be used to set the number of spaces in a tab. 
178
# Doxygen uses this value to replace tabs by spaces in code fragments.
179

	
180
TAB_SIZE               = 8
181

	
182
# This tag can be used to specify a number of aliases that acts 
183
# as commands in the documentation. An alias has the form "name=value". 
184
# For example adding "sideeffect=\par Side Effects:\n" will allow you to 
185
# put the command \sideeffect (or @sideeffect) in the documentation, which 
186
# will result in a user-defined paragraph with heading "Side Effects:". 
187
# You can put \n's in the value part of an alias to insert newlines.
188

	
189
ALIASES                = 
190

	
191
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C 
192
# sources only. Doxygen will then generate output that is more tailored for C. 
193
# For instance, some of the names that are used will be different. The list 
194
# of all members will be omitted, etc.
195

	
196
OPTIMIZE_OUTPUT_FOR_C  = NO
197

	
198
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources 
199
# only. Doxygen will then generate output that is more tailored for Java. 
200
# For instance, namespaces will be presented as packages, qualified scopes 
201
# will look different, etc.
202

	
203
OPTIMIZE_OUTPUT_JAVA   = NO
204

	
205
# Set the SUBGROUPING tag to YES (the default) to allow class member groups of 
206
# the same type (for instance a group of public functions) to be put as a 
207
# subgroup of that type (e.g. under the Public Functions section). Set it to 
208
# NO to prevent subgrouping. Alternatively, this can be done per class using 
209
# the \nosubgrouping command.
210

	
211
SUBGROUPING            = YES
212

	
213
#---------------------------------------------------------------------------
214
# Build related configuration options
215
#---------------------------------------------------------------------------
216

	
217
# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in 
218
# documentation are documented, even if no documentation was available. 
219
# Private class members and static file members will be hidden unless 
220
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
221

	
222
EXTRACT_ALL            = NO
223

	
224
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class 
225
# will be included in the documentation.
226

	
227
EXTRACT_PRIVATE        = YES
228

	
229
# If the EXTRACT_STATIC tag is set to YES all static members of a file 
230
# will be included in the documentation.
231

	
232
EXTRACT_STATIC         = YES
233

	
234
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) 
235
# defined locally in source files will be included in the documentation. 
236
# If set to NO only classes defined in header files are included.
237

	
238
EXTRACT_LOCAL_CLASSES  = NO
239

	
240
# This flag is only useful for Objective-C code. When set to YES local 
241
# methods, which are defined in the implementation section but not in 
242
# the interface are included in the documentation. 
243
# If set to NO (the default) only methods in the interface are included.
244

	
245
EXTRACT_LOCAL_METHODS  = NO
246

	
247
# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all 
248
# undocumented members of documented classes, files or namespaces. 
249
# If set to NO (the default) these members will be included in the 
250
# various overviews, but no documentation section is generated. 
251
# This option has no effect if EXTRACT_ALL is enabled.
252

	
253
HIDE_UNDOC_MEMBERS     = YES
254

	
255
# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all 
256
# undocumented classes that are normally visible in the class hierarchy. 
257
# If set to NO (the default) these classes will be included in the various 
258
# overviews. This option has no effect if EXTRACT_ALL is enabled.
259

	
260
HIDE_UNDOC_CLASSES     = YES
261

	
262
# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all 
263
# friend (class|struct|union) declarations. 
264
# If set to NO (the default) these declarations will be included in the 
265
# documentation.
266

	
267
HIDE_FRIEND_COMPOUNDS  = NO
268

	
269
# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any 
270
# documentation blocks found inside the body of a function. 
271
# If set to NO (the default) these blocks will be appended to the 
272
# function's detailed documentation block.
273

	
274
HIDE_IN_BODY_DOCS      = NO
275

	
276
# The INTERNAL_DOCS tag determines if documentation 
277
# that is typed after a \internal command is included. If the tag is set 
278
# to NO (the default) then the documentation will be excluded. 
279
# Set it to YES to include the internal documentation.
280

	
281
INTERNAL_DOCS          = @DOXYGEN_INTERNAL_DOCS@
282

	
283
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate 
284
# file names in lower-case letters. If set to YES upper-case letters are also 
285
# allowed. This is useful if you have classes or files whose names only differ 
286
# in case and if your file system supports case sensitive file names. Windows 
287
# and Mac users are advised to set this option to NO.
288

	
289
CASE_SENSE_NAMES       = YES
290

	
291
# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen 
292
# will show members with their full class and namespace scopes in the 
293
# documentation. If set to YES the scope will be hidden.
294

	
295
HIDE_SCOPE_NAMES       = YES
296

	
297
# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen 
298
# will put a list of the files that are included by a file in the documentation 
299
# of that file.
300

	
301
SHOW_INCLUDE_FILES     = YES
302

	
303
# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] 
304
# is inserted in the documentation for inline members.
305

	
306
INLINE_INFO            = YES
307

	
308
# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen 
309
# will sort the (detailed) documentation of file and class members 
310
# alphabetically by member name. If set to NO the members will appear in 
311
# declaration order.
312

	
313
SORT_MEMBER_DOCS       = NO
314

	
315
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the 
316
# brief documentation of file, namespace and class members alphabetically 
317
# by member name. If set to NO (the default) the members will appear in 
318
# declaration order.
319

	
320
SORT_BRIEF_DOCS        = NO
321

	
322
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be 
323
# sorted by fully-qualified names, including namespaces. If set to 
324
# NO (the default), the class list will be sorted only by class name, 
325
# not including the namespace part. 
326
# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
327
# Note: This option applies only to the class list, not to the 
328
# alphabetical list.
329

	
330
SORT_BY_SCOPE_NAME     = NO
331

	
332
# The GENERATE_TODOLIST tag can be used to enable (YES) or 
333
# disable (NO) the todo list. This list is created by putting \todo 
334
# commands in the documentation.
335

	
336
GENERATE_TODOLIST      = YES
337

	
338
# The GENERATE_TESTLIST tag can be used to enable (YES) or 
339
# disable (NO) the test list. This list is created by putting \test 
340
# commands in the documentation.
341

	
342
GENERATE_TESTLIST      = YES
343

	
344
# The GENERATE_BUGLIST tag can be used to enable (YES) or 
345
# disable (NO) the bug list. This list is created by putting \bug 
346
# commands in the documentation.
347

	
348
GENERATE_BUGLIST       = YES
349

	
350
# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or 
351
# disable (NO) the deprecated list. This list is created by putting 
352
# \deprecated commands in the documentation.
353

	
354
GENERATE_DEPRECATEDLIST= YES
355

	
356
# The ENABLED_SECTIONS tag can be used to enable conditional 
357
# documentation sections, marked by \if sectionname ... \endif.
358

	
359
ENABLED_SECTIONS       = 
360

	
361
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines 
362
# the initial value of a variable or define consists of for it to appear in 
363
# the documentation. If the initializer consists of more lines than specified 
364
# here it will be hidden. Use a value of 0 to hide initializers completely. 
365
# The appearance of the initializer of individual variables and defines in the 
366
# documentation can be controlled using \showinitializer or \hideinitializer 
367
# command in the documentation regardless of this setting.
368

	
369
MAX_INITIALIZER_LINES  = 5
370

	
371
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated 
372
# at the bottom of the documentation of classes and structs. If set to YES the 
373
# list will mention the files that were used to generate the documentation.
374

	
375
SHOW_USED_FILES        = YES
376

	
377
# If the sources in your project are distributed over multiple directories 
378
# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy 
379
# in the documentation.
380

	
381
SHOW_DIRECTORIES       = YES
382

	
383
# The FILE_VERSION_FILTER tag can be used to specify a program or script that 
384
# doxygen should invoke to get the current version for each file (typically from the 
385
# version control system). Doxygen will invoke the program by executing (via 
386
# popen()) the command <command> <input-file>, where <command> is the value of 
387
# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file 
388
# provided by doxygen. Whatever the progam writes to standard output 
389
# is used as the file version. See the manual for examples.
390

	
391
FILE_VERSION_FILTER    = 
392

	
393
#---------------------------------------------------------------------------
394
# configuration options related to warning and progress messages
395
#---------------------------------------------------------------------------
396

	
397
# The QUIET tag can be used to turn on/off the messages that are generated 
398
# by doxygen. Possible values are YES and NO. If left blank NO is used.
399

	
400
QUIET                  = NO
401

	
402
# The WARNINGS tag can be used to turn on/off the warning messages that are 
403
# generated by doxygen. Possible values are YES and NO. If left blank 
404
# NO is used.
405

	
406
WARNINGS               = YES
407

	
408
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings 
409
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will 
410
# automatically be disabled.
411

	
412
WARN_IF_UNDOCUMENTED   = YES
413

	
414
# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for 
415
# potential errors in the documentation, such as not documenting some 
416
# parameters in a documented function, or documenting parameters that 
417
# don't exist or using markup commands wrongly.
418

	
419
WARN_IF_DOC_ERROR      = YES
420

	
421
# This WARN_NO_PARAMDOC option can be abled to get warnings for 
422
# functions that are documented, but have no documentation for their parameters 
423
# or return value. If set to NO (the default) doxygen will only warn about 
424
# wrong or incomplete parameter documentation, but not about the absence of 
425
# documentation.
426

	
427
WARN_NO_PARAMDOC       = NO
428

	
429
# The WARN_FORMAT tag determines the format of the warning messages that 
430
# doxygen can produce. The string should contain the $file, $line, and $text 
431
# tags, which will be replaced by the file and line number from which the 
432
# warning originated and the warning text. Optionally the format may contain 
433
# $version, which will be replaced by the version of the file (if it could 
434
# be obtained via FILE_VERSION_FILTER)
435

	
436
WARN_FORMAT            = "$file:$line: $text"
437

	
438
# The WARN_LOGFILE tag can be used to specify a file to which warning 
439
# and error messages should be written. If left blank the output is written 
440
# to stderr.
441

	
442
WARN_LOGFILE           = doxygen.log
443

	
444
#---------------------------------------------------------------------------
445
# configuration options related to the input files
446
#---------------------------------------------------------------------------
447

	
448
# The INPUT tag can be used to specify the files and/or directories that contain 
449
# documented source files. You may enter file names like "myfile.cpp" or 
450
# directories like "/usr/src/myproject". Separate the files or directories 
451
# with spaces.
452

	
453
INPUT                  = @abs_top_srcdir@/doc \
454
                         @abs_top_srcdir@/lemon \
455
                         @abs_top_srcdir@/lemon/bits \
456
                         @abs_top_srcdir@/lemon/concepts \
457
                         @abs_top_srcdir@/demo \
458
                         @abs_top_srcdir@/tools \
459
                         @abs_top_srcdir@/test/test_tools.h
460

	
461
# If the value of the INPUT tag contains directories, you can use the 
462
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
463
# and *.h) to filter out the source-files in the directories. If left 
464
# blank the following patterns are tested: 
465
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx 
466
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm
467

	
468
FILE_PATTERNS          = *.h *.cc *.dox
469

	
470
# The RECURSIVE tag can be used to turn specify whether or not subdirectories 
471
# should be searched for input files as well. Possible values are YES and NO. 
472
# If left blank NO is used.
473

	
474
RECURSIVE              = NO
475

	
476
# The EXCLUDE tag can be used to specify files and/or directories that should 
477
# excluded from the INPUT source files. This way you can easily exclude a 
478
# subdirectory from a directory tree whose root is specified with the INPUT tag.
479

	
480
EXCLUDE                = 
481

	
482
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
483
# directories that are symbolic links (a Unix filesystem feature) are excluded 
484
# from the input.
485

	
486
EXCLUDE_SYMLINKS       = NO
487

	
488
# If the value of the INPUT tag contains directories, you can use the 
489
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude 
490
# certain files from those directories.
491

	
492
EXCLUDE_PATTERNS       = 
493

	
494
# The EXAMPLE_PATH tag can be used to specify one or more files or 
495
# directories that contain example code fragments that are included (see 
496
# the \include command).
497

	
498
EXAMPLE_PATH           = @abs_top_srcdir@/demo \
499
                         @abs_top_srcdir@/LICENSE \
500
                         @abs_top_srcdir@/doc
501

	
502
# If the value of the EXAMPLE_PATH tag contains directories, you can use the 
503
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
504
# and *.h) to filter out the source-files in the directories. If left 
505
# blank all files are included.
506

	
507
EXAMPLE_PATTERNS       = 
508

	
509
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be 
510
# searched for input files to be used with the \include or \dontinclude 
511
# commands irrespective of the value of the RECURSIVE tag. 
512
# Possible values are YES and NO. If left blank NO is used.
513

	
514
EXAMPLE_RECURSIVE      = NO
515

	
516
# The IMAGE_PATH tag can be used to specify one or more files or 
517
# directories that contain image that are included in the documentation (see 
518
# the \image command).
519

	
520
IMAGE_PATH             = @abs_top_srcdir@/doc/images
521

	
522
# The INPUT_FILTER tag can be used to specify a program that doxygen should 
523
# invoke to filter for each input file. Doxygen will invoke the filter program 
524
# by executing (via popen()) the command <filter> <input-file>, where <filter> 
525
# is the value of the INPUT_FILTER tag, and <input-file> is the name of an 
526
# input file. Doxygen will then use the output that the filter program writes 
527
# to standard output.  If FILTER_PATTERNS is specified, this tag will be 
528
# ignored.
529

	
530
INPUT_FILTER           = 
531

	
532
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern 
533
# basis.  Doxygen will compare the file name with each pattern and apply the 
534
# filter if there is a match.  The filters are a list of the form: 
535
# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further 
536
# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER 
537
# is applied to all files.
538

	
539
FILTER_PATTERNS        = 
540

	
541
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using 
542
# INPUT_FILTER) will be used to filter the input files when producing source 
543
# files to browse (i.e. when SOURCE_BROWSER is set to YES).
544

	
545
FILTER_SOURCE_FILES    = NO
546

	
547
#---------------------------------------------------------------------------
548
# configuration options related to source browsing
549
#---------------------------------------------------------------------------
550

	
551
# If the SOURCE_BROWSER tag is set to YES then a list of source files will 
552
# be generated. Documented entities will be cross-referenced with these sources. 
553
# Note: To get rid of all source code in the generated output, make sure also 
554
# VERBATIM_HEADERS is set to NO.
555

	
556
SOURCE_BROWSER         = NO
557

	
558
# Setting the INLINE_SOURCES tag to YES will include the body 
559
# of functions and classes directly in the documentation.
560

	
561
INLINE_SOURCES         = NO
562

	
563
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct 
564
# doxygen to hide any special comment blocks from generated source code 
565
# fragments. Normal C and C++ comments will always remain visible.
566

	
567
STRIP_CODE_COMMENTS    = YES
568

	
569
# If the REFERENCED_BY_RELATION tag is set to YES (the default) 
570
# then for each documented function all documented 
571
# functions referencing it will be listed.
572

	
573
REFERENCED_BY_RELATION = NO
574

	
575
# If the REFERENCES_RELATION tag is set to YES (the default) 
576
# then for each documented function all documented entities 
577
# called/used by that function will be listed.
578

	
579
REFERENCES_RELATION    = NO
580

	
581
# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen 
582
# will generate a verbatim copy of the header file for each class for 
583
# which an include is specified. Set to NO to disable this.
584

	
585
VERBATIM_HEADERS       = NO
586

	
587
#---------------------------------------------------------------------------
588
# configuration options related to the alphabetical class index
589
#---------------------------------------------------------------------------
590

	
591
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index 
592
# of all compounds will be generated. Enable this if the project 
593
# contains a lot of classes, structs, unions or interfaces.
594

	
595
ALPHABETICAL_INDEX     = YES
596

	
597
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then 
598
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns 
599
# in which this list will be split (can be a number in the range [1..20])
600

	
601
COLS_IN_ALPHA_INDEX    = 2
602

	
603
# In case all classes in a project start with a common prefix, all 
604
# classes will be put under the same header in the alphabetical index. 
605
# The IGNORE_PREFIX tag can be used to specify one or more prefixes that 
606
# should be ignored while generating the index headers.
607

	
608
IGNORE_PREFIX          = 
609

	
610
#---------------------------------------------------------------------------
611
# configuration options related to the HTML output
612
#---------------------------------------------------------------------------
613

	
614
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will 
615
# generate HTML output.
616

	
617
GENERATE_HTML          = YES
618

	
619
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. 
620
# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
621
# put in front of it. If left blank `html' will be used as the default path.
622

	
623
HTML_OUTPUT            = html
624

	
625
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for 
626
# each generated HTML page (for example: .htm,.php,.asp). If it is left blank 
627
# doxygen will generate files with .html extension.
628

	
629
HTML_FILE_EXTENSION    = .html
630

	
631
# The HTML_HEADER tag can be used to specify a personal HTML header for 
632
# each generated HTML page. If it is left blank doxygen will generate a 
633
# standard header.
634

	
635
HTML_HEADER            = 
636

	
637
# The HTML_FOOTER tag can be used to specify a personal HTML footer for 
638
# each generated HTML page. If it is left blank doxygen will generate a 
639
# standard footer.
640

	
641
HTML_FOOTER            = 
642

	
643
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
644
# style sheet that is used by each HTML page. It can be used to 
645
# fine-tune the look of the HTML output. If the tag is left blank doxygen 
646
# will generate a default style sheet. Note that doxygen will try to copy 
647
# the style sheet file to the HTML output directory, so don't put your own 
648
# stylesheet in the HTML output directory as well, or it will be erased!
649

	
650
HTML_STYLESHEET        = 
651

	
652
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, 
653
# files or namespaces will be aligned in HTML using tables. If set to 
654
# NO a bullet list will be used.
655

	
656
HTML_ALIGN_MEMBERS     = YES
657

	
658
# If the GENERATE_HTMLHELP tag is set to YES, additional index files 
659
# will be generated that can be used as input for tools like the 
660
# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) 
661
# of the generated HTML documentation.
662

	
663
GENERATE_HTMLHELP      = NO
664

	
665
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can 
666
# be used to specify the file name of the resulting .chm file. You 
667
# can add a path in front of the file if the result should not be 
668
# written to the html output directory.
669

	
670
CHM_FILE               = 
671

	
672
# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can 
673
# be used to specify the location (absolute path including file name) of 
674
# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run 
675
# the HTML help compiler on the generated index.hhp.
676

	
677
HHC_LOCATION           = 
678

	
679
# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag 
680
# controls if a separate .chi index file is generated (YES) or that 
681
# it should be included in the master .chm file (NO).
682

	
683
GENERATE_CHI           = NO
684

	
685
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag 
686
# controls whether a binary table of contents is generated (YES) or a 
687
# normal table of contents (NO) in the .chm file.
688

	
689
BINARY_TOC             = NO
690

	
691
# The TOC_EXPAND flag can be set to YES to add extra items for group members 
692
# to the contents of the HTML help documentation and to the tree view.
693

	
694
TOC_EXPAND             = NO
695

	
696
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at 
697
# top of each HTML page. The value NO (the default) enables the index and 
698
# the value YES disables it.
699

	
700
DISABLE_INDEX          = NO
701

	
702
# This tag can be used to set the number of enum values (range [1..20]) 
703
# that doxygen will group on one line in the generated HTML documentation.
704

	
705
ENUM_VALUES_PER_LINE   = 4
706

	
707
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
708
# generated containing a tree-like index structure (just like the one that 
709
# is generated for HTML Help). For this to work a browser that supports 
710
# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, 
711
# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are 
712
# probably better off using the HTML help feature.
713

	
714
GENERATE_TREEVIEW      = YES
715

	
716
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be 
717
# used to set the initial width (in pixels) of the frame in which the tree 
718
# is shown.
719

	
720
TREEVIEW_WIDTH         = 250
721

	
722
#---------------------------------------------------------------------------
723
# configuration options related to the LaTeX output
724
#---------------------------------------------------------------------------
725

	
726
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will 
727
# generate Latex output.
728

	
729
GENERATE_LATEX         = NO
730

	
731
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. 
732
# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
733
# put in front of it. If left blank `latex' will be used as the default path.
734

	
735
LATEX_OUTPUT           = latex
736

	
737
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be 
738
# invoked. If left blank `latex' will be used as the default command name.
739

	
740
LATEX_CMD_NAME         = latex
741

	
742
# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to 
743
# generate index for LaTeX. If left blank `makeindex' will be used as the 
744
# default command name.
745

	
746
MAKEINDEX_CMD_NAME     = makeindex
747

	
748
# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact 
749
# LaTeX documents. This may be useful for small projects and may help to 
750
# save some trees in general.
751

	
752
COMPACT_LATEX          = YES
753

	
754
# The PAPER_TYPE tag can be used to set the paper type that is used 
755
# by the printer. Possible values are: a4, a4wide, letter, legal and 
756
# executive. If left blank a4wide will be used.
757

	
758
PAPER_TYPE             = a4wide
759

	
760
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX 
761
# packages that should be included in the LaTeX output.
762

	
763
EXTRA_PACKAGES         = amsmath \
764
                         amssymb
765

	
766
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for 
767
# the generated latex document. The header should contain everything until 
768
# the first chapter. If it is left blank doxygen will generate a 
769
# standard header. Notice: only use this tag if you know what you are doing!
770

	
771
LATEX_HEADER           = 
772

	
773
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated 
774
# is prepared for conversion to pdf (using ps2pdf). The pdf file will 
775
# contain links (just like the HTML output) instead of page references 
776
# This makes the output suitable for online browsing using a pdf viewer.
777

	
778
PDF_HYPERLINKS         = YES
779

	
780
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of 
781
# plain latex in the generated Makefile. Set this option to YES to get a 
782
# higher quality PDF documentation.
783

	
784
USE_PDFLATEX           = YES
785

	
786
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. 
787
# command to the generated LaTeX files. This will instruct LaTeX to keep 
788
# running if errors occur, instead of asking the user for help. 
789
# This option is also used when generating formulas in HTML.
790

	
791
LATEX_BATCHMODE        = NO
792

	
793
# If LATEX_HIDE_INDICES is set to YES then doxygen will not 
794
# include the index chapters (such as File Index, Compound Index, etc.) 
795
# in the output.
796

	
797
LATEX_HIDE_INDICES     = NO
798

	
799
#---------------------------------------------------------------------------
800
# configuration options related to the RTF output
801
#---------------------------------------------------------------------------
802

	
803
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output 
804
# The RTF output is optimized for Word 97 and may not look very pretty with 
805
# other RTF readers or editors.
806

	
807
GENERATE_RTF           = NO
808

	
809
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. 
810
# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
811
# put in front of it. If left blank `rtf' will be used as the default path.
812

	
813
RTF_OUTPUT             = rtf
814

	
815
# If the COMPACT_RTF tag is set to YES Doxygen generates more compact 
816
# RTF documents. This may be useful for small projects and may help to 
817
# save some trees in general.
818

	
819
COMPACT_RTF            = NO
820

	
821
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated 
822
# will contain hyperlink fields. The RTF file will 
823
# contain links (just like the HTML output) instead of page references. 
824
# This makes the output suitable for online browsing using WORD or other 
825
# programs which support those fields. 
826
# Note: wordpad (write) and others do not support links.
827

	
828
RTF_HYPERLINKS         = NO
829

	
830
# Load stylesheet definitions from file. Syntax is similar to doxygen's 
831
# config file, i.e. a series of assignments. You only have to provide 
832
# replacements, missing definitions are set to their default value.
833

	
834
RTF_STYLESHEET_FILE    = 
835

	
836
# Set optional variables used in the generation of an rtf document. 
837
# Syntax is similar to doxygen's config file.
838

	
839
RTF_EXTENSIONS_FILE    = 
840

	
841
#---------------------------------------------------------------------------
842
# configuration options related to the man page output
843
#---------------------------------------------------------------------------
844

	
845
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will 
846
# generate man pages
847

	
848
GENERATE_MAN           = NO
849

	
850
# The MAN_OUTPUT tag is used to specify where the man pages will be put. 
851
# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
852
# put in front of it. If left blank `man' will be used as the default path.
853

	
854
MAN_OUTPUT             = man
855

	
856
# The MAN_EXTENSION tag determines the extension that is added to 
857
# the generated man pages (default is the subroutine's section .3)
858

	
859
MAN_EXTENSION          = .3
860

	
861
# If the MAN_LINKS tag is set to YES and Doxygen generates man output, 
862
# then it will generate one additional man file for each entity 
863
# documented in the real man page(s). These additional files 
864
# only source the real man page, but without them the man command 
865
# would be unable to find the correct page. The default is NO.
866

	
867
MAN_LINKS              = NO
868

	
869
#---------------------------------------------------------------------------
870
# configuration options related to the XML output
871
#---------------------------------------------------------------------------
872

	
873
# If the GENERATE_XML tag is set to YES Doxygen will 
874
# generate an XML file that captures the structure of 
875
# the code including all documentation.
876

	
877
GENERATE_XML           = NO
878

	
879
# The XML_OUTPUT tag is used to specify where the XML pages will be put. 
880
# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
881
# put in front of it. If left blank `xml' will be used as the default path.
882

	
883
XML_OUTPUT             = xml
884

	
885
# The XML_SCHEMA tag can be used to specify an XML schema, 
886
# which can be used by a validating XML parser to check the 
887
# syntax of the XML files.
888

	
889
XML_SCHEMA             = 
890

	
891
# The XML_DTD tag can be used to specify an XML DTD, 
892
# which can be used by a validating XML parser to check the 
893
# syntax of the XML files.
894

	
895
XML_DTD                = 
896

	
897
# If the XML_PROGRAMLISTING tag is set to YES Doxygen will 
898
# dump the program listings (including syntax highlighting 
899
# and cross-referencing information) to the XML output. Note that 
900
# enabling this will significantly increase the size of the XML output.
901

	
902
XML_PROGRAMLISTING     = YES
903

	
904
#---------------------------------------------------------------------------
905
# configuration options for the AutoGen Definitions output
906
#---------------------------------------------------------------------------
907

	
908
# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will 
909
# generate an AutoGen Definitions (see autogen.sf.net) file 
910
# that captures the structure of the code including all 
911
# documentation. Note that this feature is still experimental 
912
# and incomplete at the moment.
913

	
914
GENERATE_AUTOGEN_DEF   = NO
915

	
916
#---------------------------------------------------------------------------
917
# configuration options related to the Perl module output
918
#---------------------------------------------------------------------------
919

	
920
# If the GENERATE_PERLMOD tag is set to YES Doxygen will 
921
# generate a Perl module file that captures the structure of 
922
# the code including all documentation. Note that this 
923
# feature is still experimental and incomplete at the 
924
# moment.
925

	
926
GENERATE_PERLMOD       = NO
927

	
928
# If the PERLMOD_LATEX tag is set to YES Doxygen will generate 
929
# the necessary Makefile rules, Perl scripts and LaTeX code to be able 
930
# to generate PDF and DVI output from the Perl module output.
931

	
932
PERLMOD_LATEX          = NO
933

	
934
# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be 
935
# nicely formatted so it can be parsed by a human reader.  This is useful 
936
# if you want to understand what is going on.  On the other hand, if this 
937
# tag is set to NO the size of the Perl module output will be much smaller 
938
# and Perl will parse it just the same.
939

	
940
PERLMOD_PRETTY         = YES
941

	
942
# The names of the make variables in the generated doxyrules.make file 
943
# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. 
944
# This is useful so different doxyrules.make files included by the same 
945
# Makefile don't overwrite each other's variables.
946

	
947
PERLMOD_MAKEVAR_PREFIX = 
948

	
949
#---------------------------------------------------------------------------
950
# Configuration options related to the preprocessor   
951
#---------------------------------------------------------------------------
952

	
953
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will 
954
# evaluate all C-preprocessor directives found in the sources and include 
955
# files.
956

	
957
ENABLE_PREPROCESSING   = YES
958

	
959
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro 
960
# names in the source code. If set to NO (the default) only conditional 
961
# compilation will be performed. Macro expansion can be done in a controlled 
962
# way by setting EXPAND_ONLY_PREDEF to YES.
963

	
964
MACRO_EXPANSION        = NO
965

	
966
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES 
967
# then the macro expansion is limited to the macros specified with the 
968
# PREDEFINED and EXPAND_AS_PREDEFINED tags.
969

	
970
EXPAND_ONLY_PREDEF     = NO
971

	
972
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files 
973
# in the INCLUDE_PATH (see below) will be search if a #include is found.
974

	
975
SEARCH_INCLUDES        = YES
976

	
977
# The INCLUDE_PATH tag can be used to specify one or more directories that 
978
# contain include files that are not input files but should be processed by 
979
# the preprocessor.
980

	
981
INCLUDE_PATH           = 
982

	
983
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard 
984
# patterns (like *.h and *.hpp) to filter out the header-files in the 
985
# directories. If left blank, the patterns specified with FILE_PATTERNS will 
986
# be used.
987

	
988
INCLUDE_FILE_PATTERNS  = 
989

	
990
# The PREDEFINED tag can be used to specify one or more macro names that 
991
# are defined before the preprocessor is started (similar to the -D option of 
992
# gcc). The argument of the tag is a list of macros of the form: name 
993
# or name=definition (no spaces). If the definition and the = are 
994
# omitted =1 is assumed. To prevent a macro definition from being 
995
# undefined via #undef or recursively expanded use the := operator 
996
# instead of the = operator.
997

	
998
PREDEFINED             = DOXYGEN
999

	
1000
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then 
1001
# this tag can be used to specify a list of macro names that should be expanded. 
1002
# The macro definition that is found in the sources will be used. 
1003
# Use the PREDEFINED tag if you want to use a different macro definition.
1004

	
1005
EXPAND_AS_DEFINED      = 
1006

	
1007
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then 
1008
# doxygen's preprocessor will remove all function-like macros that are alone 
1009
# on a line, have an all uppercase name, and do not end with a semicolon. Such 
1010
# function macros are typically used for boiler-plate code, and will confuse 
1011
# the parser if not removed.
1012

	
1013
SKIP_FUNCTION_MACROS   = YES
1014

	
1015
#---------------------------------------------------------------------------
1016
# Configuration::additions related to external references   
1017
#---------------------------------------------------------------------------
1018

	
1019
# The TAGFILES option can be used to specify one or more tagfiles. 
1020
# Optionally an initial location of the external documentation 
1021
# can be added for each tagfile. The format of a tag file without 
1022
# this location is as follows: 
1023
#   TAGFILES = file1 file2 ... 
1024
# Adding location for the tag files is done as follows: 
1025
#   TAGFILES = file1=loc1 "file2 = loc2" ... 
1026
# where "loc1" and "loc2" can be relative or absolute paths or 
1027
# URLs. If a location is present for each tag, the installdox tool 
1028
# does not have to be run to correct the links.
1029
# Note that each tag file must have a unique name
1030
# (where the name does NOT include the path)
1031
# If a tag file is not located in the directory in which doxygen 
1032
# is run, you must also specify the path to the tagfile here.
1033

	
1034
TAGFILES               = "@abs_top_srcdir@/doc/libstdc++.tag = http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/"
1035

	
1036
# When a file name is specified after GENERATE_TAGFILE, doxygen will create 
1037
# a tag file that is based on the input files it reads.
1038

	
1039
GENERATE_TAGFILE       = html/lemon.tag
1040

	
1041
# If the ALLEXTERNALS tag is set to YES all external classes will be listed 
1042
# in the class index. If set to NO only the inherited external classes 
1043
# will be listed.
1044

	
1045
ALLEXTERNALS           = NO
1046

	
1047
# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed 
1048
# in the modules index. If set to NO, only the current project's groups will 
1049
# be listed.
1050

	
1051
EXTERNAL_GROUPS        = NO
1052

	
1053
# The PERL_PATH should be the absolute path and name of the perl script 
1054
# interpreter (i.e. the result of `which perl').
1055

	
1056
PERL_PATH              = /usr/bin/perl
1057

	
1058
#---------------------------------------------------------------------------
1059
# Configuration options related to the dot tool   
1060
#---------------------------------------------------------------------------
1061

	
1062
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will 
1063
# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base 
1064
# or super classes. Setting the tag to NO turns the diagrams off. Note that 
1065
# this option is superseded by the HAVE_DOT option below. This is only a 
1066
# fallback. It is recommended to install and use dot, since it yields more 
1067
# powerful graphs.
1068

	
1069
CLASS_DIAGRAMS         = NO
1070

	
1071
# If set to YES, the inheritance and collaboration graphs will hide 
1072
# inheritance and usage relations if the target is undocumented 
1073
# or is not a class.
1074

	
1075
HIDE_UNDOC_RELATIONS   = YES
1076

	
1077
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is 
1078
# available from the path. This tool is part of Graphviz, a graph visualization 
1079
# toolkit from AT&T and Lucent Bell Labs. The other options in this section 
1080
# have no effect if this option is set to NO (the default)
1081

	
1082
HAVE_DOT               = YES
1083

	
1084
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen 
1085
# will generate a graph for each documented class showing the direct and 
1086
# indirect inheritance relations. Setting this tag to YES will force the 
1087
# the CLASS_DIAGRAMS tag to NO.
1088

	
1089
CLASS_GRAPH            = YES
1090

	
1091
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen 
1092
# will generate a graph for each documented class showing the direct and 
1093
# indirect implementation dependencies (inheritance, containment, and 
1094
# class references variables) of the class with other documented classes.
1095

	
1096
COLLABORATION_GRAPH    = NO
1097

	
1098
# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen 
1099
# will generate a graph for groups, showing the direct groups dependencies
1100

	
1101
GROUP_GRAPHS           = NO
1102

	
1103
# If the UML_LOOK tag is set to YES doxygen will generate inheritance and 
1104
# collaboration diagrams in a style similar to the OMG's Unified Modeling 
1105
# Language.
1106

	
1107
UML_LOOK               = NO
1108

	
1109
# If set to YES, the inheritance and collaboration graphs will show the 
1110
# relations between templates and their instances.
1111

	
1112
TEMPLATE_RELATIONS     = NO
1113

	
1114
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT 
1115
# tags are set to YES then doxygen will generate a graph for each documented 
1116
# file showing the direct and indirect include dependencies of the file with 
1117
# other documented files.
1118

	
1119
INCLUDE_GRAPH          = NO
1120

	
1121
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and 
1122
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each 
1123
# documented header file showing the documented files that directly or 
1124
# indirectly include this file.
1125

	
1126
INCLUDED_BY_GRAPH      = NO
1127

	
1128
# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will 
1129
# generate a call dependency graph for every global function or class method. 
1130
# Note that enabling this option will significantly increase the time of a run. 
1131
# So in most cases it will be better to enable call graphs for selected 
1132
# functions only using the \callgraph command.
1133

	
1134
CALL_GRAPH             = NO
1135

	
1136
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen 
1137
# will graphical hierarchy of all classes instead of a textual one.
1138

	
1139
GRAPHICAL_HIERARCHY    = NO
1140

	
1141
# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES 
1142
# then doxygen will show the dependencies a directory has on other directories 
1143
# in a graphical way. The dependency relations are determined by the #include
1144
# relations between the files in the directories.
1145

	
1146
DIRECTORY_GRAPH        = NO
1147

	
1148
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images 
1149
# generated by dot. Possible values are png, jpg, or gif
1150
# If left blank png will be used.
1151

	
1152
DOT_IMAGE_FORMAT       = png
1153

	
1154
# The tag DOT_PATH can be used to specify the path where the dot tool can be 
1155
# found. If left blank, it is assumed the dot tool can be found in the path.
1156

	
1157
DOT_PATH               = 
1158

	
1159
# The DOTFILE_DIRS tag can be used to specify one or more directories that 
1160
# contain dot files that are included in the documentation (see the 
1161
# \dotfile command).
1162

	
1163
DOTFILE_DIRS           = 
1164

	
1165
# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width 
1166
# (in pixels) of the graphs generated by dot. If a graph becomes larger than 
1167
# this value, doxygen will try to truncate the graph, so that it fits within 
1168
# the specified constraint. Beware that most browsers cannot cope with very 
1169
# large images.
1170

	
1171
MAX_DOT_GRAPH_WIDTH    = 1024
1172

	
1173
# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height 
1174
# (in pixels) of the graphs generated by dot. If a graph becomes larger than 
1175
# this value, doxygen will try to truncate the graph, so that it fits within 
1176
# the specified constraint. Beware that most browsers cannot cope with very 
1177
# large images.
1178

	
1179
MAX_DOT_GRAPH_HEIGHT   = 1024
1180

	
1181
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the 
1182
# graphs generated by dot. A depth value of 3 means that only nodes reachable 
1183
# from the root by following a path via at most 3 edges will be shown. Nodes 
1184
# that lay further from the root node will be omitted. Note that setting this 
1185
# option to 1 or 2 may greatly reduce the computation time needed for large 
1186
# code bases. Also note that a graph may be further truncated if the graph's 
1187
# image dimensions are not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH 
1188
# and MAX_DOT_GRAPH_HEIGHT). If 0 is used for the depth value (the default), 
1189
# the graph is not depth-constrained.
1190

	
1191
MAX_DOT_GRAPH_DEPTH    = 0
1192

	
1193
# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent 
1194
# background. This is disabled by default, which results in a white background. 
1195
# Warning: Depending on the platform used, enabling this option may lead to 
1196
# badly anti-aliased labels on the edges of a graph (i.e. they become hard to 
1197
# read).
1198

	
1199
DOT_TRANSPARENT        = NO
1200

	
1201
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output 
1202
# files in one run (i.e. multiple -o and -T options on the command line). This 
1203
# makes dot run faster, but since only newer versions of dot (>1.8.10) 
1204
# support this, this feature is disabled by default.
1205

	
1206
DOT_MULTI_TARGETS      = NO
1207

	
1208
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will 
1209
# generate a legend page explaining the meaning of the various boxes and 
1210
# arrows in the dot generated graphs.
1211

	
1212
GENERATE_LEGEND        = YES
1213

	
1214
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will 
1215
# remove the intermediate dot files that are used to generate 
1216
# the various graphs.
1217

	
1218
DOT_CLEANUP            = YES
1219

	
1220
#---------------------------------------------------------------------------
1221
# Configuration::additions related to the search engine   
1222
#---------------------------------------------------------------------------
1223

	
1224
# The SEARCHENGINE tag specifies whether or not a search engine should be 
1225
# used. If set to NO the values of all tags below this one will be ignored.
1226

	
1227
SEARCHENGINE           = NO
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
htmldir = $(datadir)/doc/$(PACKAGE)/html
2

	
3
EXTRA_DIST += \
4
	doc/Makefile \
5
	doc/Doxyfile.in
6

	
7
doc:
8
	if test ${doxygen_found} = yes; then \
9
	  cd doc; \
10
	  doxygen Doxyfile; \
11
	  cd ..; \
12
	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
13
	fi
14

	
15
doc-clean:
16
	if test ${doxygen_found} = yes; then \
17
	  rm -rf doc/html; \
18
	  rm -f doc/doxygen.log; \
19
	  cd doc; \
20
	  doxygen Doxyfile; \
21
	  cd ..; \
22
	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
23
	fi
24

	
25
clean-local:
26
	-rm -rf doc/html
27
	-rm -f doc/doxygen.log
28

	
29
doc/html:
30
	$(MAKE) $(AM_MAKEFLAGS) doc-clean
31

	
32
if WANT_DOC
33

	
34
install-data-local: doc/html
35
	@$(NORMAL_INSTALL)
36
	$(mkinstalldirs) $(DESTDIR)$(htmldir)
37
	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
38
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
39
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
40
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
41
	done
42

	
43
uninstall-local: doc/html
44
	@$(NORMAL_UNINSTALL)
45
	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
46
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
47
	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
48
	  rm -f $(DESTDIR)$(htmldir)/$$f; \
49
	done
50

	
51
endif WANT_DOC
52

	
53
.PHONY: doc doc-clean
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
EXTRA_DIST += \
2
	lemon/Makefile \
3
	lemon/lemon.pc.in
4

	
5
pkgconfig_DATA += lemon/lemon.pc
6

	
7
lib_LTLIBRARIES += lemon/libemon.la
8

	
9
lemon_libemon_la_SOURCES =
10

	
11
lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS)
12
lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS)
13

	
14
lemon_HEADERS +=
15

	
16
bits_HEADERS +=
17

	
18
concept_HEADERS +=
Ignore white space 6 line context
1
/* Define to 1 if you have CPLEX. */
2
#undef HAVE_CPLEX
3

	
4
/* Define to 1 if you have GLPK. */
5
#undef HAVE_GLPK
Ignore white space 6 line context
1
prefix=@prefix@
2
exec_prefix=@exec_prefix@
3
libdir=@libdir@
4
includedir=@includedir@
5

	
6
Name: @PACKAGE_NAME@
7
Description: Library of Efficient Models and Optimization in Networks
8
Version: @PACKAGE_VERSION@
9
Libs: -L${libdir} -lemon @GLPK_LIBS@ @CPLEX_LIBS@
10
Cflags: -I${includedir} @GLPK_CFLAGS@ @CPLEX_CFLAGS@
Ignore white space 6 line context
1
AC_DEFUN([LX_CHECK_CPLEX],
2
[
3
  AC_ARG_WITH([cplex],
4
AS_HELP_STRING([--with-cplex@<:@=PREFIX@:>@], [search for CPLEX under PREFIX or under the default search paths if PREFIX is not given @<:@default@:>@])
5
AS_HELP_STRING([--without-cplex], [disable checking for CPLEX]),
6
              [], [with_cplex=yes])
7

	
8
  AC_ARG_WITH([cplex-includedir],
9
AS_HELP_STRING([--with-cplex-includedir=DIR], [search for CPLEX headers in DIR]),
10
              [], [with_cplex_includedir=no])
11

	
12
  AC_ARG_WITH([cplex-libdir],
13
AS_HELP_STRING([--with-cplex-libdir=DIR], [search for CPLEX libraries in DIR]),
14
              [], [with_cplex_libdir=no])
15

	
16
  lx_cplex_found=no
17
  if test x"$with_cplex" != x"no"; then
18
    AC_MSG_CHECKING([for CPLEX])
19

	
20
    if test x"$with_cplex_includedir" != x"no"; then
21
      CPLEX_CFLAGS="-I$with_cplex_includedir"
22
    elif test x"$with_cplex" != x"yes"; then
23
      CPLEX_CFLAGS="-I$with_cplex/include"
24
    elif test x"$CPLEX_INCLUDEDIR" != x; then
25
      CPLEX_CFLAGS="-I$CPLEX_INCLUDEDIR"
26
    fi
27

	
28
    if test x"$with_cplex_libdir" != x"no"; then
29
      CPLEX_LDFLAGS="-L$with_cplex_libdir"
30
    elif test x"$with_cplex" != x"yes"; then
31
      CPLEX_LDFLAGS="-L$with_cplex/lib"
32
    elif test x"$CPLEX_LIBDIR" != x; then
33
      CPLEX_LDFLAGS="-L$CPLEX_LIBDIR"
34
    fi
35
    CPLEX_LIBS="-lcplex -lm -lpthread"
36

	
37
    lx_save_cxxflags="$CXXFLAGS"
38
    lx_save_ldflags="$LDFLAGS"
39
    lx_save_libs="$LIBS"
40
    CXXFLAGS="$CPLEX_CFLAGS"
41
    LDFLAGS="$CPLEX_LDFLAGS"
42
    LIBS="$CPLEX_LIBS"
43

	
44
    lx_cplex_test_prog='
45
      extern "C" {
46
      #include <ilcplex/cplex.h>
47
      }
48

	
49
      int main(int argc, char* argv[])
50
      {
51
        CPXENVptr env = NULL;
52
        return 0;
53
      }'
54

	
55
    AC_LANG_PUSH(C++)
56
    AC_LINK_IFELSE([$lx_cplex_test_prog], [lx_cplex_found=yes], [lx_cplex_found=no])
57
    AC_LANG_POP(C++)
58

	
59
    CXXFLAGS="$lx_save_cxxflags"
60
    LDFLAGS="$lx_save_ldflags"
61
    LIBS="$lx_save_libs"
62

	
63
    if test x"$lx_cplex_found" = x"yes"; then
64
      AC_DEFINE([HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])
65
      AC_MSG_RESULT([yes])
66
    else
67
      CPLEX_CFLAGS=""
68
      CPLEX_LDFLAGS=""
69
      CPLEX_LIBS=""
70
      AC_MSG_RESULT([no])
71
    fi
72
  fi
73
  CPLEX_LIBS="$CPLEX_LDFLAGS $CPLEX_LIBS"
74
  AC_SUBST(CPLEX_CFLAGS)
75
  AC_SUBST(CPLEX_LIBS)
76
  AM_CONDITIONAL([HAVE_CPLEX], [test x"$lx_cplex_found" = x"yes"])
77
])
Ignore white space 6 line context
1
AC_DEFUN([LX_CHECK_GLPK],
2
[
3
  AC_ARG_WITH([glpk],
4
AS_HELP_STRING([--with-glpk@<:@=PREFIX@:>@], [search for GLPK under PREFIX or under the default search paths if PREFIX is not given @<:@default@:>@])
5
AS_HELP_STRING([--without-glpk], [disable checking for GLPK]),
6
              [], [with_glpk=yes])
7

	
8
  AC_ARG_WITH([glpk-includedir],
9
AS_HELP_STRING([--with-glpk-includedir=DIR], [search for GLPK headers in DIR]),
10
              [], [with_glpk_includedir=no])
11

	
12
  AC_ARG_WITH([glpk-libdir],
13
AS_HELP_STRING([--with-glpk-libdir=DIR], [search for GLPK libraries in DIR]),
14
              [], [with_glpk_libdir=no])
15

	
16
  lx_glpk_found=no
17
  if test x"$with_glpk" != x"no"; then
18
    AC_MSG_CHECKING([for GLPK])
19

	
20
    if test x"$with_glpk_includedir" != x"no"; then
21
      GLPK_CFLAGS="-I$with_glpk_includedir"
22
    elif test x"$with_glpk" != x"yes"; then
23
      GLPK_CFLAGS="-I$with_glpk/include"
24
    fi
25

	
26
    if test x"$with_glpk_libdir" != x"no"; then
27
      GLPK_LDFLAGS="-L$with_glpk_libdir"
28
    elif test x"$with_glpk" != x"yes"; then
29
      GLPK_LDFLAGS="-L$with_glpk/lib"
30
    fi
31
    GLPK_LIBS="-lglpk"
32

	
33
    lx_save_cxxflags="$CXXFLAGS"
34
    lx_save_ldflags="$LDFLAGS"
35
    lx_save_libs="$LIBS"
36
    CXXFLAGS="$GLPK_CFLAGS"
37
    LDFLAGS="$GLPK_LDFLAGS"
38
    LIBS="$GLPK_LIBS"
39

	
40
    lx_glpk_test_prog='
41
      extern "C" {
42
      #include <glpk.h>
43
      }
44

	
45
      int main(int argc, char* argv[])
46
      {
47
        LPX *lp;
48
        lp = lpx_create_prob();
49
        lpx_delete_prob(lp);
50
        return 0;
51
      }'
52

	
53
    AC_LANG_PUSH(C++)
54
    AC_LINK_IFELSE([$lx_glpk_test_prog], [lx_glpk_found=yes], [lx_glpk_found=no])
55
    AC_LANG_POP(C++)
56

	
57
    CXXFLAGS="$lx_save_cxxflags"
58
    LDFLAGS="$lx_save_ldflags"
59
    LIBS="$lx_save_libs"
60

	
61
    if test x"$lx_glpk_found" = x"yes"; then
62
      AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have GLPK.])
63
      AC_MSG_RESULT([yes])
64
    else
65
      GLPK_CFLAGS=""
66
      GLPK_LDFLAGS=""
67
      GLPK_LIBS=""
68
      AC_MSG_RESULT([no])
69
    fi
70
  fi
71
  GLPK_LIBS="$GLPK_LDFLAGS $GLPK_LIBS"
72
  AC_SUBST(GLPK_CFLAGS)
73
  AC_SUBST(GLPK_LIBS)
74
  AM_CONDITIONAL([HAVE_GLPK], [test x"$lx_glpk_found" = x"yes"])
75
])
Ignore white space 6 line context
1
AC_DEFUN([LX_CHECK_SOPLEX],
2
[
3
  AC_ARG_WITH([soplex],
4
AS_HELP_STRING([--with-soplex@<:@=PREFIX@:>@], [search for SOPLEX under PREFIX or under the default search paths if PREFIX is not given @<:@default@:>@])
5
AS_HELP_STRING([--without-soplex], [disable checking for SOPLEX]),
6
              [], [with_soplex=yes])
7

	
8
  AC_ARG_WITH([soplex-includedir],
9
AS_HELP_STRING([--with-soplex-includedir=DIR], [search for SOPLEX headers in DIR]),
10
              [], [with_soplex_includedir=no])
11

	
12
  AC_ARG_WITH([soplex-libdir],
13
AS_HELP_STRING([--with-soplex-libdir=DIR], [search for SOPLEX libraries in DIR]),
14
              [], [with_soplex_libdir=no])
15

	
16
  lx_soplex_found=no
17
  if test x"$with_soplex" != x"no"; then
18
    AC_MSG_CHECKING([for SOPLEX])
19

	
20
    if test x"$with_soplex_includedir" != x"no"; then
21
      SOPLEX_CXXFLAGS="-I$with_soplex_includedir"
22
    elif test x"$with_soplex" != x"yes"; then
23
      SOPLEX_CXXFLAGS="-I$with_soplex/include"
24
    fi
25

	
26
    if test x"$with_soplex_libdir" != x"no"; then
27
      SOPLEX_LDFLAGS="-L$with_soplex_libdir"
28
    elif test x"$with_soplex" != x"yes"; then
29
      SOPLEX_LDFLAGS="-L$with_soplex/lib"
30
    fi
31
    SOPLEX_LIBS="-lsoplex -lz"
32

	
33
    lx_save_cxxflags="$CXXFLAGS"
34
    lx_save_ldflags="$LDFLAGS"
35
    lx_save_libs="$LIBS"
36
    CXXFLAGS="$SOPLEX_CXXFLAGS"
37
    LDFLAGS="$SOPLEX_LDFLAGS"
38
    LIBS="$SOPLEX_LIBS"
39

	
40
    lx_soplex_test_prog='
41
      #include <soplex/soplex.h>
42

	
43
      int main(int argc, char* argv[])
44
      {
45
        soplex::SoPlex soplex;
46
        return 0;
47
      }'
48

	
49
    AC_LANG_PUSH(C++)
50
    AC_LINK_IFELSE([$lx_soplex_test_prog], [lx_soplex_found=yes], [lx_soplex_found=no])
51
    AC_LANG_POP(C++)
52

	
53
    CXXFLAGS="$lx_save_cxxflags"
54
    LDFLAGS="$lx_save_ldflags"
55
    LIBS="$lx_save_libs"
56

	
57
    if test x"$lx_soplex_found" = x"yes"; then
58
      AC_DEFINE([HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.])
59
      AC_MSG_RESULT([yes])
60
    else
61
      SOPLEX_CXXFLAGS=""
62
      SOPLEX_LDFLAGS=""
63
      SOPLEX_LIBS=""
64
      AC_MSG_RESULT([no])
65
    fi
66
  fi
67
  SOPLEX_LIBS="$SOPLEX_LDFLAGS $SOPLEX_LIBS"
68
  AC_SUBST(SOPLEX_CXXFLAGS)
69
  AC_SUBST(SOPLEX_LIBS)
70
  AM_CONDITIONAL([HAVE_SOPLEX], [test x"$lx_soplex_found" = x"yes"])
71
])
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
EXTRA_DIST += \
2
	test/Makefile
3

	
4
noinst_HEADERS +=
5

	
6
check_PROGRAMS +=
7

	
8
TESTS += $(check_PROGRAMS)
9
XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
EXTRA_DIST += \
2
	tools/Makefile
3

	
4
if WANT_TOOLS
5

	
6
bin_PROGRAMS +=
7

	
8
endif WANT_TOOLS
0 comments (0 inline)