File: Makefile.am

package info (click to toggle)
coot 1.1.15%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 198,064 kB
  • sloc: cpp: 487,366; python: 34,637; ansic: 26,046; lisp: 22,737; sh: 13,097; makefile: 2,663; awk: 441; xml: 188; csh: 14
file content (137 lines) | stat: -rw-r--r-- 6,737 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#
# Makefile.am
# 
# Copyright 2020 Medical Research Council
# Author: Paul Emsley
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA

## Process this file with automake to produce Makefile.in

AM_CPPFLAGS = \
	-I$(top_srcdir)                     \
	$(ENHANCED_LIGAND_TOOLS_CPPFLAGS)   \
	$(gsl_CFLAGS)			    \
	$(LIBSSM_CXXFLAGS)                  \
	$(CLIPPER_CXXFLAGS)                 \
	$(MMDB_CXXFLAGS)                    \
	$(GEMMI_CXXFLAGS)                   \
	$(PYTHON_CPPFLAGS)                  \
	$(CAIRO_CFLAGS)                     \
	$(RDKIT_CXXFLAGS) $(BOOST_CPPFLAGS) \
	$(COOT_WINDOWS_CFLAGS)

pkgincludedir = $(includedir)/coot/api

pkginclude_HEADERS = \
coot-molecule.hh	 make-a-dodec.hh	    lsq-results.hh                         \
colour-functions.hh	 gensurf.hh		    validation-information.hh              \
coot-colour.hh		 ghost-molecule-display.hh  residue-validation-information.hh      \
molecules-container.hh	 ncs.hh			    geometry-graphs.hh                     \
header-info.hh 		 rama-plot-phi-psi.hh	    superpose-results.hh                   \
add-terminal-residue.hh  interfaces.hh              moorhen-h-bonds.hh                     \
atom-pull.hh             rigid-body-fit.hh          svg-store-key.hh                       \
phi-psi-prob.hh          saved-strand-info.hh       simple-molecule.hh                     \
generic-3d-lines.hh      cell.hh                    coot-simple-molecule.hh                \
api-cell.hh              bond-colour.hh             make-instanced-graphical-bonds.hh      \
symmetry-info.hh         instancing.hh              merge-molecule-results-info-t.hh       \
coot-molecule-bonds.hh   clipper-ccp4-map-file-wrapper.hh blender-mesh.hh plain-atom-overlap.hh \
ncs-ghosts.hh            moved-atom.hh              moved-residue.hh

lib_LTLIBRARIES=libcoot-api.la

libcoot_api_la_SOURCES = \
coot-molecule.cc	     coot-colour.cc	     add-terminal-residue.cc  rama-plot-phi-psi.cc   \
colour-functions.cc          coot-molecule-maps.cc                            coot-molecule-merge-molecules.cc \
coot-molecule-bonds.cc	     coot-molecule-validation.cc                      molecules-container-modelling.cc \
molecules-container.cc       make-a-dodec.cc	                              molecules-container-ligand-fitting.cc \
phi-psi-prob.cc              coot-molecule-moltris.cc                         coot-molecule-replace-fragment.cc \
coot-molecule-backup.cc      coot-molecule-bonds-instanced.cc                 molecules-container-mmrrcc.cc \
molecules-container-gltf.cc  mmcif-tests.cc                                   ncs-ghosts.cc \
coot-molecule-refine.cc      molecules-container-superpose.cc                 rigid-body-fit.cc \
moorhen-h-bonds.cc           molecules-container-bucca-ml-growing.cc          instancing.cc  \
molecules-container-maps.cc  coot-molecule-change-chain-id.cc                 coot-molecule-modelling.cc \
blender-mesh.cc              coot-molecule-blender.cc                         molecules-container-blender.cc \
ghost-molecule-display.cc

