1 | ############################################################################## |
---|
2 | ## Makefile.am -- Process this file with automake to produce Makefile.in |
---|
3 | ## Revision: $Id: Makefile.am 37 2009-05-28 12:56:44Z awalther $ |
---|
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 | |
---|
13 | if SPARSE |
---|
14 | AM_CFLAGS = @ac_adolc_cflags@ -DADOLC_INTERNAL=1 -DSPARSE=1 |
---|
15 | AM_CXXFLAGS = @ac_adolc_cxxflags@ -DADOLC_INTERNAL=1 -DSPARSE=1 |
---|
16 | else |
---|
17 | AM_CFLAGS = @ac_adolc_cflags@ -DADOLC_INTERNAL=1 |
---|
18 | AM_CXXFLAGS = @ac_adolc_cxxflags@ -DADOLC_INTERNAL=1 |
---|
19 | endif |
---|
20 | |
---|
21 | AM_CPPFLAGS = -I$(top_srcdir) |
---|
22 | |
---|
23 | INCLUDES = -I$(top_builddir) |
---|
24 | |
---|
25 | if SPARSE |
---|
26 | SUBDIRS = drivers sparse tapedoc |
---|
27 | else |
---|
28 | SUBDIRS = drivers tapedoc |
---|
29 | endif |
---|
30 | |
---|
31 | MAINTAINERCLEANFILES = Makefile.in *~ *.orig adolc_config.h config.h.in |
---|
32 | |
---|
33 | EXTRA_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 | Makefile.win |
---|
37 | |
---|
38 | pkginclude_HEADERS = adolc.h adalloc.h adouble.h adutils.h adutilsc.h \ |
---|
39 | common.h convolut.h dvlparms.h fortutils.h\ |
---|
40 | interfaces.h oplate.h taping.h usrparms.h \ |
---|
41 | externfcts.h checkpointing.h fixpoint.h\ |
---|
42 | adolc_sparse.h adolc_openmp.h \ |
---|
43 | revolve.h |
---|
44 | |
---|
45 | lib_LTLIBRARIES = libadolc.la |
---|
46 | |
---|
47 | libadolc_la_LDFLAGS = -version-info 0:0:0 |
---|
48 | |
---|
49 | if SPARSE |
---|
50 | libadolc_la_SOURCES = adalloc.c malloc.c adouble.cpp \ |
---|
51 | convolut.c fortutils.c \ |
---|
52 | interfaces.cpp interfacesf.c \ |
---|
53 | taping.c tape_handling.cpp \ |
---|
54 | zos_forward.c fos_forward.c fov_forward.c \ |
---|
55 | hos_forward.c hov_forward.c hov_wk_forward.c \ |
---|
56 | fos_reverse.c fov_reverse.c \ |
---|
57 | hos_reverse.c hos_ov_reverse.c hov_reverse.c \ |
---|
58 | forward_partx.c \ |
---|
59 | externfcts.cpp checkpointing.cpp \ |
---|
60 | fixpoint.cpp fov_offset_forward.c revolve.c \ |
---|
61 | int_forward_s.c int_forward_t.c \ |
---|
62 | indopro_forward_s.c indopro_forward_t.c \ |
---|
63 | nonl_ind_forward_s.c nonl_ind_forward_t.c \ |
---|
64 | int_reverse_s.c int_reverse_t.c |
---|
65 | |
---|
66 | libadolc_la_LIBADD = drivers/libdrivers.la sparse/libsparse.la \ |
---|
67 | tapedoc/libtapedoc.la |
---|
68 | else |
---|
69 | libadolc_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 | |
---|
81 | libadolc_la_LIBADD = drivers/libdrivers.la tapedoc/libtapedoc.la |
---|
82 | |
---|
83 | endif |
---|
84 | |
---|