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.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/libXaw/Makefile.am b/lib/libXaw/Makefile.am
new file mode 100644
index 000000000..05dcc3a0b
--- /dev/null
+++ b/lib/libXaw/Makefile.am
@@ -0,0 +1,41 @@
+SUBDIRS = include src man
+
+aclocaldir = $(datadir)/aclocal
+aclocal_DATA = xaw.m4
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA =
+
+if BUILD_XAW6
+
+pkgconfig_DATA += xaw6.pc
+DEFAULT_LIB = libXaw6.so
+
+endif
+
+if BUILD_XAW7
+
+pkgconfig_DATA += xaw7.pc
+DEFAULT_LIB = libXaw7.so
+
+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
+
+if !PLATFORM_WIN32
+install-exec-hook:
+ cd $(DESTDIR)$(libdir) && rm -f libXaw.so && ln -s $(DEFAULT_LIB) libXaw.so
+endif