From nobody Wed May 14 18:28:02 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 1519812912245238.16231880760188; Wed, 28 Feb 2018 02:15:12 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DB05049028; Wed, 28 Feb 2018 10:15:10 +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 8FA7D608E0; Wed, 28 Feb 2018 10:15:10 +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 040BC18033FD; Wed, 28 Feb 2018 10:15:10 +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 w1SAEr5H005713 for ; Wed, 28 Feb 2018 05:14:53 -0500 Received: by smtp.corp.redhat.com (Postfix) id 84C612024CA8; Wed, 28 Feb 2018 10:14:53 +0000 (UTC) Received: from t460.redhat.com (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 07C1F202699A; Wed, 28 Feb 2018 10:14:52 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Wed, 28 Feb 2018 10:14:35 +0000 Message-Id: <20180228101435.464-18-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 17/17] make: split vmx driver build rules into vmx/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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 28 Feb 2018 10:15:11 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Signed-off-by: Daniel P. Berrang=C3=A9 --- src/Makefile.am | 19 +------------------ src/vmx/Makefile.inc.am | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 18 deletions(-) create mode 100644 src/vmx/Makefile.inc.am diff --git a/src/Makefile.am b/src/Makefile.am index 6437cea8ae..70cb28bbf7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -107,6 +107,7 @@ include phyp/Makefile.inc.am include test/Makefile.inc.am include esx/Makefile.inc.am include hyperv/Makefile.inc.am +include vmx/Makefile.inc.am include vmware/Makefile.inc.am include vbox/Makefile.inc.am include openvz/Makefile.inc.am @@ -354,9 +355,6 @@ check-local: check-protocol check-symfile check-symsort= ing \ =20 =20 =20 -VMX_SOURCES =3D \ - vmx/vmx.c vmx/vmx.h - =20 pkgdata_DATA =3D cpu/cpu_map.xml =20 @@ -369,15 +367,6 @@ EXTRA_DIST +=3D $(pkgdata_DATA) # First deal with sources usable in non-daemon context =20 =20 -if WITH_VMX -noinst_LTLIBRARIES +=3D libvirt_vmx.la -libvirt_la_BUILT_LIBADD +=3D libvirt_vmx.la -libvirt_vmx_la_CFLAGS =3D \ - -I$(srcdir)/conf $(AM_CFLAGS) -libvirt_vmx_la_SOURCES =3D $(VMX_SOURCES) -endif WITH_VMX - - noinst_LTLIBRARIES +=3D libvirt_driver.la libvirt_la_BUILT_LIBADD +=3D libvirt_driver.la libvirt_driver_la_SOURCES =3D $(DRIVER_SOURCES) @@ -448,12 +437,6 @@ else ! WITH_LINUX SYM_FILES +=3D $(srcdir)/libvirt_linux.syms endif ! WITH_LINUX =20 -if WITH_VMX -USED_SYM_FILES +=3D $(srcdir)/libvirt_vmx.syms -else ! WITH_VMX -SYM_FILES +=3D $(srcdir)/libvirt_vmx.syms -endif ! WITH_VMX - if WITH_SASL USED_SYM_FILES +=3D $(srcdir)/libvirt_sasl.syms else ! WITH_SASL diff --git a/src/vmx/Makefile.inc.am b/src/vmx/Makefile.inc.am new file mode 100644 index 0000000000..b9bf6ef690 --- /dev/null +++ b/src/vmx/Makefile.inc.am @@ -0,0 +1,22 @@ +VMX_SOURCES =3D \ + vmx/vmx.c \ + vmx/vmx.h \ + $(NULL) + +EXTRA_DIST +=3D $(VMX_SOURCES) + +if WITH_VMX +noinst_LTLIBRARIES +=3D libvirt_vmx.la +libvirt_la_BUILT_LIBADD +=3D libvirt_vmx.la +libvirt_vmx_la_CFLAGS =3D \ + -I$(srcdir)/conf \ + $(AM_CFLAGS) \ + $(NULL) +libvirt_vmx_la_SOURCES =3D $(VMX_SOURCES) +endif WITH_VMX + +if WITH_VMX +USED_SYM_FILES +=3D $(srcdir)/libvirt_vmx.syms +else ! WITH_VMX +SYM_FILES +=3D $(srcdir)/libvirt_vmx.syms +endif ! WITH_VMX --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list