diff options
author | Milan Broz <gmazyland@gmail.com> | 2009-09-10 12:41:18 +0000 |
---|---|---|
committer | Milan Broz <gmazyland@gmail.com> | 2009-09-10 12:41:18 +0000 |
commit | 1cc33f943e1a8f167612d7ca04a3eb4f53a9d134 (patch) | |
tree | 08305945205bacadd254039a69536c512d9690ed /lib/Makefile.am | |
parent | e479b0988f6054b20c7951044daa00955479a061 (diff) | |
download | cryptsetup-1cc33f943e1a8f167612d7ca04a3eb4f53a9d134.tar.gz cryptsetup-1cc33f943e1a8f167612d7ca04a3eb4f53a9d134.tar.bz2 cryptsetup-1cc33f943e1a8f167612d7ca04a3eb4f53a9d134.zip |
patch 1.patch
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@109 36d66b0a-2a48-0410-832c-cd162a569da5
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 57 |
1 files changed, 16 insertions, 41 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index c711f65..1822ded 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,28 +1,7 @@ moduledir = $(libdir)/cryptsetup -if BUILD_LIBDEVMAPPER -_LIBDEVMAPPER_LIBADD = @LIBDEVMAPPER_LIBS@ -_LIBDEVMAPPER_SOURCES = libdevmapper.c -_LIBDEVMAPPER_CFLAGS = -DBUILTIN_LIBDEVMAPPER -endif -libbbackend_devmapper_la_SOURCES = libdevmapper.c -libbbackend_devmapper_la_LDFLAGS = -avoid-version -module -libbbackend_devmapper_la_LIBADD = @LIBDEVMAPPER_LIBS@ -if SHARED_LIBDEVMAPPER -_LIBDEVMAPPER_SHLIB = libbbackend_devmapper.la -endif - -if BUILD_LIBGCRYPT -_LIBGCRYPT_LIBADD = @LIBGCRYPT_LIBS@ -_LIBGCRYPT_SOURCES = gcrypt.c -_LIBGCRYPT_CFLAGS = -DBUILTIN_GCRYPT -endif -libcrypto_gcrypt_la_SOURCES = gcrypt.c -libcrypto_gcrypt_la_LDFLAGS = -avoid-version -module -libcrypto_gcrypt_la_LIBADD = @LIBGCRYPT_LIBS@ -if SHARED_LIBGCRYPT -_LIBGCRYPT_SHLIB = libcrypto_gcrypt.la -endif +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libcryptsetup.pc INCLUDES = \ -I$(top_srcdir) \ @@ -34,32 +13,27 @@ INCLUDES = \ -DVERSION=\""$(VERSION)"\" \ -D_GNU_SOURCE \ -D_LARGEFILE64_SOURCE \ - -D_FILE_OFFSET_BITS=64 \ - @LIBDEVMAPPER_CFLAGS@ \ - $(_LIBDEVMAPPER_CFLAGS) \ - @LIBGCRYPT_CFLAGS@ \ - $(_LIBGCRYPT_CFLAGS) - -lib_LTLIBRARIES = \ - libcryptsetup.la + -D_FILE_OFFSET_BITS=64 -module_LTLIBRARIES = \ - $(_LIBDEVMAPPER_SHLIB) \ - $(_LIBGCRYPT_SHLIB) +lib_LTLIBRARIES = libcryptsetup.la if STATIC_LIBRARY _STATIC_LIBRARY = -static endif +libcryptsetup_la_DEPENDENCIES = libcryptsetup.sym + libcryptsetup_la_LDFLAGS = \ - $(_STATIC_LIBRARY) + $(_STATIC_LIBRARY) \ + --version-script=libcryptsetup.sym \ + -version-info 1:0:0 libcryptsetup_la_CFLAGS = -Wall libcryptsetup_la_LIBADD = \ - $(_LIBDEVMAPPER_LIBADD) \ - $(_LIBGCRYPT_LIBADD) \ @UUID_LIBS@ \ + @DEVMAPPER_LIBS@ \ + @LIBGCRYPT_LIBS@ \ ../luks/libluks.la libcryptsetup_la_SOURCES = \ @@ -69,8 +43,9 @@ libcryptsetup_la_SOURCES = \ libcryptsetup.h \ utils.c \ backends.c \ - $(_LIBDEVMAPPER_SOURCES) \ - $(_LIBGCRYPT_SOURCES) + libdevmapper.c \ + gcrypt.c + +include_HEADERS = libcryptsetup.h -include_HEADERS = \ - libcryptsetup.h +EXTRA_DIST = libcryptsetup.pc.in libcryptsetup.sym |