xref: /minix3/crypto/external/bsd/openssl/dist/shlib/Makefile.hpux10-cc (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc# Makefile.hpux-cc
2*ebfedea0SLionel Sambuc
3*ebfedea0SLionel Sambucmajor=0.9.8
4*ebfedea0SLionel Sambuc
5*ebfedea0SLionel Sambucslib=libssl
6*ebfedea0SLionel Sambucsh_slib=$(slib).sl.$(major)
7*ebfedea0SLionel Sambuc
8*ebfedea0SLionel Sambucclib=libcrypto
9*ebfedea0SLionel Sambucsh_clib=$(clib).sl.$(major)
10*ebfedea0SLionel Sambuc
11*ebfedea0SLionel Sambucall : $(clib).sl $(slib).sl
12*ebfedea0SLionel Sambuc
13*ebfedea0SLionel Sambuc
14*ebfedea0SLionel Sambuc$(clib)_pic.a : $(clib).a
15*ebfedea0SLionel Sambuc	echo "Copying $? to $@"
16*ebfedea0SLionel Sambuc	cp -p $? $@
17*ebfedea0SLionel Sambuc
18*ebfedea0SLionel Sambuc$(slib)_pic.a : $(slib).a
19*ebfedea0SLionel Sambuc	echo "Copying $? to $@"
20*ebfedea0SLionel Sambuc	cp -p $? $@
21*ebfedea0SLionel Sambuc
22*ebfedea0SLionel Sambuc$(sh_clib) : $(clib)_pic.a
23*ebfedea0SLionel Sambuc	ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc
24*ebfedea0SLionel Sambuc
25*ebfedea0SLionel Sambuc$(clib).sl : $(sh_clib)
26*ebfedea0SLionel Sambuc	rm -f $@
27*ebfedea0SLionel Sambuc	ln -s $? $@
28*ebfedea0SLionel Sambuc
29*ebfedea0SLionel Sambuc$(sh_slib) : $(slib)_pic.a $(clib).sl
30*ebfedea0SLionel Sambuc	ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc
31*ebfedea0SLionel Sambuc
32*ebfedea0SLionel Sambuc$(slib).sl : $(sh_slib)
33*ebfedea0SLionel Sambuc	rm -f $@
34*ebfedea0SLionel Sambuc	ln -s $? $@
35