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

Last change on this file since 410 was 410, checked in by kulshres, 8 years ago

Preprocessor SPARSE=1 should be defined in config.h instead of Makefile.am

See http://bugs.debian.org/700937

Reported-by: Barak A. Perlmutter <barak@…>
Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1##############################################################################
2## Makefile.am -- Process this file with automake to produce Makefile.in
3## Revision: $Id: Makefile.am 410 2013-03-13 16:07:39Z 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
13AM_CFLAGS            = @ac_adolc_cflags@ -DADOLC_INTERNAL=1 -std=gnu99
14AM_CXXFLAGS          = @ac_adolc_cxxflags@ -DADOLC_INTERNAL=1
15
16AM_CPPFLAGS          = -I$(top_srcdir)/ADOL-C/include -I$(top_srcdir)/ADOL-C/src
17
18if SPARSE
19SUBDIRS              = drivers sparse tapedoc
20else
21SUBDIRS              = drivers tapedoc
22endif
23
24MAINTAINERCLEANFILES = Makefile.in *~ *.orig adolc_config.h config.h.in
25
26EXTRA_DIST           = uni5_for.c fo_rev.c ho_rev.c \
27                       oplate.h taping_p.h malloc.h storemanager.h \
28                       externfcts_p.h checkpointing_p.h buffer_temp.h
29
30
31lib_LTLIBRARIES      = libadolc.la
32
33libadolc_la_LDFLAGS  = -version-info 2:1:1 -no-undefined
34
35if SPARSE
36libadolc_la_SOURCES  = adalloc.c malloc.c adouble.cpp \
37                       convolut.c fortutils.c \
38                       interfaces.cpp interfacesf.c \
39                       taping_p.h taping.c tape_handling.cpp \
40                       zos_forward.c fos_forward.c fov_forward.c \
41                       hos_forward.c hov_forward.c hov_wk_forward.c \
42                       fos_reverse.c fov_reverse.c \
43                       hos_reverse.c hos_ov_reverse.c hov_reverse.c \
44                       forward_partx.c \
45                       externfcts.cpp checkpointing.cpp \
46                       fixpoint.cpp fov_offset_forward.c revolve.c \
47                       int_forward_s.c int_forward_t.c \
48                       indopro_forward_s.c indopro_forward_t.c \
49                       nonl_ind_forward_s.c nonl_ind_forward_t.c \
50                       nonl_ind_old_forward_s.c nonl_ind_old_forward_t.c \
51                       int_reverse_s.c int_reverse_t.c advector.cpp
52
53libadolc_la_LIBADD   = drivers/libdrivers.la sparse/libsparse.la \
54                       tapedoc/libtapedoc.la
55libadolc_la_LDFLAGS  += @COLPACK_LIBS@
56else
57libadolc_la_SOURCES  = adalloc.c malloc.c adouble.cpp \
58                       convolut.c fortutils.c\
59                       interfaces.cpp interfacesf.c \
60                       taping.c tape_handling.cpp \
61                       zos_forward.c fos_forward.c fov_forward.c \
62                       hos_forward.c hov_forward.c hov_wk_forward.c \
63                       fos_reverse.c fov_reverse.c \
64                       hos_reverse.c hos_ov_reverse.c hov_reverse.c \
65                       forward_partx.c \
66                       externfcts.cpp checkpointing.cpp \
67                       fixpoint.cpp fov_offset_forward.c revolve.c advector.cpp
68
69libadolc_la_LIBADD   = drivers/libdrivers.la tapedoc/libtapedoc.la
70
71endif
72
Note: See TracBrowser for help on using the repository browser.