automake!
authorDavid Schleef <ds@schleef.org>
Tue, 5 Aug 2003 03:34:52 +0000 (03:34 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 5 Aug 2003 03:34:52 +0000 (03:34 +0000)
autogen.sh [new file with mode: 0755]
configure.ac [new file with mode: 0644]

diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..b2888cd
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+aclocal-1.7 -I m4
+autoheader
+autoconf
+automake-1.7 --add-missing --copy
+
+rm -f config.cache
+
+./configure --enable-maintainer-mode
+
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..727c87c
--- /dev/null
@@ -0,0 +1,45 @@
+
+AC_INIT(comedi/comedi_fops.c)
+
+AM_CONFIG_HEADER(config.h)
+
+AC_CANONICAL_TARGET([])
+
+PACKAGE=comedi
+VERSION=0.7.67
+
+AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
+AM_MAINTAINER_MODE
+
+AC_SUBST(PACKAGE)
+AC_SUBST(VERSION)
+
+AC_PROG_CC
+
+LINUX="/home/ds/linux/condor-kernel-2.4.20/linux-2.4.21"
+
+LINUX_LD="ld -m elf_i386 -r -e stext"
+LINUX_CFLAGS="-D__KERNEL__ -I/home/ds/linux/condor-kernel-2.4.20/linux-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE"
+
+AC_SUBST(LINUX_LD)
+AC_SUBST(LINUX_CFLAGS)
+
+
+COMEDI_CFLAGS="-Werror -I\$(top_srcdir)/include/"
+AC_SUBST(COMEDI_CFLAGS)
+
+moduledir="\$(libdir)/comedi"
+
+AC_SUBST(moduledir)
+
+
+AC_OUTPUT([
+Makefile
+modtool
+comedi/Makefile
+comedi/drivers/Makefile
+comedi/kcomedilib/Makefile
+])
+
+chmod +x modtool
+