File: Makefile.am.common

package info (click to toggle)
warped 20031216-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,276 kB
  • ctags: 2,616
  • sloc: cpp: 16,610; sh: 7,071; makefile: 318
file content (60 lines) | stat: -rw-r--r-- 1,950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

# Process this file with automake to produce Makefile.in

# Copyright (c) 1999 The University of Cincinnati.  
# All rights reserved.

# UC MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
# SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
# OR NON-INFRINGEMENT.  UC SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY
# LICENSEE AS A RESULT OF USING, RESULT OF USING, MODIFYING OR
# DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.

# By using or copying this Software, Licensee agrees to abide by the
# intellectual property laws, and all other applicable laws of the U.S.,
# and the terms of this license.

# You may modify, distribute, and use the software contained in this
# package under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE"
# version 2, June 1991. A copy of this license agreement can be found in
# the file "LGPL", distributed with this archive.

# Authors: Dale E. Martin	dmartin@clifton-labs.com
# $Author: dmartin $
# $Revision: 1.4 $

#---------------------------------------------------------------------------
# 
# $Id: Makefile.am.common,v 1.4 2003/03/31 19:28:37 dmartin Exp $
# 
#---------------------------------------------------------------------------

# Check if we have configured with --enable-eclmpl and --enable-mpi 
# NOTE: automake is supposed to support nested conditionals, but it 
#       does not! We have to use separate if-statements until it does.

# Check VIA related flags.
if HAVE_VIA
VIA_LD_ADD = -lvipl -lpthread
else
VIA_LD_ADD = 
endif

if USE_VIA
VIA_CPP_FLAG = -DUSE_VIA -D_REENTRANT
else
VIA_CPP_FLAG = 
endif

if USE_MPI
MPI_SRC = warped/eclmpl/MPIPhysicalCommunicationLayer.cpp \
	warped/eclmpl/MPIPhysicalCommunicationLayer.h
endif

GLOBALCPPFLAGS = -DDEVELOPER_ASSERTIONS
GLOBALCXXFLAGS = 
GLOBALLDFLAGS =
GLOBALLDADD = 

INCLUDES=-I$(top_srcdir)/src -I$(top_builddir)/src