File: Makefile.am

package info (click to toggle)
cpl-plugin-uves 6.1.3+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 23,128 kB
  • sloc: ansic: 171,056; sh: 4,359; python: 3,002; makefile: 1,322
file content (97 lines) | stat: -rw-r--r-- 3,132 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
## Process this file with automake to produce Makefile.in

##   This file is part of the UVES Pipeline Library
##   Copyright (C) 2002,2003 European Southern Observatory

##   This library 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.6 foreign

DISTCLEANFILES = *~


if MAINTAINER_MODE

MAINTAINERCLEANFILES = Makefile.in

endif

AM_CPPFLAGS = $(all_includes)

LDADD = $(LIBFLAMES) $(LIBUVES) $(LIBCPLCORE) $(LIBCPLUI) $(LIBCPLDRS)
AM_LDFLAGS = $(CPL_LDFLAGS)
#AM_LDFLAGS = -static

pkginclude_HEADERS =

noinst_HEADERS =

check_PROGRAMS = flames-test \
                 flames_add_extra_des-test \
                 flames_dfs-test \
                 flames_drs-test \
		flames_cal_prep_sff_ofpos-test \
		flames_fibremask-test \
		flames_set_fibremask_from_file-test \
		flames_obs_scired-test flames_corvel-test
#		flames_midas_def-test 


flames_test_SOURCES = flames-test.c
flames_test_DEPENDENCIES = $(LIBFLAMES)

flames_add_extra_des_test_SOURCES = flames_add_extra_des-test.c
flames_add_extra_des_test_DEPENDENCIES = $(LIBFLAMES)

#flames_midas_def_test_SOURCES = flames_midas_def-test.c
#flames_midas_def_test_DEPENDENCIES = $(LIBFLAMES)

flames_dfs_test_SOURCES = flames_dfs-test.c
flames_dfs_test_DEPENDENCIES = $(LIBFLAMES)

flames_drs_test_SOURCES = flames_drs-test.c
flames_drs_test_DEPENDENCIES = $(LIBFLAMES)

flames_cal_prep_sff_ofpos_test_SOURCES = flames_cal_prep_sff_ofpos-test.c
flames_cal_prep_sff_ofpos_test_DEPENDENCIES = $(LIBFLAMES)

flames_corvel_test_SOURCES = flames_corvel-test.c
flames_corvel_test_DEPENDENCIES = $(LIBFLAMES)

flames_obs_scired_test_SOURCES = flames_obs_scired-test.c
flames_obs_scired_test_DEPENDENCIES = $(LIBFLAMES)

flames_fibremask_test_SOURCES = flames_fibremask-test.c
flames_fibremask_test_DEPENDENCIES = $(LIBFLAMES)

flames_set_fibremask_from_file_test_SOURCES = flames_set_fibremask_from_file-test.c
flames_set_fibremask_from_file_test_DEPENDENCIES = $(LIBFLAMES)

TESTS          = $(check_PROGRAMS)

# Expected failures
# XFAIL_TESTS =

# 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)" \
        MALLOC_PERTURB_=227 MALLOC_CHECK_=2

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