diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 23:22:24 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 23:34:17 -0500 |
commit | 4c53d28c0206826b9e51f9f0c8203426acc5627d (patch) | |
tree | 2721b54445931d30215155cdd44383cf57abe3a0 | |
parent | 82bbbca4365d30462f8c869c0595991e29ab993a (diff) |
Add pkg-config file
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | xaw3d.pc.in | 12 |
3 files changed, 17 insertions, 1 deletions
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 |