[gnome-commander] Compile source files in the relative sub-directories, fixes automake warning



commit afc9c8fa1f81c81f5f39f279043ac841551d1f98
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Tue Sep 19 22:39:49 2017 +0200

    Compile source files in the relative sub-directories, fixes automake warning

 configure.ac      |    2 +-
 tests/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 773e414..f768e09 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_INIT([gnome-commander],[1.7.0],[http://bugzilla.gnome.org/enter_bug.cgi?produ
 AC_CONFIG_SRCDIR(src/gnome-cmd-includes.h)
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([subdir-objects])
 
 YELP_HELP_INIT
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 230b325..79aa536 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -93,7 +93,7 @@ iv_datapresentation_CXXFLAGS = $(AM_CPPFLAGS)
 iv_datapresentation_LDFLAGS = $(INTVLIBS)
 iv_datapresentation_LDADD = $(ADDITIONAL_LDADD)
 
-utils_no_dependencies_SOURCES = utils_no_dependencies_tests.cc $(top_srcdir)/src/utils-no-dependencies.cc 
gcmd_tests_main.cc
+utils_no_dependencies_SOURCES = utils_no_dependencies_tests.cc ../src/utils-no-dependencies.cc 
gcmd_tests_main.cc
 utils_no_dependencies_CXXFLAGS = $(AM_CPPFLAGS)
 utils_no_dependencies_LDFLAGS = $(GCMD_LIBS)
 utils_no_dependencies_LDADD = $(ADDITIONAL_LDADD)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]