From patchwork Sun Nov 29 19:44:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 7719291 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 66FA2BEEE1 for ; Sun, 29 Nov 2015 19:44:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F165720557 for ; Sun, 29 Nov 2015 19:44:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 066DD20555 for ; Sun, 29 Nov 2015 19:44:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752012AbbK2ToN (ORCPT ); Sun, 29 Nov 2015 14:44:13 -0500 Received: from mail-bn1on0055.outbound.protection.outlook.com ([157.56.110.55]:27242 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751743AbbK2ToL (ORCPT ); Sun, 29 Nov 2015 14:44:11 -0500 Received: from BLUPR0201CA0019.namprd02.prod.outlook.com (10.163.116.29) by CY1PR0201MB1578.namprd02.prod.outlook.com (10.163.140.13) with Microsoft SMTP Server (TLS) id 15.1.331.20; Sun, 29 Nov 2015 19:44:08 +0000 Received: from BN1BFFO11FD048.protection.gbl (2a01:111:f400:7c10::1:114) by BLUPR0201CA0019.outlook.office365.com (2a01:111:e400:52e7::29) with Microsoft SMTP Server (TLS) id 15.1.331.20 via Frontend Transport; Sun, 29 Nov 2015 19:44:07 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.173) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.173 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.173; helo=milsmgep12.sandisk.com; Received: from milsmgep12.sandisk.com (63.163.107.173) by BN1BFFO11FD048.mail.protection.outlook.com (10.58.145.3) with Microsoft SMTP Server id 15.1.331.11 via Frontend Transport; Sun, 29 Nov 2015 19:44:07 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com ( [172.22.12.162]) by milsmgep12.sandisk.com (Symantec Messaging Gateway) with SMTP id DE.3A.32178.7855B565; Sun, 29 Nov 2015 11:44:07 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.248.2; Sun, 29 Nov 2015 11:44:07 -0800 X-AuditID: ac160a69-f79f76d000007db2-2a-565b5587fec6 Received: from [10.50.231.67] ( [10.177.8.100]) by milsmgip11.sandisk.com (Symantec Messaging Gateway) with SMTP id C8.2B.15370.6855B565; Sun, 29 Nov 2015 11:44:06 -0800 (PST) Subject: [PATCH 1/4] Fix several automake warnings To: Adrian Chiris References: <565B553C.6020005@sandisk.com> CC: linux-rdma From: Bart Van Assche Message-ID: <565B5586.80005@sandisk.com> Date: Sun, 29 Nov 2015 11:44:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565B553C.6020005@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRmVeSWpSXmKPExsWyRoxnkW57aHSYweKDvBbzJ+xlt3h2qJfF gcnj2fTDTB6fN8kFMEVx2aSk5mSWpRbp2yVwZax70M1YMNW7Yl/HYbYGxt/2XYwcHBICJhJf v6d2MXICmWISF+6tZ+ti5OIQEjjBKHH2+jkmCGcHo8T51mPsEFUmEjdn3mKHSGxmlJh8dRFY QljASOLjpj+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eShFX9t4aZ3ZcvTt0RNLXugf6deVH3rwemH16UyLlx+wM32hFvJ 5tjvoQKSm5VYijMSDbWYi4oTAYx36ajuAQAA X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD048; 1:3T6wJSreu5Zs/Vs8FDn8eYfVVwyanjr7Rakhrq6F8bIsT4P/KV4y5VUeH9/OBxUghrRM8K8PGjo6MTpfMBh3KcJCfwkU9iFB68L5JR/Sh3keHI+0Z2ENmwZl7TeWw0YJRxOom6PEitDpjCKrV7fTC2AFSP3qK55C28D/4Xeyior4boj3Fh7rFzi5q/7zuLQyH3Zdi4jGETDYMERj+ro0zH+JP26RlDAKMzSwg3tTuWQSkluv5LOt5OpkGu9QpD661kKLWZOTazpfVpPtuddO/30g2H5h9MskgAJJEJkDvazvies7pnJccPVDT+N2tIJpZHLVFc2+JfR9tp17eC7oRmEDk+27UhSWkzvybNSTnDIGBGy5NSAIYk0AazqifjvGjXNEH56RqB12M7WlW1pTbm6+6GbkgK5fUvGxzLYLer8= X-Forefront-Antispam-Report: CIP:63.163.107.173; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(229853001)(65816999)(19580405001)(19580395003)(4001350100001)(5008740100001)(47776003)(23676002)(50466002)(575784001)(65956001)(50986999)(65806001)(1220700001)(76176999)(81156007)(36756003)(230700001)(2950100001)(64126003)(110136002)(15975445007)(5001960100002)(77096005)(189998001)(1096002)(11100500001)(54356999)(97736004)(83506001)(86362001)(586003)(33656002)(87936001)(69596002)(106466001)(92566002)(50929005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB1578; H:milsmgep12.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1578; 2:QcDw3cvaEMzsiOuV7Hs5qMXivB1nkG5XkNTaXTLyO6tAEbEFZdQMOkkSzBsSokT/xcsspaUEnd56tDASqonVUQM8amMuoBqsBFg0CdJfOdvsjiI871LWmnHqIgrsIX99e4UXViT2KUgGTx4zEWYXRQ==; 3:ujLA7Kh9+H11eWguCnvDlURbEm35nBKIusX8PPuVeVgUJsDMXrsL+3Uk94uP8uqrpXGyhnwrjftpg6U12bVoLXRaNzl1FhSb7cwWIhzKMsqr73Qqjb8v2Bplbu5L6wdIn3b21t9J6c7gqzjmysNsYFC38tLUjc+keJ7t/VmGhWyhmJwEe7ylrOZwK6WeEnotfQRhN8dmyY9SANkFN3aKTAXTal1BreZ63Lx0Zv2H0hivRQtx+NNRX+lbfTvByW/t2+PDRO9TrazE9FJkvq5uSA==; 25:RZldNzEnowOgOEE4f3DCQEOO8UFQMd1cHmD1R1QSFUaEZM62BpWzIyksW02qvj20TjHLwgV6rOzy7pdWzKh475SR1bVUm4oqvi7T6hF5dFWcptPGy9rvrg3q6hfHB9OwlVUNtiqRQYhEtMc0jHzjLJWe9cjkngsUpnG6IBVWm4CXGBEvErj3QoiLsGDkS7FS3ZsD5SvV42/uiV0x9Ay3/xfh9GHGS6adUv7vLLebCRtBHM+I5yIMxyUYO1/uvhJG6roCRQoOARIsTVL2Xra5Eg== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:CY1PR0201MB1578; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1578; 20:ZNTc8QC2d1hwJJMEWffXUHMjmyTPVx0QjU+gzTkt/Ia7MYfajhljSJwsXARVMK5jb222aFfyShFFh8zEby9IRBGqA0Dg1wKwm/GSIczgU8FKh1rPC4tb0IsgaS4SOVjsYn6jZSU9Cb67AUuqzll3whUwYkFk5hBi7O5o4VmTtHvZxWQvpR288QEsUaiOqxMhMvhNq5W5/+TRoD3xRe6lHVuLkIkGywXH8xT1abyT06k2DjDvtz+MATMeptgYII1w3lnYxeQAIf/pQk4FL+eRj429a8P0wyBqdw6Jxgk4kDcnYLl5qzI6MzYFYNPpnrj+Kk51QFW/fYHnsnLoMh4PNB+uwgljAK+4fBCy364rLp6FCe6WOoCDozNPe+2vdM5cxoXRiugEyRrM7z3VLmTXgvfDlx084qT1Tr6dRrjJpzxDDuX/d5RvInGFFz/LOuz8w6U+KvFY8tVy2O916JdmRQcA9aEsxORw5RwkuD62TCdXE1LVZltpiQWO7LC5Uh38 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569)(44728458202952); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001)(2002001); SRVR:CY1PR0201MB1578; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB1578; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1578; 4:36ROfR8somdAuXGBfBWrz/2NaIwZQy0q+UahhirWEuoBnuQBEdj5A/2HA+d9Jr+hla5gOwm35spPn0gVzXBhpQIGayag9OVfMY62uhKbz5/qvbkb8GGi5CBcUoUuRdfEqyOZES1RSQXFQtiiXbk3mnE7f0DyA1yXCmJn6ldUso+QtE91ZAVAAKxNEK4wbu/Q5w737mMc95Qrw9cTzd/y2qvgms+XGpocYAZ0jd6NswJMlAg/Rv5e9u6XymArBvV3FR9U5hSfHBY4ub9GWTU+e4nK0c35xeIxbZZE1JrPdcwjCIJIXLjjAOoCD9kUVvYM7ewH6rCeSFaNUPopXU99k0UwSnvW40TUAPK8ZZ5Bgykuy7FQj/4Jj843xQ7W4RHv89PHOyDmYu0uBIhcJnvqEOfvX2rY8PrF0N5JSvOyRr9gJwn2Hhg8Mm6OYCNLqOiZhJ+Z/HxKV0eTIITgW8N81Wxxe5MOgRe7YjumpZ5W6Xg= X-Forefront-PRVS: 0775716B9D X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAyMDFNQjE1Nzg7MjM6VUNjNWJCQzlmQUtITVZtQ1dkS3RZUi9M?= =?utf-8?B?OHdwZkVWR2J4cEZ5dDlkb2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XSRpvx3ro/AdXOn4+la9LZ/VwNL5gHjKrPNRXWzjYs4q5psusNNMQk4wUo+wujSMvRc/QOEsTLhrD74KpwsFPomSlTzNOFcteiAQhsw1F24uj8+4JBu4OWGt2xrTjwMA778Ku2UvKX+h8ZhTgUwxmBSJJUu1L5TwO6b0judXOltCPnQ4TVmPzbJiTMoDbFgsC299rS3SFA1p9Xoey68WJ8+ SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2015 19:44:07.8140 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.173]; Helo=[milsmgep12.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB1578 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, URIBL_BLACK autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoid that automake reports the following warning messages: configure.ac:13: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:13: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation small_utils/Makefile.am:50: warning: compiling 'mtserver.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac' warning: 'libdev_mgt.a': linking libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Signed-off-by: Bart Van Assche --- cmdif/Makefile.am | 2 +- cmdparser/Makefile.am | 2 -- configure.ac | 4 +++- dev_mgt/Makefile.am | 2 +- flint/Makefile.am | 2 +- mflash/Makefile.am | 2 +- mft_utils/Makefile.am | 2 +- mlxconfig/Makefile.am | 2 +- mlxfwops/lib/Makefile.am | 2 +- mstdump/crd_lib/Makefile.am | 2 +- mstdump/crd_main/Makefile.am | 2 +- mtcr_ul/Makefile.am | 2 +- reg_access/Makefile.am | 2 +- small_utils/Makefile.am | 2 +- tools_layouts/Makefile.am | 2 +- tools_res_mgmt/Makefile.am | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cmdif/Makefile.am b/cmdif/Makefile.am index 78aba47..8c03fe9 100644 --- a/cmdif/Makefile.am +++ b/cmdif/Makefile.am @@ -34,7 +34,7 @@ USER_DIR = $(top_srcdir) MTCR_DIR = $(USER_DIR)/include/mtcr_ul TOOLS_LAYOUTS_DIR = $(USER_DIR)/tools_layouts -INCLUDES = -I. -I../common -I../tools_layouts -I$(MTCR_DIR) -I.. -I$(USER_DIR)/mtcr_ul +AM_CPPFLAGS = -I. -I../common -I../tools_layouts -I$(MTCR_DIR) -I.. -I$(USER_DIR)/mtcr_ul AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) -DCMDIF_EXPORTS CMDIF_VERSION = 1 diff --git a/cmdparser/Makefile.am b/cmdparser/Makefile.am index 9696f71..952a074 100644 --- a/cmdparser/Makefile.am +++ b/cmdparser/Makefile.am @@ -32,8 +32,6 @@ # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES = - AM_CPPFLAGS = -W -g -MP -MD -fPIC noinst_LIBRARIES = libcmdparser.a diff --git a/configure.ac b/configure.ac index be0f9d1..04fb61d 100644 --- a/configure.ac +++ b/configure.ac @@ -10,11 +10,13 @@ AC_SUBST([VERSION]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_SRCDIR([README]) -AM_INIT_AUTOMAKE(mstflint, 4.1.0) +AM_INIT_AUTOMAKE([-Wall foreign]) dnl Checks for programs AC_PROG_CC +AM_PROG_CC_C_O AC_PROG_CXX +AM_PROG_AR AC_PROG_LIBTOOL AC_CONFIG_HEADERS( config.h ) diff --git a/dev_mgt/Makefile.am b/dev_mgt/Makefile.am index 703a27a..147f7aa 100644 --- a/dev_mgt/Makefile.am +++ b/dev_mgt/Makefile.am @@ -32,7 +32,7 @@ # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/include/mtcr_ul +AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/include/mtcr_ul AM_CFLAGS = -W -Wall -g -MP -MD -Wswitch-enum $(COMPILER_FPIC) -DMTCR_EXPORT noinst_LIBRARIES = libdev_mgt.a diff --git a/flint/Makefile.am b/flint/Makefile.am index f001515..96bb6ad 100755 --- a/flint/Makefile.am +++ b/flint/Makefile.am @@ -38,7 +38,7 @@ LAYOUTS_DIR = $(top_srcdir)/tools_layouts MFT_UTILS_DIR = $(top_srcdir)/mft_utils CMDIF_DIR = $(top_srcdir)/cmdif -INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(MTCR_DIR) -I$(MFLASH_DIR) -I$(COMMON_DIR) \ +AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir) -I$(MTCR_DIR) -I$(MFLASH_DIR) -I$(COMMON_DIR) \ -I$(LAYOUTS_DIR) -I$(MFT_UTILS_DIR) mstflint_CXXFLAGS = -Wall -W -g -MP -MD -pipe -DEXTERNAL diff --git a/mflash/Makefile.am b/mflash/Makefile.am index 950cabd..c45351a 100644 --- a/mflash/Makefile.am +++ b/mflash/Makefile.am @@ -31,7 +31,7 @@ #-- # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES= -I. -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common -I$(top_srcdir)/tools_layouts -I$(top_srcdir)/reg_access \ +AM_CPPFLAGS= -I. -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common -I$(top_srcdir)/tools_layouts -I$(top_srcdir)/reg_access \ -I$(top_srcdir)/cmdif -I$(top_srcdir)/tools_res_mgmt AM_CFLAGS = -MD -pipe -Wall -W -DMST_UL -g ${MFLASH_INBAND_FLAG} diff --git a/mft_utils/Makefile.am b/mft_utils/Makefile.am index ad9ad8e..ebb3bf3 100644 --- a/mft_utils/Makefile.am +++ b/mft_utils/Makefile.am @@ -32,7 +32,7 @@ # Makefile.am -- Process this file with automake to produce Makefile.in USER_DIR = $(top_srcdir) -INCLUDES = -I. -I$(USER_DIR)/common +AM_CPPFLAGS = -I. -I$(USER_DIR)/common AM_CFLAGS = -MD -pipe -Wall -W -Werror diff --git a/mlxconfig/Makefile.am b/mlxconfig/Makefile.am index f4ce674..2b2fd3e 100755 --- a/mlxconfig/Makefile.am +++ b/mlxconfig/Makefile.am @@ -42,7 +42,7 @@ UTILS_LIB = $(USER_DIR)/mft_utils/libmftutils.a CMDIF_DIR = $(USER_DIR)/cmdif -INCLUDES = -I. -I$(USER_DIR) -I$(top_srcdir)/include/mtcr_ul -I$(MTCR_DIR) -I$(COMMON_DIR) $(WIN64_INC)\ +AM_CPPFLAGS = -I. -I$(USER_DIR) -I$(top_srcdir)/include/mtcr_ul -I$(MTCR_DIR) -I$(COMMON_DIR) $(WIN64_INC)\ -I$(MFT_EXT_LIBS_INC_DIR) -I $(LAYOUTS_DIR) -I$(MFT_EXT_LIBS_INC_DIR)/zlib -I $(UTILS_DIR) -I$(DEV_MGT_DIR) -I$(CMDIF_DIR) AM_CXXFLAGS = -Wall -W -g -MP -MD -pipe diff --git a/mlxfwops/lib/Makefile.am b/mlxfwops/lib/Makefile.am index 050c2fc..8690345 100755 --- a/mlxfwops/lib/Makefile.am +++ b/mlxfwops/lib/Makefile.am @@ -40,7 +40,7 @@ LAYOUTS_DIR = $(top_srcdir)/tools_layouts UTILS_LIB = $(top_srcdir)/mft_utils UEFI_COMMON_DIR = $(top_srcdir)/mlxfwops/uefi_c -INCLUDES = -I$(srcdir) -I$(MTCR_INC_DIR) -I$(MFLASH_DIR) -I$(top_srcdir)/ext_libs/json -I$(MINIXZ_DIR)\ +AM_CPPFLAGS = -I$(srcdir) -I$(MTCR_INC_DIR) -I$(MFLASH_DIR) -I$(top_srcdir)/ext_libs/json -I$(MINIXZ_DIR)\ -I$(COMMON_DIR) -I$(MFT_EXT_LIBS_INC_DIR)/zlib -I $(LAYOUTS_DIR) -I$(top_srcdir)/common -I$(UTILS_LIB) -I$(UEFI_COMMON_DIR) MLXFWOPS_VERSION = 1 diff --git a/mstdump/crd_lib/Makefile.am b/mstdump/crd_lib/Makefile.am index f3e405b..c884184 100755 --- a/mstdump/crd_lib/Makefile.am +++ b/mstdump/crd_lib/Makefile.am @@ -33,7 +33,7 @@ # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common AM_CFLAGS = -Wall -W -g -MP -MD -pipe -Wno-unused-function $(COMPILER_FPIC) -DMTCR_EXPORT -DMST_UL -DDATA_PATH=\"$(pkgdatadir)\" noinst_LIBRARIES = libcrdump.a diff --git a/mstdump/crd_main/Makefile.am b/mstdump/crd_main/Makefile.am index 0c096d4..dd7b32e 100755 --- a/mstdump/crd_main/Makefile.am +++ b/mstdump/crd_main/Makefile.am @@ -31,7 +31,7 @@ #-- # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES = -I$(top_srcdir) -I$(srcdir)/../crd_lib -I$(top_srcdir)/include/mtcr_ul +AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir)/../crd_lib -I$(top_srcdir)/include/mtcr_ul AM_CFLAGS = -MD -pipe -g -Wall -W bin_PROGRAMS = mstregdump diff --git a/mtcr_ul/Makefile.am b/mtcr_ul/Makefile.am index dd1b68d..63c7d72 100644 --- a/mtcr_ul/Makefile.am +++ b/mtcr_ul/Makefile.am @@ -31,7 +31,7 @@ #-- # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES = -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common +AM_CPPFLAGS = -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common lib_LIBRARIES = libmtcr_ul.a diff --git a/reg_access/Makefile.am b/reg_access/Makefile.am index 3e56406..05e5bfe 100644 --- a/reg_access/Makefile.am +++ b/reg_access/Makefile.am @@ -36,7 +36,7 @@ COMMON_DIR = $(top_srcdir)/common LAYOUTS_DIR = $(top_srcdir)/tools_layouts USER_DIR = $(top_srcdir) -INCLUDES = -I. -I$(USER_DIR) -I$(srcdir) -I$(LAYOUTS_DIR) -I$(USER_DIR)/include/mtcr_ul +AM_CPPFLAGS = -I. -I$(USER_DIR) -I$(srcdir) -I$(LAYOUTS_DIR) -I$(USER_DIR)/include/mtcr_ul AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) diff --git a/small_utils/Makefile.am b/small_utils/Makefile.am index 838a724..d7d8ff4 100644 --- a/small_utils/Makefile.am +++ b/small_utils/Makefile.am @@ -30,7 +30,7 @@ # SOFTWARE. #-- -INCLUDES= -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common +AM_CPPFLAGS = -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common LDADD= ../mtcr_ul/libmtcr_ul.a -ldl diff --git a/tools_layouts/Makefile.am b/tools_layouts/Makefile.am index f085849..2bd623e 100644 --- a/tools_layouts/Makefile.am +++ b/tools_layouts/Makefile.am @@ -31,7 +31,7 @@ #-- # Makefile.am -- Process this file with automake to produce Makefile.in -INCLUDES = -I$(top_srcdir)/mtcr_ul -I$(top_srcdir)/common +AM_CPPFLAGS = -I$(top_srcdir)/mtcr_ul -I$(top_srcdir)/common AM_CFLAGS = -Wall -W -g -MP -MD -pipe $(COMPILER_FPIC) noinst_LIBRARIES = libtools_layouts.a diff --git a/tools_res_mgmt/Makefile.am b/tools_res_mgmt/Makefile.am index e155ed4..64d5b71 100644 --- a/tools_res_mgmt/Makefile.am +++ b/tools_res_mgmt/Makefile.am @@ -33,7 +33,7 @@ USER_DIR = $(top_srcdir) MTCR_DIR = $(USER_DIR)/include/mtcr_ul -INCLUDES = -I. -I../common -I$(MTCR_DIR) -I.. -I$(USER_DIR)/mtcr_ul +AM_CPPFLAGS = -I. -I../common -I$(MTCR_DIR) -I.. -I$(USER_DIR)/mtcr_ul AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) noinst_LIBRARIES = libtools_res_mgmt.a