From: Ricardo Markiewicz Date: Sun, 12 Oct 2003 05:45:03 +0000 (+0000) Subject: Se agrega configure.in y se modifica Makefile.am a test/gtkmm/dnd para hacer mas X-Git-Tag: svn_import~446 X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/commitdiff_plain/b69633f0dee24d3744287ee72d0f52ea24fc4fce?ds=inline Se agrega configure.in y se modifica Makefile.am a test/gtkmm/dnd para hacer mas facil la compilacion. Ahora para compilar : #> aclocal #> autoconf #> automake -a Solo la primera vez. Luego : #> ./configure #> make Done! --- diff --git a/tests/gtkmm/dnd/Makefile.am b/tests/gtkmm/dnd/Makefile.am index 5797489..24c23e2 100644 --- a/tests/gtkmm/dnd/Makefile.am +++ b/tests/gtkmm/dnd/Makefile.am @@ -1,5 +1,16 @@ -include $(top_srcdir)/examples/Makefile.am_fragment +## Process this file with automake to produce Makefile.in + +INCLUDES = \ + -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ + -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + @PACKAGE_CFLAGS@ + +bin_PROGRAMS = drag_and_drop + +drag_and_drop_SOURCES = main.cc \ + dndwindow.cc \ + dndwindow.h + +drag_and_drop_LDADD = @PACKAGE_LIBS@ + -#Build the executable, but don't install it. -noinst_PROGRAMS = drag_and_drop -drag_and_drop_SOURCES = dndwindow.h dndwindow.cc main.cc diff --git a/tests/gtkmm/dnd/configure.in b/tests/gtkmm/dnd/configure.in new file mode 100644 index 0000000..1d759ac --- /dev/null +++ b/tests/gtkmm/dnd/configure.in @@ -0,0 +1,23 @@ +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(configure.in) +AM_INIT_AUTOMAKE(drag_and_drop, 0.1) +AM_MAINTAINER_MODE + +GNOME_COMMON_INIT + +AC_ISC_POSIX +AC_PROG_CXX +AM_PROG_CC_STDC +AC_HEADER_STDC + +pkg_modules="libgnomeui-2.0" +PKG_CHECK_MODULES(PACKAGE, + gtkmm-2.0 >= 2.0.0 ) +AC_SUBST(PACKAGE_CFLAGS) +AC_SUBST(PACKAGE_LIBS) + +AC_OUTPUT([ +Makefile +]) +