File: Makefile.am

package info (click to toggle)
regina-normal 4.5-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 16,824 kB
  • ctags: 7,862
  • sloc: cpp: 63,296; ansic: 12,913; sh: 10,556; perl: 3,294; makefile: 947; python: 188
file content (85 lines) | stat: -rw-r--r-- 2,024 bytes parent folder | download | duplicates (2)
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
##
##  Regina - A Normal Surface Theory Calculator
##  Makefile Template
##
##  Process this file with automake in the top-level directory
##  to produce Makefile.in.
##

KDE_OPTIONS=noautodist

INCLUDES = @ENGINE_INCLUDES@

SUBDIRS = \
  algebra \
  angle \
  census \
  enumerate \
  file \
  foreign \
  manifold \
  maths \
  packet \
  progress \
  snappea \
  split \
  subcomplex \
  surfaces \
  triangulation \
  utilities \
  doxygen

lib_LTLIBRARIES = libregina-engine.la

# With --enable-static-final, we'll need a convenience engine library as
# well as the usual shared library.

if STATIC_FINAL
noinst_LTLIBRARIES = libregina-engine-noinst.la
endif

pkginclude_HEADERS = docs.h engine.h shareableobject.h

libregina_engine_la_SOURCES = engine.cpp shareableobject.cpp
libregina_engine_la_LDFLAGS = -release @PACKAGE_VERSION@
libregina_engine_la_LIBADD = \
  algebra/libalgebra.la \
  angle/libangle.la \
  census/libcensus.la \
  file/libfile.la \
  foreign/libforeign.la \
  manifold/libmanifold.la \
  maths/libmaths.la \
  packet/libpacket.la \
  progress/libprogress.la \
  snappea/libsnappea.la \
  split/libsplit.la \
  subcomplex/libsubcomplex.la \
  surfaces/libsurfaces.la \
  triangulation/libtriangulation.la \
  utilities/libutilities.la \
  @ENGINE_LIBS@

libregina_engine_noinst_la_SOURCES = engine.cpp shareableobject.cpp
libregina_engine_noinst_la_LIBADD = $(libregina_engine_la_LIBADD)

man_MANS = regina-engine-config.1

EXTRA_DIST = README.txt checkdocs regina-engine-config.in $(man_MANS)

## ----------------------- Custom targets ----------------------------

.PHONY : install-data-local install-exec-local uninstall-local

install-data-local :
	$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
	$(INSTALL_DATA) regina-config.h $(DESTDIR)$(pkgincludedir)

install-exec-local :
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	$(INSTALL_SCRIPT) regina-engine-config $(DESTDIR)$(bindir)

uninstall-local :
	rm -f $(DESTDIR)$(pkgincludedir)/regina-config.h
	rm -f $(DESTDIR)$(bindir)/regina-engine-config