Certificate callback doc.
[openssl.git] / fips / ecdsa / Makefile
1 #
2 # OpenSSL/fips/ecdsa/Makefile
3 #
4
5 DIR=    ecdsa
6 TOP=    ../..
7 CC=     cc
8 INCLUDES=
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG=    makedepend
14 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
15 MAKEFILE=       Makefile
16 AR=             ar r
17
18 CFLAGS= $(INCLUDES) $(CFLAG)
19
20 GENERAL=Makefile
21 TEST= fips_ecdsavs.c
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= fips_ecdsa_lib.c fips_ecdsa_sign.c fips_ecdsa_selftest.c
26 LIBOBJ= fips_ecdsa_lib.o fips_ecdsa_sign.o fips_ecdsa_selftest.o
27
28 SRC= $(LIBSRC)
29
30 EXHEADER=
31 HEADER= $(EXHEADER)
32
33 ALL=    $(GENERAL) $(SRC) $(HEADER)
34
35 top:
36         (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
37
38 all:    lib
39
40 lib:    $(LIBOBJ)
41         @echo $(LIBOBJ) > lib
42
43 files:
44         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
45
46 links:
47         @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
48         @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
49         @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
50
51 install:
52         @headerlist="$(EXHEADER)"; for i in $$headerlist; \
53         do  \
54           (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55           chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56         done
57
58 tags:
59         ctags $(SRC)
60
61 tests:
62
63 fips_test:
64
65 lint:
66         lint -DLINT $(INCLUDES) $(SRC)>fluff
67
68 depend:
69         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
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         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77 # DO NOT DELETE THIS LINE -- make depend depends on it.
78
79 fips_ecdsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
80 fips_ecdsa_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
81 fips_ecdsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
82 fips_ecdsa_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/fips.h
83 fips_ecdsa_lib.o: ../../include/openssl/opensslconf.h
84 fips_ecdsa_lib.o: ../../include/openssl/opensslv.h
85 fips_ecdsa_lib.o: ../../include/openssl/ossl_typ.h
86 fips_ecdsa_lib.o: ../../include/openssl/safestack.h
87 fips_ecdsa_lib.o: ../../include/openssl/stack.h
88 fips_ecdsa_lib.o: ../../include/openssl/symhacks.h fips_ecdsa_lib.c
89 fips_ecdsa_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
90 fips_ecdsa_selftest.o: ../../include/openssl/bn.h
91 fips_ecdsa_selftest.o: ../../include/openssl/crypto.h
92 fips_ecdsa_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
93 fips_ecdsa_selftest.o: ../../include/openssl/ecdsa.h
94 fips_ecdsa_selftest.o: ../../include/openssl/err.h ../../include/openssl/evp.h
95 fips_ecdsa_selftest.o: ../../include/openssl/fips.h
96 fips_ecdsa_selftest.o: ../../include/openssl/lhash.h
97 fips_ecdsa_selftest.o: ../../include/openssl/obj_mac.h
98 fips_ecdsa_selftest.o: ../../include/openssl/objects.h
99 fips_ecdsa_selftest.o: ../../include/openssl/opensslconf.h
100 fips_ecdsa_selftest.o: ../../include/openssl/opensslv.h
101 fips_ecdsa_selftest.o: ../../include/openssl/ossl_typ.h
102 fips_ecdsa_selftest.o: ../../include/openssl/safestack.h
103 fips_ecdsa_selftest.o: ../../include/openssl/stack.h
104 fips_ecdsa_selftest.o: ../../include/openssl/symhacks.h fips_ecdsa_selftest.c
105 fips_ecdsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
106 fips_ecdsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
107 fips_ecdsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
108 fips_ecdsa_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
109 fips_ecdsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
110 fips_ecdsa_sign.o: ../../include/openssl/obj_mac.h
111 fips_ecdsa_sign.o: ../../include/openssl/objects.h
112 fips_ecdsa_sign.o: ../../include/openssl/opensslconf.h
113 fips_ecdsa_sign.o: ../../include/openssl/opensslv.h
114 fips_ecdsa_sign.o: ../../include/openssl/ossl_typ.h
115 fips_ecdsa_sign.o: ../../include/openssl/safestack.h
116 fips_ecdsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
117 fips_ecdsa_sign.o: ../../include/openssl/symhacks.h fips_ecdsa_sign.c
118 fips_ecdsavs.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
119 fips_ecdsavs.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
120 fips_ecdsavs.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
121 fips_ecdsavs.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
122 fips_ecdsavs.o: ../../include/openssl/err.h ../../include/openssl/evp.h
123 fips_ecdsavs.o: ../../include/openssl/fips_rand.h ../../include/openssl/hmac.h
124 fips_ecdsavs.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
125 fips_ecdsavs.o: ../../include/openssl/objects.h
126 fips_ecdsavs.o: ../../include/openssl/opensslconf.h
127 fips_ecdsavs.o: ../../include/openssl/opensslv.h
128 fips_ecdsavs.o: ../../include/openssl/ossl_typ.h
129 fips_ecdsavs.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
130 fips_ecdsavs.o: ../../include/openssl/symhacks.h ../fips_utl.h fips_ecdsavs.c