mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Commit dropping lvmetad support 117160b27e510dceb1ed6acf995115c040acd88d also removed cleaning of its generated files. However we need to keep this functionality, otherwise we can leak them during various bisect. Easier is to keep such rules forever. Also commit c1ab9fb37faee56cee278ccd94cb958d30d61b94 moved cmds.h to include, so again keep it removed so it's not left there and in any case could not misslead anyone.
121 lines
2.3 KiB
Makefile
121 lines
2.3 KiB
Makefile
#
|
|
# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
|
|
# Copyright (C) 2004-2018 Red Hat, Inc. All rights reserved.
|
|
#
|
|
# This file is part of LVM2.
|
|
#
|
|
# This copyrighted material is made available to anyone wishing to use,
|
|
# modify, copy, or redistribute it subject to the terms and conditions
|
|
# of the GNU General Public License v.2.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
top_builddir = @top_builddir@
|
|
|
|
include $(top_builddir)/make.tmpl
|
|
|
|
cmds.h:
|
|
@echo " [GEN] $@"
|
|
$(Q) set -o pipefail && \
|
|
( cat $(top_srcdir)/tools/license.inc && \
|
|
echo "/* Do not edit. This file is generated by the Makefile. */" && \
|
|
echo "cmd(CMD_NONE, none)" && \
|
|
$(GREP) '^ID:' $(top_srcdir)/tools/command-lines.in | LC_ALL=C $(SORT) -u | $(AWK) '{print "cmd(" $$2 "_CMD, " $$2 ")"}' && \
|
|
echo "cmd(CMD_COUNT, count)" \
|
|
) > $@
|
|
|
|
all: cmds.h
|
|
|
|
clean:
|
|
rm -f cmds.h
|
|
|
|
DISTCLEAN_TARGETS += configure.h lvm-version.h
|
|
CLEAN_TARGETS += \
|
|
.symlinks \
|
|
.symlinks_created \
|
|
activate.h \
|
|
archiver.h \
|
|
bcache.h \
|
|
btree.h \
|
|
clvm.h \
|
|
config-util.h \
|
|
config.h \
|
|
config_settings.h \
|
|
crc.h \
|
|
daemon-client.h \
|
|
daemon-io.h \
|
|
defaults.h \
|
|
dev-cache.h \
|
|
dev-ext-udev-constants.h \
|
|
dev-type.h \
|
|
device-types.h \
|
|
device.h \
|
|
display.h \
|
|
dm-ioctl.h \
|
|
dm-log-userspace.h \
|
|
dm-logging.h \
|
|
dmlib.h \
|
|
filter.h \
|
|
format-text.h \
|
|
format1.h \
|
|
format_pool.h \
|
|
intl.h \
|
|
kdev_t.h \
|
|
label.h \
|
|
last-path-component.h \
|
|
lib.h \
|
|
libdevmapper-event.h \
|
|
libdevmapper.h \
|
|
locking.h \
|
|
log.h \
|
|
lv.h \
|
|
lvm-exec.h \
|
|
lvm-file.h \
|
|
lvm-flock.h \
|
|
lvm-globals.h \
|
|
lvm-logging.h \
|
|
lvm-maths.h \
|
|
lvm-percent.h \
|
|
lvm-signal.h \
|
|
lvm-string.h \
|
|
lvm-wrappers.h \
|
|
lvm2app.h \
|
|
lvm2cmd.h \
|
|
lvmcache.h \
|
|
lvmetad-client.h \
|
|
lvmetad.h \
|
|
lvmlockd-client.h \
|
|
lvmlockd.h \
|
|
lvmnotify.h \
|
|
lvmpolld-client.h \
|
|
lvmpolld-protocol.h \
|
|
lv_alloc.h \
|
|
memlock.h \
|
|
metadata-exported.h \
|
|
metadata.h \
|
|
pogen.h \
|
|
polldaemon.h \
|
|
polling_ops.h \
|
|
properties.h \
|
|
prop_common.h \
|
|
pv.h \
|
|
pv_alloc.h \
|
|
report.h \
|
|
segtype.h \
|
|
sharedlib.h \
|
|
str_list.h \
|
|
targets.h \
|
|
text_export.h \
|
|
text_import.h \
|
|
tool.h \
|
|
toolcontext.h \
|
|
util.h \
|
|
uuid.h \
|
|
vg.h \
|
|
xlate.h \
|
|
cmds.h
|