Author: Ole Streicher <debian@liska.ath.cx>
Last-Update: 2012-05-16
Description: "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.
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,13 +1,13 @@
 ## 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
+libstarlink_pal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c
 
 # Force a link against SOFA
-libpal_la_LIBADD = $(libdir)/libsofa_c.la $(libdir)/libstarutil.la
+libstarlink_pal_la_LIBADD = $(libdir)/libsofa_c.la $(libdir)/libstarutil.la
 
 # Misc files
 dist_starnews_DATA = pal.news
@@ -16,7 +16,7 @@
 # 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"
@@ -99,7 +99,7 @@
 
 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)
