Initial build system files for proto module.

This commit is contained in:
Kevin E Martin 2005-05-06 01:46:31 +00:00
parent 5c06668fc4
commit 727dbc6cfa
4 changed files with 41 additions and 0 deletions

14
Makefile.am Normal file
View file

@ -0,0 +1,14 @@
trapdir = $(includedir)/X11/extensions
trap_HEADERS = \
xtrapbits.h \
xtrapddmi.h \
xtrapdi.h \
xtrapemacros.h \
xtraplib.h \
xtraplibp.h \
xtrapproto.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = trapext.pc
EXTRA_DIST = autogen.sh trapext.pc.in

12
autogen.sh Executable file
View file

@ -0,0 +1,12 @@
#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
$srcdir/configure --enable-maintainer-mode "$@"

6
configure.ac Normal file
View file

@ -0,0 +1,6 @@
AC_PREREQ([2.57])
AC_INIT([TrapExt], [7.0], [xorg@lists.freedesktop.org])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_OUTPUT([Makefile
trapext.pc])

9
trapext.pc.in Normal file
View file

@ -0,0 +1,9 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: TrapExt
Description: Trap extension headers
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}