[40] | 1 | ############################################################################## |
---|
| 2 | ## Makefile.am -- Process this file with automake to produce Makefile.in |
---|
[42] | 3 | ## Revision: $Id: Makefile.am 410 2013-03-13 16:07:39Z kulshres $ |
---|
[40] | 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 | |
---|
[337] | 13 | AM_CFLAGS = @ac_adolc_cflags@ -DADOLC_INTERNAL=1 -std=gnu99 |
---|
[40] | 14 | AM_CXXFLAGS = @ac_adolc_cxxflags@ -DADOLC_INTERNAL=1 |
---|
| 15 | |
---|
[354] | 16 | AM_CPPFLAGS = -I$(top_srcdir)/ADOL-C/include -I$(top_srcdir)/ADOL-C/src |
---|
[40] | 17 | |
---|
| 18 | if SPARSE |
---|
| 19 | SUBDIRS = drivers sparse tapedoc |
---|
| 20 | else |
---|
| 21 | SUBDIRS = drivers tapedoc |
---|
| 22 | endif |
---|
| 23 | |
---|
| 24 | MAINTAINERCLEANFILES = Makefile.in *~ *.orig adolc_config.h config.h.in |
---|
| 25 | |
---|
| 26 | EXTRA_DIST = uni5_for.c fo_rev.c ho_rev.c \ |
---|
[337] | 27 | oplate.h taping_p.h malloc.h storemanager.h \ |
---|
[106] | 28 | externfcts_p.h checkpointing_p.h buffer_temp.h |
---|
[40] | 29 | |
---|
| 30 | |
---|
| 31 | lib_LTLIBRARIES = libadolc.la |
---|
| 32 | |
---|
[161] | 33 | libadolc_la_LDFLAGS = -version-info 2:1:1 -no-undefined |
---|
[40] | 34 | |
---|
| 35 | if SPARSE |
---|
| 36 | libadolc_la_SOURCES = adalloc.c malloc.c adouble.cpp \ |
---|
| 37 | convolut.c fortutils.c \ |
---|
| 38 | interfaces.cpp interfacesf.c \ |
---|
[171] | 39 | taping_p.h taping.c tape_handling.cpp \ |
---|
[40] | 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 \ |
---|
[372] | 50 | nonl_ind_old_forward_s.c nonl_ind_old_forward_t.c \ |
---|
[337] | 51 | int_reverse_s.c int_reverse_t.c advector.cpp |
---|
[40] | 52 | |
---|
| 53 | libadolc_la_LIBADD = drivers/libdrivers.la sparse/libsparse.la \ |
---|
| 54 | tapedoc/libtapedoc.la |
---|
[106] | 55 | libadolc_la_LDFLAGS += @COLPACK_LIBS@ |
---|
[40] | 56 | else |
---|
| 57 | libadolc_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 \ |
---|
[337] | 67 | fixpoint.cpp fov_offset_forward.c revolve.c advector.cpp |
---|
[40] | 68 | |
---|
| 69 | libadolc_la_LIBADD = drivers/libdrivers.la tapedoc/libtapedoc.la |
---|
| 70 | |
---|
| 71 | endif |
---|
| 72 | |
---|