libcoot_api_la_LDFLAGS = $(SHARED_LDFLAGS)            \
   $(top_builddir)/MoleculesToTriangles/CXXClasses/libMoleculesToTrianglesCXXClasses.la \
   $(top_builddir)/MoleculesToTriangles/CXXSurface/libMoleculesToTrianglesCXXSurface.la \
   $(top_builddir)/ligand/libcoot-ligand.la           \
   $(top_builddir)/pli/libcoot-pli.la                 \
   $(top_builddir)/ideal/libcoot-ideal.la             \
   $(top_builddir)/lidia-core/libcoot-lidia-core.la   \
   $(top_builddir)/cootaneer/libcootaneer.la          \
   $(top_builddir)/db-main/libcoot-db-main.la         \
   $(top_builddir)/ccp4mg-utils/libccp4mg-utils.la    \
   $(top_builddir)/analysis/libcoot-analysis.la	      \
   $(top_builddir)/density-contour/libcoot-isosurface.la \
   $(top_builddir)/coot-utils/libcoot-map-heavy.la    \
   $(top_builddir)/coot-utils/libcoot-coord-extras.la \
   $(top_builddir)/coot-utils/libcoot-coord-utils.la  \
   $(top_builddir)/coot-utils/libcoot-map-utils.la    \
   $(top_builddir)/geometry/libcoot-geometry.la       \
   $(top_builddir)/mini-mol/libcoot-mini-mol.la       \
   $(top_builddir)/coords/libcoot-coords.la	      \
   $(top_builddir)/utils/libcoot-utils.la             \
   $(CLIPPER_LIBS) $(LIBSSM_LIBS) $(MMDB_LIBS) $(SQLITE3_LIBS) $(gsl_LIBS) $(RDKIT_LIBS) -lpthread

check_PROGRAMS = test-molecules-container

test_molecules_container_SOURCES = test-molecules-container.cc filo-tests.cc lucrezia-tests.cc

test_molecules_container_LDFLAGS = ./libcoot-api.la \
   $(top_builddir)/MoleculesToTriangles/CXXClasses/libMoleculesToTrianglesCXXClasses.la \
   $(top_builddir)/MoleculesToTriangles/CXXSurface/libMoleculesToTrianglesCXXSurface.la \
   $(top_builddir)/ligand/libcoot-ligand.la           \
   $(top_builddir)/ideal/libcoot-ideal.la             \
   $(top_builddir)/pli/libcoot-pli.la                 \
   $(top_builddir)/density-contour/libcoot-isosurface.la \
   $(top_builddir)/coot-utils/libcoot-map-utils.la    \
   $(top_builddir)/coot-utils/libcoot-coord-extras.la \
   $(top_builddir)/coot-utils/libcoot-coord-utils.la \
   $(top_builddir)/geometry/libcoot-geometry.la      \
   $(top_builddir)/coords/libcoot-coords.la	     \
   $(top_builddir)/utils/libcoot-utils.la            \
   $(CLIPPER_LIBS) $(GEMMI_LIBS) $(MMDB_LIBS) $(RDKIT_LIBS)

# ---------- pythonic ------------------

EXTRA_DIST = coot-headless-api.i

dist_python_PYTHON = coot_headless_api.py

pyexec_LTLIBRARIES = _coot_headless_api.la

wrap-coot-api.cc: coot-headless-api.i molecules-container.hh
	swig -o $@ -python -c++ $<

_coot_headless_api_la_SOURCES = wrap-coot-api.cc molecules-container-swig.cc

_coot_headless_api_la_CXXFLAGS = -DUSE_PYTHON -DSWIG

_coot_headless_api_la_LIBADD = libcoot-api.la

_coot_headless_api_la_LDFLAGS = -module $(SHARED_LDFLAGS) --no-undefined

if OS_WIN32
# Python .pyd modules are simply DLLs, but they have to be called .pyd for
# python to find them, and libtool only creates .dll.
install-exec-hook:
	cp $(pyexecdir)/_coot_headless_api-0.dll $(pyexecdir)/_coot_headless_api.pyd
endif