]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/lhash/Makefile.ssl
Import of old SSLeay release: SSLeay 0.8.1b
[thirdparty/openssl.git] / crypto / lhash / Makefile.ssl
1 #
2 # SSLeay/crypto/lhash/Makefile
3 #
4
5 DIR= lhash
6 TOP= ../..
7 CC= cc
8 INCLUDES=
9 CFLAG=-g
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= makedepend -f Makefile.ssl
13 MAKEFILE= Makefile.ssl
14 AR= ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 GENERAL=Makefile
19 TEST=
20 APPS=
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=lhash.c lh_stats.c
24 LIBOBJ=lhash.o lh_stats.o
25
26 SRC= $(LIBSRC)
27
28 EXHEADER= lhash.h
29 HEADER= $(EXHEADER)
30
31 ALL= $(GENERAL) $(SRC) $(HEADER)
32
33 top:
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36 all: lib
37
38 lib: $(LIBOBJ)
39 $(AR) $(LIB) $(LIBOBJ)
40 sh $(TOP)/util/ranlib.sh $(LIB)
41 @touch lib
42
43 files:
44 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45
46 links:
47 /bin/rm -f Makefile
48 $(TOP)/util/point.sh Makefile.ssl Makefile ;
49 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
50 $(TOP)/util/mklink.sh ../../test $(TEST)
51 $(TOP)/util/mklink.sh ../../apps $(APPS)
52
53 install:
54 @for i in $(EXHEADER) ; \
55 do \
56 (cp $$i $(INSTALLTOP)/include/$$i; \
57 chmod 644 $(INSTALLTOP)/include/$$i ); \
58 done;
59
60 tags:
61 ctags $(SRC)
62
63 tests:
64
65 lint:
66 lint -DLINT $(INCLUDES) $(SRC)>fluff
67
68 depend:
69 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
70
71 dclean:
72 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
74
75 clean:
76 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78 errors:
79
80 # DO NOT DELETE THIS LINE -- make depend depends on it.