summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-09-25 16:19:25 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-03 17:38:10 +0930
commit851097c45f02f2a033975cd3b2ed9490a4aa87bd (patch)
tree463b7b950038578b87aff19e59d118c02c6b2f6d
parent355e845c67fffc0220c56a17b1957288c9bbadc7 (diff)
Install synaptics-properties.h in xorg include path, install xorg-synaptics.pc.
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac4
-rw-r--r--include/Makefile.am2
-rw-r--r--xorg-synaptics.pc.in6
4 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5bb4c42..ad69d2a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,3 +20,7 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = include src man tools fdi
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = xorg-synaptics.pc
+
diff --git a/configure.ac b/configure.ac
index 20f7699..69f1041 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,6 +104,7 @@ XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
# Checks for pkg-config packages
PKG_CHECK_MODULES(XORG, xorg-server xproto $REQUIRED_MODULES)
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
+AC_SUBST([sdkdir])
CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
AC_SUBST([CFLAGS])
@@ -122,4 +123,5 @@ AC_OUTPUT([Makefile
man/Makefile
tools/Makefile
fdi/Makefile
- include/Makefile])
+ include/Makefile
+ xorg-synaptics.pc])
diff --git a/include/Makefile.am b/include/Makefile.am
index 2dfab10..90ca9c5 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -19,3 +19,5 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
EXTRA_DIST = synaptics.h synaptics-properties.h
+include_HEADERS = synaptics.h synaptics-properties.h
+
diff --git a/xorg-synaptics.pc.in b/xorg-synaptics.pc.in
new file mode 100644
index 0000000..159cfbf
--- /dev/null
+++ b/xorg-synaptics.pc.in
@@ -0,0 +1,6 @@
+sdkdir=@sdkdir@
+
+Name: synaptics
+Description: X.Org synaptics input driver.
+Version: @PACKAGE_VERSION@
+Cflags: -I${sdkdir}