]> git.llucax.com Git - z.facultad/75.42/plaqui.git/commitdiff
Se agrega configure.in y se modifica Makefile.am a test/gtkmm/dnd para hacer mas
authorRicardo Markiewicz <gazer.arg@gmail.com>
Sun, 12 Oct 2003 05:45:03 +0000 (05:45 +0000)
committerRicardo Markiewicz <gazer.arg@gmail.com>
Sun, 12 Oct 2003 05:45:03 +0000 (05:45 +0000)
facil la compilacion. Ahora para compilar :
  #> aclocal
#> autoconf
#> automake -a
Solo la primera vez. Luego :
#> ./configure
#> make

Done!

tests/gtkmm/dnd/Makefile.am
tests/gtkmm/dnd/configure.in [new file with mode: 0644]

index 57974895f1acf0947f6d7163e399f65770c54899..24c23e2c547f779dc2793e2bbbf750c300e8c4e9 100644 (file)
@@ -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 (file)
index 0000000..1d759ac
--- /dev/null
@@ -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
+])
+