diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | include/Makefile.am | 2 | ||||
-rw-r--r-- | xorg-evdev.pc.in | 6 |
5 files changed, 19 insertions, 2 deletions
@@ -24,3 +24,4 @@ missing stamp-h1 *.bz2 *.gz +*.pc diff --git a/Makefile.am b/Makefile.am index 11064e0..99f7160 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,10 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. AUTOMAKE_OPTIONS = foreign -SUBDIRS = src man +SUBDIRS = src man include + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = xorg-evdev.pc EXTRA_DIST = ChangeLog autogen.sh diff --git a/configure.ac b/configure.ac index 5a29874..72e6df7 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,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]) @@ -70,4 +71,8 @@ AC_HEADER_STDC XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION -AC_OUTPUT([Makefile src/Makefile man/Makefile]) +AC_OUTPUT([Makefile + src/Makefile + man/Makefile + include/Makefile + xorg-evdev.pc]) diff --git a/include/Makefile.am b/include/Makefile.am new file mode 100644 index 0000000..58d7c39 --- /dev/null +++ b/include/Makefile.am @@ -0,0 +1,2 @@ +EXTRA_DIST = evdev-properties.h +sdk_HEADERS = evdev-properties.h diff --git a/xorg-evdev.pc.in b/xorg-evdev.pc.in new file mode 100644 index 0000000..20710a6 --- /dev/null +++ b/xorg-evdev.pc.in @@ -0,0 +1,6 @@ +sdkdir=@sdkdir@ + +Name: xorg-evdev +Description: X.Org evdev input driver. +Version: @PACKAGE_VERSION@ +Cflags: -I${sdkdir} |