File: Makefile.hpux10-cc

package info (click to toggle)
openssl097 0.9.7k-3.1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 18,564 kB
  • ctags: 24,034
  • sloc: ansic: 178,335; asm: 19,384; perl: 17,782; makefile: 13,645; cpp: 4,379; sh: 2,687; lisp: 23
file content (34 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile.hpux-cc

major=0.9.7

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 $? $@