From patchwork Tue Jun 7 21:37:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 631834 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rPQvF0hQmz9t3k for ; Wed, 8 Jun 2016 08:18:33 +1000 (AEST) Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rPQvD72T8zDqcF for ; Wed, 8 Jun 2016 08:18:32 +1000 (AEST) X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Received: from ao2.it (ao2.it [92.243.12.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rPQv53rTczDqwG for ; Wed, 8 Jun 2016 08:18:25 +1000 (AEST) Received: from ao2 by ao2.it with local (Exim 4.84_2) (envelope-from ) id 1bAOgc-0004Z0-2A; Tue, 07 Jun 2016 23:37:22 +0200 From: Antonio Ospite To: Geoff Levand Subject: [PATCH 2/4] configure.ac: use the subdir-objects option Date: Tue, 7 Jun 2016 23:37:16 +0200 Message-Id: <1465335438-17503-3-git-send-email-ao2@ao2.it> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465335438-17503-1-git-send-email-ao2@ao2.it> References: <1465335438-17503-1-git-send-email-ao2@ao2.it> X-Face: z*RaLf`X<@C75u6Ig9}{oW$H; 1_\2t5)({*|jhM/Vb; ]yA5\I~93>J<_`<4)A{':UrE X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: petitboot@lists.ozlabs.org MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" This avoids clutter in the top-level dir, and also fixes this automake warning: Makefile.am:118: warning: source file 'twin_demos/twin_calc.c' is in a subdirectory, Makefile.am:118: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Signed-off-by: Antonio Ospite Acked-by: Stewart Smith --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2ab7f96..78dcf83 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,7 @@ AC_PREREQ([2.69]) AC_INIT([libtwin],[0.0.3],[Geoff Levand ]) AC_CONFIG_AUX_DIR(.) -AM_INIT_AUTOMAKE() +AM_INIT_AUTOMAKE([subdir-objects]) AM_MAINTAINER_MODE # Library versioning info