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 |
echo searching for $$i \ |
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; \ |
28 |
test -f ../modules/algorithms/$$i.c && cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; \ |
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; \ |
|
test -f ../modules/modes/$$i.c && cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; \ |
|
29 |
done |
done |
30 |
@echo "" >> mcrypt_symb.c |
@echo "" >> mcrypt_symb.c |
31 |
@echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c |
@echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c |
32 |
-@for i in $(EXTRA_ALGOS); do \ |
-@for i in $(EXTRA_ALGOS); do \ |
33 |
echo searching for $$i \ |
if test -f ../modules/modes/$$i.c; then echo " {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \ |
34 |
test -f ../modules/modes/$$i.c && echo " {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null ; \ |
if test -f ../modules/algorithms/$$i.c; then echo " {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \ |
35 |
test -f ../modules/algorithms/$$i.c && echo " {\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null ; \ |
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; \ |
36 |
test -f ../modules/algorithms/$$i.c && cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c 2>/dev/null; \ |
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; \ |
|
test -f ../modules/modes/$$i.c && cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c 2>/dev/null; \ |
|
37 |
done |
done |
38 |
@echo " {NULL, NULL}" >> mcrypt_symb.c |
@echo " {NULL, NULL}" >> mcrypt_symb.c |
39 |
@echo "};" >> mcrypt_symb.c |
@echo "};" >> mcrypt_symb.c |