From: Rafał Długołęcki Date: Mon, 1 Jul 2013 20:23:28 +0000 (+0200) Subject: Preparations for automake build. X-Git-Tag: 3.1~82 X-Git-Url: https://git.dlugolecki.net.pl/?p=vlp.git;a=commitdiff_plain;h=1effbcaeab964076d90aa6733f891ecf89a2a8a3 Preparations for automake build. --- 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