From 4c53d28c0206826b9e51f9f0c8203426acc5627d Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 24 Aug 2011 23:22:24 -0500 Subject: Add pkg-config file Signed-off-by: Yaakov Selkowitz Acked-by: Gaetan Nadon --- Makefile.am | 3 +++ configure.ac | 3 ++- xaw3d.pc.in | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 xaw3d.pc.in diff --git a/Makefile.am b/Makefile.am index c74acb4..c23350b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,4 @@ SUBDIRS = include src + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = xaw3d.pc diff --git a/configure.ac b/configure.ac index 3e1bead..46ce725 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,7 @@ AC_SUBST(XAW3D_CFLAGS) AC_CONFIG_FILES([Makefile include/Makefile - src/Makefile]) + src/Makefile + xaw3d.pc]) AC_OUTPUT diff --git a/xaw3d.pc.in b/xaw3d.pc.in new file mode 100644 index 0000000..b243c52 --- /dev/null +++ b/xaw3d.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Xaw3d +Description: X 3D Athena Widgets Library +Version: @PACKAGE_VERSION@ +Requires: xproto xmu xt +Requires.private: x11 xext +Cflags: -I${includedir} +Libs: -L${libdir} -lXaw3d -- cgit v1.2.3