summaryrefslogtreecommitdiff
path: root/lib/libXaw/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 16:56:39 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 16:56:39 +0000
commit2e4c23f58853bcf4ff63dbbaeb8782c7868e48f7 (patch)
treeeb644144d6e55acfb988211a51fdb94013cdcaa5 /lib/libXaw/Makefile.am
parentd500aedc10e37435d8a24b2a9de02422a989726c (diff)
import from X.Org 7.2RC2
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