Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 155c93f
  • /
  • shlib
  • /
  • Makefile.hpux10-cc
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:4dc62ebd9ebc670ebb9d08ac6c2f63498a3c4617
directory badge Iframe embedding
swh:1:dir:51042f340b4078490866d0fa62757c28a28ad9aa
Makefile.hpux10-cc
# Makefile.hpux-cc

major=1

slib=libssl
sh_slib=$(slib).so.$(major)

clib=libcrypto
sh_clib=$(clib).so.$(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
	echo "collecting all object files for $@"
	find . -name \*.o -print > allobjs
	for obj in `ar t $(clib)_pic.a`; \
	do \
		grep /$$obj allobjs; \
	done >objlist
	echo "linking $@"
	ld -b -s -z +h $@ -o $@ `cat objlist` -lc 
	rm allobjs objlist

$(clib).sl : $(sh_clib)
	rm -f $@
	ln -s $? $@

$(sh_slib) : $(slib)_pic.a $(clib).sl
	echo "collecting all object files for $@"
	find . -name \*.o -print > allobjs
	for obj in `ar t $(slib)_pic.a`; \
	do \
		grep /$$obj allobjs; \
	done >objlist
	echo "linking $@"
	ld -b -s -z +h $@ +b /usr/local/ssl/lib:/usr/lib -o $@ `cat objlist` \
			-L. -lcrypto -lc
	rm -f allobjs objlist
        
$(slib).sl : $(sh_slib)
	rm -f $@
	ln -s $? $@

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top