/[mcrypt]/libmcrypt/lib/Makefile.am
ViewVC logotype

Diff of /libmcrypt/lib/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by nmav, Sat Mar 8 17:30:52 2003 UTC revision 1.20 by nmav, Mon Apr 14 07:48:38 2003 UTC
# Line 24  mcrypt_symb.c: mcrypt_internal.h Line 24  mcrypt_symb.c: mcrypt_internal.h
24          @echo "/* This is automatically created. Don't touch... */" >> mcrypt_symb.c          @echo "/* This is automatically created. Don't touch... */" >> mcrypt_symb.c
25          @echo "" >> mcrypt_symb.c          @echo "" >> mcrypt_symb.c
26          -@for i in $(EXTRA_ALGOS); do \          -@for i in $(EXTRA_ALGOS); do \
27                  if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \                  f=$$i ; \
28                    if test x$$f = xthreeway; then f=3-way; \
29                    elif test x$$f = xsafer-sk64; then f=safer64; \
30                    elif test x$$f = xsafer-sk128; then f=safer128; fi; \
31                    if test -f ../modules/algorithms/$$f.c; then cat ../modules/algorithms/$$f.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
32                  if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \                  if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
33          done          done
34          @echo "" >> mcrypt_symb.c          @echo "" >> mcrypt_symb.c
35          @echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c          @echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c
36          -@for i in $(EXTRA_ALGOS); do \          -@for i in $(EXTRA_ALGOS); do \
37                    f=$$i ; \
38                    if test x$$f = xthreeway; then f=3-way; \
39                    elif test x$$f = xsafer-sk64; then f=safer64; \
40                    elif test x$$f = xsafer-sk128; then f=safer128; fi; \
41                  if test -f ../modules/modes/$$i.c; then echo "  {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \                  if test -f ../modules/modes/$$i.c; then echo "  {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \
42                  if test -f ../modules/algorithms/$$i.c; then echo "     {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \                  if test -f ../modules/algorithms/$$f.c; then echo "     {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \
43                  if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c 2>/dev/null; fi; \                  if test -f ../modules/algorithms/$$f.c; then cat ../modules/algorithms/$$f.c 2>/dev/null|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c 2>/dev/null; fi; \
44                  if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c 2>/dev/null; fi; \                  if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c 2>/dev/null; fi; \
45          done          done
46          @echo " {NULL, NULL}" >> mcrypt_symb.c          @echo " {NULL, NULL}" >> mcrypt_symb.c

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26