~ubuntu-branches/ubuntu/karmic/vzctl/karmic

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2007-04-10 18:08:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070410180816-0uuzj9fnna7gmzxv
Tags: 3.0.16-4
Etch has been released which means that this version can be uploaded
to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  Copyright (C) 2000-2006 SWsoft. All rights reserved.
 
1
# Makefile.in generated by automake 1.9.2 from Makefile.am.
 
2
# Makefile.  Generated from Makefile.in by configure.
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004  Free Software Foundation, Inc.
 
6
# This Makefile.in is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy and/or distribute it,
 
8
# with or without modifications, as long as this notice is preserved.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
 
 
16
 
 
17
#  Copyright (C) 2000-2007 SWsoft. All rights reserved.
2
18
#
3
19
#  This program is free software; you can redistribute it and/or modify
4
20
#  it under the terms of the GNU General Public License as published by
15
31
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
32
#
17
33
 
18
 
DIRS=src
19
 
INSTALL = install
20
 
PREFIX = /usr
21
 
SBINDIR = ${PREFIX}/sbin
22
 
 
23
 
SCRIPTS=vzpid vzcpucheck vzmigrate
24
 
 
25
 
all install %::
26
 
        for file in ${DIRS}; do \
27
 
                (cd $$file && ${MAKE} -f Makefile $@)  \
28
 
        done
29
 
 
30
 
install::
31
 
        $(INSTALL) -d $(DESTDIR)$(SBINDIR)
32
 
        for file in $(SCRIPTS); do \
33
 
                $(INSTALL) -m 755 $$file $(DESTDIR)$(SBINDIR)/$$file; \
34
 
        done
35
 
        ${MAKE} -C man $@
36
 
        ${MAKE} -C etc/dists $@
37
 
 
38
 
tar:
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)
43
 
 
44
 
.PHONY: install tar
 
34
srcdir = .
 
35
top_srcdir = .
 
36
 
 
37
pkgdatadir = $(datadir)/vzctl
 
38
pkglibdir = $(libdir)/vzctl
 
39
pkgincludedir = $(includedir)/vzctl
 
40
top_builddir = .
 
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)
 
48
NORMAL_INSTALL = :
 
49
PRE_INSTALL = :
 
50
POST_INSTALL = :
 
51
NORMAL_UNINSTALL = :
 
52
PRE_UNINSTALL = :
 
53
POST_UNINSTALL = :
 
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
 
61
subdir = .
 
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) \
 
66
        $(ACLOCAL_M4)
 
67
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 
68
 configure.lineno configure.status.lineno
 
69
mkinstalldirs = $(install_sh) -d
 
70
CONFIG_CLEAN_FILES =
 
71
SOURCES =
 
72
DIST_SOURCES =
 
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 \
 
78
        uninstall-recursive
 
79
HEADERS = $(noinst_HEADERS)
 
80
ETAGS = etags
 
81
CTAGS = ctags
 
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
 
91
GZIP_ENV = --best
 
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
 
95
AMDEP_FALSE = #
 
96
AMDEP_TRUE = 
 
97
AMTAR = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run tar
 
98
AR = ar
 
99
ARCH_IA64_FALSE = 
 
100
ARCH_IA64_TRUE = #
 
101
ARCH_X86_64_FALSE = 
 
102
ARCH_X86_64_TRUE = #
 
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
 
106
AWK = gawk
 
107
CC = gcc
 
108
CCDEPMODE = depmode=gcc3
 
109
CFLAGS = -g -O2 -Wall -Wpointer-arith -Wcast-qual -Winline -Wcast-align -Wno-unused-parameter
 
110
CPP = gcc -E
 
111
CPPFLAGS = 
 
112
CYGPATH_W = echo
 
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 
 
114
DEPDIR = .deps
 
115
DL_LIBS = -ldl
 
116
ECHO = echo
 
117
ECHO_C = 
 
118
ECHO_N = -n
 
119
ECHO_T = 
 
120
EGREP = grep -E
 
121
ENABLE_BASHCOMP_FALSE = #
 
122
ENABLE_BASHCOMP_TRUE = 
 
123
ENABLE_CRON_FALSE = #
 
124
ENABLE_CRON_TRUE = 
 
125
ENABLE_LOGROTATE_FALSE = #
 
126
ENABLE_LOGROTATE_TRUE = 
 
127
ENABLE_UDEV_FALSE = #
 
128
ENABLE_UDEV_TRUE = 
 
129
EXEEXT = 
 
130
INSTALL_DATA = ${INSTALL} -m 644
 
131
INSTALL_PROGRAM = ${INSTALL}
 
132
INSTALL_SCRIPT = ${INSTALL}
 
