OSDN Git Service

2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
[pf3gnuchains/pf3gnuchains3x.git] / dejagnu / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
53 NORMAL_INSTALL = :
54 PRE_INSTALL = :
55 POST_INSTALL = :
56 NORMAL_UNINSTALL = :
57 PRE_UNINSTALL = :
58 POST_UNINSTALL = :
59 BOARDS = @BOARDS@
60 CC = @CC@
61 CONFIG = @CONFIG@
62 CXX = @CXX@
63 DOCBOOK = @DOCBOOK@
64 EXEEXT = @EXEEXT@
65 LEX = @LEX@
66 MAINT = @MAINT@
67 MAKEINFO = @MAKEINFO@
68 PACKAGE = @PACKAGE@
69 TCLSH = @TCLSH@
70 VERSION = @VERSION@
71 YACC = @YACC@
72 tclsh = @tclsh@
73
74 AUTOMAKE_OPTIONS = dejagnu
75
76 # Install all the associated data files
77 SUBDIRS = doc # testsuite example
78
79 # Install the bourne shell script driver in the bindir
80 bin_SCRIPTS = runtest
81
82 # Install the main DejaGnu expect file in the datadir
83 pkgdata_SCRIPTS = runtest.exp
84
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
89
90 TLCSH = @TCLSH@
91
92 RUNTESTDEFAULTFLAGS = --srcdir $(srcdir)/testsuite RUNTEST=$(RUNTEST)
93 RUNTEST = ` \
94   if [ -f ${srcdir}/runtest$(EXEEXT) ] ; then \
95     echo ${srcdir}/runtest$(EXEEXT); \
96   else echo "ERROR: runtest not found" ; exit 1; fi`
97
98
99 CLEANFILES = x.log x.sum site.bak setval.tmp
100
101 DATE = `date "+%Y%m%d`
102
103 # Below, host-independent data files that need to get installed.
104 # We do it this way so we can use globbing.
105
106 lib_dest = $(DESTDIR)$(pkgdatadir)
107 lib_files = $(srcdir)/*.c $(srcdir)/lib/*.exp
108
109 baseboards_dest = $(DESTDIR)$(pkgdatadir)/baseboards
110 baseboards_files = $(srcdir)/baseboards/README $(srcdir)/baseboards/*.exp
111
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
116 CONFIG_CLEAN_FILES = 
117 SCRIPTS =  $(bin_SCRIPTS) $(libexec_SCRIPTS) $(pkgdata_SCRIPTS)
118
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
122
123
124 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
125
126 TAR = gtar
127 GZIP_ENV = --best
128 EXPECT = expect
129 all: all-redirect
130 .SUFFIXES:
131 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
132         cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
133
134 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
135         cd $(top_builddir) \
136           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
137
138 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
139         cd $(srcdir) && $(ACLOCAL)
140
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)
145
146 install-binSCRIPTS: $(bin_SCRIPTS)
147         @$(NORMAL_INSTALL)
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)'`; \
156           else :; fi; fi; \
157         done
158
159 uninstall-binSCRIPTS:
160         @$(NORMAL_UNINSTALL)
161         list='$(bin_SCRIPTS)'; for p in $$list; do \
162           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
163         done
164
165 install-libexecSCRIPTS: $(libexec_SCRIPTS)
166         @$(NORMAL_INSTALL)
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)'`; \
175           else :; fi; fi; \
176         done
177
178 uninstall-libexecSCRIPTS:
179         @$(NORMAL_UNINSTALL)
180         list='$(libexec_SCRIPTS)'; for p in $$list; do \
181           rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \
182         done
183
184 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
185         @$(NORMAL_INSTALL)
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)'`; \
194           else :; fi; fi; \
195         done
196
197 uninstall-pkgdataSCRIPTS:
198         @$(NORMAL_UNINSTALL)
199         list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
200           rm -f $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
201         done
202
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.
209
210 @SET_MAKE@
211
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; \
216         dot_seen=no; \
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 \
221             dot_seen=yes; \
222             local_target="$$target-am"; \
223           else \
224             local_target="$$target"; \
225           fi; \
226           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
227            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
228         done; \
229         if test "$$dot_seen" = "no"; then \
230           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
231         fi; test -z "$$fail"
232
233 mostlyclean-recursive clean-recursive distclean-recursive \
234 maintainer-clean-recursive:
235         @set fnord $(MAKEFLAGS); amf=$$2; \
236         dot_seen=no; \
237         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
238           rev="$$subdir $$rev"; \
239           test "$$subdir" != "." || dot_seen=yes; \
240         done; \
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"; \
247           else \
248             local_target="$$target"; \
249           fi; \
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"
253 tags-recursive:
254         list='$(SUBDIRS)'; for subdir in $$list; do \
255           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
256         done
257
258 tags: TAGS
259
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)
267
268 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
269         tags=; \
270         here=`pwd`; \
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"; \
274    fi; \
275         done; \
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)
282
283 mostlyclean-tags:
284
285 clean-tags:
286
287 distclean-tags:
288         -rm -f TAGS ID
289
290 maintainer-clean-tags:
291
292 distdir = $(PACKAGE)-$(VERSION)
293 top_distdir = $(distdir)
294
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
297 # tarfile.
298 distcheck: dist
299         -rm -rf $(distdir)
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
312         -rm -rf $(distdir)
313         @banner="$(distdir).tar.gz is ready for distribution"; \
314         dashes=`echo "$$banner" | sed s/./=/g`; \
315         echo "$$dashes"; \
316         echo "$$banner"; \
317         echo "$$dashes"
318 dist: distdir
319         -chmod -R a+r $(distdir)
320         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
321         -rm -rf $(distdir)
322 dist-all: distdir
323         -chmod -R a+r $(distdir)
324         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
325         -rm -rf $(distdir)
326 distdir: $(DISTFILES)
327         -rm -rf $(distdir)
328         mkdir $(distdir)
329         -chmod 777 $(distdir)
330         here=`cd $(top_builddir) && pwd`; \
331         top_distdir=`cd $(distdir) && pwd`; \
332         distdir=`cd $(distdir) && pwd`; \
333         cd $(top_srcdir) \
334           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
335         @for file in $(DISTFILES); do \
336           d=$(srcdir); \
337           if test -d $$d/$$file; then \
338             cp -pr $$d/$$file $(distdir)/$$file; \
339           else \
340             test -f $(distdir)/$$file \
341             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
342             || cp -p $$d/$$file $(distdir)/$$file || :; \
343           fi; \
344         done
345         for subdir in $(SUBDIRS); do \
346           if test "$$subdir" = .; then :; else \
347             test -d $(distdir)/$$subdir \
348             || mkdir $(distdir)/$$subdir \
349             || exit 1; \
350             chmod 777 $(distdir)/$$subdir; \
351             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
352               || exit 1; \
353           fi; \
354         done
355         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
356
357 RUNTESTFLAGS =
358
359 DEJATOOL = $(PACKAGE)
360 info-am:
361 info: info-recursive
362 dvi-am:
363 dvi: dvi-recursive
364 check-am: all-am
365         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
366 check: check-recursive
367 installcheck-am:
368 installcheck: installcheck-recursive
369 install-exec-am: install-binSCRIPTS install-libexecSCRIPTS
370 install-exec: install-exec-recursive
371
372 install-data-am: install-pkgdataSCRIPTS install-data-local
373 install-data: install-data-recursive
374
375 install-am: all-am
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
383 install-strip:
384         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
385 installdirs: installdirs-recursive
386 installdirs-am:
387         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
388                 $(DESTDIR)$(pkgdatadir)
389
390
391 mostlyclean-generic:
392
393 clean-generic:
394         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
395
396 distclean-generic:
397         -rm -f Makefile $(CONFIG_CLEAN_FILES)
398         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
399
400 maintainer-clean-generic:
401 mostlyclean-am:  mostlyclean-tags mostlyclean-generic
402
403 mostlyclean: mostlyclean-recursive
404
405 clean-am:  clean-tags clean-generic mostlyclean-am clean-local
406
407 clean: clean-recursive
408
409 distclean-am:  distclean-tags distclean-generic clean-am
410
411 distclean: distclean-recursive
412         -rm -f config.status
413
414 maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
415                 distclean-am
416         @echo "This command is intended for maintainers to use;"
417         @echo "it deletes files that may require special tools to rebuild."
418
419 maintainer-clean: maintainer-clean-recursive
420         -rm -f config.status
421
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
436
437 check-DEJAGNU:
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"
441
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".
445 clean-local:
446         cd doc       ; $(MAKE) clean
447         cd testsuite ; $(MAKE) clean
448         cd example   ; $(MAKE) clean
449
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"
455         src=$(srcdir); \
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/
466 snapshot:
467         -rm -fr dejagnu-${DATE}
468         cp -fpr $(srcdir) dejagnu-${DATE}
469         @echo "clean up stuff we don't want in the source file"
470         src=$(srcdir); \
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
479
480 rpmspec: $(srcdir)/redhat/dejagnu.spec
481         cp -f $(srcdir)/redhat/dejagnu.spec /usr/src/redhat/SPECS/
482
483 rpm: tarball rpmspec
484         cp -f ../$(distdir).tar.gz /usr/src/redhat/SOURCES/
485         rpm -ba /usr/src/redhat/SPECS/dejagnu.spec
486
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"
491         src=$(srcdir); \
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)
500
501 overview.html overview.ps overview.pdf install-doc:
502         cd doc && $(MAKE) $(FLAGS_TO_PASS) $@
503
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
509         -rm -fr $(distdir)
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/
515
516 install-info:
517
518 uninstall-info:
519
520 install-data-local:
521         $(mkinstalldirs) $(lib_dest) $(includedir)
522         for f in $(lib_files); do \
523           test ! -f "$$f" || $(INSTALL_DATA) $$f $(lib_dest); \
524         done
525         #
526         $(mkinstalldirs) $(baseboards_dest)
527         for f in $(baseboards_files); do \
528           test ! -f "$$f" || $(INSTALL_DATA) $$f $(baseboards_dest); \
529         done
530         #
531         $(INSTALL_DATA) $(srcdir)/dejagnu.h $(includedir); \
532         #
533         $(mkinstalldirs) $(config_dest)
534         for f in $(config_files); do \
535           test ! -f "$$f" || $(INSTALL_DATA) $$f $(config_dest); \
536         done
537
538 uninstall-local:
539         for f in $(lib_files); do \
540           test ! -f "$$f" || rm -f $(lib_dest)/`basename "$$f"`; \
541         done
542         for f in $(config_files); do \
543           test ! -f "$$f" || rm -f $(config_dest)/`basename "$$f"`; \
544         done
545         for f in $(baseboards_files); do \
546           test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
547         done
548
549         for f in $(baseboards_files); do \
550           test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
551         done
552         rm -f $(includedir)/dejagnu.h;
553
554 site.exp: Makefile
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
565         @mv $@-t site.exp
566
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.
569 .NOEXPORT: