2007-06-21 21:56:01 +02:00
|
|
|
--- common/Makefile.am
|
|
|
|
+++ common/Makefile.am
|
|
|
|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl
|
|
|
|
|
|
|
|
-AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)
|
|
|
|
+AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) -fPIC
|
|
|
|
|
|
|
|
common_sources = \
|
|
|
|
common-defs.h \
|
|
|
|
--- gl/Makefile.am
|
|
|
|
+++ gl/Makefile.am
|
|
|
|
@@ -13,6 +13,8 @@
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
|
|
|
|
|
|
|
|
+AM_CFLAGS = -fPIC
|
|
|
|
+
|
|
|
|
noinst_LIBRARIES = libgnu.a
|
|
|
|
|
|
|
|
libgnu_a_SOURCES =
|
|
|
|
--- jnlib/Makefile.am
|
|
|
|
+++ jnlib/Makefile.am
|
|
|
|
@@ -27,7 +27,7 @@
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/intl
|
|
|
|
|
|
|
|
# We need libgcrypt because libjnlib-config includes gcrypt.h
|
|
|
|
-AM_CFLAGS = $(LIBGCRYPT_CFLAGS)
|
|
|
|
+AM_CFLAGS = $(LIBGCRYPT_CFLAGS) -fPIC
|
|
|
|
|
|
|
|
noinst_LIBRARIES = libjnlib.a
|
|
|
|
|
|
|
|
--- tools/Makefile.am
|
|
|
|
+++ tools/Makefile.am
|
|
|
|
@@ -27,14 +27,14 @@
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common
|
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
|
|
|
-AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS)
|
|
|
|
+AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS) -fPIE
|
|
|
|
|
|
|
|
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
|
|
|
|
|
|
|
bin_SCRIPTS = gpgsm-gencert.sh
|
|
|
|
if HAVE_USTAR
|
|
|
|
-# bin_SCRIPTS += gpg-zip
|
|
|
|
-noinst_SCRIPTS = gpg-zip
|
|
|
|
+bin_SCRIPTS += gpg-zip
|
|
|
|
+#noinst_SCRIPTS = gpg-zip
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SYMCRYPTRUN
|
|
|
|
@@ -44,19 +44,19 @@
|
|
|
|
|
2007-10-26 01:46:05 +02:00
|
|
|
bin_PROGRAMS = gpgconf gpg-connect-agent gpgkey2ssh ${symcryptrun}
|
2007-06-21 21:56:01 +02:00
|
|
|
if !HAVE_W32_SYSTEM
|
2007-10-26 01:46:05 +02:00
|
|
|
-bin_PROGRAMS += watchgnupg gpgparsemail
|
|
|
|
+bin_PROGRAMS += watchgnupg gpgparsemail gpgsplit
|
2007-06-21 21:56:01 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
-noinst_PROGRAMS = clean-sat mk-tdata make-dns-cert gpgsplit
|
|
|
|
+noinst_PROGRAMS = clean-sat mk-tdata make-dns-cert
|
|
|
|
|
2007-10-26 01:46:05 +02:00
|
|
|
common_libs = $(libcommon) ../jnlib/libjnlib.a ../gl/libgnu.a
|
2007-06-21 21:56:01 +02:00
|
|
|
pwquery_libs = ../common/libsimple-pwquery.a
|
|
|
|
|
2007-10-26 01:46:05 +02:00
|
|
|
gpgsplit_LDADD = $(common_libs) \
|
|
|
|
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
|
2007-06-21 21:56:01 +02:00
|
|
|
$(ZLIBS) $(LIBINTL) $(LIBICONV)
|
|
|
|
-
|
|
|
|
+gpgsplit_LDFLAGS = -pie
|
|
|
|
gpgconf_SOURCES = gpgconf.c gpgconf.h gpgconf-comp.c no-libgcrypt.c
|
|
|
|
|
|
|
|
# jnlib/common sucks in gpg-error, will they, nil they (some compilers
|