aboutsummaryrefslogtreecommitdiff
path: root/openssl/vendor/current/shlib/Makefile.hpux10-cc
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-06-20 17:32:05 +0000
committerRob Austein <sra@hactrn.net>2006-06-20 17:32:05 +0000
commiteca4feb580cffd6af474f599efe3fe99505a525c (patch)
tree59fa47c6f197931d6da746cadf7ad37ff1ec4557 /openssl/vendor/current/shlib/Makefile.hpux10-cc
Importing OpenSSL 0.9.8b
svn path=/openssl/vendor/current/CHANGES; revision=1
Diffstat (limited to 'openssl/vendor/current/shlib/Makefile.hpux10-cc')
-rw-r--r--openssl/vendor/current/shlib/Makefile.hpux10-cc34
1 files changed, 34 insertions, 0 deletions
diff --git a/openssl/vendor/current/shlib/Makefile.hpux10-cc b/openssl/vendor/current/shlib/Makefile.hpux10-cc
new file mode 100644
index 00000000..89c28dcf
--- /dev/null
+++ b/openssl/vendor/current/shlib/Makefile.hpux10-cc
@@ -0,0 +1,34 @@
+# Makefile.hpux-cc
+
+major=0.9.8
+
+slib=libssl
+sh_slib=$(slib).sl.$(major)
+
+clib=libcrypto
+sh_clib=$(clib).sl.$(major)
+
+all : $(clib).sl $(slib).sl
+
+
+$(clib)_pic.a : $(clib).a
+ echo "Copying $? to $@"
+ cp -p $? $@
+
+$(slib)_pic.a : $(slib).a
+ echo "Copying $? to $@"
+ cp -p $? $@
+
+$(sh_clib) : $(clib)_pic.a
+ ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc
+
+$(clib).sl : $(sh_clib)
+ rm -f $@
+ ln -s $? $@
+
+$(sh_slib) : $(slib)_pic.a $(clib).sl
+ ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc
+
+$(slib).sl : $(sh_slib)
+ rm -f $@
+ ln -s $? $@