2000-02-28 19:14:46 +00:00
|
|
|
# Makefile.hpux-cc
|
|
|
|
|
2002-04-10 12:34:32 +00:00
|
|
|
major=0.9.7
|
2000-02-28 19:14:46 +00:00
|
|
|
|
|
|
|
slib=libssl
|
2002-04-10 12:34:32 +00:00
|
|
|
sh_slib=$(slib).sl.$(major)
|
2000-02-28 19:14:46 +00:00
|
|
|
|
|
|
|
clib=libcrypto
|
2002-04-10 12:34:32 +00:00
|
|
|
sh_clib=$(clib).sl.$(major)
|
2000-02-28 19:14:46 +00:00
|
|
|
|
|
|
|
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
|
2002-04-10 12:34:32 +00:00
|
|
|
ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc
|
2000-02-28 19:14:46 +00:00
|
|
|
|
|
|
|
$(clib).sl : $(sh_clib)
|
|
|
|
rm -f $@
|
|
|
|
ln -s $? $@
|
|
|
|
|
|
|
|
$(sh_slib) : $(slib)_pic.a $(clib).sl
|
2002-04-10 12:34:32 +00:00
|
|
|
ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc
|
2000-02-28 19:14:46 +00:00
|
|
|
|
|
|
|
$(slib).sl : $(sh_slib)
|
|
|
|
rm -f $@
|
|
|
|
ln -s $? $@
|