forked from scottransom/psrfits_utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
85 lines (67 loc) · 2.46 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I config
pkginclude_HEADERS = \
ascii_header.h \
calibrate_psrfits.h \
dedisperse.h \
fold.h \
merge_psrfits.h \
polyco.h \
polyco_struct.h \
psrfits.h
noinst_HEADERS =
dist_data_DATA = \
guppi_PSRFITS_v3.4_fold_template.txt \
guppi_PSRFITS_v3.4_search_template.txt
lib_LTLIBRARIES = libpsrfits_utils.la
libpsrfits_utils_la_SOURCES = \
ascii_header.c \
dedisperse.c \
downsample.c \
fold.c \
merge_psrfits_thread.c \
misc_utils.c \
plot_psrfits_thread.c \
polyco.c \
read_psrfits.c \
write_psrfits.c \
read_fbk.c
LDADD = libpsrfits_utils.la @CFITSIO_LIBS@
AM_CPPFLAGS = -DPSRFITS_TEMPLATE_DIR='"$(PSRFITS_UTILS)"' @CFITSIO_CFLAGS@
AM_CXXFLAGS = -std=gnu++11 -DPSRFITS_TEMPLATE_DIR='"$(PSRFITS_UTILS)"' @CFITSIO_CFLAGS@
AM_CFLAGS = -fopenmp
bin_PROGRAMS = fold_psrfits psrfits_singlepulse psrfits_subband combine_mocks merge_psrfits fits_extract dada2psrfits fbk2psrfits combine_S45dada_psrfits combine_Pico fbkbands2psrfits
#if HAVE_PGPLOT
#bin_PROGRAMS += plot_psrfits
#endif
if HAVE_PSRCHIVE
bin_PROGRAMS += calibrate_psrfits
endif
fold_psrfits_CFLAGS = @PTHREAD_CFLAGS@ $(AM_CFLAGS)
fold_psrfits_LDFLAGS = @PTHREAD_CFLAGS@ $(AM_LDFLAGS)
fold_psrfits_LDADD = libpsrfits_utils.la @PTHREAD_LIBS@ @CFITSIO_LIBS@
psrfits_subband_SOURCES = psrfits_subband.c \
psrfits_subband_cmd.h psrfits_subband_cmd.c
combine_mocks_SOURCES = combine_mocks.c \
combine_mocks_cmd.h combine_mocks_cmd.c
merge_psrfits_SOURCES = merge_psrfits.c \
merge_psrfits_cmd.h merge_psrfits_cmd.c
merge_psrfits_CFLAGS = @PTHREAD_CFLAGS@ $(AM_CFLAGS)
merge_psrfits_LDFLAGS = @PTHREAD_CFLAGS@ $(AM_LDFLAGS)
merge_psrfits_LDADD = libpsrfits_utils.la @PTHREAD_LIBS@ @CFITSIO_LIBS@
if HAVE_PSRCHIVE
calibrate_psrfits_SOURCES = calibrate_psrfits.C calibrate_psrfits_32b_thread.C
calibrate_psrfits_CPPFLAGS = @PTHREAD_CFLAGS@ $(AM_CFLAGS) @PSRCHIVE_CFLAGS@
calibrate_psrfits_LDFLAGS = @PTHREAD_CFLAGS@ $(AM_LDFLAGS)
calibrate_psrfits_LDADD = libpsrfits_utils.la @PTHREAD_LIBS@ @PSRCHIVE_LIBS@
endif
#if HAVE_PGPLOT
#plot_psrfits_SOURCES = plot_psrfits.c plot_psrfits_cmd.h plot_psrfits_cmd.c
#plot_psrfits_CFLAGS = @PTHREAD_CFLAGS@ @PGPLOT_CFLAGS@ $(AM_CFLAGS)
#plot_psrfits_LDFLAGS = @PTHREAD_CFLAGS@ $(AM_LDFLAGS)
#plot_psrfits_LDADD = libpsrfits_utils.la @PTHREAD_LIBS@ @PGPLOT_LIBS@ @CFITSIO_LIBS@
#if HAVE_PRESTO
#plot_psrfits_CFLAGS += @PRESTO_CFLAGS@
#plot_psrfits_LDADD += @PRESTO_LIBS@
#endif
#endif
fits_extract_SOURCES = fits_extract.c