File: Makefile.am

package info (click to toggle)
gwyddion 2.52-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 46,588 kB
  • sloc: ansic: 367,740; python: 7,788; sh: 5,245; makefile: 4,317; xml: 3,631; cpp: 2,550; pascal: 418; perl: 154; ruby: 130
file content (117 lines) | stat: -rw-r--r-- 3,599 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
# $Id: Makefile.am 21237 2018-07-06 09:47:58Z klapetek $

# Put sources that are for some reason disabled yet present in svn checkouts
# here.  This makes them distributed and translations of their messages are
# kept.  If we remove them completely, various bits can get lost.
disabled_sources =

volumedir = $(pkglibdir)/modules/volume

# 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 = \
	volume_arithmetic.la \
	volume_asciiexport.la \
	volume_calibrate.la \
	volume_extract.la \
	volume_fdfit.la \
	volume_invert.la \
	volume_kmeans.la \
	volume_kmedians.la \
	volume_linestat.la \
	volume_mfmrecalc.la \
	volume_outliers.la \
	volume_planelevel.la \
	volume_planestat.la \
	volume_psf.la \
	volume_slice.la \
	volume_strayfield.la \
	volume_swaxes.la \
	volume_zcal.la \
	volumeops.la

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

volume_LTLIBRARIES = \
	$(volume_modules)

EXTRA_DIST = \
	$(disabled_sources)

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@
endif

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

volume_arithmetic_la_SOURCES  = volume_arithmetic.c
volume_asciiexport_la_SOURCES = volume_asciiexport.c
volume_calibrate_la_SOURCES   = volume_calibrate.c
volume_extract_la_SOURCES     = volume_extract.c
volume_fdfit_la_SOURCES       = volume_fdfit.c
volume_invert_la_SOURCES      = volume_invert.c
volume_kmeans_la_SOURCES      = volume_kmeans.c
volume_kmedians_la_SOURCES    = volume_kmedians.c
volume_linestat_la_SOURCES    = volume_linestat.c
volume_mfmrecalc_la_SOURCES   = volume_mfmrecalc.c
volume_outliers_la_SOURCES    = volume_outliers.c
volume_planelevel_la_SOURCES  = volume_planelevel.c 
volume_planestat_la_SOURCES   = volume_planestat.c
volume_psf_la_SOURCES         = volume_psf.c
volume_slice_la_SOURCES       = volume_slice.c
volume_strayfield_la_SOURCES  = volume_strayfield.c
volume_swaxes_la_SOURCES      = volume_swaxes.c
volume_zcal_la_SOURCES        = volume_zcal.c
volumeops_la_SOURCES          = volumeops.c

volume_la_SOURCES = \
	$(volume_arithmetic_la_SOURCES) \
	$(volume_asciiexport_la_SOURCES) \
	$(volume_calibrate_la_SOURCES) \
	$(volume_extract_la_SOURCES) \
	$(volume_fdfit_la_SOURCES) \
	$(volume_invert_la_SOURCES) \
	$(volume_kmeans_la_SOURCES) \
	$(volume_kmedians_la_SOURCES) \
	$(volume_linestat_la_SOURCES) \
	$(volume_mfmrecalc_la_SOURCES) \
	$(volume_outliers_la_SOURCES) \
	$(volume_planelevel_la_SOURCES) \
	$(volume_planestat_la_SOURCES) \
	$(volume_psf_la_SOURCES) \
	$(volume_slice_la_SOURCES) \
	$(volume_strayfield_la_SOURCES) \
	$(volume_swaxes_la_SOURCES) \
	$(volume_zcal_la_SOURCES) \
	$(volumeops_la_SOURCES) \
	volume.c

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

CLEAN_FILES = volume.c

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