mirror of
git://projects.qi-hardware.com/vido.git
synced 2024-11-01 04:20:37 +02:00
add automake files
Signed-off-by: Mirko Lindner <mirko@qi-hardware.com>
This commit is contained in:
parent
bc67739281
commit
3d7a8eb0e2
4
Makefile.am
Normal file
4
Makefile.am
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
SUBDIRS = src
|
||||||
|
|
||||||
|
EXTRA_DIST = AUTHORS TODO README configure
|
33
autogen.sh
Executable file
33
autogen.sh
Executable 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
19
configure.in
Normal 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
9
src/Makefile.am
Normal 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@
|
Loading…
Reference in New Issue
Block a user