source: trunk/FACT++/pal/Makefile.am

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