]>
Commit | Line | Data |
---|---|---|
58964a49 RE |
1 | # |
2 | # SSLeay/crypto/md/Makefile | |
3 | # | |
4 | ||
5 | DIR= hmac | |
6 | TOP= ../.. | |
7 | CC= cc | |
8 | INCLUDES= | |
9 | CFLAG=-g | |
10 | INSTALLTOP=/usr/local/ssl | |
11 | MAKE= make -f Makefile.ssl | |
8039257d | 12 | MAKEDEPEND= $(TOP)/util/domd $(TOP) |
58964a49 RE |
13 | MAKEFILE= Makefile.ssl |
14 | AR= ar r | |
15 | ||
16 | CFLAGS= $(INCLUDES) $(CFLAG) | |
17 | ||
18 | GENERAL=Makefile | |
19 | TEST=hmactest.c | |
20 | APPS= | |
21 | ||
22 | LIB=$(TOP)/libcrypto.a | |
23 | LIBSRC=hmac.c | |
24 | LIBOBJ=hmac.o | |
25 | ||
26 | SRC= $(LIBSRC) | |
27 | ||
28 | EXHEADER= hmac.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) | |
99aab161 | 40 | $(RANLIB) $(LIB) |
58964a49 RE |
41 | @touch lib |
42 | ||
43 | files: | |
99aab161 | 44 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
58964a49 RE |
45 | |
46 | links: | |
bb8f3c58 | 47 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
ec577822 | 48 | @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) |
bb8f3c58 RE |
49 | @$(TOP)/util/mklink.sh ../../test $(TEST) |
50 | @$(TOP)/util/mklink.sh ../../apps $(APPS) | |
58964a49 RE |
51 | |
52 | install: | |
53 | @for i in $(EXHEADER) ; \ | |
54 | do \ | |
ec577822 BM |
55 | (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ |
56 | chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ | |
58964a49 RE |
57 | done; |
58 | ||
59 | tags: | |
60 | ctags $(SRC) | |
61 | ||
62 | tests: | |
63 | ||
64 | lint: | |
65 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
66 | ||
67 | depend: | |
68 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | |
69 | ||
70 | dclean: | |
99aab161 | 71 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
58964a49 RE |
72 | mv -f Makefile.new $(MAKEFILE) |
73 | ||
74 | clean: | |
bb8f3c58 | 75 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
58964a49 | 76 | |
58964a49 | 77 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 78 | |
bf57da07 BM |
79 | hmac.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
80 | hmac.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | |
81 | hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h | |
82 | hmac.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |
83 | hmac.o: ../../include/openssl/dsa.h ../../include/openssl/evp.h | |
84 | hmac.o: ../../include/openssl/hmac.h ../../include/openssl/idea.h | |
85 | hmac.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | |
86 | hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | |
87 | hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
88 | hmac.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | |
89 | hmac.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | |
90 | hmac.o: ../../include/openssl/rsa.h ../../include/openssl/sha.h | |
91 | hmac.o: ../../include/openssl/stack.h |