]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | # |
2 | # SSLeay/crypto/lhash/Makefile | |
3 | # | |
4 | ||
5 | DIR= lhash | |
6 | TOP= ../.. | |
7 | CC= cc | |
8 | INCLUDES= | |
9 | CFLAG=-g | |
e5f3045f BM |
10 | INSTALL_PREFIX= |
11 | OPENSSLDIR= /usr/local/ssl | |
d02b48c6 RE |
12 | INSTALLTOP=/usr/local/ssl |
13 | MAKE= make -f Makefile.ssl | |
cf1b7d96 RL |
14 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | |
d02b48c6 RE |
16 | MAKEFILE= Makefile.ssl |
17 | AR= ar r | |
18 | ||
19 | CFLAGS= $(INCLUDES) $(CFLAG) | |
20 | ||
21 | GENERAL=Makefile | |
22 | TEST= | |
23 | APPS= | |
24 | ||
25 | LIB=$(TOP)/libcrypto.a | |
26 | LIBSRC=lhash.c lh_stats.c | |
27 | LIBOBJ=lhash.o lh_stats.o | |
28 | ||
29 | SRC= $(LIBSRC) | |
30 | ||
31 | EXHEADER= lhash.h | |
32 | HEADER= $(EXHEADER) | |
33 | ||
34 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
35 | ||
36 | top: | |
37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
38 | ||
39 | all: lib | |
40 | ||
41 | lib: $(LIBOBJ) | |
42 | $(AR) $(LIB) $(LIBOBJ) | |
4e20a4e6 RL |
43 | @echo You may get an error following this line. Please ignore. |
44 | - $(RANLIB) $(LIB) | |
d02b48c6 RE |
45 | @touch lib |
46 | ||
47 | files: | |
99aab161 | 48 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
d02b48c6 RE |
49 | |
50 | links: | |
bb8f3c58 | 51 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
1314c344 BM |
52 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
53 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
d02b48c6 RE |
55 | |
56 | install: | |
57 | @for i in $(EXHEADER) ; \ | |
58 | do \ | |
e5f3045f BM |
59 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
60 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
d02b48c6 RE |
61 | done; |
62 | ||
63 | tags: | |
64 | ctags $(SRC) | |
65 | ||
66 | tests: | |
67 | ||
68 | lint: | |
69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
70 | ||
71 | depend: | |
f5d7a031 | 72 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
d02b48c6 RE |
73 | |
74 | dclean: | |
99aab161 | 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
76 | mv -f Makefile.new $(MAKEFILE) |
77 | ||
78 | clean: | |
bb8f3c58 | 79 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 80 | |
d02b48c6 | 81 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 82 | |
bf57da07 | 83 | lh_stats.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
7e701817 BM |
84 | lh_stats.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
85 | lh_stats.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
d6847aed | 86 | lh_stats.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
dd9d233e | 87 | lh_stats.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
62ab514e | 88 | lh_stats.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
cf1b7d96 | 89 | lh_stats.o: ../cryptlib.h lh_stats.c |
1c4f90a0 | 90 | lhash.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
cf1b7d96 RL |
91 | lhash.o: ../../include/openssl/e_os2.h ../../include/openssl/lhash.h |
92 | lhash.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
1c4f90a0 | 93 | lhash.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
cf1b7d96 | 94 | lhash.o: ../../include/openssl/symhacks.h lhash.c |