source: trunk/ADOL-C/examples/additional_examples/timing/Makefile.am @ 161

Last change on this file since 161 was 161, checked in by kulshres, 9 years ago

Squashed merge of branch 'master' of 'gitclone' into svn

  • 'master' of 'gitclone': (8 commits) Add missing files to dist Add a rpm spec file add some comments and add else cases to ifs typo fix more improvements in ColPack? checking adjust Makefile.am overall to not explicitly need COLPACK_LIBS refactor colpack searching fix in-tree Colpack location for seperated build

Details of the commits:
ommit f925eb1d39f53bf893280f872407e45b16901cd1
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Sep 23 17:58:41 2010 +0200

Add missing files to dist

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 37d5799660bbb042f02518f22c4034a3541b5b26
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Sep 23 17:57:51 2010 +0200

Add a rpm spec file

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 25a41aac1c58214d3d35b4321d90a5fbfb1d2a5d
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Sep 16 15:09:04 2010 +0200

add some comments and add else cases to ifs

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 1fc5a86ce4340692d0e486b6df2a41af5d138e2b
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Sep 16 14:52:20 2010 +0200

typo fix

it's COLPACK_LIBDIR not COLPACK_DIR

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit f8eb90f4962914ccf665617e1a1a7f8d07c066d4
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Sep 16 14:42:15 2010 +0200

more improvements in ColPack? checking

check for the header file too and then test link a C++ program
use readlink to find the real paths for the includedir and libdir
remove the old .tmp from libdir, it may contain junk.
use $AR instead of ar, we may be cross compiling.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 4db5d1eeb1925f996f244184683c6c649b1262fe
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Wed Sep 15 18:53:00 2010 +0200

adjust Makefile.am overall to not explicitly need COLPACK_LIBS

in case it is dynamically linked to libadolc.so this information
will be forwarded to the executable automatically too. in the
static linking case libadolc.{so,a} already contain everything

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 2c2a4a433c6716db317b1883e9bd568a267cd7e4
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Wed Sep 15 16:38:16 2010 +0200

refactor colpack searching

link with ColPack? statically if ColPack? resides inside
the source tree.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit b950c231857d9fcfcd3f70e1253cc11b9e2d6f5c
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Wed Sep 15 16:02:29 2010 +0200

fix in-tree Colpack location for seperated build

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 KB
Line 
1##############################################################################
2## Makefile.am -- Process this file with automake to produce Makefile.in
3## Revision: $Id: Makefile.am 161 2010-09-23 16:14:35Z kulshres $
4##
5## Copyright (C) Andrea Walther, Andreas Griewank, Andreas Kowarz,
6##               Hristo Mitev, Sebastian Schlenkrich, Jean Utke, Olaf Vogel
7##
8## This file is part of ADOL-C. This software is provided as open source.
9## Any use, reproduction, or distribution of the software constitutes
10## recipient's acceptance of the terms of the accompanying license file.
11##
12##############################################################################
13
14AM_CFLAGS               = @ac_adolc_cflags@
15AM_CXXFLAGS             = @ac_adolc_cxxflags@
16AM_CPPFLAGS             = -I$(top_srcdir)/ADOL-C/src
17
18if SPARSE
19LDADD                   = -ladolc
20AM_LDFLAGS              = -L../../../src
21else
22LDADD                   = -ladolc
23AM_LDFLAGS              = -L../../../src
24endif
25
26INCLUDES                = -I$(top_builddir) -I$(top_builddir)/examples/additional_examples
27
28CTRLFILES               = detexam.ctrl \
29                          eutrophexam.ctrl \
30                          experimental.ctrl \
31                          ficexam.ctrl \
32                          gearexam.ctrl \
33                          griewankexam.ctrl \
34                          helmholtzexam.ctrl \
35                          michalewitzexam.ctrl \
36                          pargearexam.ctrl \
37                          powexam.ctrl \
38                          robertsonexam.ctrl \
39                          rosenbrockexam.ctrl \
40                          shuttlexam.ctrl \
41                          simplevec.ctrl \
42                          speelpenning.ctrl
43
44
45EXTRA_DIST              = rotations.h $(CTRLFILES)
46
47MAINTAINERCLEANFILES    = Makefile.in in_tape.1 op_tape.1 vs_tape1 *~ *.orig
48
49if ADDEXA
50noinst_PROGRAMS         = detexam speelpenning griewankexam michalewitzexam \
51                          rosenbrockexam powexam helmholtzexam shuttlexam \
52                          gearexam pargearexam simplevec eutrophexam \
53                          robertsonexam ficexam experimental
54endif
55
56detexam_SOURCES         = sfunc_determinant.cpp sgenmain.cpp \
57                          ../clock/myclock.cpp
58
59speelpenning_SOURCES    = sfunc_speelpenning.cpp sgenmain.cpp \
60                          ../clock/myclock.cpp
61
62griewankexam_SOURCES    = sfunc_griewank.cpp sgenmain.cpp \
63                          ../clock/myclock.cpp
64
65michalewitzexam_SOURCES = sfunc_michalewitz.cpp sgenmain.cpp \
66                          ../clock/myclock.cpp
67
68rosenbrockexam_SOURCES  = sfunc_rosenbrock.cpp sgenmain.cpp \
69                          ../clock/myclock.cpp
70
71powexam_SOURCES         = sfunc_power.cpp sgenmain.cpp \
72                          ../clock/myclock.cpp
73
74helmholtzexam_SOURCES   = sfunc_helmholtz.cpp sgenmain.cpp \
75                          ../clock/myclock.cpp
76
77shuttlexam_SOURCES      = vfunc_shuttle.cpp vgenmain.cpp \
78                          ../clock/myclock.cpp
79
80gearexam_SOURCES        = vfunc_gear.cpp vgenmain.cpp \
81                          ../clock/myclock.cpp
82
83pargearexam_SOURCES     = vfunc_pargear.cpp rotations.cpp vgenmain.cpp \
84                          ../clock/myclock.cpp
85
86simplevec_SOURCES       = vfunc_simplevec.cpp vgenmain.cpp \
87                          ../clock/myclock.cpp
88
89eutrophexam_SOURCES     = ../ode/vfunc_eutroph.cpp vgenmain.cpp \
90                          ../clock/myclock.cpp
91
92robertsonexam_SOURCES   = ../ode/vfunc_robertson.cpp vgenmain.cpp \
93                          ../clock/myclock.cpp
94
95ficexam_SOURCES         = ../ode/vfunc_fic.cpp vgenmain.cpp \
96                          ../clock/myclock.cpp
97
98experimental_SOURCES    = sfunc_experimental.cpp sgenmain.cpp \
99                          ../clock/myclock.cpp
Note: See TracBrowser for help on using the repository browser.