]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/jpake/Makefile
Add JPAKE.
[thirdparty/openssl.git] / crypto / jpake / Makefile
1 DIR=jpake
2 TOP=../..
3
4 CFLAGS= $(INCLUDES) $(CFLAG)
5
6 LIB=$(TOP)/libcrypto.a
7 LIBOBJ=jpake.o jpake_err.o
8 LIBSRC=jpake.c jpake_err.c
9
10 EXHEADER=jpake.h
11 TEST=jpaketest.c
12
13 top:
14 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
15
16 all: lib
17
18 lib: $(LIBOBJ)
19 $(AR) $(LIB) $(LIBOBJ)
20 $(RANLIB) $(LIB) || echo Never mind.
21 @touch lib
22
23 links:
24 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
25 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
26
27 depend:
28 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
29 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
30
31 jpaketest: top jpaketest.c $(LIB)
32 $(CC) $(CFLAGS) -Wall -Werror -g -o jpaketest jpaketest.c $(LIB)
33 # DO NOT DELETE THIS LINE -- make depend depends on it.
34
35 jpake.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
36 jpake.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
37 jpake.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
38 jpake.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
39 jpake.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
40 jpake.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
41 jpake.o: ../../include/openssl/symhacks.h jpake.c jpake.h
42 jpake_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
43 jpake_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
44 jpake_err.o: ../../include/openssl/err.h ../../include/openssl/jpake.h
45 jpake_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
46 jpake_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
47 jpake_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
48 jpake_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
49 jpake_err.o: jpake_err.c