From 65f1c4bbd7f7abff9469789f3ddc746caa1a3965 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 9 Jan 2017 23:10:02 -0800 Subject: *: preliminary autotools adoption Builds were getting too time consuming, autotools is a very simple way to get incremental builds without having to dick with Makefiles myself. --- configure.ac | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..b7d0836 --- /dev/null +++ b/configure.ac @@ -0,0 +1,24 @@ +AC_INIT([rototiller], [1.0], [vcaputo@pengaru.com]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_CONFIG_MACRO_DIRS([m4]) +AC_PROG_CC +AM_PROG_CC_C_O +AM_PROG_AR +AC_PROG_RANLIB +AM_SILENT_RULES([yes]) +PKG_CHECK_MODULES(ROTOTILLER, libdrm) + +AX_PTHREAD +LIBS="$PTHREAD_LIBS $LIBS" +CFLAGS="$CFLAGS $PTHREAD_CFLAGS" +CC="$PTHREAD_CC" + +AC_CONFIG_FILES([ + Makefile + modules/Makefile + modules/ray/Makefile + modules/roto/Makefile + modules/sparkler/Makefile + modules/stars/Makefile +]) +AC_OUTPUT -- cgit v1.2.1