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

Contents of /libmcrypt/lib/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations)
Mon Mar 11 09:55:04 2002 UTC (22 years ago) by nmav
Branch: MAIN
CVS Tags: libmcrypt_2_5_0
Changes since 1.14: +2 -1 lines
last changes for 2.5.0 release

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26