From 1effbcaeab964076d90aa6733f891ecf89a2a8a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Mon, 1 Jul 2013 22:23:28 +0200 Subject: [PATCH] Preparations for automake build. --- .gitignore | 1 + Makefile.am | 14 ++++++++++++++ autogen.sh | 7 +++++++ configure.ac | 12 ++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 Makefile.am create mode 100755 autogen.sh create mode 100644 configure.ac diff --git a/.gitignore b/.gitignore index 1bf42aa..428570b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Dir +Makefile diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..cfa500d --- /dev/null +++ b/Makefile.am @@ -0,0 +1,14 @@ +AUTOMAKE_OPTIONS = gnu subdir-objects +ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} + +bin_PROGRAMS = vlp + +vlp_SOURCES = dummy.c + +vlp_CPPFLAGS = \ + $(vlp_CFLAGS) + +vlp_LDADD = \ + $(vlp_LIBS) + +dist_noinst_SCRIPTS = autogen.sh diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..fe6532c --- /dev/null +++ b/autogen.sh @@ -0,0 +1,7 @@ +#! /bin/sh + +#aclocal \ +#&& automake --add-missing \ +#&& autoconf + +autoreconf --force --install diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..10e6db0 --- /dev/null +++ b/configure.ac @@ -0,0 +1,12 @@ +AC_INIT([Virtual Loglan Processor], [2.6], [rafal@dlugolecki.net.pl], [vlp], [http://dlugolecki.net.pl/software/vlp/]) +AC_PREREQ([2.59]) +AM_INIT_AUTOMAKE([1.10 no-define]) +AC_CONFIG_HEADERS([config.h]) +AC_PROG_CC +AC_PROG_CXX +AM_PROG_CC_C_O +AC_CONFIG_FILES([Makefile]) + +#PKG_CHECK_MODULES([vlp], [gtk+-3.0 libxml-2.0]) + +AC_OUTPUT -- 2.30.2