File: Makefile.am

package info (click to toggle)
cpl 6.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 18,764 kB
  • sloc: ansic: 111,368; sh: 14,549; makefile: 626
file content (145 lines) | stat: -rw-r--r-- 4,952 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
138
139
140
141
142
143
144
145
## Process this file with automake to produce Makefile.in

##   This file is part of the ESO Common Pipeline Library
##   Copyright (C) 2001-2008 European Southern Observatory

##   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 2 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


AUTOMAKE_OPTIONS = 1.8 foreign

DISTCLEANFILES = *~


if MAINTAINER_MODE

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

endif

AM_CPPFLAGS = $(CPL_CFLAGS)
AM_LDFLAGS = $(CFITSIO_LDFLAGS)

INCLUDES = $(CPLCORE_INCLUDES) $(CX_INCLUDES) $(CFITSIO_INCLUDES)

LDADD = $(LIBCPLCORE) $(LIBCFITSIO)

EXTRA_DIST = cpl_filter_body.h

check_PROGRAMS = cpl_type-test \
                 cpl_tools-test \
                 cpl_image_io-test \
                 cpl_image_basic-test \
                 cpl_image_iqe-test \
                 cpl_image_bpm-test \
                 cpl_image_resample-test \
                 cpl_filter-test \
                 cpl_fits-test \
                 cpl_stats-test \
                 cpl_math-test \
                 cpl_image_filter-test \
                 cpl_image_gen-test \
                 cpl_imagelist_io-test \
                 cpl_imagelist_basic-test \
                 cpl_io_fits-test \
                 cpl_mask-test \
                 cpl_table-test \
                 cpl_test-test \
                 cpl_matrix-test \
                 cpl_msg-test \
                 cpl_memory-test \
                 cpl_plot-test \
                 cpl_polynomial-test \
                 cpl_error-test \
                 cpl_errorstate-test \
                 cpl_vector-test \
                 cpl_bivector-test \
                 cpl_property-test \
                 cpl_propertylist-test

cpl_image_io_test_SOURCES = cpl_image_io-test.c
cpl_image_basic_test_SOURCES = cpl_image_basic-test.c
cpl_image_iqe_test_SOURCES = cpl_image_iqe-test.c
cpl_image_bpm_test_SOURCES = cpl_image_bpm-test.c
cpl_image_resample_test_SOURCES = cpl_image_resample-test.c
cpl_filter_test_SOURCES = cpl_filter-test.c
cpl_fits_test_SOURCES = cpl_fits-test.c
cpl_stats_test_SOURCES = cpl_stats-test.c
cpl_math_test_SOURCES = cpl_math-test.c
cpl_image_gen_test_SOURCES = cpl_image_gen-test.c
cpl_image_filter_test_SOURCES = cpl_image_filter-test.c
cpl_imagelist_io_test_SOURCES = cpl_imagelist_io-test.c
cpl_imagelist_basic_test_SOURCES = cpl_imagelist_basic-test.c
cpl_io_fits_test_SOURCES = cpl_io_fits-test.c
cpl_mask_test_SOURCES = cpl_mask-test.c
cpl_table_test_SOURCES = cpl_table-test.c
cpl_test_test_SOURCES = cpl_test-test.c
cpl_type_test_SOURCES = cpl_type-test.c
cpl_tools_test_SOURCES = cpl_tools-test.c
cpl_matrix_test_SOURCES = cpl_matrix-test.c
cpl_msg_test_SOURCES = cpl_msg-test.c
cpl_memory_test_SOURCES = cpl_memory-test.c
cpl_plot_test_SOURCES = cpl_plot-test.c
cpl_polynomial_test_SOURCES = cpl_polynomial-test.c
cpl_error_test_SOURCES = cpl_error-test.c
cpl_errorstate_test_SOURCES = cpl_errorstate-test.c
cpl_vector_test_SOURCES = cpl_vector-test.c
cpl_bivector_test_SOURCES = cpl_bivector-test.c
cpl_property_test_SOURCES = cpl_property-test.c
cpl_propertylist_test_SOURCES = cpl_propertylist-test.c

# Be sure to reexport important environment variables.
TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
	CPPFLAGS="$(CPPFLAGS)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
	LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
	OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)"


TESTS = cpl_image_io-test \
        cpl_image_basic-test \
        cpl_image_bpm-test \
        cpl_image_resample-test \
        cpl_filter-test \
        cpl_fits-test \
        cpl_stats-test \
        cpl_math-test \
        cpl_image_gen-test \
        cpl_image_filter-test \
        cpl_imagelist_io-test \
        cpl_imagelist_basic-test \
        cpl_io_fits-test \
        cpl_plot-test \
        cpl_polynomial-test \
        cpl_error-test \
        cpl_errorstate-test \
        cpl_table-test \
        cpl_test-test \
        cpl_type-test \
        cpl_tools-test \
        cpl_matrix-test \
        cpl_msg-test \
        cpl_memory-test \
        cpl_vector-test \
        cpl_bivector-test \
        cpl_property-test \
        cpl_propertylist-test

# We need to remove any files that the above tests created.
clean-local:
	$(RM) *.fits *.tfits *.log

if PURIFY
include $(top_builddir)/Makefile.purify
endif