From nobody Wed May 14 18:21:59 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1519812895971112.62977453982194; Wed, 28 Feb 2018 02:14:55 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7733A7FDC4; Wed, 28 Feb 2018 10:14:54 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4FD68620C4; Wed, 28 Feb 2018 10:14:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E89DD18033F4; Wed, 28 Feb 2018 10:14:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w1SAEkCu005634 for ; Wed, 28 Feb 2018 05:14:46 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3CA682024CA6; Wed, 28 Feb 2018 10:14:46 +0000 (UTC) Received: from t460.redhat.com (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D9B5202699A; Wed, 28 Feb 2018 10:14:45 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Wed, 28 Feb 2018 10:14:27 +0000 Message-Id: <20180228101435.464-10-berrange@redhat.com> In-Reply-To: <20180228101435.464-1-berrange@redhat.com> References: <20180228101435.464-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 09/17] make: split CPU build rules into cpu/Makefile.inc.am X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 28 Feb 2018 10:14:54 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Signed-off-by: Daniel P. Berrang=C3=A9 --- src/Makefile.am | 15 +-------------- src/cpu/Makefile.inc.am | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 src/cpu/Makefile.inc.am diff --git a/src/Makefile.am b/src/Makefile.am index f4fb9ac242..8f628d2d38 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -92,6 +92,7 @@ sbin_PROGRAMS =3D man8_MANS =3D =20 include conf/Makefile.inc.am +include cpu/Makefile.inc.am include uml/Makefile.inc.am include phyp/Makefile.inc.am include test/Makefile.inc.am @@ -692,14 +693,6 @@ ACCESS_DRIVER_POLKIT_POLICY =3D \ $(srcdir)/access/org.libvirt.api.policy =20 =20 -CPU_SOURCES =3D \ - cpu/cpu.h cpu/cpu.c \ - cpu/cpu_x86.h cpu/cpu_x86.c cpu/cpu_x86_data.h \ - cpu/cpu_s390.h cpu/cpu_s390.c \ - cpu/cpu_arm.h cpu/cpu_arm.c \ - cpu/cpu_ppc64.h cpu/cpu_ppc64.c \ - cpu/cpu_ppc64_data.h \ - cpu/cpu_map.h cpu/cpu_map.c =20 VMX_SOURCES =3D \ vmx/vmx.c vmx/vmx.h @@ -731,12 +724,6 @@ libvirt_util_la_LIBADD =3D $(CAPNG_LIBS) $(YAJL_LIBS) = $(LIBNL_LIBS) \ $(POLKIT_LIBS) $(GNUTLS_LIBS) =20 =20 -noinst_LTLIBRARIES +=3D libvirt_cpu.la -libvirt_la_BUILT_LIBADD +=3D libvirt_cpu.la -libvirt_cpu_la_CFLAGS =3D \ - -I$(srcdir)/conf $(AM_CFLAGS) -libvirt_cpu_la_SOURCES =3D $(CPU_SOURCES) - if WITH_VMX noinst_LTLIBRARIES +=3D libvirt_vmx.la libvirt_la_BUILT_LIBADD +=3D libvirt_vmx.la diff --git a/src/cpu/Makefile.inc.am b/src/cpu/Makefile.inc.am new file mode 100644 index 0000000000..5020d40583 --- /dev/null +++ b/src/cpu/Makefile.inc.am @@ -0,0 +1,24 @@ +CPU_SOURCES =3D \ + cpu/cpu.h \ + cpu/cpu.c \ + cpu/cpu_x86.h \ + cpu/cpu_x86.c \ + cpu/cpu_x86_data.h \ + cpu/cpu_s390.h \ + cpu/cpu_s390.c \ + cpu/cpu_arm.h \ + cpu/cpu_arm.c \ + cpu/cpu_ppc64.h \ + cpu/cpu_ppc64.c \ + cpu/cpu_ppc64_data.h \ + cpu/cpu_map.h \ + cpu/cpu_map.c \ + $(NULL) + +noinst_LTLIBRARIES +=3D libvirt_cpu.la +libvirt_la_BUILT_LIBADD +=3D libvirt_cpu.la +libvirt_cpu_la_CFLAGS =3D \ + -I$(srcdir)/conf \ + $(AM_CFLAGS) \ + $(NULL) +libvirt_cpu_la_SOURCES =3D $(CPU_SOURCES) --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list