File: Makefile.am

package info (click to toggle)
gwyddion 2.67-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 54,152 kB
  • sloc: ansic: 412,023; python: 7,885; sh: 5,492; makefile: 4,957; xml: 3,954; cpp: 2,107; pascal: 418; perl: 154; ruby: 130
file content (117 lines) | stat: -rw-r--r-- 3,245 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
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
# $Id: Makefile.am 25070 2022-10-06 15:01:28Z yeti-dn $

toolsdir = $(pkglibdir)/modules/tool

# Only bundle modules without own dependencies.  If something goes wrong with
# any required libraries at run-time, it will at most break these individual
# unbundled modules, not the bundle.
bundlable_modules = \
	corrlen.la \
	cprofile.la \
	crop.la \
	distance.la \
	filter.la \
	grainmeasure.la \
	grainremover.la \
	icolorange.la \
	level3.la \
	linestats.la \
	maskedit.la \
	pathlevel.la \
	profile.la \
	readvalue.la \
	roughness.la \
	rprofile.la \
	selectionmanager.la \
	sfunctions.la \
	spotremove.la \
	spectro.la \
	stats.la

# tools_modules is either the bundle or all the individual modules.
if MODULE_BUNDLING
tools_modules = tools.la
BUILT_SOURCES = tools.c
tools_la_CFLAGS = $(AM_CFLAGS) -DGWY_MODULE_BUNDLING
else
tools_modules = $(bundlable_modules)
endif

tools_LTLIBRARIES = \
	$(tools_modules)

if OS_MSWIN
no_undefined = -no-undefined
endif

if MODULE_DEPENDENCIES
module_libadd = \
	$(top_builddir)/app/libgwyapp2.la \
	$(top_builddir)/libdraw/libgwydraw2.la \
	$(top_builddir)/libgwyddion/libgwyddion2.la \
	$(top_builddir)/libgwydgets/libgwydgets2.la \
	$(top_builddir)/libgwymodule/libgwymodule2.la \
	$(top_builddir)/libprocess/libgwyprocess2.la \
	@GTK_LIBS@ @LIBM@
else
module_libadd = @LIBM@
endif

AM_CPPFLAGS = -I$(top_srcdir) -DG_LOG_DOMAIN=\"Module\"
AM_CFLAGS = @COMMON_CFLAGS@ @OPENMP_CFLAGS@
AM_LDFLAGS = -avoid-version -module $(no_undefined) $(module_libadd) @OPENMP_CFLAGS@

# Bundlable modules, must be listed in tools_la_SOURCES below.
corrlen_la_SOURCES          = corrlen.c
cprofile_la_SOURCES         = cprofile.c
crop_la_SOURCES             = crop.c
distance_la_SOURCES         = distance.c
filter_la_SOURCES           = filter.c
grainmeasure_la_SOURCES     = grainmeasure.c
grainremover_la_SOURCES     = grainremover.c
icolorange_la_SOURCES       = icolorange.c
level3_la_SOURCES           = level3.c
linestats_la_SOURCES        = linestats.c
maskedit_la_SOURCES         = maskedit.c
pathlevel_la_SOURCES        = pathlevel.c
profile_la_SOURCES          = profile.c
readvalue_la_SOURCES        = readvalue.c
roughness_la_SOURCES        = roughness.c
rprofile_la_SOURCES         = rprofile.c
stats_la_SOURCES            = stats.c
selectionmanager_la_SOURCES = selectionmanager.c
sfunctions_la_SOURCES       = sfunctions.c
spectro_la_SOURCES          = spectro.c
spotremove_la_SOURCES       = spotremove.c

tools_la_SOURCES = \
	$(corrlen_la_SOURCES) \
	$(cprofile_la_SOURCES) \
	$(crop_la_SOURCES) \
	$(distance_la_SOURCES) \
	$(filter_la_SOURCES) \
	$(grainmeasure_la_SOURCES) \
	$(grainremover_la_SOURCES) \
	$(icolorange_la_SOURCES) \
	$(level3_la_SOURCES) \
	$(linestats_la_SOURCES) \
	$(maskedit_la_SOURCES) \
	$(pathlevel_la_SOURCES) \
	$(profile_la_SOURCES) \
	$(readvalue_la_SOURCES) \
	$(roughness_la_SOURCES) \
	$(rprofile_la_SOURCES) \
	$(stats_la_SOURCES) \
	$(selectionmanager_la_SOURCES) \
	$(sfunctions_la_SOURCES) \
	$(spectro_la_SOURCES) \
	$(spotremove_la_SOURCES) \
	tools.c

tools.c: $(srcdir)/Makefile.am $(top_srcdir)/utils/gen-module-bundle.sh
	$(SHELL) $(top_srcdir)/utils/gen-module-bundle.sh tools.c $(bundlable_modules)

CLEAN_FILES = tools.c

clean-local:
	rm -f core.* *~