From 3d7a8eb0e29af37dd98dc9495f2dde43896cfcbe Mon Sep 17 00:00:00 2001 From: Mirko Lindner Date: Tue, 3 Nov 2009 20:00:33 +0100 Subject: [PATCH] add automake files Signed-off-by: Mirko Lindner --- AUTHORS | 1 + ChangeLog | 0 Makefile.am | 4 ++++ NEWS | 0 README | 0 autogen.sh | 33 +++++++++++++++++++++++++++++++++ configure.in | 19 +++++++++++++++++++ src/Makefile.am | 9 +++++++++ 8 files changed, 66 insertions(+) create mode 100644 AUTHORS create mode 100644 ChangeLog create mode 100644 Makefile.am create mode 100644 NEWS create mode 100644 README create mode 100755 autogen.sh create mode 100644 configure.in create mode 100644 src/Makefile.am diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..54c35a3 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Mirko Lindner diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..1d95370 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,4 @@ + +SUBDIRS = src + +EXTRA_DIST = AUTHORS TODO README configure diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..231521b --- /dev/null +++ b/autogen.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# generated 2004/4/12 11:58:47 EDT by amp8165@localhost.(none) +# using glademm V2.0.0 + +if test ! -f install-sh ; then touch install-sh ; fi + +MAKE=`which gnumake` +if test ! -x "$MAKE" ; then MAKE=`which gmake` ; fi +if test ! -x "$MAKE" ; then MAKE=`which make` ; fi +HAVE_GNU_MAKE=`$MAKE --version|grep -c "Free Software Foundation"` + +if test "$HAVE_GNU_MAKE" != "1"; then +echo Using non GNU Make at $MAKE +else +echo Found GNU Make at $MAKE ... good. +fi + +echo This script runs configure and make... +echo You did remember necessary arguments for configure, right? + +if test ! -x `which aclocal` +then echo you need autoconfig and automake to generate the Makefile +fi +if test ! -x `which automake` +then echo you need automake to generate the Makefile +fi + +libtoolize --force --copy +autoheader +aclocal +automake --add-missing --copy --gnu +autoconf +#./configure $* && $MAKE diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..dcce569 --- /dev/null +++ b/configure.in @@ -0,0 +1,19 @@ + +AC_INIT(configure.in) +AM_INIT_AUTOMAKE(vido, 0.1) +AC_CONFIG_HEADER(config.h) + +AC_ISC_POSIX +AC_PROG_CC +AM_PROG_CC_STDC +AC_HEADER_STDC +AC_PROG_CPP +AC_PROG_CXX +AC_PROG_CXXCPP +AM_PROG_LIBTOOL + +AC_LANG_CPLUSPLUS + +PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 >= 2.8.0]) + +AC_OUTPUT(Makefile src/Makefile ) diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..c6518dc --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,9 @@ +bin_PROGRAMS = vido + +vido_SOURCES = main_window.cc search_dialog.cc vido.cc vido.cc_bkp + +noinst_HEADERS = main_window.hh search_dialog.hh + +AM_CXXFLAGS = @CXXFLAGS@ @GTKMM_CFLAGS@ + +vido_LDADD = @LIBS@ @GTKMM_LIBS@