add automake files

Signed-off-by: Mirko Lindner <mirko@qi-hardware.com>
This commit is contained in:
Mirko Lindner 2009-11-03 20:00:33 +01:00
parent bc67739281
commit 3d7a8eb0e2
8 changed files with 66 additions and 0 deletions

1
AUTHORS Normal file
View File

@ -0,0 +1 @@
Mirko Lindner <mirko@qi-hardware.com>

0
ChangeLog Normal file
View File

4
Makefile.am Normal file
View File

@ -0,0 +1,4 @@
SUBDIRS = src
EXTRA_DIST = AUTHORS TODO README configure

0
NEWS Normal file
View File

0
README Normal file
View File

33
autogen.sh Executable file
View File

@ -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

19
configure.in Normal file
View File

@ -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 )

9
src/Makefile.am Normal file
View File

@ -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@