Add missing SRC variable
[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 SRC= $(LIBSRC)
10
11 EXHEADER=jpake.h
12 TEST=jpaketest.c
13
14 top:
15         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
16
17 all:    lib
18
19 lib:    $(LIBOBJ)
20         $(ARX) $(LIB) $(LIBOBJ)
21         $(RANLIB) $(LIB) || echo Never mind.
22         @touch lib
23
24 links:
25         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
26         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
27
28 install:
29         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
30         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
31         do  \
32         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
33         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
34         done;
35
36 depend:
37         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
38         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
39
40 dclean:
41         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
42         mv -f Makefile.new $(MAKEFILE)
43
44 clean:
45         rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
46
47 # DO NOT DELETE THIS LINE -- make depend depends on it.
48
49 jpake.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
50 jpake.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
51 jpake.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
52 jpake.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
53 jpake.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
54 jpake.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
55 jpake.o: ../../include/openssl/symhacks.h jpake.c jpake.h
56 jpake_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
57 jpake_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
58 jpake_err.o: ../../include/openssl/err.h ../../include/openssl/jpake.h
59 jpake_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
60 jpake_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
61 jpake_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
62 jpake_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
63 jpake_err.o: jpake_err.c