aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: d777c56ee6dac20a1c393a595c3524a13de7f563 (plain)
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
bin_PROGRAMS = pattern_sim process_hkl get_hkl indexamajig compare_hkl \
               powder_plot render_hkl calibrate_detector facetron \
               reintegrate estimate_background check_hkl

if HAVE_GTK
bin_PROGRAMS += hdfsee
endif

if HAVE_CAIRO
bin_PROGRAMS += cubeit
endif

AM_CFLAGS = -Wall
AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" -I$(top_builddir)/lib -I$(top_srcdir)/lib
LDADD = $(top_builddir)/lib/libgnu.a

pattern_sim_SOURCES = pattern_sim.c diffraction.c utils.c image.c cell.c \
                      hdf5-file.c detector.c sfac.c peaks.c reflections.c \
                      beam-parameters.c symmetry.c
if HAVE_OPENCL
pattern_sim_SOURCES += diffraction-gpu.c cl-utils.c
endif

process_hkl_SOURCES = process_hkl.c sfac.c statistics.c cell.c utils.c \
                      reflections.c symmetry.c stream.c beam-parameters.c

indexamajig_SOURCES = indexamajig.c hdf5-file.c utils.c cell.c image.c \
                      peaks.c index.c filters.c diffraction.c detector.c \
                      sfac.c dirax.c mosflm.c reflections.c templates.c \
                      symmetry.c geometry.c thread-pool.c beam-parameters.c
if HAVE_OPENCL
indexamajig_SOURCES += diffraction-gpu.c cl-utils.c
endif


if HAVE_GTK
hdfsee_SOURCES = hdfsee.c displaywindow.c render.c hdf5-file.c utils.c image.c \
                 filters.c
endif

get_hkl_SOURCES = get_hkl.c sfac.c cell.c utils.c reflections.c symmetry.c \
                  beam-parameters.c

compare_hkl_SOURCES = compare_hkl.c sfac.c cell.c utils.c reflections.c \
                      statistics.c symmetry.c

check_hkl_SOURCES = check_hkl.c sfac.c cell.c utils.c reflections.c \
                    statistics.c symmetry.c

powder_plot_SOURCES = powder_plot.c cell.c utils.c image.c hdf5-file.c \
                      detector.c

render_hkl_SOURCES = render_hkl.c cell.c reflections.c utils.c povray.c \
                     symmetry.c render.c hdf5-file.c image.c filters.c

calibrate_detector_SOURCES = calibrate_detector.c utils.c hdf5-file.c image.c \
                             filters.c peaks.c detector.c cell.c thread-pool.c

facetron_SOURCES = facetron.c cell.c hdf5-file.c utils.c detector.c peaks.c \
                   image.c geometry.c reflections.c stream.c thread-pool.c \
                   beam-parameters.c symmetry.c post-refinement.c hrs-scaling.c

if HAVE_CAIRO
cubeit_SOURCES = cubeit.c cell.c hdf5-file.c utils.c detector.c render.c \
                 filters.c image.c symmetry.c stream.c thread-pool.c
endif

reintegrate_SOURCES = reintegrate.c cell.c hdf5-file.c utils.c detector.c \
                      peaks.c image.c stream.c \
                      index.c dirax.c mosflm.c templates.c geometry.c \
                      symmetry.c thread-pool.c

estimate_background_SOURCES = estimate_background.c stream.c utils.c cell.c

INCLUDES = "-I$(top_srcdir)/data"

EXTRA_DIST = cell.h hdf5-file.h image.h  utils.h diffraction.h detector.h \
             sfac.h reflections.h list_tmp.h statistics.h displaywindow.h \
             render.h hdfsee.h dirax.h mosflm.h peaks.h index.h  filters.h \
             diffraction-gpu.h cl-utils.h symmetry.h \
             povray.h index-priv.h geometry.h templates.h render_hkl.h \
             stream.h thread-pool.h beam-parameters.h post-refinement.h \
             hrs-scaling.h