Package: starlink-pal / 0.9.8-1

rename_library Patch series | 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
From: Ole Streicher <debian@liska.ath.cx>
Date: Wed, 11 Jan 2017 18:29:10 +0100
Subject: "pal" is a quite short name for a library that is so specific as
 this one. Therefore,
 "pal" is prefixed by the vendor name "starlink". . This patch can be
 re-created by running debian/create_patches_rename_library.sh on the freshly
 unpacked source tarball.

---
 Makefile.am | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c838703..c41b238 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,17 +1,17 @@
 ## Process this file with automake to produce Makefile.in
 
-lib_LTLIBRARIES = libpal.la
+lib_LTLIBRARIES = libstarlink_pal.la
 
 
 # Include palOne2One.c separately since it is a combo file
-libpal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c $(PRIVATE_C_FILES)
+libstarlink_pal_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)
+libstarlink_pal_la_CPPFLAGS = $(ERFA_CPPFLAGS)
+libstarlink_pal_la_LDFLAGS = $(ERFA_LDFLAGS)
 
 # Force a link against ERFA and, optionally, starutil
-libpal_la_LIBADD = $(ERFA_LIBADD) $(STARUTIL_LIBADD)
+libstarlink_pal_la_LIBADD = $(ERFA_LIBADD) $(STARUTIL_LIBADD)
 
 # Misc files
 dist_starnews_DATA = pal.news
@@ -20,7 +20,7 @@ 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
+libstarlink_pal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
 endif
 
 # install pal as "star/pal.h"
@@ -129,7 +129,7 @@ TESTS = palTest
 
 check_PROGRAMS = palTest
 palTest_SOURCES = palTest.c
-palTest_LDADD = libpal.la
+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