File: Makefile.am

package info (click to toggle)
starlink-pal 0.9.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,808 kB
  • sloc: ansic: 6,689; makefile: 128; sh: 81
file content (144 lines) | stat: -rw-r--r-- 2,665 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
## Process this file with automake to produce Makefile.in

lib_LTLIBRARIES = libstarlink_pal.la


# Include palOne2One.c separately since it is a combo file
libstarlink_pal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c $(PRIVATE_C_FILES)

# If we are using a non-standard location
libstarlink_pal_la_CPPFLAGS = $(ERFA_CPPFLAGS)
libstarlink_pal_la_LDFLAGS = $(ERFA_LDFLAGS)

# Force a link against ERFA and, optionally, starutil
libstarlink_pal_la_LIBADD = -lerfa

# Misc files
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
libstarlink_pal_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 \
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 \
palFk45z.c \
palFk524.c \
palFk54z.c \
palGaleq.c \
palGalsup.c \
palGe50.c \
palGeoc.c \
palIntin.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 \
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

PRIVATE_C_FILES = \
pal1Atms.c \
pal1Atmt.c

doc: @STARDOCS@.pdf @STARDOCS@/index.html
.tex.pdf:
	pdflatex $^ && pdflatex $^

@STARDOCS@/index.html: @STARDOCS@.tex
	latex2html -noaddress -info 0 $^
	rm -f @STARDOCS@/@STARDOCS@.html @STARDOCS@/WARNINGS

TESTS = palTest

check_PROGRAMS = palTest
palTest_SOURCES = palTest.c
palTest_LDADD = libstarlink_pal.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