Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / openssl / crypto / srp / Makefile
blob41859d46fa7f4c1ab5c7e58fd9629e8162b0b17f
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 MAKE= make -f Makefile.ssl
10 MAKEDEPPROG= makedepend
11 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
12 MAKEFILE= Makefile.ssl
13 AR= ar r
15 CFLAGS= $(INCLUDES) $(CFLAG)
17 GENERAL=Makefile
18 TEST=srptest.c
19 APPS=
21 LIB=$(TOP)/libcrypto.a
22 LIBSRC=srp_lib.c srp_vfy.c
23 LIBOBJ=srp_lib.o srp_vfy.o
25 SRC= $(LIBSRC)
27 EXHEADER= srp.h
28 HEADER= $(EXHEADER)
30 top:
31 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
33 all: lib
35 lib: $(LIBOBJ)
36 $(AR) $(LIB) $(LIBOBJ)
37 $(RANLIB) $(LIB) || echo Never mind.
38 @touch lib
40 links:
41 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
42 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
43 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
45 install:
46 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
47 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
48 do \
49 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
50 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
51 done;
53 tags:
54 ctags $(SRC)
56 tests:
58 srptest: top srptest.c $(LIB)
59 $(CC) $(CFLAGS) -Wall -Werror -g -o srptest srptest.c $(LIB)
61 lint:
62 lint -DLINT $(INCLUDES) $(SRC)>fluff
64 depend:
65 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
67 dclean:
68 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
69 mv -f Makefile.new $(MAKEFILE)
71 clean:
72 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
74 # DO NOT DELETE THIS LINE -- make depend depends on it.
76 srp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
77 srp_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
78 srp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
79 srp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
80 srp_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
81 srp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
82 srp_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
83 srp_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
84 srp_lib.o: ../../include/openssl/sha.h ../../include/openssl/srp.h
85 srp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
86 srp_lib.o: ../cryptlib.h srp_grps.h srp_lcl.h srp_lib.c
87 srp_vfy.o: ../../e_os.h ../../include/openssl/asn1.h
88 srp_vfy.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
89 srp_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
90 srp_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
91 srp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
92 srp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
93 srp_vfy.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
94 srp_vfy.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
95 srp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
96 srp_vfy.o: ../../include/openssl/srp.h ../../include/openssl/stack.h
97 srp_vfy.o: ../../include/openssl/symhacks.h ../../include/openssl/txt_db.h
98 srp_vfy.o: ../cryptlib.h srp_lcl.h srp_vfy.c