Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / openssl / crypto / rc5 / Makefile
blob8a8b00eb89e6038b912ff722dd8a56713e5f82e8
2 # OpenSSL/crypto/rc5/Makefile
5 DIR= rc5
6 TOP= ../..
7 CC= cc
8 CPP= $(CC) -E
9 INCLUDES=
10 CFLAG=-g
11 MAKEFILE= Makefile
12 AR= ar r
14 RC5_ENC= rc5_enc.o
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
18 AFLAGS= $(ASFLAGS)
20 GENERAL=Makefile
21 TEST=rc5test.c
22 APPS=
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC=rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c
26 LIBOBJ=rc5_skey.o rc5_ecb.o $(RC5_ENC) rc5cfb64.o rc5ofb64.o
28 SRC= $(LIBSRC)
30 EXHEADER= rc5.h
31 HEADER= rc5_locl.h $(EXHEADER)
33 ALL= $(GENERAL) $(SRC) $(HEADER)
35 top:
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38 all: lib
40 lib: $(LIBOBJ)
41 $(AR) $(LIB) $(LIBOBJ)
42 $(RANLIB) $(LIB) || echo Never mind.
43 @touch lib
45 rc5-586.s: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
46 $(PERL) asm/rc5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
48 files:
49 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
51 links:
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
56 install:
57 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
58 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
59 do \
60 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
61 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
62 done;
64 tags:
65 ctags $(SRC)
67 tests:
69 lint:
70 lint -DLINT $(INCLUDES) $(SRC)>fluff
72 depend:
73 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
76 dclean:
77 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78 mv -f Makefile.new $(MAKEFILE)
80 clean:
81 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
83 # DO NOT DELETE THIS LINE -- make depend depends on it.
85 rc5_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
86 rc5_ecb.o: ../../include/openssl/rc5.h rc5_ecb.c rc5_locl.h
87 rc5_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
88 rc5_enc.o: rc5_enc.c rc5_locl.h
89 rc5_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
90 rc5_skey.o: rc5_locl.h rc5_skey.c
91 rc5cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
92 rc5cfb64.o: rc5_locl.h rc5cfb64.c
93 rc5ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
94 rc5ofb64.o: rc5_locl.h rc5ofb64.c