~ubuntu-branches/ubuntu/natty/libgcrypt11/natty-proposed

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-16 20:13:32 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090516201332-czkobpu32w318i16
Tags: 1.4.4-2ubuntu1
* Merge from Debian unstable (LP: #364535), remaining changes:
  - Add libgcrypt11-udeb for use by cryptsetup-udeb.
  - Add clean-la.mk, and add a symlink for the .la
  - Install to /lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
include_HEADERS = gcrypt.h gcrypt-module.h
29
29
 
30
30
lib_LTLIBRARIES = libgcrypt.la
31
 
bin_PROGRAMS = dumpsexp
 
31
bin_PROGRAMS = dumpsexp hmac256
32
32
if USE_RANDOM_DAEMON
33
33
sbin_PROGRAMS = gcryptrnd
34
34
bin_PROGRAMS += getrandom
42
42
endif
43
43
 
44
44
libgcrypt_la_CFLAGS = @GPG_ERROR_CFLAGS@
45
 
libgcrypt_la_SOURCES = g10lib.h visibility.c visibility.h types.h cipher.h \
 
45
libgcrypt_la_SOURCES = g10lib.h visibility.c visibility.h types.h \
 
46
        cipher.h cipher-proto.h \
46
47
        misc.c global.c sexp.c hwfeatures.c \
47
48
        stdmem.c stdmem.h secmem.c secmem.h \
48
 
        mpi.h missing-string.c module.c \
 
49
        mpi.h missing-string.c module.c fips.c \
 
50
        hmac256.c hmac256.h \
49
51
        ath.h ath.c
50
52
 
51
53
if HAVE_W32_SYSTEM
88
90
libgcrypt_la_LDFLAGS = $(gcrypt_res_ldflag) $(no_undefined) $(export_symbols) \
89
91
        $(libgcrypt_version_script_cmd) -version-info \
90
92
        @LIBGCRYPT_LT_CURRENT@:@LIBGCRYPT_LT_REVISION@:@LIBGCRYPT_LT_AGE@
91
 
libgcrypt_la_DEPENDENCIES = ../cipher/libcipher.la ../mpi/libmpi.la \
 
93
libgcrypt_la_DEPENDENCIES = \
 
94
        ../cipher/libcipher.la \
 
95
        ../random/librandom.la \
 
96
        ../mpi/libmpi.la \
92
97
        $(srcdir)/libgcrypt.vers $(gcrypt_deps)
93
 
libgcrypt_la_LIBADD = ../cipher/libcipher.la ../mpi/libmpi.la \
 
98
libgcrypt_la_LIBADD = \
 
99
        ../cipher/libcipher.la \
 
100
        ../random/librandom.la \
 
101
        ../mpi/libmpi.la \
94
102
        @LTLIBOBJS@ @GPG_ERROR_LIBS@
95
103
 
96
104
 
97
105
dumpsexp_SOURCES = dumpsexp.c
98
106
dumpsexp_LDADD = 
99
107
 
 
108
hmac256_SOURCES = hmac256.c
 
109
hmac256_CFLAGS = -DSTANDALONE
 
110
hmac256_LDADD = 
 
111
 
100
112
if USE_RANDOM_DAEMON
101
113
gcryptrnd_SOURCES = gcryptrnd.c
102
114
gcryptrnd_CFLAGS = $(GPG_ERROR_CFLAGS) $(PTH_CFLAGS)
109
121
install-data-local: install-def-file
110
122
 
111
123
uninstall-local: uninstall-def-file
 
124
 
 
125
# FIXME: We need to figure out how to get the actual name (parsing
 
126
# libgcrypt.la?) and how to create the hmac file already at link time
 
127
# so that it can be used without installing libgcrypt first.
 
128
#install-exec-hook:
 
129
#       ./hmac256 "What am I, a doctor or a moonshuttle conductor?" \
 
130
#          < $(DESTDIR)$(libdir)/libgcrypt.so.11.5.0 \
 
131
#          > $(DESTDIR)$(libdir)/.libgcrypt.so.11.5.0.hmac
 
132