133
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
 
134
LDFLAGS = 
 
135
LIBOBJS = 
 
136
LIBS = 
 
137
LIBTOOL = $(SHELL) $(top_builddir)/libtool
 
138
LN_S = ln -s
 
139
LTLIBOBJS = 
 
140
MAKEINFO = ${SHELL} /home/ola/build/debian/vzctl/vzctl-3.0.16/missing --run makeinfo
 
141
OBJEXT = o
 
142
PACKAGE = vzctl
 
143
PACKAGE_BUGREPORT = devel@openvz.org
 
144
PACKAGE_NAME = vzctl
 
145
PACKAGE_STRING = vzctl 3.0.16
 
146
PACKAGE_TARNAME = vzctl
 
147
PACKAGE_VERSION = 3.0.16
 
148
PATH_SEPARATOR = :
 
149
RANLIB = ranlib
 
150
SET_MAKE = 
 
151
SHELL = /bin/sh
 
152
STRIP = strip
 
153
UTIL_LIBS = -lutil
 
154
VERSION = 3.0.16
 
155
ac_ct_AR = ar
 
156
ac_ct_CC = gcc
 
157
ac_ct_RANLIB = ranlib
 
158
ac_ct_STRIP = strip
 
159
am__fastdepCC_FALSE = #
 
160
am__fastdepCC_TRUE = 
 
161
am__include = include
 
162
am__leading_dot = .
 
163
am__quote = 
 
164
am__tar = ${AMTAR} chof - "$$tardir"
 
165
am__untar = ${AMTAR} xf -
 
166
bindir = ${exec_prefix}/bin
 
167
build = i686-pc-linux-gnu
 
168
build_alias = 
 
169
build_cpu = i686
 
170
build_os = linux-gnu
 
171
build_vendor = pc
 
172
datadir = ${prefix}/share
 
173
exec_prefix = ${prefix}
 
174
host = i686-pc-linux-gnu
 
175
host_alias = 
 
176
host_cpu = i686
 
177
host_os = linux-gnu
 
178
host_vendor = pc
 
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
 
184
localstatedir = /var
 
185
mandir = /usr/share/man
 
186
mkdir_p = mkdir -p --
 
187
oldincludedir = /usr/include
 
188
prefix = /usr
 
189
program_transform_name = s,x,x,
 
190
sbindir = ${exec_prefix}/sbin
 
191
sharedstatedir = ${prefix}/com
 
192
sysconfdir = /etc
 
193
target = i686-pc-linux-gnu
 
194
target_alias = 
 
195
target_cpu = i686
 
196
target_os = linux-gnu
 
197
target_vendor = pc
 
198
SUBDIRS = bin \
 
199
          etc \
 
200
          man \
 
201
          scripts \
 
202
          src
 
203
 
 
204
noinst_HEADERS = $(wildcard include/*.h) \
 
205
                 $(wildcard include/linux/*.h)
 
206
 
 
207
EXTRA_DIST = vzctl.spec
 
208
vzdir = /vz
 
209
vzcachedir = $(vzdir)/template/cache
 
210
vzlockdir = $(vzdir)/lock
 
211
vzdumpdir = $(vzdir)/dump
 
212
veipdumpdir = $(localstatedir)/lib/vzctl/veip
 
213
modulesdir = $(pkglibdir)/modules
 
214
DISTRO_TARGETS = \
 
215
        install-redhat \
 
216
        install-gentoo
 
217
 
 
218
all: all-recursive
 
219
 
 
220
.SUFFIXES:
 
221
am--refresh:
 
222
        @:
 
223
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
 
224
        @for dep in $?; do \
 
225
          case '$(am__configure_deps)' in \
 
226
            *$$dep*) \
 
227
              echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
 
228
              cd $(srcdir) && $(AUTOMAKE) --foreign  \
 
229
                && exit 0; \
 
230
              exit 1;; \
 
231
          esac; \
 
232
        done; \
 
233
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
 
234
        cd $(top_srcdir) && \
 
235
          $(AUTOMAKE) --foreign  Makefile
 
236
.PRECIOUS: Makefile
 
237
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
238
        @case '$?' in \
 
239
          *config.status*) \
 
240
            echo ' $(SHELL) ./config.status'; \
 
241
            $(SHELL) ./config.status;; \
 
242
          *) \
 
243
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
 
244
            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
 
245
        esac;
 
246
 
 
247
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
248
        $(SHELL) ./config.status --recheck
 
249
 
 
250
$(top_srcdir)/configure:  $(am__configure_deps)
 
251
        cd $(srcdir) && $(AUTOCONF)
 
252
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 
253
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
254
 
 
255
mostlyclean-libtool:
 
256
        -rm -f *.lo
 
257
 
 
258
clean-libtool:
 
259
        -rm -rf .libs _libs
 
260
 
 
261
distclean-libtool:
 
262
        -rm -f libtool
 
263
uninstall-info-am:
 
264
 
 
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; \
 
273
        dot_seen=no; \
 
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 \
 
278
            dot_seen=yes; \
 
279
            local_target="$$target-am"; \
 
280
          else \
 
281
            local_target="$$target"; \
 
282
          fi; \
 
283
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
284
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
285
        done; \
 
286
        if test "$$dot_seen" = "no"; then \
 
287
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
288
        fi; test -z "$$fail"
 
289
 
 
290
mostlyclean-recursive clean-recursive distclean-recursive \
 
291
maintainer-clean-recursive:
 
292
        @set fnord $$MAKEFLAGS; amf=$$2; \
 
293
        dot_seen=no; \
 
294
        case "$@" in \
 
295
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
296
          *) list='$(SUBDIRS)' ;; \
 
297
        esac; \
 
298
        rev=''; for subdir in $$list; do \
 
299
          if test "$$subdir" = "."; then :; else \
 
300
            rev="$$subdir $$rev"; \
 
301
          fi; \
 
302
        done; \
 
303
        rev="$$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"; \
 
309
          else \
 
310
            local_target="$$target"; \
 
311
          fi; \
 
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"
 
315
tags-recursive:
 
316
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
317
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
318
        done
 
319
ctags-recursive:
 
320
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
321
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 
322
        done
 
323
 
 
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; \
 
328
          done | \
 
329
          $(AWK) '    { files[$$0] = 1; } \
 
330
               END { for (i in files) print i; }'`; \
 
331
        mkid -fID $$unique
 
332
tags: TAGS
 
333
 
 
334
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
335
                $(TAGS_FILES) $(LISP)
 
336
        tags=; \
 
337
        here=`pwd`; \
 
338
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 
339
          include_option=--etags-include; \
 
340
          empty_fix=.; \
 
341
        else \
 
342
          include_option=--include; \
 
343
          empty_fix=; \
 
344
        fi; \
 
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"; \
 
349
          fi; \
 
350
        done; \
 
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; \
 
354
          done | \
 
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) \
 
360
            $$tags $$unique; \
 
361
        fi
 
362
ctags: CTAGS
 
363
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
364
                $(TAGS_FILES) $(LISP)
 
365
        tags=; \
 
366
        here=`pwd`; \
 
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; \
 
370
          done | \
 
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) \
 
375
             $$tags $$unique
 
376
 
 
377
GTAGS:
 
378
        here=`$(am__cd) $(top_builddir) && pwd` \
 
379
          && cd $(top_srcdir) \
 
380
          && gtags -i $(GTAGS_ARGS) $$here
 
381
 
 
382
distclean-tags:
 
383
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
384
 
 
385
distdir: $(DISTFILES)
 
386
        $(am__remove_distdir)
 
387
        mkdir $(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 \
 
392
          case $$file in \
 
393
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
394
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
395
          esac; \
 
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 \
 
399
            dir="/$$dir"; \
 
400
            $(mkdir_p) "$(distdir)$$dir"; \
 
401
          else \
 
402
            dir=''; \
 
403
          fi; \
 
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; \
 
407
            fi; \
 
408
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
409
          else \
 
410
            test -f $(distdir)/$$file \
 
411
            || cp -p $$d/$$file $(distdir)/$$file \
 
412
            || exit 1; \
 
413
          fi; \
 
414
        done
 
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" \
 
419
            || exit 1; \
 
420
            distdir=`$(am__cd) $(distdir) && pwd`; \
 
421
            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 
422
            (cd $$subdir && \
 
423
              $(MAKE) $(AM_MAKEFLAGS) \
 
424
                top_distdir="$$top_distdir" \
 
425
                distdir="$$distdir/$$subdir" \
 
426
                distdir) \
 
427
              || exit 1; \
 
428
          fi; \
 
429
        done
 
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)
 
435
dist-gzip: distdir
 
436
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
437
        $(am__remove_distdir)
 
438
dist-bzip2: distdir
 
439
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 
440
        $(am__remove_distdir)
 
441
 
 
442
dist-tarZ: distdir
 
443
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 
444
        $(am__remove_distdir)
 
445
 
 
446
dist-shar: distdir
 
447
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
 
448
        $(am__remove_distdir)
 
449
 
 
450
dist-zip: distdir
 
451
        -rm -f $(distdir).zip
 
452
        zip -rq $(distdir).zip $(distdir)
 
453
        $(am__remove_distdir)
 
454
 
 
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)
 
459
 
 
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
 
462
# tarfile.
 
463
distcheck: dist
 
464
        case '$(DIST_ARCHIVES)' in \
 
465
        *.tar.gz*) \
 
466
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
 
467
        *.tar.bz2*) \
 
468
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
 
469
        *.tar.Z*) \
 
470
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 
471
        *.shar.gz*) \
 
472
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
 
473
        *.zip*) \
 
474
          unzip $(distdir).zip ;;\
 
475
        esac
 
476
        chmod -R a-w $(distdir); chmod a+w $(distdir)
 
477
        mkdir $(distdir)/_build
 
478
        mkdir $(distdir)/_inst
 
479
        chmod a-w $(distdir)
 
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" \
 
492
                distuninstallcheck \
 
493
          && chmod -R a-w "$$dc_install_base" \
 
494
          && ({ \
 
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;}'
 
509
distuninstallcheck:
 
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)"; \
 
515
                fi ; \
 
516
                $(distuninstallcheck_listfiles) ; \
 
517
                exit 1; } >&2
 
518
distcleancheck: distclean
 
519
        @if test '$(srcdir)' = . ; then \
 
520
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
 
521
          exit 1 ; \
 
522
        fi
 
523
        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
 
524
          || { echo "ERROR: files left in build directory after distclean:" ; \
 
525
               $(distcleancheck_listfiles) ; \
 
526
               exit 1; } >&2
 
527
check-am: all-am
 
528
check: check-recursive
 
529
all-am: Makefile $(HEADERS)
 
530
installdirs: installdirs-recursive
 
531
installdirs-am:
 
532
install: install-recursive
 
533
install-exec: install-exec-recursive
 
534
install-data: install-data-recursive
 
535
uninstall: uninstall-recursive
 
536
 
 
537
install-am: all-am
 
538
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
539
 
 
540
installcheck: installcheck-recursive
 
541
install-strip:
 
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
 
546
mostlyclean-generic:
 
547
 
 
548
clean-generic:
 
549
 
 
550
distclean-generic:
 
551
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
552
 
 
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
 
557
 
 
558
clean-am: clean-generic clean-libtool mostlyclean-am
 
559
 
 
560
distclean: distclean-recursive
 
561
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
562
        -rm -f Makefile
 
563
distclean-am: clean-am distclean-generic distclean-libtool \
 
564
        distclean-tags
 
565
 
 
566
dvi: dvi-recursive
 
567
 
 
568
dvi-am:
 
569
 
 
570
html: html-recursive
 
571
 
 
572
info: info-recursive
 
573
 
 
574
info-am:
 
575
 
 
576
install-data-am: install-data-local
 
577
 
 
578
install-exec-am:
 
579
 
 
580
install-info: install-info-recursive
 
581
 
 
582
install-man:
 
583
 
 
584
installcheck-am:
 
585
 
 
586
maintainer-clean: maintainer-clean-recursive
 
587
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
588
        -rm -rf $(top_srcdir)/autom4te.cache
 
589
        -rm -f Makefile
 
590
maintainer-clean-am: distclean-am maintainer-clean-generic
 
591
 
 
592
mostlyclean: mostlyclean-recursive
 
593
 
 
594
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
595
 
 
596
pdf: pdf-recursive
 
597
 
 
598
pdf-am:
 
599
 
 
600
ps: ps-recursive
 
601
 
 
602
ps-am:
 
603
 
 
604
uninstall-am: uninstall-info-am
 
605
 
 
606
uninstall-info: uninstall-info-recursive
 
607
 
 
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
 
622
 
 
623
 
 
624
install-data-local:
 
625
        $(mkinstalldirs) $(DESTDIR)$(vzdir)
 
626
        $(mkinstalldirs) $(DESTDIR)$(vzcachedir)
 
627
        $(mkinstalldirs) $(DESTDIR)$(vzlockdir)
 
628
        $(mkinstalldirs) $(DESTDIR)$(vzdumpdir)
 
629
        $(mkinstalldirs) $(DESTDIR)$(veipdumpdir)
 
630
        $(mkinstalldirs) $(DESTDIR)$(modulesdir)
 
631
 
 
632
$(DISTRO_TARGETS):
 
633
        $(MAKE) $(AM_MAKEFLAGS) -C etc $@
 
634
 
 
635
rpms: dist
 
636
        cp $(distdir).tar.bz2 `rpm --eval %_sourcedir`
 
637
        rpmbuild -ba vzctl.spec
 
638
 
 
639
.PHONY: rpms
 
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.
 
642
.NOEXPORT: