aboutsummaryrefslogtreecommitdiff
path: root/libXaw/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libXaw/Makefile.am')
-rw-r--r--libXaw/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/libXaw/Makefile.am b/libXaw/Makefile.am
new file mode 100644
index 000000000..16951fea5
--- /dev/null
+++ b/libXaw/Makefile.am
@@ -0,0 +1,47 @@
+SUBDIRS = include src man spec
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA =
+
+if BUILD_XAW6
+
+pkgconfig_DATA += xaw6.pc
+if PLATFORM_DARWIN
+DEFAULT_LIB = libXaw.6.@LIBEXT@
+else
+DEFAULT_LIB = libXaw6.@LIBEXT@
+endif
+
+endif
+
+if BUILD_XAW7
+
+pkgconfig_DATA += xaw7.pc
+if PLATFORM_DARWIN
+DEFAULT_LIB = libXaw.7.@LIBEXT@
+else
+DEFAULT_LIB = libXaw7.@LIBEXT@
+endif
+
+endif
+
+EXTRA_DIST = xaw6.pc.in \
+ xaw7.pc.in \
+ autogen.sh \
+ 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:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog