evp/e_aes_cbc_hmac_sha256.c: enable is on all AES-NI platforms, not only on AVX.
[openssl.git] / crypto / srp / Makefile
1 DIR=    srp
2 TOP=    ../..
3 CC=     cc
4 INCLUDES= -I.. -I$(TOP) -I../../include
5 CFLAG=-g
6 INSTALL_PREFIX=
7 OPENSSLDIR=     /usr/local/ssl
8 INSTALLTOP=/usr/local/ssl
9 MAKEDEPPROG=    makedepend
10 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
11 MAKEFILE=       Makefile.ssl
12 AR=             ar r
13
14 CFLAGS= $(INCLUDES) $(CFLAG)
15
16 GENERAL=Makefile
17 TEST=srptest.c
18 APPS=
19
20 LIB=$(TOP)/libcrypto.a
21 LIBSRC=srp_lib.c srp_vfy.c
22 LIBOBJ=srp_lib.o srp_vfy.o
23
24 SRC= $(LIBSRC)
25
26 EXHEADER= srp.h
27 HEADER= $(EXHEADER)
28
29 top:
30         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
31
32 all:    lib
33
34 lib:    $(LIBOBJ)
35         $(AR) $(LIB) $(LIBOBJ)
36         $(RANLIB) $(LIB) || echo Never mind.
37         @touch lib
38
39 files:
40         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
41
42 links:
43         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
44         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
45         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
46
47 install:
48         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
49         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
50         do  \
51         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
52         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
53         done;
54
55 tags:
56         ctags $(SRC)
57
58 tests:
59
60 srptest: top srptest.c $(LIB)
61         $(CC) $(CFLAGS) -Wall -Werror -g -o srptest srptest.c $(LIB)
62
63 lint:
64         lint -DLINT $(INCLUDES) $(SRC)>fluff
65
66 depend:
67         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
68
69 dclean:
70         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
71         mv -f Makefile.new $(MAKEFILE)
72
73 clean:
74         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
75
76 # DO NOT DELETE THIS LINE -- make depend depends on it.
77
78 srp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
79 srp_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
80 srp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
81 srp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
82 srp_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
83 srp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
84 srp_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
85 srp_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
86 srp_lib.o: ../../include/openssl/sha.h ../../include/openssl/srp.h
87 srp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
88 srp_lib.o: ../cryptlib.h srp_grps.h srp_lcl.h srp_lib.c
89 srp_vfy.o: ../../e_os.h ../../include/openssl/asn1.h
90 srp_vfy.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
91 srp_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
92 srp_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
93 srp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
94 srp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
95 srp_vfy.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
96 srp_vfy.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
97 srp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
98 srp_vfy.o: ../../include/openssl/srp.h ../../include/openssl/stack.h
99 srp_vfy.o: ../../include/openssl/symhacks.h ../../include/openssl/txt_db.h
100 srp_vfy.o: ../cryptlib.h srp_lcl.h srp_vfy.c