1 # Makefile.in generated by automake 1.6.3 from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # 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.
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
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 install_sh_SCRIPT = $(install_sh) -c
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 INSTALL_HEADER = $(INSTALL_DATA)
55 transform = @program_transform_name@
62 host_alias = @host_alias@
67 PATH_SEPARATOR = @PATH_SEPARATOR@
83 GELFINCLUDE = @GELFINCLUDE@
84 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
94 am__include = @am__include@
95 am__quote = @am__quote@
96 install_sh = @install_sh@
98 AUTOMAKE_OPTIONS = 1.4 gnu
100 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall
103 TESTS = movelibs.sh \
104 reloc1.sh reloc2.sh reloc3.sh reloc4.sh reloc5.sh reloc6.sh \
105 reloc7.sh reloc8.sh reloc9.sh reloc10.sh reloc11.sh \
106 shuffle1.sh shuffle2.sh shuffle3.sh shuffle4.sh shuffle5.sh \
107 shuffle6.sh shuffle7.sh shuffle8.sh shuffle9.sh undo1.sh \
108 layout1.sh layout2.sh \
109 tls1.sh tls2.sh tls3.sh tls4.sh tls5.sh tls6.sh tls7.sh \
110 cxx1.sh cxx2.sh quick1.sh quick2.sh quick3.sh cycle1.sh cycle2.sh \
112 ifunc1.sh ifunc2.sh ifunc3.sh \
115 TESTS_ENVIRONMENT = \
116 PRELINK="../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=`echo ./ld*.so.*[0-9]`" \
117 CC="$(CC) $(LINKOPTS)" CCLINK="$(CC) -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`" \
118 CXX="$(CXX) $(LINKOPTS)" CXXLINK="$(CXX) -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`" \
122 extra_DIST = $(TESTS) functions.sh
124 CLEANFILES = *.so *.so.* *.nop syslib.list syslnk.list prelink.cache prelink.conf \
125 $(TESTS:%.sh=%) $(TESTS:%.sh=%.log) $(TESTS:%.sh=%.lds) \
126 *.orig *.new core* *.\#prelink\#* tlstest *.first *.second
129 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
130 CONFIG_HEADER = $(top_builddir)/config.h
133 DIST_COMMON = Makefile.am Makefile.in
137 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
138 cd $(top_srcdir) && \
139 $(AUTOMAKE) --gnu testsuite/Makefile
140 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
141 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
156 check-TESTS: $(TESTS)
157 @failed=0; all=0; xfail=0; xpass=0; \
158 srcdir=$(srcdir); export srcdir; \
160 if test -n "$$list"; then \
161 for tst in $$list; do \
162 if test -f ./$$tst; then dir=./; \
163 elif test -f $$tst; then dir=; \
164 else dir="$(srcdir)/"; fi; \
165 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
166 all=`expr $$all + 1`; \
167 case " $(XFAIL_TESTS) " in \
169 xpass=`expr $$xpass + 1`; \
170 failed=`expr $$failed + 1`; \
171 echo "XPASS: $$tst"; \
174 echo "PASS: $$tst"; \
177 elif test $$? -ne 77; then \
178 all=`expr $$all + 1`; \
179 case " $(XFAIL_TESTS) " in \
181 xfail=`expr $$xfail + 1`; \
182 echo "XFAIL: $$tst"; \
185 failed=`expr $$failed + 1`; \
186 echo "FAIL: $$tst"; \
191 if test "$$failed" -eq 0; then \
192 if test "$$xfail" -eq 0; then \
193 banner="All $$all tests passed"; \
195 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
198 if test "$$xpass" -eq 0; then \
199 banner="$$failed of $$all tests failed"; \
201 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
204 dashes=`echo "$$banner" | sed s/./=/g`; \
208 test "$$failed" -eq 0; \
210 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
213 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
215 distdir: $(DISTFILES)
216 @list='$(DISTFILES)'; for file in $$list; do \
217 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
218 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
219 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
221 $(mkinstalldirs) "$(distdir)$$dir"; \
225 if test -d $$d/$$file; then \
226 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
227 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
229 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
231 test -f $(distdir)/$$file \
232 || cp -p $$d/$$file $(distdir)/$$file \
237 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
244 install-exec: install-exec-am
245 install-data: install-data-am
246 uninstall: uninstall-am
249 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
251 installcheck: installcheck-am
253 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
254 INSTALL_STRIP_FLAG=-s \
255 `test -z '$(STRIP)' || \
256 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
260 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
263 -rm -f Makefile $(CONFIG_CLEAN_FILES)
265 maintainer-clean-generic:
266 @echo "This command is intended for maintainers to use"
267 @echo "it deletes files that may require special tools to rebuild."
270 clean-am: clean-generic clean-libtool mostlyclean-am
272 distclean: distclean-am
274 distclean-am: clean-am distclean-generic distclean-libtool
288 install-info: install-info-am
294 maintainer-clean: maintainer-clean-am
296 maintainer-clean-am: distclean-am maintainer-clean-generic
298 mostlyclean: mostlyclean-am
300 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
302 uninstall-am: uninstall-info-am
304 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
305 clean-libtool distclean distclean-generic distclean-libtool \
306 distdir dvi dvi-am info info-am install install-am install-data \
307 install-data-am install-exec install-exec-am install-info \
308 install-info-am install-man install-strip installcheck \
309 installcheck-am installdirs maintainer-clean \
310 maintainer-clean-generic mostlyclean mostlyclean-generic \
311 mostlyclean-libtool uninstall uninstall-am uninstall-info-am
323 if [ "`uname -m | sed s/i.86/i.86/`" = i.86 ]; then \
324 optlist="--no-exec-shield --exec-shield"; \
326 for opts2 in $$optlist; do \
327 for opts in -v -vm -vR -vmR; do \
328 PRELINK_OPTS="$$opts"; \
329 [ $$opts2 != . ] && PRELINK_OPTS="$$opts $$opts2"; \
330 echo "Checking with $$PRELINK_OPTS"; \
331 PRELINK_OPTS="$$PRELINK_OPTS" $(MAKE) $(AM_MAKEFLAGS) check || exit; \
332 $(MAKE) $(AM_MAKEFLAGS) clean || exit; \
335 echo "Checking with -Wl,-z,nocombreloc"; \
336 LINKOPTS=-Wl,-z,nocombreloc $(MAKE) $(AM_MAKEFLAGS) check || exit; \
337 $(MAKE) $(AM_MAKEFLAGS) clean || exit
340 @CHECK_ME_HARDER=1 $(MAKE) $(AM_MAKEFLAGS) check || exit
341 # Tell versions [3.59,3.63) of GNU make to not export all variables.
342 # Otherwise a system limit (for SysV at least) may be exceeded.