From patchwork Wed Nov 7 02:14:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 994052 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42qVQd6NWCz9sD4 for ; Wed, 7 Nov 2018 13:16:25 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="GbT1Z0mN"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 42qVQd4bT8zF3F6 for ; Wed, 7 Nov 2018 13:16:25 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="GbT1Z0mN"; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42qVP81bKZzF3G4 for ; Wed, 7 Nov 2018 13:15:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="GbT1Z0mN"; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42qVP74qLNz9sD4; Wed, 7 Nov 2018 13:15:07 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1541556907; bh=IWoCtN3t5bLJD9iGy9vjEGuJQXnOpvx0voGcb+snEps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GbT1Z0mNuZ5rMGVtBxqX403YF3ZTZVn5k/1vf9pgf/puOxHYdcIf6Aq/sSwJiNHRP OWBNE3mUn7m/+eIUurf0ER/VwdvDhNCJ+VYzyFf+l6iIlOBZb0yra+olnpyoco1zRM n84cyg5ybe36Z89JeWly+byzPGgsf8cFaYUwSbKNlNwpWFF6Zi201fS6M/RoblfvGQ xBK6h8Wd1p4t1u2AzPUI0SGDkPBjn/tJTsbZb9/kp0Ws1yNJyEOivkPS8k59UXWc83 A3bo86uJsp1hVEMWwyFEpp+nYYAPQBTowOfPJzePh8wKSiq1wtt2H/laE5p0Pk9saP UuPbc3yfYz/Mg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Wed, 7 Nov 2018 13:14:53 +1100 Message-Id: <20181107021456.1219553-8-amitay@ozlabs.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181107021456.1219553-1-amitay@ozlabs.org> References: <20181107021456.1219553-1-amitay@ozlabs.org> Subject: [Pdbg] [PATCH 07/10] Makefile: Define arch dependent sources explicitly X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" This enables "make dist" to include all the arch sources. Signed-off-by: Amitay Isaacs --- Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 485cd95..e7c9a35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,7 +80,6 @@ pdbg_SOURCES = \ src/mem.c \ src/optcmd.c \ src/optcmd.h \ - src/options_@ARCH@.c \ src/options.h \ src/parsers.c \ src/parsers.h \ @@ -93,6 +92,16 @@ pdbg_SOURCES = \ src/scom.c \ src/thread.c +if TARGET_ARM +pdbg_SOURCES += src/options_arm.c +else +if TARGET_PPC +pdbg_SOURCES += src/options_ppc.c +else +pdbg_SOURCES += src/options_def.c +endif +endif + pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\" \ $(ARCH_FLAGS)