1 | ## Process this file with automake to produce Makefile.in
|
---|
2 |
|
---|
3 | lib_LTLIBRARIES = libpal.la
|
---|
4 |
|
---|
5 |
|
---|
6 | # Include palOne2One.c separately since it is a combo file
|
---|
7 | libpal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c $(PRIVATE_C_FILES)
|
---|
8 |
|
---|
9 | # If we are using a non-standard location
|
---|
10 | libpal_la_CPPFLAGS = $(ERFA_CPPFLAGS)
|
---|
11 | libpal_la_LDFLAGS = $(ERFA_LDFLAGS)
|
---|
12 |
|
---|
13 | # Force a link against ERFA and, optionally, starutil
|
---|
14 | libpal_la_LIBADD = $(ERFA_LIBADD) $(STARUTIL_LIBADD)
|
---|
15 |
|
---|
16 | # Misc files
|
---|
17 | dist_starnews_DATA = pal.news
|
---|
18 | dist_pkgdata_DATA = COPYING COPYING.LESSER README.md
|
---|
19 |
|
---|
20 | # Make all library code position independent. This is handy for creating
|
---|
21 | # shareable libraries from the static ones (Java JNI libraries).
|
---|
22 | if !NOPIC
|
---|
23 | libpal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
|
---|
24 | endif
|
---|
25 |
|
---|
26 | # install pal as "star/pal.h"
|
---|
27 | cincludedir = $(includedir)/star
|
---|
28 | cinclude_HEADERS = pal.h palmac.h
|
---|
29 |
|
---|
30 | noinst_HEADERS = $(PRIVATE_INCLUDES)
|
---|
31 |
|
---|
32 | PRIVATE_INCLUDES = pal1.h pal1sofa.h
|
---|
33 |
|
---|
34 | PUBLIC_C_FILES = \
|
---|
35 | palAddet.c \
|
---|
36 | palAirmas.c \
|
---|
37 | palAltaz.c \
|
---|
38 | palAmp.c \
|
---|
39 | palAmpqk.c \
|
---|
40 | palAop.c \
|
---|
41 | palAoppa.c \
|
---|
42 | palAoppat.c \
|
---|
43 | palAopqk.c \
|
---|
44 | palAtmdsp.c \
|
---|
45 | palCaldj.c \
|
---|
46 | palDafin.c \
|
---|
47 | palDe2h.c \
|
---|
48 | palDeuler.c \
|
---|
49 | palDfltin.c \
|
---|
50 | palDh2e.c \
|
---|
51 | palDjcal.c \
|
---|
52 | palDmat.c \
|
---|
53 | palDs2tp.c \
|
---|
54 | palDat.c \
|
---|
55 | palDmoon.c \
|
---|
56 | palDrange.c \
|
---|
57 | palDt.c \
|
---|
58 | palDtp2s.c \
|
---|
59 | palDtps2c.c \
|
---|
60 | palDtt.c \
|
---|
61 | palEcleq.c \
|
---|
62 | palEcmat.c \
|
---|
63 | palEl2ue.c \
|
---|
64 | palEpco.c \
|
---|
65 | palEpv.c \
|
---|
66 | palEtrms.c \
|
---|
67 | palEqecl.c \
|
---|
68 | palEqgal.c \
|
---|
69 | palEvp.c \
|
---|
70 | palFk45z.c \
|
---|
71 | palFk524.c \
|
---|
72 | palFk54z.c \
|
---|
73 | palGaleq.c \
|
---|
74 | palGalsup.c \
|
---|
75 | palGe50.c \
|
---|
76 | palGeoc.c \
|
---|
77 | palIntin.c \
|
---|
78 | palMap.c \
|
---|
79 | palMappa.c \
|
---|
80 | palMapqk.c \
|
---|
81 | palMapqkz.c \
|
---|
82 | palNut.c \
|
---|
83 | palNutc.c \
|
---|
84 | palOap.c \
|
---|
85 | palOapqk.c \
|
---|
86 | palObs.c \
|
---|
87 | palPa.c \
|
---|
88 | palPcd.c \
|
---|
89 | palPertel.c \
|
---|
90 | palPertue.c \
|
---|
91 | palPlanel.c \
|
---|
92 | palPlanet.c \
|
---|
93 | palPlante.c \
|
---|
94 | palPlantu.c \
|
---|
95 | palPm.c \
|
---|
96 | palPolmo.c \
|
---|
97 | palPrebn.c \
|
---|
98 | palPrec.c \
|
---|
99 | palPreces.c \
|
---|
100 | palPrenut.c \
|
---|
101 | palPv2el.c \
|
---|
102 | palPv2ue.c \
|
---|
103 | palPvobs.c \
|
---|
104 | palRdplan.c \
|
---|
105 | palRefco.c \
|
---|
106 | palRefro.c \
|
---|
107 | palRefv.c \
|
---|
108 | palRefz.c \
|
---|
109 | palRverot.c \
|
---|
110 | palRvgalc.c \
|
---|
111 | palRvlg.c \
|
---|
112 | palRvlsrd.c \
|
---|
113 | palRvlsrk.c \
|
---|
114 | palSubet.c \
|
---|
115 | palSupgal.c \
|
---|
116 | palUe2el.c \
|
---|
117 | palUe2pv.c \
|
---|
118 | palUnpcd.c \
|
---|
119 | palVers.c
|
---|
120 |
|
---|
121 | PRIVATE_C_FILES = \
|
---|
122 | pal1Atms.c \
|
---|
123 | pal1Atmt.c
|
---|
124 |
|
---|
125 | stardocs_DATA = @STAR_LATEX_DOCUMENTATION@
|
---|
126 |
|
---|
127 | TESTS = palTest
|
---|
128 |
|
---|
129 | check_PROGRAMS = palTest
|
---|
130 | palTest_SOURCES = palTest.c
|
---|
131 | palTest_LDADD = libpal.la
|
---|
132 |
|
---|
133 | # A target for making the SUN documentation. We do not do this automatically
|
---|
134 | palsun.tex: $(PUBLIC_C_FILES)
|
---|
135 | -rm -f palsun.tex all.c
|
---|
136 | cat $(PUBLIC_C_FILES) > all.c
|
---|
137 | ${STARCONF_DEFAULT_PREFIX}/bin/sst/prolat in=all.c out=palsun.tex single=no page=no atask=no document=no
|
---|
138 | -rm all.c
|
---|