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

Contents of /libmcrypt/lib/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations)
Thu Feb 28 12:59:48 2002 UTC (22 years, 1 month ago) by nmav
Branch: MAIN
Changes since 1.12: +2 -1 lines
Added link options for win32 compatibility.

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26