source: trunk/ADOL-C/Makefile.am @ 709

Last change on this file since 709 was 610, checked in by kulshres, 4 years ago

correct typo

File size: 1.5 KB
Line 
1##############################################################################
2## Makefile.am -- Process this file with automake to produce Makefile.in
3## Revision: $Id: Makefile.am 38 2009-06-17 15:48:09Z awalther $
4##
5## Copyright (C) Andrea Walther, Andreas Kowarz, Kshitij Kulshreshtha
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
13AUTOMAKE_OPTIONS     = foreign
14
15if DOCEXA
16SUBDIRS              = src . test examples
17else
18if ADDEXA
19SUBDIRS              = src . test examples
20else
21if PAREXA
22SUBDIRS              = src . test examples
23else
24SUBDIRS              = src . test
25endif
26endif
27endif
28
29SUBDIRS += include
30
31MAINTAINERCLEANFILES = Makefile.in
32
33lib_LTLIBRARIES = lib@adolclib@.la
34lib@adolclib@_la_LDFLAGS  = -version-info 3:0:1 -no-undefined
35lib@adolclib@_la_SOURCES  = dummy.cpp
36
37lib@adolclib@_la_LIBADD = src/libadolcsrc.la
38
39if BUILD_ADOLC_AMPI_SUPPORT
40lib@adolclib@_la_LIBADD  += src/libadolcampi.la
41if DARWIN
42lib@adolclib@_la_LDFLAGS += -Wl,-undefined,dynamic_lookup
43endif
44endif
45
46lib@adolclib@_la_LIBADD  += src/drivers/libdrivers.la src/tapedoc/libtapedoc.la src/lie/liblie.la
47
48if SPARSE
49lib@adolclib@_la_LIBADD   += src/sparse/libsparse.la
50endif
51
52BUILT_SOURCES = dummy.cpp
53
54dummy.cpp:
55        touch $@
56
57CC = $(saveCC)
58CXX = $(saveCXX)
59
60test:
61        cd test; $(MAKE) test
62
63.PHONY: test
Note: See TracBrowser for help on using the repository browser.