"Fossies" - the Fresh Open Source Software Archive

Member "libmcrypt-2.5.8/lib/Makefile.am" (19 Feb 2007, 2169 Bytes) of package /linux/privat/old/libmcrypt-2.5.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 DEFS = @DEFS@ -DLIBDIR=\"$(libdir)/@PACKAGE@/\" 
    2 INCLUDES = -I. -I.. $(INCLTDL) -I../modules/algorithms -I../modules/modes
    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 =  \
   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: mcrypt_internal.h
   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 		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; \
   27 		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; \
   28 	done
   29 	@echo "" >> mcrypt_symb.c
   30 	@echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c
   31 	-@for i in $(EXTRA_ALGOS); do \
   32 		if test -f ../modules/modes/$$i.c; then echo "	{\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \
   33 		if test -f ../modules/algorithms/$$i.c; then echo "	{\"$$i\", NULL}, " >> mcrypt_symb.c 2>/dev/null; fi; \
   34 		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; \
   35 		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; \
   36 	done
   37 	@echo "	{NULL, NULL}" >> mcrypt_symb.c
   38 	@echo "};" >> mcrypt_symb.c
   39 
   40 clean-local:
   41 	-rm mcrypt_symb.c