1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
45 AUTOHEADER = @AUTOHEADER@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
74 AUTOMAKE_OPTIONS = dejagnu
76 # Install all the associated data files
77 SUBDIRS = doc # testsuite example
79 # Install the bourne shell script driver in the bindir
82 # Install the main DejaGnu expect file in the datadir
83 pkgdata_SCRIPTS = runtest.exp
85 # Install config.guess too, so we can use it to figure out
86 # what type of machine we're running on.
87 libexecdir = $(pkgdatadir)/libexec
88 libexec_SCRIPTS = config.guess
92 RUNTESTDEFAULTFLAGS = --srcdir $(srcdir)/testsuite RUNTEST=$(RUNTEST)
94 if [ -f ${srcdir}/runtest$(EXEEXT) ] ; then \
95 echo ${srcdir}/runtest$(EXEEXT); \
96 else echo "ERROR: runtest not found" ; exit 1; fi`
99 CLEANFILES = x.log x.sum site.bak setval.tmp
101 DATE = `date "+%Y%m%d`
103 # Below, host-independent data files that need to get installed.
104 # We do it this way so we can use globbing.
106 lib_dest = $(DESTDIR)$(pkgdatadir)
107 lib_files = $(srcdir)/*.c $(srcdir)/lib/*.exp
109 baseboards_dest = $(DESTDIR)$(pkgdatadir)/baseboards
110 baseboards_files = $(srcdir)/baseboards/README $(srcdir)/baseboards/*.exp
112 config_dest = $(DESTDIR)$(pkgdatadir)/config
113 config_files = $(srcdir)/config/README $(srcdir)/config/*.exp
114 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
115 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
117 SCRIPTS = $(bin_SCRIPTS) $(libexec_SCRIPTS) $(pkgdata_SCRIPTS)
119 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
120 Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess config.sub \
121 configure configure.in install-sh missing mkinstalldirs
124 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
131 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
132 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
134 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
136 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
138 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
139 cd $(srcdir) && $(ACLOCAL)
141 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
142 $(SHELL) ./config.status --recheck
143 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
144 cd $(srcdir) && $(AUTOCONF)
146 install-binSCRIPTS: $(bin_SCRIPTS)
148 $(mkinstalldirs) $(DESTDIR)$(bindir)
149 @list='$(bin_SCRIPTS)'; for p in $$list; do \
150 if test -f $$p; then \
151 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
152 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
153 else if test -f $(srcdir)/$$p; then \
154 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
155 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
159 uninstall-binSCRIPTS:
161 list='$(bin_SCRIPTS)'; for p in $$list; do \
162 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
165 install-libexecSCRIPTS: $(libexec_SCRIPTS)
167 $(mkinstalldirs) $(DESTDIR)$(libexecdir)
168 @list='$(libexec_SCRIPTS)'; for p in $$list; do \
169 if test -f $$p; then \
170 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`"; \
171 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \
172 else if test -f $(srcdir)/$$p; then \
173 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`"; \
174 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \
178 uninstall-libexecSCRIPTS:
180 list='$(libexec_SCRIPTS)'; for p in $$list; do \
181 rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \
184 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
186 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
187 @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
188 if test -f $$p; then \
189 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
190 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
191 else if test -f $(srcdir)/$$p; then \
192 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
193 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
197 uninstall-pkgdataSCRIPTS:
199 list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
200 rm -f $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
203 # This directory's subdirectories are mostly independent; you can cd
204 # into them and run `make' without going through this Makefile.
205 # To change the values of `make' variables: instead of editing Makefiles,
206 # (1) if the variable is set in `config.status', edit `config.status'
207 # (which will cause the Makefiles to be regenerated when you run `make');
208 # (2) otherwise, pass the desired values on the `make' command line.
212 all-recursive install-data-recursive install-exec-recursive \
213 installdirs-recursive install-recursive uninstall-recursive \
214 check-recursive installcheck-recursive info-recursive dvi-recursive:
215 @set fnord $(MAKEFLAGS); amf=$$2; \
217 target=`echo $@ | sed s/-recursive//`; \
218 list='$(SUBDIRS)'; for subdir in $$list; do \
219 echo "Making $$target in $$subdir"; \
220 if test "$$subdir" = "."; then \
222 local_target="$$target-am"; \
224 local_target="$$target"; \
226 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
227 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
229 if test "$$dot_seen" = "no"; then \
230 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
233 mostlyclean-recursive clean-recursive distclean-recursive \
234 maintainer-clean-recursive:
235 @set fnord $(MAKEFLAGS); amf=$$2; \
237 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
238 rev="$$subdir $$rev"; \
239 test "$$subdir" != "." || dot_seen=yes; \
241 test "$$dot_seen" = "no" && rev=". $$rev"; \
242 target=`echo $@ | sed s/-recursive//`; \
243 for subdir in $$rev; do \
244 echo "Making $$target in $$subdir"; \
245 if test "$$subdir" = "."; then \
246 local_target="$$target-am"; \
248 local_target="$$target"; \
250 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
251 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
252 done && test -z "$$fail"
254 list='$(SUBDIRS)'; for subdir in $$list; do \
255 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
260 ID: $(HEADERS) $(SOURCES) $(LISP)
261 list='$(SOURCES) $(HEADERS)'; \
262 unique=`for i in $$list; do echo $$i; done | \
263 awk ' { files[$$0] = 1; } \
264 END { for (i in files) print i; }'`; \
265 here=`pwd` && cd $(srcdir) \
266 && mkid -f$$here/ID $$unique $(LISP)
268 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
271 list='$(SUBDIRS)'; for subdir in $$list; do \
272 if test "$$subdir" = .; then :; else \
273 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
276 list='$(SOURCES) $(HEADERS)'; \
277 unique=`for i in $$list; do echo $$i; done | \
278 awk ' { files[$$0] = 1; } \
279 END { for (i in files) print i; }'`; \
280 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
281 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
290 maintainer-clean-tags:
292 distdir = $(PACKAGE)-$(VERSION)
293 top_distdir = $(distdir)
295 # This target untars the dist file and tries a VPATH configuration. Then
296 # it guarantees that the distribution is self-contained by making another
300 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
301 mkdir $(distdir)/=build
302 mkdir $(distdir)/=inst
303 dc_install_base=`cd $(distdir)/=inst && pwd`; \
304 cd $(distdir)/=build \
305 && ../configure --srcdir=.. --prefix=$$dc_install_base \
306 && $(MAKE) $(AM_MAKEFLAGS) \
307 && $(MAKE) $(AM_MAKEFLAGS) dvi \
308 && $(MAKE) $(AM_MAKEFLAGS) check \
309 && $(MAKE) $(AM_MAKEFLAGS) install \
310 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
311 && $(MAKE) $(AM_MAKEFLAGS) dist
313 @banner="$(distdir).tar.gz is ready for distribution"; \
314 dashes=`echo "$$banner" | sed s/./=/g`; \
319 -chmod -R a+r $(distdir)
320 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
323 -chmod -R a+r $(distdir)
324 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
326 distdir: $(DISTFILES)
329 -chmod 777 $(distdir)
330 here=`cd $(top_builddir) && pwd`; \
331 top_distdir=`cd $(distdir) && pwd`; \
332 distdir=`cd $(distdir) && pwd`; \
334 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
335 @for file in $(DISTFILES); do \
337 if test -d $$d/$$file; then \
338 cp -pr $$d/$$file $(distdir)/$$file; \
340 test -f $(distdir)/$$file \
341 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
342 || cp -p $$d/$$file $(distdir)/$$file || :; \
345 for subdir in $(SUBDIRS); do \
346 if test "$$subdir" = .; then :; else \
347 test -d $(distdir)/$$subdir \
348 || mkdir $(distdir)/$$subdir \
350 chmod 777 $(distdir)/$$subdir; \
351 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
355 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
359 DEJATOOL = $(PACKAGE)
365 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
366 check: check-recursive
368 installcheck: installcheck-recursive
369 install-exec-am: install-binSCRIPTS install-libexecSCRIPTS
370 install-exec: install-exec-recursive
372 install-data-am: install-pkgdataSCRIPTS install-data-local
373 install-data: install-data-recursive
376 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
377 install: install-recursive
378 uninstall-am: uninstall-binSCRIPTS uninstall-libexecSCRIPTS \
379 uninstall-pkgdataSCRIPTS uninstall-local
380 uninstall: uninstall-recursive
381 all-am: Makefile $(SCRIPTS)
382 all-redirect: all-recursive
384 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
385 installdirs: installdirs-recursive
387 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
388 $(DESTDIR)$(pkgdatadir)
394 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
397 -rm -f Makefile $(CONFIG_CLEAN_FILES)
398 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
400 maintainer-clean-generic:
401 mostlyclean-am: mostlyclean-tags mostlyclean-generic
403 mostlyclean: mostlyclean-recursive
405 clean-am: clean-tags clean-generic mostlyclean-am clean-local
407 clean: clean-recursive
409 distclean-am: distclean-tags distclean-generic clean-am
411 distclean: distclean-recursive
414 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
416 @echo "This command is intended for maintainers to use;"
417 @echo "it deletes files that may require special tools to rebuild."
419 maintainer-clean: maintainer-clean-recursive
422 .PHONY: uninstall-binSCRIPTS install-binSCRIPTS uninstall-libexecSCRIPTS \
423 install-libexecSCRIPTS uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS \
424 install-data-recursive uninstall-data-recursive install-exec-recursive \
425 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
426 all-recursive check-recursive installcheck-recursive info-recursive \
427 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
428 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
429 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
430 info-am info dvi-am dvi check check-am installcheck-am installcheck \
431 install-exec-am install-exec install-data-local install-data-am \
432 install-data install-am install uninstall-local uninstall-am uninstall \
433 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
434 distclean-generic clean-generic maintainer-clean-generic clean \
435 mostlyclean distclean maintainer-clean
438 cd testsuite ; $(MAKE) check
439 cd example ; $(MAKE) check
440 # @echo "Do nothing here, cause we don't want to run the tests twice"
442 # Since we don't use SUBDIRS, we have to manually clean the sub directories.
443 # We don't use SUBDIRS, so the excample or test cases don't get built
444 # by default for a "make all".
446 cd doc ; $(MAKE) clean
447 cd testsuite ; $(MAKE) clean
448 cd example ; $(MAKE) clean
450 # Set ourselves up to build a RedHat package
451 tarball: overview.html overview.ps overview.pdf
452 -rm -fr dejagnu-${VERSION}
453 cp -fpr $(srcdir) dejagnu-${VERSION}
454 @echo "clean up stuff we don't want in the source file"
456 dir=`(cd $${src}; pwd)`; \
457 (cd dejagnu-${VERSION} ; $${dir}/Clean.tcl); \
458 -mkdir -p doc/overview; \
459 -cp -fr doc/overview dejagnu-${VERSION}/doc/; \
460 -cp -fr doc/overview.ps dejagnu-${VERSION}/doc/; \
461 -cp -fr doc/overview.pdf dejagnu-${VERSION}/doc/; \
462 tar cvf ../dejagnu-${VERSION}.tar dejagnu-${VERSION}; \
463 gzip -9fv ../dejagnu-${VERSION}.tar; \
464 cp -f ../dejagnu-${VERSION}.tar.gz /usr/src/redhat/SOURCES/; \
465 cp -f $${dir}/redhat/dejagnu.spec /usr/src/redhat/SPECS/
467 -rm -fr dejagnu-${DATE}
468 cp -fpr $(srcdir) dejagnu-${DATE}
469 @echo "clean up stuff we don't want in the source file"
471 dir=`(cd $${src}; pwd)`; \
472 (cd dejagnu-${DATE} ; $${dir}/Clean.tcl);
473 -mkdir -p doc/overview
474 -cp -fr doc/overview dejagnu-${DATE}/doc/
475 -cp -fr doc/overview.ps dejagnu-${DATE}/doc/
476 -cp -fr doc/overview.pdf dejagnu-${DATE}/doc/
477 tar cf ../dejagnu-${DATE}.tar dejagnu-${DATE}
478 gzip -9fv ../dejagnu-${DATE}.tar
480 rpmspec: $(srcdir)/redhat/dejagnu.spec
481 cp -f $(srcdir)/redhat/dejagnu.spec /usr/src/redhat/SPECS/
484 cp -f ../$(distdir).tar.gz /usr/src/redhat/SOURCES/
485 rpm -ba /usr/src/redhat/SPECS/dejagnu.spec
487 deb: overview.html overview.ps overview.pdf
488 -rm -fr dejagnu-${VERSION}
489 cp -fpr $(srcdir) dejagnu-${VERSION}
490 @echo "clean up stuff we don't want in the source file"
492 dir=`(cd $${src}; pwd)`; \
493 (cd dejagnu-${VERSION} ; $${dir}/Clean.tcl);
494 -mkdir -p doc/overview;
495 -cp -fr $(srcdir)/debian dejagnu-${VERSION}/;
496 -cp -fr doc/overview dejagnu-${VERSION}/doc/;
497 -cp -fr doc/overview.ps dejagnu-${VERSION}/doc/;
498 -cp -fr doc/overview.pdf dejagnu-${VERSION}/doc/;
499 (cd dejagnu-${VERSION}; dpkg-buildpackage)
501 overview.html overview.ps overview.pdf install-doc:
502 cd doc && $(MAKE) $(FLAGS_TO_PASS) $@
504 # Automake sucks when it comes to building a distribution, so
505 # we just copy the source tree onto of what Automake did, and
506 # then we Clean it. Automake only includes the source files.
507 # We want all the testsuites, data files, and html versions of the doc.
508 dist-hook: rpmspec overview.html overview.ps overview.pdf
510 cp -fpr $(srcdir) $(distdir)
511 (cd $(distdir) ; $(TCLSH) $(srcdir)/Clean.tcl)
512 -cp -fr doc/overview $(distdir)/doc/
513 -cp -fr doc/overview.ps $(distdir)/doc/
514 -cp -fr doc/overview.pdf $(distdir)/doc/
521 $(mkinstalldirs) $(lib_dest) $(includedir)
522 for f in $(lib_files); do \
523 test ! -f "$$f" || $(INSTALL_DATA) $$f $(lib_dest); \
526 $(mkinstalldirs) $(baseboards_dest)
527 for f in $(baseboards_files); do \
528 test ! -f "$$f" || $(INSTALL_DATA) $$f $(baseboards_dest); \
531 $(INSTALL_DATA) $(srcdir)/dejagnu.h $(includedir); \
533 $(mkinstalldirs) $(config_dest)
534 for f in $(config_files); do \
535 test ! -f "$$f" || $(INSTALL_DATA) $$f $(config_dest); \
539 for f in $(lib_files); do \
540 test ! -f "$$f" || rm -f $(lib_dest)/`basename "$$f"`; \
542 for f in $(config_files); do \
543 test ! -f "$$f" || rm -f $(config_dest)/`basename "$$f"`; \
545 for f in $(baseboards_files); do \
546 test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
549 for f in $(baseboards_files); do \
550 test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
552 rm -f $(includedir)/dejagnu.h;
555 @echo 'Making a new site.exp file...'
556 @test ! -f site.bak || rm -f site.bak
557 @echo '## these variables are automatically generated by make ##' > $@-t
558 @echo '# Do not edit here. If you wish to override these values' >> $-t
559 @echo '# edit the last section' >> $@-t
560 @echo 'set srcdir $(srcdir)' >> $@-t
561 @echo 'set objdir' `pwd` >> $@-t
562 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
563 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
564 @test ! -f site.exp || mv site.exp site.bak
567 # Tell versions [3.59,3.63) of GNU make to not export all variables.
568 # Otherwise a system limit (for SysV at least) may be exceeded.