2010-10-22 12:57:06 +02:00
|
|
|
AC_INIT(Makefile.am)
|
2012-10-20 02:08:50 +02:00
|
|
|
AM_INIT_AUTOMAKE(eye-on-manga, 0.1.0)
|
2010-10-22 12:57:06 +02:00
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
2010-10-25 22:57:25 +02:00
|
|
|
# Check for necessary packages
|
|
|
|
PKG_CHECK_MODULES(EOM, hildon-1 sqlite3)
|
|
|
|
# Add packages to flags and libs
|
2012-10-23 21:54:42 +02:00
|
|
|
CFLAGS="-Wall -Wextra $EOM_CFLAGS $CFLAGS"
|
2010-10-25 22:57:25 +02:00
|
|
|
LIBS="$EOM_LIBS $LIBS"
|
2010-10-25 23:18:15 +02:00
|
|
|
|
|
|
|
desktopentrydir=`$PKG_CONFIG osso-af-settings --variable=desktopentrydir`
|
|
|
|
|
|
|
|
# Application icon install directories
|
|
|
|
icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
|
|
|
|
icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
|
|
|
|
icon_64x64dir=$datadir/icons/hicolor/64x64/hildon
|
|
|
|
icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
|
|
|
|
|
|
|
|
AC_SUBST(desktopentrydir)
|
|
|
|
AC_SUBST(icon_26x26dir)
|
|
|
|
AC_SUBST(icon_40x40dir)
|
|
|
|
AC_SUBST(icon_64x64dir)
|
|
|
|
AC_SUBST(icon_scalabledir)
|
|
|
|
|
2010-10-25 22:57:25 +02:00
|
|
|
# Generate the Makefile from Makefile.in
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
2010-10-25 23:18:15 +02:00
|
|
|
src/Makefile \
|
|
|
|
data/Makefile
|
2010-10-22 12:57:06 +02:00
|
|
|
)
|