source: trunk/ADOL-C/src/Makefile.am @ 171

Last change on this file since 171 was 171, checked in by kulshres, 10 years ago

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

  • 'master' of 'gitclone': (84 commits) adjust example makefiles and include paths get rid of the symlink in the src subdirectory

details of the commits:
commit c9e4bc332d2363f737fc2e8a8fcfc2e43ddb9d15
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Oct 4 15:43:47 2010 +0200

adjust example makefiles and include paths

include paths in example sources were wrong for some time now
simplify makefile rules too, there is really no need for checking SPARSE
adjust include paths in makefiles.

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

commit e6e1963e41e097fd5b4a79cd1611c12f6868dc94
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Oct 4 15:41:25 2010 +0200

get rid of the symlink in the src subdirectory

windows doesn't like symlinks and make infinite depth directories
we now create a symlink for build in the directory parallel to src
adjust all makefiles.am accordingly for build

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

  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1##############################################################################
2## Makefile.am -- Process this file with automake to produce Makefile.in
3## Revision: $Id: Makefile.am 171 2010-10-04 13:57:19Z kulshres $
4##
5## Copyright (C) Andrea Walther, Andreas Kowarz
6##
7## This file is part of ADOL-C. This software is provided as open source.
8## Any use, reproduction, or distribution of the software constitutes
9## recipient's acceptance of the terms of the accompanying license file.
10##
11##############################################################################
12
13if SPARSE
14AM_CFLAGS            = @ac_adolc_cflags@ -DADOLC_INTERNAL=1 -DSPARSE=1
15AM_CXXFLAGS          = @ac_adolc_cxxflags@ -DADOLC_INTERNAL=1 -DSPARSE=1
16else
17AM_CFLAGS            = @ac_adolc_cflags@ -DADOLC_INTERNAL=1
18AM_CXXFLAGS          = @ac_adolc_cxxflags@ -DADOLC_INTERNAL=1
19endif
20
21AM_CPPFLAGS          = -I$(top_srcdir)/ADOL-C
22
23INCLUDES             = -I$(top_builddir)/ADOL-C
24
25if SPARSE
26SUBDIRS              = drivers sparse tapedoc
27else
28SUBDIRS              = drivers tapedoc
29endif
30
31MAINTAINERCLEANFILES = Makefile.in *~ *.orig adolc_config.h config.h.in
32
33EXTRA_DIST           = uni5_for.c fo_rev.c ho_rev.c \
34                       taping_p.h malloc.h \
35                       externfcts_p.h checkpointing_p.h buffer_temp.h
36
37pkginclude_HEADERS   = adolc.h adalloc.h adouble.h adutils.h adutilsc.h \
38                       common.h convolut.h dvlparms.h fortutils.h\
39                       interfaces.h oplate.h taping.h usrparms.h \
40                       externfcts.h checkpointing.h fixpoint.h\
41                       adolc_sparse.h adolc_openmp.h \
42                       revolve.h
43
44lib_LTLIBRARIES      = libadolc.la
45
46libadolc_la_LDFLAGS  = -version-info 2:1:1 -no-undefined
47
48if SPARSE
49libadolc_la_SOURCES  = adalloc.c malloc.c adouble.cpp \
50                       convolut.c fortutils.c \
51                       interfaces.cpp interfacesf.c \
52                       taping_p.h taping.c tape_handling.cpp \
53                       zos_forward.c fos_forward.c fov_forward.c \
54                       hos_forward.c hov_forward.c hov_wk_forward.c \
55                       fos_reverse.c fov_reverse.c \
56                       hos_reverse.c hos_ov_reverse.c hov_reverse.c \
57                       forward_partx.c \
58                       externfcts.cpp checkpointing.cpp \
59                       fixpoint.cpp fov_offset_forward.c revolve.c \
60                       int_forward_s.c int_forward_t.c \
61                       indopro_forward_s.c indopro_forward_t.c \
62                       nonl_ind_forward_s.c nonl_ind_forward_t.c \
63                       int_reverse_s.c int_reverse_t.c
64
65libadolc_la_LIBADD   = drivers/libdrivers.la sparse/libsparse.la \
66                       tapedoc/libtapedoc.la
67libadolc_la_LDFLAGS  += @COLPACK_LIBS@
68else
69libadolc_la_SOURCES  = adalloc.c malloc.c adouble.cpp \
70                       convolut.c fortutils.c\
71                       interfaces.cpp interfacesf.c \
72                       taping.c tape_handling.cpp \
73                       zos_forward.c fos_forward.c fov_forward.c \
74                       hos_forward.c hov_forward.c hov_wk_forward.c \
75                       fos_reverse.c fov_reverse.c \
76                       hos_reverse.c hos_ov_reverse.c hov_reverse.c \
77                       forward_partx.c \
78                       externfcts.cpp checkpointing.cpp \
79                       fixpoint.cpp fov_offset_forward.c revolve.c
80
81libadolc_la_LIBADD   = drivers/libdrivers.la tapedoc/libtapedoc.la
82
83endif
84
Note: See TracBrowser for help on using the repository browser.