-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile.am
144 lines (128 loc) · 2.5 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
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
## Process this file with automake to produce Makefile.in
lib_LTLIBRARIES = libpal.la
# Include palOne2One.c separately since it is a combo file
libpal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c $(PRIVATE_C_FILES)
# If we are using a non-standard location
libpal_la_CPPFLAGS = $(ERFA_CPPFLAGS)
libpal_la_LDFLAGS = $(ERFA_LDFLAGS)
# Force a link against ERFA and, optionally, starutil
libpal_la_LIBADD = $(ERFA_LIBADD) $(STARUTIL_LIBADD)
# Misc files
dist_starnews_DATA = pal.news
dist_pkgdata_DATA = COPYING COPYING.LESSER README.md
# Make all library code position independent. This is handy for creating
# shareable libraries from the static ones (Java JNI libraries).
if !NOPIC
libpal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
endif
# install pal as "star/pal.h"
cincludedir = $(includedir)/star
cinclude_HEADERS = pal.h palmac.h
noinst_HEADERS = $(PRIVATE_INCLUDES)
PRIVATE_INCLUDES = pal1.h pal1sofa.h
PUBLIC_C_FILES = \
palAddet.c \
palAirmas.c \
palAltaz.c \
palAmp.c \
palAmpqk.c \
palAop.c \
palAoppa.c \
palAoppat.c \
palAopqk.c \
palAtmdsp.c \
palCaldj.c \
palDafin.c \
palDcmpf.c \
palDe2h.c \
palDeuler.c \
palDfltin.c \
palDh2e.c \
palDjcal.c \
palDmat.c \
palDs2tp.c \
palDat.c \
palDmoon.c \
palDrange.c \
palDt.c \
palDtp2s.c \
palDtps2c.c \
palDtt.c \
palEcleq.c \
palEcmat.c \
palEl2ue.c \
palEpco.c \
palEpv.c \
palEtrms.c \
palEqecl.c \
palEqgal.c \
palEvp.c \
palFitxy.c \
palFk45z.c \
palFk524.c \
palFk54z.c \
palGaleq.c \
palGalsup.c \
palGe50.c \
palGeoc.c \
palIntin.c \
palInvf.c \
palMap.c \
palMappa.c \
palMapqk.c \
palMapqkz.c \
palNut.c \
palNutc.c \
palOap.c \
palOapqk.c \
palObs.c \
palPa.c \
palPcd.c \
palPertel.c \
palPertue.c \
palPlanel.c \
palPlanet.c \
palPlante.c \
palPlantu.c \
palPm.c \
palPolmo.c \
palPrebn.c \
palPrec.c \
palPreces.c \
palPrenut.c \
palPv2el.c \
palPv2ue.c \
palPvobs.c \
palPxy.c \
palRanorm.c \
palRdplan.c \
palRefco.c \
palRefro.c \
palRefv.c \
palRefz.c \
palRverot.c \
palRvgalc.c \
palRvlg.c \
palRvlsrd.c \
palRvlsrk.c \
palSubet.c \
palSupgal.c \
palUe2el.c \
palUe2pv.c \
palUnpcd.c \
palVers.c \
palXy2xy.c
PRIVATE_C_FILES = \
pal1Atms.c \
pal1Atmt.c
stardocs_DATA = @STAR_LATEX_DOCUMENTATION@
TESTS = palTest
check_PROGRAMS = palTest
palTest_SOURCES = palTest.c
palTest_LDADD = libpal.la
# A target for making the SUN documentation. We do not do this automatically
palsun.tex: $(PUBLIC_C_FILES) palOne2One.c
-rm -f palsun.tex all.c
cat $^ > all.c
${STARCONF_DEFAULT_PREFIX}/bin/sst/prolat in=all.c out=palsun.tex single=no page=no atask=no document=no
-rm all.c