From 92089d89b2bc2cd1404d09e3dd057ef53bcbd5a2 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Thu, 26 May 2016 21:06:02 +0100 Subject: [PATCH] Add skeleton build system Signed-off-by: Ikey Doherty --- Makefile.am | 3 +++ autogen.sh | 14 ++++++++++++++ configure.ac | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 Makefile.am create mode 100755 autogen.sh create mode 100644 configure.ac diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..f6a2812 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + LICENSE.LGPL2.1 \ + README.md diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..2485332 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +autoreconf --force --install --symlink --warnings=all + +args="\ +--sysconfdir=/etc \ +--localstatedir=/var \ +--prefix=/usr \ +--enable-silent-rules" + +./configure CFLAGS="-g -O1 $CFLAGS" $args "$@" +make clean diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..537c432 --- /dev/null +++ b/configure.ac @@ -0,0 +1,32 @@ +AC_INIT([linux-steam-integration], 0.1, [ikey@solus-project.com], [linux-steam-integration], [https://github.com/solus-project/linux-steam-integration/issues]) +AC_CONFIG_AUX_DIR([build-aux]) +AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects]) +AC_PROG_CC +AC_PROG_CC_STDC +LT_PREREQ(2.2) +AC_CONFIG_HEADERS([config.h]) +AC_PREFIX_DEFAULT(/usr/local) +AM_SILENT_RULES([yes]) +LT_INIT([disable-static]) +AC_CONFIG_MACRO_DIR([m4]) + + +AC_CONFIG_FILES([Makefile]) + +AC_OUTPUT + +AC_MSG_RESULT([ + linux-steam-integration $VERSION + ======== + + prefix: ${prefix} + libdir: ${libdir} + sysconfdir: ${sysconfdir} + exec_prefix: ${exec_prefix} + bindir: ${bindir} + datarootdir: ${datarootdir} + + compiler: ${CC} + cflags: ${CFLAGS} + ldflags: ${LDFLAGS} +])