From nobody Mon Feb 9 19:07:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1598628134; cv=none; d=zohomail.com; s=zohoarc; b=He/qGseUKehfYeN7YylpKep/DDV2tWuYbYnVsXNuKYHeT21G4VJ4GTrQs90kPtd+8G63yO0dYwrZhtyRmaJ1+FGCgS/xDOBALpuoDmkCjv4NCKlHghrYx1RqQ2Oi0pWAedKAkBn0P52M5oH2jomLOHDfbAYklpz1NbfTD/6oEc0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598628134; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jf0uhtoyzrCPKtKfNu31seR2GvNMQWavthSkTfEfE2M=; b=cBj5geY6+MeCkpNSH5yDgc7uo61NhA09OlHKRsp5jS1HiqhfG53wYKxTWBFpNvwh8qK6YjDcVsnpEQeBePAl1WOHNAe+B1VDi1YH/e4UcWvV0NNXCKs63yEYZi7IQa7tm0sUn79kNGyIY230Poc+EiKLB1voA9OxiYunRaNn54k= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1598628134776636.4705468592465; Fri, 28 Aug 2020 08:22:14 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kBgCS-0008H0-8D; Fri, 28 Aug 2020 15:21:56 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kBg04-0004eG-76 for xen-devel@lists.xenproject.org; Fri, 28 Aug 2020 15:09:08 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 22e481ce-8c9d-4ace-ab66-a81ab3088fa4; Fri, 28 Aug 2020 15:07:59 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9A79AB157; Fri, 28 Aug 2020 15:08:28 +0000 (UTC) X-Inumbo-ID: 22e481ce-8c9d-4ace-ab66-a81ab3088fa4 X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Andrew Cooper , George Dunlap , Ian Jackson , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu , Anthony PERARD Subject: [PATCH v4 31/31] tools: move libxlutil to tools/libs/util Date: Fri, 28 Aug 2020 17:07:47 +0200 Message-Id: <20200828150747.25305-32-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200828150747.25305-1-jgross@suse.com> References: <20200828150747.25305-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Move the libxlutil source to tools/libs/util and delete tools/libxl. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- .gitignore | 6 +- tools/Makefile | 1 - tools/Rules.mk | 7 - tools/libs/Makefile | 1 + tools/libs/uselibs.mk | 3 + tools/{libxl =3D> libs/util}/CODING_STYLE | 0 tools/libs/util/Makefile | 63 +++++++++ .../{libxl =3D> libs/util/include}/libxlutil.h | 0 tools/{libxl =3D> libs/util}/libxlu_cfg.c | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_i.h | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_l.c | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_l.h | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_l.l | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_y.c | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_y.h | 0 tools/{libxl =3D> libs/util}/libxlu_cfg_y.y | 0 tools/{libxl =3D> libs/util}/libxlu_disk.c | 0 tools/{libxl =3D> libs/util}/libxlu_disk_i.h | 0 tools/{libxl =3D> libs/util}/libxlu_disk_l.c | 0 tools/{libxl =3D> libs/util}/libxlu_disk_l.h | 0 tools/{libxl =3D> libs/util}/libxlu_disk_l.l | 0 tools/{libxl =3D> libs/util}/libxlu_internal.h | 0 tools/{libxl =3D> libs/util}/libxlu_pci.c | 0 tools/{libxl =3D> libs/util}/libxlu_vif.c | 0 tools/libxl/Makefile | 124 ------------------ 25 files changed, 71 insertions(+), 134 deletions(-) rename tools/{libxl =3D> libs/util}/CODING_STYLE (100%) create mode 100644 tools/libs/util/Makefile rename tools/{libxl =3D> libs/util/include}/libxlutil.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg.c (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_i.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_l.c (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_l.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_l.l (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_y.c (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_y.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_cfg_y.y (100%) rename tools/{libxl =3D> libs/util}/libxlu_disk.c (100%) rename tools/{libxl =3D> libs/util}/libxlu_disk_i.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_disk_l.c (100%) rename tools/{libxl =3D> libs/util}/libxlu_disk_l.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_disk_l.l (100%) rename tools/{libxl =3D> libs/util}/libxlu_internal.h (100%) rename tools/{libxl =3D> libs/util}/libxlu_pci.c (100%) rename tools/{libxl =3D> libs/util}/libxlu_vif.c (100%) delete mode 100644 tools/libxl/Makefile diff --git a/.gitignore b/.gitignore index f30550255f..188495783e 100644 --- a/.gitignore +++ b/.gitignore @@ -154,6 +154,10 @@ tools/libs/store/utils.h tools/libs/store/xenstore.pc tools/libs/store/xs_lib.c tools/libs/store/include/xenstore_lib.h +tools/libs/util/*.pc +tools/libs/util/_paths.h +tools/libs/util/libxlu_cfg_y.output +tools/libs/util/libxenutil.map tools/libs/vchan/headers.chk tools/libs/vchan/libxenvchan.map tools/libs/vchan/xenvchan.pc @@ -232,8 +236,6 @@ tools/include/xen/* tools/include/xen-xsm/* tools/include/xen-foreign/*.(c|h|size) tools/include/xen-foreign/checker -tools/libxl/*.pc -tools/libxl/libxlu_cfg_y.output tools/misc/cpuperf/cpuperf-perfcntr tools/misc/cpuperf/cpuperf-xen tools/misc/xc_shadow diff --git a/tools/Makefile b/tools/Makefile index ea69675cca..9c77ee6763 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -29,7 +29,6 @@ SUBDIRS-$(CONFIG_QEMU_XEN) +=3D qemu-xen-dir endif =20 SUBDIRS-y +=3D xenpmd -SUBDIRS-y +=3D libxl SUBDIRS-$(CONFIG_GOLANG) +=3D golang SUBDIRS-y +=3D xl SUBDIRS-y +=3D helpers diff --git a/tools/Rules.mk b/tools/Rules.mk index 5ad17b313b..842b9daf92 100644 --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -15,8 +15,6 @@ XEN_INCLUDE =3D $(XEN_ROOT)/tools/include =20 include $(XEN_ROOT)/tools/libs/uselibs.mk =20 -XEN_libxenutil =3D $(XEN_ROOT)/tools/libxl - CFLAGS_xeninclude =3D -I$(XEN_INCLUDE) =20 XENSTORE_XENSTORED ?=3D y @@ -117,11 +115,6 @@ else CFLAGS +=3D -O2 -fomit-frame-pointer endif =20 -CFLAGS_libxenutil =3D -I$(XEN_libxenutil) -SHDEPS_libxenutil =3D $(SHLIB_libxenlight) -LDLIBS_libxenutil =3D $(SHDEPS_libxenutil) $(XEN_libxenutil)/libxlutil$(li= bextension) -SHLIB_libxenutil =3D $(SHDEPS_libxenutil) -Wl,-rpath-link=3D$(XEN_libxenu= til) - CFLAGS +=3D -D__XEN_INTERFACE_VERSION__=3D__XEN_LATEST_INTERFACE_VERSION__ =20 # Get gcc to generate the dependencies for us. diff --git a/tools/libs/Makefile b/tools/libs/Makefile index c41455c604..1afcd12e2b 100644 --- a/tools/libs/Makefile +++ b/tools/libs/Makefile @@ -16,6 +16,7 @@ SUBDIRS-y +=3D store SUBDIRS-y +=3D stat SUBDIRS-$(CONFIG_Linux) +=3D vchan SUBDIRS-y +=3D light +SUBDIRS-y +=3D util =20 ifeq ($(CONFIG_RUMP),y) SUBDIRS-y :=3D toolcore diff --git a/tools/libs/uselibs.mk b/tools/libs/uselibs.mk index 685f368aed..efd7a475ba 100644 --- a/tools/libs/uselibs.mk +++ b/tools/libs/uselibs.mk @@ -28,3 +28,6 @@ LIBS_LIBS +=3D stat USELIBS_stat :=3D ctrl store LIBS_LIBS +=3D light USELIBS_light :=3D toollog evtchn toolcore ctrl store hypfs guest +LIBS_LIBS +=3D util +USELIBS_util :=3D light +FILENAME_util :=3D xlutil diff --git a/tools/libxl/CODING_STYLE b/tools/libs/util/CODING_STYLE similarity index 100% rename from tools/libxl/CODING_STYLE rename to tools/libs/util/CODING_STYLE diff --git a/tools/libs/util/Makefile b/tools/libs/util/Makefile new file mode 100644 index 0000000000..0c9db8027d --- /dev/null +++ b/tools/libs/util/Makefile @@ -0,0 +1,63 @@ +XEN_ROOT =3D $(CURDIR)/../../.. +include $(XEN_ROOT)/tools/Rules.mk + +SRCS-y +=3D libxlu_cfg_y.c +SRCS-y +=3D libxlu_cfg_l.c +SRCS-y +=3D libxlu_cfg.c +SRCS-y +=3D libxlu_disk_l.c +SRCS-y +=3D libxlu_disk.c +SRCS-y +=3D libxlu_vif.c +SRCS-y +=3D libxlu_pci.c + +CFLAGS +=3D -Wno-format-zero-length -Wmissing-declarations \ + -Wno-declaration-after-statement -Wformat-nonliteral +CFLAGS +=3D -I. $(CFLAGS_libxenctrl) + +CFLAGS +=3D $(PTHREAD_CFLAGS) +LDFLAGS +=3D $(PTHREAD_LDFLAGS) + +ifeq ($(FLEX),) +%.c %.h:: %.l + $(warning Flex is needed to rebuild some libxl parsers and \ + scanners, please install it and rerun configure) +endif + +ifeq ($(BISON),) +%.c %.h:: %.y + $(warning Bison is needed to rebuild some libxl parsers and \ + scanners, please install it and rerun configure) +endif + +AUTOINCS =3D libxlu_cfg_y.h libxlu_cfg_l.h libxlu_disk_l.h +AUTOSRCS =3D libxlu_cfg_y.c libxlu_cfg_l.c + +LIBHEADER :=3D libxlutil.h +PKG_CONFIG_NAME :=3D Xlutil +PKG_CONFIG_DESC :=3D The xl utility library for Xen hypervisor + +NO_HEADERS_CHK :=3D y + +include $(XEN_ROOT)/tools/libs/libs.mk + +$(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR =3D $(XEN_libxenutil)/include +$(PKG_CONFIG_LOCAL): PKG_CONFIG_CFLAGS_LOCAL =3D $(CFLAGS_xeninclude) + +$(LIB_OBJS) $(PIC_OBJS): $(AUTOINCS) _paths.h + +%.c %.h:: %.y + @rm -f $*.[ch] + $(BISON) --output=3D$*.c $< + +%.c %.h:: %.l + @rm -f $*.[ch] + $(FLEX) --header-file=3D$*.h --outfile=3D$*.c $< + +genpath-target =3D $(call buildmakevars2header,_paths.h) +$(eval $(genpath-target)) + +clean: cleanlocal + +.PHONY: cleanlocal +cleanlocal: + $(RM) -f _*.h + $(RM) -f libxlutil.map diff --git a/tools/libxl/libxlutil.h b/tools/libs/util/include/libxlutil.h similarity index 100% rename from tools/libxl/libxlutil.h rename to tools/libs/util/include/libxlutil.h diff --git a/tools/libxl/libxlu_cfg.c b/tools/libs/util/libxlu_cfg.c similarity index 100% rename from tools/libxl/libxlu_cfg.c rename to tools/libs/util/libxlu_cfg.c diff --git a/tools/libxl/libxlu_cfg_i.h b/tools/libs/util/libxlu_cfg_i.h similarity index 100% rename from tools/libxl/libxlu_cfg_i.h rename to tools/libs/util/libxlu_cfg_i.h diff --git a/tools/libxl/libxlu_cfg_l.c b/tools/libs/util/libxlu_cfg_l.c similarity index 100% rename from tools/libxl/libxlu_cfg_l.c rename to tools/libs/util/libxlu_cfg_l.c diff --git a/tools/libxl/libxlu_cfg_l.h b/tools/libs/util/libxlu_cfg_l.h similarity index 100% rename from tools/libxl/libxlu_cfg_l.h rename to tools/libs/util/libxlu_cfg_l.h diff --git a/tools/libxl/libxlu_cfg_l.l b/tools/libs/util/libxlu_cfg_l.l similarity index 100% rename from tools/libxl/libxlu_cfg_l.l rename to tools/libs/util/libxlu_cfg_l.l diff --git a/tools/libxl/libxlu_cfg_y.c b/tools/libs/util/libxlu_cfg_y.c similarity index 100% rename from tools/libxl/libxlu_cfg_y.c rename to tools/libs/util/libxlu_cfg_y.c diff --git a/tools/libxl/libxlu_cfg_y.h b/tools/libs/util/libxlu_cfg_y.h similarity index 100% rename from tools/libxl/libxlu_cfg_y.h rename to tools/libs/util/libxlu_cfg_y.h diff --git a/tools/libxl/libxlu_cfg_y.y b/tools/libs/util/libxlu_cfg_y.y similarity index 100% rename from tools/libxl/libxlu_cfg_y.y rename to tools/libs/util/libxlu_cfg_y.y diff --git a/tools/libxl/libxlu_disk.c b/tools/libs/util/libxlu_disk.c similarity index 100% rename from tools/libxl/libxlu_disk.c rename to tools/libs/util/libxlu_disk.c diff --git a/tools/libxl/libxlu_disk_i.h b/tools/libs/util/libxlu_disk_i.h similarity index 100% rename from tools/libxl/libxlu_disk_i.h rename to tools/libs/util/libxlu_disk_i.h diff --git a/tools/libxl/libxlu_disk_l.c b/tools/libs/util/libxlu_disk_l.c similarity index 100% rename from tools/libxl/libxlu_disk_l.c rename to tools/libs/util/libxlu_disk_l.c diff --git a/tools/libxl/libxlu_disk_l.h b/tools/libs/util/libxlu_disk_l.h similarity index 100% rename from tools/libxl/libxlu_disk_l.h rename to tools/libs/util/libxlu_disk_l.h diff --git a/tools/libxl/libxlu_disk_l.l b/tools/libs/util/libxlu_disk_l.l similarity index 100% rename from tools/libxl/libxlu_disk_l.l rename to tools/libs/util/libxlu_disk_l.l diff --git a/tools/libxl/libxlu_internal.h b/tools/libs/util/libxlu_interna= l.h similarity index 100% rename from tools/libxl/libxlu_internal.h rename to tools/libs/util/libxlu_internal.h diff --git a/tools/libxl/libxlu_pci.c b/tools/libs/util/libxlu_pci.c similarity index 100% rename from tools/libxl/libxlu_pci.c rename to tools/libs/util/libxlu_pci.c diff --git a/tools/libxl/libxlu_vif.c b/tools/libs/util/libxlu_vif.c similarity index 100% rename from tools/libxl/libxlu_vif.c rename to tools/libs/util/libxlu_vif.c diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile deleted file mode 100644 index 51da1d5be4..0000000000 --- a/tools/libxl/Makefile +++ /dev/null @@ -1,124 +0,0 @@ -# -# tools/libxl/Makefile -# - -XEN_ROOT =3D $(CURDIR)/../.. -include $(XEN_ROOT)/tools/Rules.mk - -XLUMAJOR =3D 4.15 -XLUMINOR =3D 0 - -CFLAGS +=3D -Werror -Wno-format-zero-length -Wmissing-declarations \ - -Wno-declaration-after-statement -Wformat-nonliteral -CFLAGS +=3D -I. -fPIC - -CFLAGS +=3D $(PTHREAD_CFLAGS) -LDFLAGS +=3D $(PTHREAD_LDFLAGS) - -LIBXLU_LIBS =3D $(LDLIBS_libxenlight) - -ifeq ($(FLEX),) -%.c %.h:: %.l - $(warning Flex is needed to rebuild some libxl parsers and \ - scanners, please install it and rerun configure) -endif - -ifeq ($(BISON),) -%.c %.h:: %.y - $(warning Bison is needed to rebuild some libxl parsers and \ - scanners, please install it an rerun configure) -endif - -AUTOINCS=3D libxlu_cfg_y.h libxlu_cfg_l.h libxlu_disk_l.h -AUTOSRCS=3D libxlu_cfg_y.c libxlu_cfg_l.c -LIBXLU_OBJS =3D libxlu_cfg_y.o libxlu_cfg_l.o libxlu_cfg.o \ - libxlu_disk_l.o libxlu_disk.o libxlu_vif.o libxlu_pci.o -$(LIBXLU_OBJS): CFLAGS +=3D $(CFLAGS_libxenctrl) # For xentoollog.h - -PKG_CONFIG =3D xlutil.pc - -ifneq ($(CONFIG_LIBXC_MINIOS),y) -PKG_CONFIG_INST :=3D $(PKG_CONFIG) -xlutil.pc: PKG_CONFIG_NAME =3D Xlutil -xlutil.pc: PKG_CONFIG_DESC =3D The xl utility library for Xen hypervisor -xlutil.pc: PKG_CONFIG_VERSION =3D $(XLUMAJOR).$(XLUMINOR) -xlutil.pc: PKG_CONFIG_USELIBS =3D $(SHLIB_libxenutil) -xlutil.pc: PKG_CONFIG_LIB =3D xlutil -xlutil.pc: PKG_CONFIG_REQPRIV =3D xenlight -$(PKG_CONFIG_INST): PKG_CONFIG_PREFIX =3D $(prefix) -$(PKG_CONFIG_INST): PKG_CONFIG_INCDIR =3D $(includedir) -$(PKG_CONFIG_INST): PKG_CONFIG_LIBDIR =3D $(libdir) -endif - -PKG_CONFIG_LOCAL :=3D $(foreach pc,$(PKG_CONFIG),$(PKG_CONFIG_DIR)/$(pc)) - -$(PKG_CONFIG_DIR)/xlutil.pc: PKG_CONFIG_NAME =3D Xlutil -$(PKG_CONFIG_DIR)/xlutil.pc: PKG_CONFIG_DESC =3D The xl utility library fo= r Xen hypervisor -$(PKG_CONFIG_DIR)/xlutil.pc: PKG_CONFIG_VERSION =3D $(XLUMAJOR).$(XLUMINOR) -$(PKG_CONFIG_DIR)/xlutil.pc: PKG_CONFIG_USELIBS =3D $(SHLIB_libxenutil) -$(PKG_CONFIG_DIR)/xlutil.pc: PKG_CONFIG_LIB =3D xlutil -$(PKG_CONFIG_DIR)/xlutil.pc: PKG_CONFIG_REQPRIV =3D xenlight -$(PKG_CONFIG_LOCAL): PKG_CONFIG_PREFIX =3D $(XEN_ROOT) -$(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR =3D $(CURDIR) -$(PKG_CONFIG_LOCAL): PKG_CONFIG_LIBDIR =3D $(CURDIR) -$(PKG_CONFIG_LOCAL): PKG_CONFIG_CFLAGS_LOCAL =3D $(CFLAGS_xeninclude) - -.PHONY: all -all: libxlutil.so libxlutil.a $(AUTOSRCS) $(AUTOINCS) $(PKG_CONFIG) $(PKG_= CONFIG_LOCAL) - -$(LIBXLU_OBJS): $(AUTOINCS) - -%.c %.h:: %.y - @rm -f $*.[ch] - $(BISON) --output=3D$*.c $< - -%.c %.h:: %.l - @rm -f $*.[ch] - $(FLEX) --header-file=3D$*.h --outfile=3D$*.c $< - -genpath-target =3D $(call buildmakevars2header,_paths.h) -$(eval $(genpath-target)) - -libxlutil.so: libxlutil.so.$(XLUMAJOR) - $(SYMLINK_SHLIB) $< $@ - -libxlutil.so.$(XLUMAJOR): libxlutil.so.$(XLUMAJOR).$(XLUMINOR) - $(SYMLINK_SHLIB) $< $@ - -libxlutil.so.$(XLUMAJOR).$(XLUMINOR): $(LIBXLU_OBJS) - $(CC) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxlutil.so.$(XLUMAJOR) $(SHLI= B_LDFLAGS) -o $@ $(LIBXLU_OBJS) $(LIBXLU_LIBS) $(APPEND_LDFLAGS) - -libxlutil.a: $(LIBXLU_OBJS) - $(AR) rcs libxlutil.a $^ - -.PHONY: install -install: all - $(INSTALL_DIR) $(DESTDIR)$(libdir) - $(INSTALL_DIR) $(DESTDIR)$(includedir) - $(INSTALL_SHLIB) libxlutil.so.$(XLUMAJOR).$(XLUMINOR) $(DESTDIR)$(libdir) - $(SYMLINK_SHLIB) libxlutil.so.$(XLUMAJOR).$(XLUMINOR) $(DESTDIR)$(libdir)= /libxlutil.so.$(XLUMAJOR) - $(SYMLINK_SHLIB) libxlutil.so.$(XLUMAJOR) $(DESTDIR)$(libdir)/libxlutil.so - $(INSTALL_DATA) libxlutil.a $(DESTDIR)$(libdir) - $(INSTALL_DATA) libxlutil.h $(DESTDIR)$(includedir) - $(INSTALL_DATA) xlutil.pc $(DESTDIR)$(PKG_INSTALLDIR) - -.PHONY: uninstall -uninstall: - rm -f $(DESTDIR)$(PKG_INSTALLDIR)/xlutil.pc - rm -f $(DESTDIR)$(includedir)/libxlutil.h - rm -f $(DESTDIR)$(libdir)/libxlutil.a - rm -f $(DESTDIR)$(libdir)/libxlutil.so - rm -f $(DESTDIR)$(libdir)/libxlutil.so.$(XLUMAJOR) - rm -f $(DESTDIR)$(libdir)/libxlutil.so.$(XLUMAJOR).$(XLUMINOR) - -.PHONY: clean -clean: - $(RM) -f _*.h *.o *.so* *.a $(DEPS_RM) - $(RM) -f xlutil.pc - -distclean: clean - -realclean: distclean - $(RM) -f $(AUTOSRCS) $(AUTOINCS) - --include $(DEPS_INCLUDE) --=20 2.26.2