Makefile.hpux10-cc 555 B

12345678910111213141516171819202122232425262728293031323334
  1. # Makefile.hpux-cc
  2. major=0.9.8
  3. slib=libssl
  4. sh_slib=$(slib).sl.$(major)
  5. clib=libcrypto
  6. sh_clib=$(clib).sl.$(major)
  7. all : $(clib).sl $(slib).sl
  8. $(clib)_pic.a : $(clib).a
  9. echo "Copying $? to $@"
  10. cp -p $? $@
  11. $(slib)_pic.a : $(slib).a
  12. echo "Copying $? to $@"
  13. cp -p $? $@
  14. $(sh_clib) : $(clib)_pic.a
  15. ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc
  16. $(clib).sl : $(sh_clib)
  17. rm -f $@
  18. ln -s $? $@
  19. $(sh_slib) : $(slib)_pic.a $(clib).sl
  20. ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc
  21. $(slib).sl : $(sh_slib)
  22. rm -f $@
  23. ln -s $? $@