1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7
# This Makefile.in is free software; the Free Software Foundation
8
# gives unlimited permission to copy and/or distribute it,
9
# with or without modifications, as long as this notice is preserved.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18
# $Id: Makefile.am 5021 2010-07-06 11:21:21Z tfheen $
22
pkgdatadir = $(datadir)/@PACKAGE@
23
pkgincludedir = $(includedir)/@PACKAGE@
24
pkglibdir = $(libdir)/@PACKAGE@
25
pkglibexecdir = $(libexecdir)/@PACKAGE@
26
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27
install_sh_DATA = $(install_sh) -c -m 644
28
install_sh_PROGRAM = $(install_sh) -c
29
install_sh_SCRIPT = $(install_sh) -c
30
INSTALL_HEADER = $(INSTALL_DATA)
31
transform = $(program_transform_name)
38
build_triplet = @build@
40
target_triplet = @target@
41
@ENABLE_TESTS_TRUE@TESTS = num_c_test$(EXEEXT)
42
@ENABLE_TESTS_TRUE@noinst_PROGRAMS = $(am__EXEEXT_1)
43
subdir = lib/libvarnish
44
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
45
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
47
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49
mkinstalldirs = $(install_sh) -d
50
CONFIG_HEADER = $(top_builddir)/config.h
52
CONFIG_CLEAN_VPATH_FILES =
53
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
54
am__vpath_adj = case $$p in \
55
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
60
am__nobase_strip_setup = \
61
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
63
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
64
am__nobase_list = $(am__nobase_strip_setup); \
65
for p in $$list; do echo "$$p $$p"; done | \
66
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
67
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
68
if (++n[$$2] == $(am__install_max)) \
69
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
70
END { for (dir in files) print dir, files[dir] }'
72
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
73
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
74
am__installdirs = "$(DESTDIR)$(libdir)"
75
LTLIBRARIES = $(lib_LTLIBRARIES)
77
libvarnish_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
78
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
79
am_libvarnish_la_OBJECTS = argv.lo assert.lo binary_heap.lo subproc.lo \
80
cli_auth.lo cli_common.lo cli_serve.lo flopen.lo num.lo \
81
svn_version.lo time.lo tcp.lo vct.lo version.lo vev.lo vlu.lo \
82
vmb.lo vpf.lo vre.lo vsb.lo vsha256.lo vss.lo vtmpfile.lo
83
libvarnish_la_OBJECTS = $(am_libvarnish_la_OBJECTS)
84
libvarnish_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
85
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
86
$(libvarnish_la_LDFLAGS) $(LDFLAGS) -o $@
87
@ENABLE_TESTS_TRUE@am__EXEEXT_1 = num_c_test$(EXEEXT)
88
PROGRAMS = $(noinst_PROGRAMS)
89
am__num_c_test_SOURCES_DIST = num.c
90
@ENABLE_TESTS_TRUE@am_num_c_test_OBJECTS = num_c_test-num.$(OBJEXT)
91
num_c_test_OBJECTS = $(am_num_c_test_OBJECTS)
92
@ENABLE_TESTS_TRUE@num_c_test_DEPENDENCIES = $(am__DEPENDENCIES_1)
93
num_c_test_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
94
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(num_c_test_CFLAGS) \
95
$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
96
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
97
depcomp = $(SHELL) $(top_srcdir)/depcomp
98
am__depfiles_maybe = depfiles
100
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
101
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
102
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
103
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
104
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
106
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
107
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
109
SOURCES = $(libvarnish_la_SOURCES) $(num_c_test_SOURCES)
110
DIST_SOURCES = $(libvarnish_la_SOURCES) $(am__num_c_test_SOURCES_DIST)
114
red=; grn=; lgn=; blu=; std=
115
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
119
AUTOCONF = @AUTOCONF@
120
AUTOHEADER = @AUTOHEADER@
121
AUTOMAKE = @AUTOMAKE@
124
CCDEPMODE = @CCDEPMODE@
127
CPPFLAGS = @CPPFLAGS@
128
CURSES_LIBS = @CURSES_LIBS@
129
CYGPATH_W = @CYGPATH_W@
133
DSYMUTIL = @DSYMUTIL@
143
INSTALL_DATA = @INSTALL_DATA@
144
INSTALL_PROGRAM = @INSTALL_PROGRAM@
145
INSTALL_SCRIPT = @INSTALL_SCRIPT@
146
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
147
JEMALLOC_LDADD = @JEMALLOC_LDADD@
148
JEMALLOC_SUBDIR = @JEMALLOC_SUBDIR@
158
LTLIBOBJS = @LTLIBOBJS@
159
MAKEINFO = @MAKEINFO@
161
NET_LIBS = @NET_LIBS@
169
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170
PACKAGE_NAME = @PACKAGE_NAME@
171
PACKAGE_STRING = @PACKAGE_STRING@
172
PACKAGE_TARNAME = @PACKAGE_TARNAME@
173
PACKAGE_URL = @PACKAGE_URL@
174
PACKAGE_VERSION = @PACKAGE_VERSION@
175
PATH_SEPARATOR = @PATH_SEPARATOR@
176
PCRE_CFLAGS = @PCRE_CFLAGS@
177
PCRE_CONFIG = @PCRE_CONFIG@
178
PCRE_LIBS = @PCRE_LIBS@
179
PKG_CONFIG = @PKG_CONFIG@
180
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
181
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
182
PTHREAD_LIBS = @PTHREAD_LIBS@
186
SET_MAKE = @SET_MAKE@
190
VARNISH_STATE_DIR = @VARNISH_STATE_DIR@
193
XSLTPROC = @XSLTPROC@
194
abs_builddir = @abs_builddir@
195
abs_srcdir = @abs_srcdir@
196
abs_top_builddir = @abs_top_builddir@
197
abs_top_srcdir = @abs_top_srcdir@
198
ac_ct_CC = @ac_ct_CC@
199
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
200
am__include = @am__include@
201
am__leading_dot = @am__leading_dot@
202
am__quote = @am__quote@
204
am__untar = @am__untar@
207
build_alias = @build_alias@
208
build_cpu = @build_cpu@
209
build_os = @build_os@
210
build_vendor = @build_vendor@
211
builddir = @builddir@
213
datarootdir = @datarootdir@
216
exec_prefix = @exec_prefix@
218
host_alias = @host_alias@
219
host_cpu = @host_cpu@
221
host_vendor = @host_vendor@
223
includedir = @includedir@
225
install_sh = @install_sh@
227
libexecdir = @libexecdir@
228
localedir = @localedir@
229
localstatedir = @localstatedir@
233
oldincludedir = @oldincludedir@
236
program_transform_name = @program_transform_name@
239
sharedstatedir = @sharedstatedir@
241
sysconfdir = @sysconfdir@
243
target_alias = @target_alias@
244
target_cpu = @target_cpu@
245
target_os = @target_os@
246
target_vendor = @target_vendor@
247
top_build_prefix = @top_build_prefix@
248
top_builddir = @top_builddir@
249
top_srcdir = @top_srcdir@
250
varnishconfdir = @varnishconfdir@
251
INCLUDES = -I$(top_srcdir)/include @PCRE_CFLAGS@
252
lib_LTLIBRARIES = libvarnish.la
253
libvarnish_la_LDFLAGS = -version-info 1:0:0
254
libvarnish_la_SOURCES = \
279
libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM} @PCRE_LIBS@
280
DISTCLEANFILES = svn_version.c
281
@ENABLE_TESTS_TRUE@num_c_test_SOURCES = num.c
282
@ENABLE_TESTS_TRUE@num_c_test_CFLAGS = -DNUM_C_TEST -include config.h
283
@ENABLE_TESTS_TRUE@num_c_test_LDADD = ${LIBM}
287
.SUFFIXES: .c .lo .o .obj
288
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
290
case '$(am__configure_deps)' in \
292
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
293
&& { if test -f $@; then exit 0; else break; fi; }; \
297
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/libvarnish/Makefile'; \
298
$(am__cd) $(top_srcdir) && \
299
$(AUTOMAKE) --foreign lib/libvarnish/Makefile
301
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
304
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
306
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
307
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
310
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
311
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
313
$(top_srcdir)/configure: $(am__configure_deps)
314
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
315
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
316
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
317
$(am__aclocal_m4_deps):
318
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
320
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
321
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
322
list2=; for p in $$list; do \
323
if test -f $$p; then \
324
list2="$$list2 $$p"; \
327
test -z "$$list2" || { \
328
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
329
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
332
uninstall-libLTLIBRARIES:
334
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
335
for p in $$list; do \
337
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
338
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
341
clean-libLTLIBRARIES:
342
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
343
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
344
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
345
test "$$dir" != "$$p" || dir=.; \
346
echo "rm -f \"$${dir}/so_locations\""; \
347
rm -f "$${dir}/so_locations"; \
349
libvarnish.la: $(libvarnish_la_OBJECTS) $(libvarnish_la_DEPENDENCIES)
350
$(libvarnish_la_LINK) -rpath $(libdir) $(libvarnish_la_OBJECTS) $(libvarnish_la_LIBADD) $(LIBS)
352
clean-noinstPROGRAMS:
353
@list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
354
echo " rm -f" $$list; \
355
rm -f $$list || exit $$?; \
356
test -n "$(EXEEXT)" || exit 0; \
357
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
358
echo " rm -f" $$list; \
360
num_c_test$(EXEEXT): $(num_c_test_OBJECTS) $(num_c_test_DEPENDENCIES)
361
@rm -f num_c_test$(EXEEXT)
362
$(num_c_test_LINK) $(num_c_test_OBJECTS) $(num_c_test_LDADD) $(LIBS)
370
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argv.Plo@am__quote@
371
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/assert.Plo@am__quote@
372
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary_heap.Plo@am__quote@
373
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cli_auth.Plo@am__quote@
374
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cli_common.Plo@am__quote@
375
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cli_serve.Plo@am__quote@
376
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flopen.Plo@am__quote@
377
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/num.Plo@am__quote@
378
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/num_c_test-num.Po@am__quote@
379
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subproc.Plo@am__quote@
380
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/svn_version.Plo@am__quote@
381
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tcp.Plo@am__quote@
382
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time.Plo@am__quote@
383
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vct.Plo@am__quote@
384
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Plo@am__quote@
385
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vev.Plo@am__quote@
386
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vlu.Plo@am__quote@
387
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vmb.Plo@am__quote@
388
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vpf.Plo@am__quote@
389
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vre.Plo@am__quote@
390
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsb.Plo@am__quote@
391
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsha256.Plo@am__quote@
392
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vss.Plo@am__quote@
393
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vtmpfile.Plo@am__quote@
396
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
397
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
398
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
399
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
400
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
403
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
404
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
405
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
406
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
407
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
410
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
411
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
412
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
413
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
414
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
416
num_c_test-num.o: num.c
417
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(num_c_test_CFLAGS) $(CFLAGS) -MT num_c_test-num.o -MD -MP -MF $(DEPDIR)/num_c_test-num.Tpo -c -o num_c_test-num.o `test -f 'num.c' || echo '$(srcdir)/'`num.c
418
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/num_c_test-num.Tpo $(DEPDIR)/num_c_test-num.Po
419
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='num.c' object='num_c_test-num.o' libtool=no @AMDEPBACKSLASH@
420
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
421
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(num_c_test_CFLAGS) $(CFLAGS) -c -o num_c_test-num.o `test -f 'num.c' || echo '$(srcdir)/'`num.c
423
num_c_test-num.obj: num.c
424
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(num_c_test_CFLAGS) $(CFLAGS) -MT num_c_test-num.obj -MD -MP -MF $(DEPDIR)/num_c_test-num.Tpo -c -o num_c_test-num.obj `if test -f 'num.c'; then $(CYGPATH_W) 'num.c'; else $(CYGPATH_W) '$(srcdir)/num.c'; fi`
425
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/num_c_test-num.Tpo $(DEPDIR)/num_c_test-num.Po
426
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='num.c' object='num_c_test-num.obj' libtool=no @AMDEPBACKSLASH@
427
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
428
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(num_c_test_CFLAGS) $(CFLAGS) -c -o num_c_test-num.obj `if test -f 'num.c'; then $(CYGPATH_W) 'num.c'; else $(CYGPATH_W) '$(srcdir)/num.c'; fi`
436
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
437
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
438
unique=`for i in $$list; do \
439
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
441
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
442
END { if (nonempty) { for (i in files) print i; }; }'`; \
446
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
447
$(TAGS_FILES) $(LISP)
450
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
451
unique=`for i in $$list; do \
452
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
454
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
455
END { if (nonempty) { for (i in files) print i; }; }'`; \
457
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
458
test -n "$$unique" || unique=$$empty_fix; \
459
if test $$# -gt 0; then \
460
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
463
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
468
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
469
$(TAGS_FILES) $(LISP)
470
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
471
unique=`for i in $$list; do \
472
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
475
END { if (nonempty) { for (i in files) print i; }; }'`; \
476
test -z "$(CTAGS_ARGS)$$unique" \
477
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
481
here=`$(am__cd) $(top_builddir) && pwd` \
482
&& $(am__cd) $(top_srcdir) \
483
&& gtags -i $(GTAGS_ARGS) "$$here"
486
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
488
check-TESTS: $(TESTS)
489
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
490
srcdir=$(srcdir); export srcdir; \
493
if test -n "$$list"; then \
494
for tst in $$list; do \
495
if test -f ./$$tst; then dir=./; \
496
elif test -f $$tst; then dir=; \
497
else dir="$(srcdir)/"; fi; \
498
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
499
all=`expr $$all + 1`; \
500
case " $(XFAIL_TESTS) " in \
501
*[\ \ ]$$tst[\ \ ]*) \
502
xpass=`expr $$xpass + 1`; \
503
failed=`expr $$failed + 1`; \
504
col=$$red; res=XPASS; \
507
col=$$grn; res=PASS; \
510
elif test $$? -ne 77; then \
511
all=`expr $$all + 1`; \
512
case " $(XFAIL_TESTS) " in \
513
*[\ \ ]$$tst[\ \ ]*) \
514
xfail=`expr $$xfail + 1`; \
515
col=$$lgn; res=XFAIL; \
518
failed=`expr $$failed + 1`; \
519
col=$$red; res=FAIL; \
523
skip=`expr $$skip + 1`; \
524
col=$$blu; res=SKIP; \
526
echo "$${col}$$res$${std}: $$tst"; \
528
if test "$$all" -eq 1; then \
535
if test "$$failed" -eq 0; then \
536
if test "$$xfail" -eq 0; then \
537
banner="$$All$$all $$tests passed"; \
539
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
540
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
543
if test "$$xpass" -eq 0; then \
544
banner="$$failed of $$all $$tests failed"; \
546
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
547
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
552
if test "$$skip" -ne 0; then \
553
if test "$$skip" -eq 1; then \
554
skipped="($$skip test was not run)"; \
556
skipped="($$skip tests were not run)"; \
558
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
559
dashes="$$skipped"; \
562
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
563
report="Please report to $(PACKAGE_BUGREPORT)"; \
564
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
567
dashes=`echo "$$dashes" | sed s/./=/g`; \
568
if test "$$failed" -eq 0; then \
569
echo "$$grn$$dashes"; \
571
echo "$$red$$dashes"; \
574
test -z "$$skipped" || echo "$$skipped"; \
575
test -z "$$report" || echo "$$report"; \
576
echo "$$dashes$$std"; \
577
test "$$failed" -eq 0; \
580
distdir: $(DISTFILES)
581
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
582
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
583
list='$(DISTFILES)'; \
584
dist_files=`for file in $$list; do echo $$file; done | \
585
sed -e "s|^$$srcdirstrip/||;t" \
586
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
587
case $$dist_files in \
588
*/*) $(MKDIR_P) `echo "$$dist_files" | \
589
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
592
for file in $$dist_files; do \
593
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
594
if test -d $$d/$$file; then \
595
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
596
if test -d "$(distdir)/$$file"; then \
597
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
599
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
600
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
601
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
603
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
605
test -f "$(distdir)/$$file" \
606
|| cp -p $$d/$$file "$(distdir)/$$file" \
611
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
613
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
615
for dir in "$(DESTDIR)$(libdir)"; do \
616
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
619
install-exec: install-exec-am
620
install-data: install-data-am
621
uninstall: uninstall-am
624
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
626
installcheck: installcheck-am
628
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
629
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
630
`test -z '$(STRIP)' || \
631
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
637
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
638
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
639
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
641
maintainer-clean-generic:
642
@echo "This command is intended for maintainers to use"
643
@echo "it deletes files that may require special tools to rebuild."
646
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
647
clean-noinstPROGRAMS mostlyclean-am
649
distclean: distclean-am
652
distclean-am: clean-am distclean-compile distclean-generic \
669
install-dvi: install-dvi-am
673
install-exec-am: install-libLTLIBRARIES
675
install-html: install-html-am
679
install-info: install-info-am
685
install-pdf: install-pdf-am
689
install-ps: install-ps-am
695
maintainer-clean: maintainer-clean-am
698
maintainer-clean-am: distclean-am maintainer-clean-generic
700
mostlyclean: mostlyclean-am
702
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
713
uninstall-am: uninstall-libLTLIBRARIES
715
.MAKE: check-am install-am install-strip
717
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
718
clean-generic clean-libLTLIBRARIES clean-libtool \
719
clean-noinstPROGRAMS ctags distclean distclean-compile \
720
distclean-generic distclean-libtool distclean-tags distdir dvi \
721
dvi-am html html-am info info-am install install-am \
722
install-data install-data-am install-dvi install-dvi-am \
723
install-exec install-exec-am install-html install-html-am \
724
install-info install-info-am install-libLTLIBRARIES \
725
install-man install-pdf install-pdf-am install-ps \
726
install-ps-am install-strip installcheck installcheck-am \
727
installdirs maintainer-clean maintainer-clean-generic \
728
mostlyclean mostlyclean-compile mostlyclean-generic \
729
mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
730
uninstall-am uninstall-libLTLIBRARIES
733
V="$$(git log -n 1 --pretty=format:%h 2>/dev/null || LANG=C svnversion -n $(top_srcdir))" \
734
H="$$(head -n 1 svn_version.c 2>/dev/null || true)"; \
735
[ "$$V" = "exported" ] && [ -e svn_version.c ] && exit 0 ; \
736
if [ "/* $$V */" != "$$H" ]; then \
739
echo "#include <libvarnish.h>" ;\
740
echo "const char* svn_version(void)" ;\
742
echo " const char* SVN_Version = \"$$V\";" ;\
743
echo " return SVN_Version;" ;\
745
) > svn_version.c ; \
749
@ENABLE_TESTS_TRUE@test: ${TESTS}
750
@ENABLE_TESTS_TRUE@ @for test in ${TESTS} ; do ./$${test} ; done
752
# Tell versions [3.59,3.63) of GNU make to not export all variables.
753
# Otherwise a system limit (for SysV at least) may be exceeded.