summaryrefslogtreecommitdiff
path: root/lib/libXaw/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-04-23 19:37:49 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-04-23 19:37:49 +0000
commit042a2702a65d814e412e4d899d4c857ce3818f18 (patch)
tree07c410d0e69a24ff5178443a17742f0eb38383d5 /lib/libXaw/Makefile.am
parent3d360a6a07f1681fb0e7cb399f32b5dbfab3f103 (diff)
Update libXaw to version 1.0.7.
This version removes support for Xprint.
Diffstat (limited to 'lib/libXaw/Makefile.am')
-rw-r--r--lib/libXaw/Makefile.am30
1 files changed, 16 insertions, 14 deletions
diff --git a/lib/libXaw/Makefile.am b/lib/libXaw/Makefile.am
index 13d2d4c60..479948008 100644
--- a/lib/libXaw/Makefile.am
+++ b/lib/libXaw/Makefile.am
@@ -1,7 +1,4 @@
-SUBDIRS = include src man
-
-aclocaldir = $(datadir)/aclocal
-aclocal_DATA = xaw.m4
+SUBDIRS = include src man spec
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA =
@@ -9,38 +6,43 @@ pkgconfig_DATA =
if BUILD_XAW6
pkgconfig_DATA += xaw6.pc
-DEFAULT_LIB = libXaw6.so
+if PLATFORM_DARWIN
+DEFAULT_LIB = libXaw.6.@LIBEXT@
+else
+DEFAULT_LIB = libXaw6.@LIBEXT@
+endif
endif
if BUILD_XAW7
pkgconfig_DATA += xaw7.pc
-DEFAULT_LIB = libXaw7.so
+if PLATFORM_DARWIN
+DEFAULT_LIB = libXaw.7.@LIBEXT@
+else
+DEFAULT_LIB = libXaw7.@LIBEXT@
endif
-if BUILD_XAW8
-
-pkgconfig_DATA += xaw8.pc
-DEFAULT_LIB = libXaw8.so
-
endif
EXTRA_DIST = xaw6.pc.in \
xaw7.pc.in \
- xaw8.pc.in \
autogen.sh \
- xaw.m4 \
old-doc/Changelog \
old-doc/CHANGES \
ChangeLog
+#if !PLATFORM_WIN32
+#install-exec-hook:
+# cd $(DESTDIR)$(libdir) && rm -f libXaw.@LIBEXT@ && ln -s $(DEFAULT_LIB) libXaw.@LIBEXT@
+#endif
+
MAINTAINERCLEANFILES=ChangeLog
.PHONY: ChangeLog
ChangeLog:
- (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+ $(CHANGELOG_CMD)
dist-hook: ChangeLog