summaryrefslogtreecommitdiff
path: root/lib/libXaw/Makefile.am
diff options
context:
space:
mode:
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