/[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.11 by nmav, Sun Sep 2 20:16:42 2001 UTC revision 1.12 by nmav, Fri Sep 7 12:34:47 2001 UTC
# Line 1  Line 1 
1  DEFS = @DEFS@ -DLIBDIR=\"$(libdir)/@PACKAGE@/\" -I. -I.. $(INCLTDL)  DEFS = @DEFS@ -DLIBDIR=\"$(libdir)/@PACKAGE@/\" -I. -I.. $(INCLTDL) -I../modules/algorithms -I../modules/modes
2  include_HEADERS = mcrypt.h  include_HEADERS = mcrypt.h
3  EXTRA_DIST = libdefs.h bzero.h xmemory.h mcrypt_modules.h mcrypt_internal.h \  EXTRA_DIST = libdefs.h bzero.h xmemory.h mcrypt_modules.h mcrypt_internal.h \
4   libmcrypt.sym win32_comp.h mcrypt.h.in libmcrypt-config.in libmcrypt.m4   libmcrypt.sym win32_comp.h mcrypt.h.in libmcrypt-config.in libmcrypt.m4
5  lib_LTLIBRARIES = libmcrypt.la  lib_LTLIBRARIES = libmcrypt.la
6    
7  libmcrypt_la_SOURCES = mcrypt_extra.c mcrypt.c bzero.c xmemory.c mcrypt_modules.c win32_comp.c mcrypt_threads.c \  libmcrypt_la_SOURCES = mcrypt_extra.c mcrypt.c bzero.c xmemory.c mcrypt_modules.c win32_comp.c mcrypt_threads.c \
8          mcrypt_symb.c          mcrypt_symb.c
9    
10  libmcrypt_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \  libmcrypt_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
11            -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \            -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
12            -export-symbols libmcrypt.sym @LIBLTDL@            -export-symbols libmcrypt.sym @LIBLTDL@
13    libmcrypt_la_LIBADD = @EXTRA_OBJECTS@
14    
15  m4datadir = $(datadir)/aclocal  m4datadir = $(datadir)/aclocal
16  m4data_DATA = libmcrypt.m4  m4data_DATA = libmcrypt.m4
17  bin_SCRIPTS = libmcrypt-config  bin_SCRIPTS = libmcrypt-config
# Line 17  bin_SCRIPTS = libmcrypt-config Line 19  bin_SCRIPTS = libmcrypt-config
19  mcrypt_symb.c: libmcrypt-config  mcrypt_symb.c: libmcrypt-config
20          echo "#include \"mcrypt_internal.h\"" > mcrypt_symb.c          echo "#include \"mcrypt_internal.h\"" > mcrypt_symb.c
21          echo "" >> mcrypt_symb.c          echo "" >> mcrypt_symb.c
22          echo "This is automatically created. Don't touch..." >> mcrypt_symb.c          echo "/* This is automatically created. Don't touch... */" >> mcrypt_symb.c
23          echo "" >> mcrypt_symb.c          echo "" >> mcrypt_symb.c
24          -for i in $(EXTRA_SOURCES);do \          -for i in $(EXTRA_ALGOS); do \
25                  test -f ../modules/algorithms/$$i.c && $(LN_S) ../modules/algorithms/$$i.c >/dev/null 2>&1; \                  test -f ../modules/algorithms/$$i.c && cat ../modules/algorithms/$$i.c|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c; \
26                  test -f ../modules/algorithms/$$i.h && $(LN_S) ../modules/algorithms/$$i.h >/dev/null 2>&1; \                  test -f ../modules/modes/$$i.c && cat ../modules/modes/$$i.c|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c; \
                 test -f ../modules/modes/$$i.c && $(LN_S) ../modules/modes/$$i.c >/dev/null 2>&1; \  
                 test -f ../modules/modes/$$i.h && $(LN_S) ../modules/modes/$$i.h >/dev/null 2>&1; \  
                 cat $$i.c >> mcrypt_symb.c; \  
27          done          done
28          echo "" >> mcrypt_symb.c          echo "" >> mcrypt_symb.c
29          echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c          echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c
30          -for i in $(EXTRA_SOURCES);do \          -for i in $(EXTRA_ALGOS); do \
31                  test -f $$i.c && echo " {\"$$i\", NULL}, " >> mcrypt_symb.c; \                  test -f ../modules/modes/$$i.c && echo "        {\"$$i\", NULL}, " >> mcrypt_symb.c; \
32                  cat $$i.c|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c; \                  test -f ../modules/algorithms/$$i.c && echo "   {\"$$i\", NULL}, " >> mcrypt_symb.c; \
33                    test -f ../modules/algorithms/$$i.c && cat ../modules/algorithms/$$i.c|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c; \
34                    test -f ../modules/modes/$$i.c && cat ../modules/modes/$$i.c|grep define|grep LTX|awk '{print "\t{\""$$3"\", "$$3"},";}' >> mcrypt_symb.c; \
35          done          done
36          echo "  {NULL, NULL}" >> mcrypt_symb.c          echo "  {NULL, NULL}" >> mcrypt_symb.c
37          echo "};" >> mcrypt_symb.c          echo "};" >> mcrypt_symb.c
38    
39    clean-local:
40            -rm mcrypt_symb.c

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26