1 DEFAULT_INCLUDES = -I. -I$(top_builddir)
3 noinst_LTLIBRARIES = libmemzero.la
4 libmemzero_la_SOURCES = memzero.c memzero.h
5 libmemzero_la_CFLAGS = @CFLAGS_MEMZERO@
7 lib_LTLIBRARIES = libpwmd.la
8 libpwmd_ladir = $(includedir)
9 libpwmd_la_SOURCES = libpwmd.c libpwmd.h types.h gettext.h mem.h misc.c misc.h
10 libpwmd_la_HEADERS = libpwmd.h
11 libpwmd_la_LDFLAGS = -version-info @VER_MAJOR@:@VER_PATCH@:@VER_MINOR@ \
12 @PTHREAD_LIBS@ @GPG_ERROR_LIBS@ @LTLIBINTL@ \
14 libpwmd_la_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\" @GPG_ERROR_CFLAGS@ \
15 @PTHREAD_CFLAGS@ @LIBASSUAN_CFLAGS@ @CFLAGS_ORIG@
16 libpwmd_la_LIBADD = libmemzero.la
19 libpwmd_la_SOURCES += ssh.c ssh.h
20 libpwmd_la_LDFLAGS += @libssh2_LIBS@
21 libpwmd_la_CFLAGS += @libssh2_CFLAGS@
25 libpwmd_la_SOURCES += tls.c tls.h
26 libpwmd_la_CFLAGS += @GNUTLS_CFLAGS@
27 libpwmd_la_LDFLAGS += @GNUTLS_LIBS@
31 libpwmd_la_SOURCES += pinentry.c pinentry.h
35 libpwmd_la_LDFLAGS += -lcrack
41 pwmc_SOURCES += getopt_long.c getopt_long.h
43 pwmc_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\" @GPG_ERROR_CFLAGS@ \
44 @GNUTLS_CFLAGS@ @libssh2_CFLAGS@ @LIBASSUAN_CFLAGS@ @CFLAGS_ORIG@
45 pwmc_LDFLAGS = @GPG_ERROR_LIBS@ @LIBASSUAN_LIBS@ @GNUTLS_LIBS@ @libssh2_LIBS@
47 pwmc_DEPENDENCIES= libpwmd.la
50 pwmc_LDFLAGS += @READLINE_LIBS@
54 CPPFLAGS += -DMEM_DEBUG
56 libpwmd_la_SOURCES += mem.c