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

Contents of /libmcrypt/lib/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations)
Fri May 17 20:53:18 2002 UTC (21 years, 10 months ago) by nmav
Branch: MAIN
CVS Tags: libmcrypt_2_5_3, libmcrypt_2_5_2
Changes since 1.15: +12 -10 lines
Corrected stuff for comma separated algorithms. Do not open directories when not in LTDL mode.

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26