-
Notifications
You must be signed in to change notification settings - Fork 96
/
Makefile.am
81 lines (67 loc) · 1.83 KB
/
Makefile.am
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# -*- Makefile -*-
#
# ----------------------------------------------------------------------
#
# Brad T. Aagaard, U.S. Geological Survey
# Charles A. Williams, GNS Science
# Matthew G. Knepley, University of Chicago
#
# This code was developed as part of the Computational Infrastructure
# for Geodynamics (http://geodynamics.org).
#
# Copyright (c) 2010-2012 University of California, Davis
#
# See COPYING for license information.
#
# ----------------------------------------------------------------------
#
subpackage = faults
include $(top_srcdir)/subpackage.am
subpkgpyexec_LTLIBRARIES = _faultsmodule.la
subpkgpyexec_PYTHON = faults.py
swig_sources = \
faults.i \
SlipTimeFn.i \
ConstRateSlipFn.i \
StepSlipFn.i \
BruneSlipFn.i \
LiuCosSlipFn.i \
TimeHistorySlipFn.i \
EqKinSrc.i \
TractPerturbation.i \
Fault.i \
FaultCohesive.i \
FaultCohesiveLagrange.i \
FaultCohesiveKin.i \
FaultCohesiveDyn.i \
FaultCohesiveImpulses.i \
FaultCohesiveTract.i \
../topology/SubMesh.i \
../feassemble/Quadrature.i \
../feassemble/Integrator.i
swig_generated = \
faults_wrap.cxx \
faults.py
_faultsmodule_la_LDFLAGS = -module -avoid-version \
$(AM_LDFLAGS) $(PYTHON_LA_LDFLAGS)
dist__faultsmodule_la_SOURCES = $(swig_sources) $(swig_generated)
_faultsmodule_la_LIBADD = \
$(top_builddir)/libsrc/pylith/libpylith.la \
-lspatialdata \
$(PETSC_LIB)
if ENABLE_CUBIT
_faultsmodule_la_LIBADD += -lnetcdf_c++ -lnetcdf
endif
if NO_UNDEFINED
_faultsmodule_la_LIBADD += \
$(PYTHON_BLDLIBRARY) $(PYTHON_LIBS) $(PYTHON_SYSLIBS)
endif
INCLUDES += $(PYTHON_EGG_CPPFLAGS) -I$(NUMPY_INCDIR) -I$(PYTHON_INCDIR) $(PETSC_CC_INCLUDES)
if ENABLE_SWIG
$(srcdir)/faults_wrap.cxx $(srcdir)/faults.py: $(swig_sources)
$(SWIG) $(PETSC_CC_INCLUDES) -Wall -c++ -python $<
endif
MAINTAINERCLEANFILES = \
$(srcdir)/faults_wrap.cxx \
$(srcdir)/faults.py
# End of file