aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-09-11 13:12:55 +0000
committerWerner Koch <[email protected]>2014-09-11 13:12:55 +0000
commit316171204d9a995f8b85431830bbc225ea144b48 (patch)
tree766c0767ece3ca4047002bb62c316041740c10e6
parentFix problems with ssize_t and off_t. (diff)
downloadlibgpg-error-316171204d9a995f8b85431830bbc225ea144b48.tar.gz
libgpg-error-316171204d9a995f8b85431830bbc225ea144b48.zip
Fix build problems with non-gmake (ie. AIX).
* src/Makefile.am: Do not distribute gpg-error.h. (lock-obj-pub.native.h): Prepend a "./" to match the dependency.
-rw-r--r--src/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d019fd7..a9c0a5a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -66,7 +66,7 @@ lock_obj_pub = \
lib_LTLIBRARIES = libgpg-error.la
-include_HEADERS = gpg-error.h
+nodist_include_HEADERS = gpg-error.h
bin_SCRIPTS = gpg-error-config
m4datadir = $(datadir)/aclocal
m4data_DATA = gpg-error.m4
@@ -151,11 +151,12 @@ libgpg_error_la_LDFLAGS = \
-version-info \
@LIBGPG_ERROR_LT_CURRENT@:@LIBGPG_ERROR_LT_REVISION@:@LIBGPG_ERROR_LT_AGE@
-libgpg_error_la_SOURCES = gpg-error.h gettext.h $(arch_sources) \
+libgpg_error_la_SOURCES = gettext.h $(arch_sources) \
gpgrt-int.h init.c init.h version.c lock.h thread.h \
estream.c estream-printf.c estream-printf.h \
strsource.c strerror.c code-to-errno.c code-from-errno.c \
visibility.c visibility.h
+nodist_libgpg_error_la_SOURCES = gpg-error.h
# libgpg_error_la_DEPENDENCIES = \
# $(srcdir)/gpg-error.vers
@@ -265,7 +266,7 @@ else
pre_mkheader_cmds = :
parts_of_gpg_error_h += ./lock-obj-pub.native.h
-lock-obj-pub.native.h: Makefile gen-posix-lock-obj posix-lock-obj.h
+./lock-obj-pub.native.h: Makefile gen-posix-lock-obj posix-lock-obj.h
./gen-posix-lock-obj >$@
endif