15
31
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
SBINDIR = ${PREFIX}/sbin
23
SCRIPTS=vzpid vzcpucheck vzmigrate
26
for file in ${DIRS}; do \
27
(cd $$file && ${MAKE} -f Makefile $@) \
31
$(INSTALL) -d $(DESTDIR)$(SBINDIR)
32
for file in $(SCRIPTS); do \
33
$(INSTALL) -m 755 $$file $(DESTDIR)$(SBINDIR)/$$file; \
36
${MAKE} -C etc/dists $@
39
(VERSION=`awk '/Version:/{print $$2}' < vzctl.spec` && \
40
rm -f ../vzctl-$$VERSION; ln -sf `pwd` ../vzctl-$$VERSION && \
41
tar --directory .. --exclude CVS --exclude .git --exclude \*.tar.bz2 -cvhjf vzctl-$$VERSION.tar.bz2 vzctl-$$VERSION; \
42
rm -f ../vzctl-$$VERSION)
37
pkgdatadir = $(datadir)/vzctl
38
pkglibdir = $(libdir)/vzctl
39
pkgincludedir = $(includedir)/vzctl
41
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42
INSTALL = /usr/bin/install -c
43
install_sh_DATA = $(install_sh) -c -m 644
44
install_sh_PROGRAM = $(install_sh) -c
45
install_sh_SCRIPT = $(install_sh) -c
46
INSTALL_HEADER = $(INSTALL_DATA)
47
transform = $(program_transform_name)
54
build_triplet = i686-pc-linux-gnu
55
host_triplet = i686-pc-linux-gnu
56
target_triplet = i686-pc-linux-gnu
57
DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
58
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
59
$(top_srcdir)/configure COPYING ChangeLog config.guess \
60
config.sub depcomp install-sh ltmain.sh missing
62
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
64
$(top_srcdir)/configure.ac
65
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
67
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
68
configure.lineno configure.status.lineno
69
mkinstalldirs = $(install_sh) -d
73
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
74
html-recursive info-recursive install-data-recursive \
75
install-exec-recursive install-info-recursive \
76
install-recursive installcheck-recursive installdirs-recursive \
77
pdf-recursive ps-recursive uninstall-info-recursive \
79
HEADERS = $(noinst_HEADERS)
82
DIST_SUBDIRS = $(SUBDIRS)
83
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
84
distdir = $(PACKAGE)-$(VERSION)
85
top_distdir = $(distdir)
86
am__remove_distdir = \
87
{ test ! -d $(distdir) \
88
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
89
&& rm -fr $(distdir); }; }
90
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
92
distuninstallcheck_listfiles = find . -type f -print
93
distcleancheck_listfiles = find . -type f -print
94
ACLOCAL = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run aclocal-1.9
97
AMTAR = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run tar
103
AUTOCONF = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run autoconf
104
AUTOHEADER = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run autoheader
105
AUTOMAKE = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run automake-1.9
108
CCDEPMODE = depmode=gcc3
109
CFLAGS = -g -O2 -Wall -Wpointer-arith -Wcast-qual -Winline -Wcast-align -Wno-unused-parameter
113
DEFS = -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"3.0.16\" -DPACKAGE_STRING=\"vzctl\ 3.0.16\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"3.0.16\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
121
ENABLE_BASHCOMP_FALSE = #
122
ENABLE_BASHCOMP_TRUE =
123
ENABLE_CRON_FALSE = #
125
ENABLE_LOGROTATE_FALSE = #
126
ENABLE_LOGROTATE_TRUE =
127
ENABLE_UDEV_FALSE = #
130
INSTALL_DATA = ${INSTALL} -m 644
131
INSTALL_PROGRAM = ${INSTALL}
132
INSTALL_SCRIPT = ${INSTALL}
133
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
137
LIBTOOL = $(SHELL) $(top_builddir)/libtool
140
MAKEINFO = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run makeinfo
143
PACKAGE_BUGREPORT = devel@openvz.org
145
PACKAGE_STRING = vzctl 3.0.16
146
PACKAGE_TARNAME = vzctl
147
PACKAGE_VERSION = 3.0.16
157
ac_ct_RANLIB = ranlib
159
am__fastdepCC_FALSE = #
161
am__include = include
164
am__tar = ${AMTAR} chof - "$$tardir"
165
am__untar = ${AMTAR} xf -
166
bindir = ${exec_prefix}/bin
167
build = i686-pc-linux-gnu
172
datadir = ${prefix}/share
173
exec_prefix = ${prefix}
174
host = i686-pc-linux-gnu
179
includedir = ${prefix}/include
180
infodir = ${prefix}/info
181
install_sh = /home/ola/build/debian/vzctl/vzctl-3.0.16/install-sh
182
libdir = ${exec_prefix}/lib
183
libexecdir = ${exec_prefix}/libexec
185
mandir = /usr/share/man
186
mkdir_p = mkdir -p --
187
oldincludedir = /usr/include
189
program_transform_name = s,x,x,
190
sbindir = ${exec_prefix}/sbin
191
sharedstatedir = ${prefix}/com
193
target = i686-pc-linux-gnu
196
target_os = linux-gnu
204
noinst_HEADERS = $(wildcard include/*.h) \
205
$(wildcard include/linux/*.h)
207
EXTRA_DIST = vzctl.spec
209
vzcachedir = $(vzdir)/template/cache
210
vzlockdir = $(vzdir)/lock
211
vzdumpdir = $(vzdir)/dump
212
veipdumpdir = $(localstatedir)/lib/vzctl/veip
213
modulesdir = $(pkglibdir)/modules
223
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
225
case '$(am__configure_deps)' in \
227
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
228
cd $(srcdir) && $(AUTOMAKE) --foreign \
233
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
234
cd $(top_srcdir) && \
235
$(AUTOMAKE) --foreign Makefile
237
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
240
echo ' $(SHELL) ./config.status'; \
241
$(SHELL) ./config.status;; \
243
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
244
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
247
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
248
$(SHELL) ./config.status --recheck
250
$(top_srcdir)/configure: $(am__configure_deps)
251
cd $(srcdir) && $(AUTOCONF)
252
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
253
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
265
# This directory's subdirectories are mostly independent; you can cd
266
# into them and run `make' without going through this Makefile.
267
# To change the values of `make' variables: instead of editing Makefiles,
268
# (1) if the variable is set in `config.status', edit `config.status'
269
# (which will cause the Makefiles to be regenerated when you run `make');
270
# (2) otherwise, pass the desired values on the `make' command line.
271
$(RECURSIVE_TARGETS):
272
@set fnord $$MAKEFLAGS; amf=$$2; \
274
target=`echo $@ | sed s/-recursive//`; \
275
list='$(SUBDIRS)'; for subdir in $$list; do \
276
echo "Making $$target in $$subdir"; \
277
if test "$$subdir" = "."; then \
279
local_target="$$target-am"; \
281
local_target="$$target"; \
283
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
284
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
286
if test "$$dot_seen" = "no"; then \
287
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
290
mostlyclean-recursive clean-recursive distclean-recursive \
291
maintainer-clean-recursive:
292
@set fnord $$MAKEFLAGS; amf=$$2; \
295
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
296
*) list='$(SUBDIRS)' ;; \
298
rev=''; for subdir in $$list; do \
299
if test "$$subdir" = "."; then :; else \
300
rev="$$subdir $$rev"; \
304
target=`echo $@ | sed s/-recursive//`; \
305
for subdir in $$rev; do \
306
echo "Making $$target in $$subdir"; \
307
if test "$$subdir" = "."; then \
308
local_target="$$target-am"; \
310
local_target="$$target"; \
312
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
313
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
314
done && test -z "$$fail"
316
list='$(SUBDIRS)'; for subdir in $$list; do \
317
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
320
list='$(SUBDIRS)'; for subdir in $$list; do \
321
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
324
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
325
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
326
unique=`for i in $$list; do \
327
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329
$(AWK) ' { files[$$0] = 1; } \
330
END { for (i in files) print i; }'`; \
334
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
335
$(TAGS_FILES) $(LISP)
338
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
339
include_option=--etags-include; \
342
include_option=--include; \
345
list='$(SUBDIRS)'; for subdir in $$list; do \
346
if test "$$subdir" = .; then :; else \
347
test ! -f $$subdir/TAGS || \
348
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
351
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
352
unique=`for i in $$list; do \
353
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355
$(AWK) ' { files[$$0] = 1; } \
356
END { for (i in files) print i; }'`; \
357
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
358
test -n "$$unique" || unique=$$empty_fix; \
359
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
363
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
364
$(TAGS_FILES) $(LISP)
367
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
368
unique=`for i in $$list; do \
369
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371
$(AWK) ' { files[$$0] = 1; } \
372
END { for (i in files) print i; }'`; \
373
test -z "$(CTAGS_ARGS)$$tags$$unique" \
374
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
378
here=`$(am__cd) $(top_builddir) && pwd` \
379
&& cd $(top_srcdir) \
380
&& gtags -i $(GTAGS_ARGS) $$here
383
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
385
distdir: $(DISTFILES)
386
$(am__remove_distdir)
388
$(mkdir_p) $(distdir)/include $(distdir)/include/linux
389
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
390
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
391
list='$(DISTFILES)'; for file in $$list; do \
393
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
394
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
396
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
397
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
398
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
400
$(mkdir_p) "$(distdir)$$dir"; \
404
if test -d $$d/$$file; then \
405
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
406
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
408
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
410
test -f $(distdir)/$$file \
411
|| cp -p $$d/$$file $(distdir)/$$file \
415
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
416
if test "$$subdir" = .; then :; else \
417
test -d "$(distdir)/$$subdir" \
418
|| $(mkdir_p) "$(distdir)/$$subdir" \
420
distdir=`$(am__cd) $(distdir) && pwd`; \
421
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
423
$(MAKE) $(AM_MAKEFLAGS) \
424
top_distdir="$$top_distdir" \
425
distdir="$$distdir/$$subdir" \
430
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
431
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
432
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
433
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
434
|| chmod -R a+r $(distdir)
436
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
437
$(am__remove_distdir)
439
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
440
$(am__remove_distdir)
443
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
444
$(am__remove_distdir)
447
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
448
$(am__remove_distdir)
451
-rm -f $(distdir).zip
452
zip -rq $(distdir).zip $(distdir)
453
$(am__remove_distdir)
455
dist dist-all: distdir
456
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
457
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
458
$(am__remove_distdir)
460
# This target untars the dist file and tries a VPATH configuration. Then
461
# it guarantees that the distribution is self-contained by making another
464
case '$(DIST_ARCHIVES)' in \
466
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
468
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
470
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
472
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
474
unzip $(distdir).zip ;;\
476
chmod -R a-w $(distdir); chmod a+w $(distdir)
477
mkdir $(distdir)/_build
478
mkdir $(distdir)/_inst
480
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
481
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
482
&& cd $(distdir)/_build \
483
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
484
$(DISTCHECK_CONFIGURE_FLAGS) \
485
&& $(MAKE) $(AM_MAKEFLAGS) \
486
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
487
&& $(MAKE) $(AM_MAKEFLAGS) check \
488
&& $(MAKE) $(AM_MAKEFLAGS) install \
489
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
490
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
491
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
493
&& chmod -R a-w "$$dc_install_base" \
495
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
496
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
497
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
498
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
499
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
500
} || { rm -rf "$$dc_destdir"; exit 1; }) \
501
&& rm -rf "$$dc_destdir" \
502
&& $(MAKE) $(AM_MAKEFLAGS) dist \
503
&& rm -rf $(DIST_ARCHIVES) \
504
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
505
$(am__remove_distdir)
506
@(echo "$(distdir) archives ready for distribution: "; \
507
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
508
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
510
@cd $(distuninstallcheck_dir) \
511
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
512
|| { echo "ERROR: files left after uninstall:" ; \
513
if test -n "$(DESTDIR)"; then \
514
echo " (check DESTDIR support)"; \
516
$(distuninstallcheck_listfiles) ; \
518
distcleancheck: distclean
519
@if test '$(srcdir)' = . ; then \
520
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
523
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
524
|| { echo "ERROR: files left in build directory after distclean:" ; \
525
$(distcleancheck_listfiles) ; \
528
check: check-recursive
529
all-am: Makefile $(HEADERS)
530
installdirs: installdirs-recursive
532
install: install-recursive
533
install-exec: install-exec-recursive
534
install-data: install-data-recursive
535
uninstall: uninstall-recursive
538
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
540
installcheck: installcheck-recursive
542
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
543
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
544
`test -z '$(STRIP)' || \
545
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
551
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
553
maintainer-clean-generic:
554
@echo "This command is intended for maintainers to use"
555
@echo "it deletes files that may require special tools to rebuild."
556
clean: clean-recursive
558
clean-am: clean-generic clean-libtool mostlyclean-am
560
distclean: distclean-recursive
561
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
563
distclean-am: clean-am distclean-generic distclean-libtool \
576
install-data-am: install-data-local
580
install-info: install-info-recursive
586
maintainer-clean: maintainer-clean-recursive
587
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
588
-rm -rf $(top_srcdir)/autom4te.cache
590
maintainer-clean-am: distclean-am maintainer-clean-generic
592
mostlyclean: mostlyclean-recursive
594
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
604
uninstall-am: uninstall-info-am
606
uninstall-info: uninstall-info-recursive
608
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
609
check-am clean clean-generic clean-libtool clean-recursive \
610
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
611
dist-shar dist-tarZ dist-zip distcheck distclean \
612
distclean-generic distclean-libtool distclean-recursive \
613
distclean-tags distcleancheck distdir distuninstallcheck dvi \
614
dvi-am html html-am info info-am install install-am \
615
install-data install-data-am install-data-local install-exec \
616
install-exec-am install-info install-info-am install-man \
617
install-strip installcheck installcheck-am installdirs \
618
installdirs-am maintainer-clean maintainer-clean-generic \
619
maintainer-clean-recursive mostlyclean mostlyclean-generic \
620
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
621
tags tags-recursive uninstall uninstall-am uninstall-info-am
625
$(mkinstalldirs) $(DESTDIR)$(vzdir)
626
$(mkinstalldirs) $(DESTDIR)$(vzcachedir)
627
$(mkinstalldirs) $(DESTDIR)$(vzlockdir)
628
$(mkinstalldirs) $(DESTDIR)$(vzdumpdir)
629
$(mkinstalldirs) $(DESTDIR)$(veipdumpdir)
630
$(mkinstalldirs) $(DESTDIR)$(modulesdir)
633
$(MAKE) $(AM_MAKEFLAGS) -C etc $@
636
cp $(distdir).tar.bz2 `rpm --eval %_sourcedir`
637
rpmbuild -ba vzctl.spec
640
# Tell versions [3.59,3.63) of GNU make to not export all variables.
641
# Otherwise a system limit (for SysV at least) may be exceeded.