1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 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@
71 AUTOMAKE_OPTIONS
= dejagnu
73 # Install all the associated data files
74 SUBDIRS
= doc testsuite example
76 # Install the bourne shell script driver in the bindir
79 # Install the main DejaGnu expect file in the datadir
80 pkgdata_SCRIPTS
= config.guess runtest.exp
82 # Install config.guess too, so we can use it to figure out
83 # what type of machine we're running on.
84 libexecdir
= $(pkgdatadir
)/libexec
85 libexec_SCRIPTS
= config.guess
89 RUNTESTDEFAULTFLAGS
= --tool runtest
--srcdir $(srcdir)/testsuite RUNTEST
=$(RUNTEST
)
90 RUNTEST
= ` if [ -f ${srcdir}/runtest$(EXEEXT) ] ; then echo ${srcdir}/runtest$(EXEEXT) ; else echo runtest ; fi`
93 # Below, host-independent data files that need to get installed.
94 # We do it this way so we can use globbing.
96 lib_dest
= $(DESTDIR
)$(pkgdatadir
)
97 lib_files
= $(srcdir)/*.c
$(srcdir)/lib
/*.exp
99 baseboards_dest
= $(DESTDIR
)$(pkgdatadir
)/baseboards
100 baseboards_files
= $(srcdir)/baseboards
/README
$(srcdir)/baseboards
/*.exp
102 config_dest
= $(DESTDIR
)$(pkgdatadir
)/config
103 config_files
= $(srcdir)/config
/README
$(srcdir)/config
/*.exp
104 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
105 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/mkinstalldirs
107 SCRIPTS
= $(bin_SCRIPTS
) $(libexec_SCRIPTS
) $(pkgdata_SCRIPTS
)
109 DIST_COMMON
= README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
110 Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess config.sub \
111 configure configure.in install-sh missing mkinstalldirs
114 DISTFILES
= $(DIST_COMMON
) $(SOURCES
) $(HEADERS
) $(TEXINFOS
) $(EXTRA_DIST
)
121 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@ Makefile.am
$(top_srcdir
)/configure.in
$(ACLOCAL_M4
)
122 cd
$(top_srcdir
) && $(AUTOMAKE
) --gnu Makefile
124 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
$(BUILT_SOURCES
)
126 && CONFIG_FILES
=$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
128 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
129 cd
$(srcdir) && $(ACLOCAL
)
131 config.status
: $(srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
132 $(SHELL
) .
/config.status
--recheck
133 $(srcdir)/configure
: @MAINTAINER_MODE_TRUE@
$(srcdir)/configure.in
$(ACLOCAL_M4
) $(CONFIGURE_DEPENDENCIES
)
134 cd
$(srcdir) && $(AUTOCONF
)
136 install-binSCRIPTS
: $(bin_SCRIPTS
)
138 $(mkinstalldirs
) $(DESTDIR
)$(bindir)
139 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
140 if
test -f
$$p; then \
141 echo
" $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
142 $(INSTALL_SCRIPT
) $$p $(DESTDIR
)$(bindir)/`echo $$p|sed '$(transform)'`; \
143 else if
test -f
$(srcdir)/$$p; then \
144 echo
" $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
145 $(INSTALL_SCRIPT
) $(srcdir)/$$p $(DESTDIR
)$(bindir)/`echo $$p|sed '$(transform)'`; \
149 uninstall-binSCRIPTS
:
151 list
='$(bin_SCRIPTS)'; for p in
$$list; do \
152 rm -f
$(DESTDIR
)$(bindir)/`echo $$p|sed '$(transform)'`; \
155 install-libexecSCRIPTS
: $(libexec_SCRIPTS
)
157 $(mkinstalldirs
) $(DESTDIR
)$(libexecdir
)
158 @list
='$(libexec_SCRIPTS)'; for p in
$$list; do \
159 if
test -f
$$p; then \
160 echo
" $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`"; \
161 $(INSTALL_SCRIPT
) $$p $(DESTDIR
)$(libexecdir
)/`echo $$p|sed '$(transform)'`; \
162 else if
test -f
$(srcdir)/$$p; then \
163 echo
" $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`"; \
164 $(INSTALL_SCRIPT
) $(srcdir)/$$p $(DESTDIR
)$(libexecdir
)/`echo $$p|sed '$(transform)'`; \
168 uninstall-libexecSCRIPTS
:
170 list
='$(libexec_SCRIPTS)'; for p in
$$list; do \
171 rm -f
$(DESTDIR
)$(libexecdir
)/`echo $$p|sed '$(transform)'`; \
174 install-pkgdataSCRIPTS
: $(pkgdata_SCRIPTS
)
176 $(mkinstalldirs
) $(DESTDIR
)$(pkgdatadir
)
177 @list
='$(pkgdata_SCRIPTS)'; for p in
$$list; do \
178 if
test -f
$$p; then \
179 echo
" $(INSTALL_SCRIPT) $$p $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
180 $(INSTALL_SCRIPT
) $$p $(DESTDIR
)$(pkgdatadir
)/`echo $$p|sed '$(transform)'`; \
181 else if
test -f
$(srcdir)/$$p; then \
182 echo
" $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
183 $(INSTALL_SCRIPT
) $(srcdir)/$$p $(DESTDIR
)$(pkgdatadir
)/`echo $$p|sed '$(transform)'`; \
187 uninstall-pkgdataSCRIPTS
:
189 list
='$(pkgdata_SCRIPTS)'; for p in
$$list; do \
190 rm -f
$(DESTDIR
)$(pkgdatadir
)/`echo $$p|sed '$(transform)'`; \
193 # This directory's subdirectories are mostly independent; you can cd
194 # into them and run `make' without going through this Makefile.
195 # To change the values of `make' variables: instead of editing Makefiles,
196 # (1) if the variable is set in `config.status', edit `config.status'
197 # (which will cause the Makefiles to be regenerated when you run `make');
198 # (2) otherwise, pass the desired values on the `make' command line.
202 all-recursive install-data-recursive install-exec-recursive \
203 installdirs-recursive install-recursive uninstall-recursive \
204 check-recursive installcheck-recursive info-recursive dvi-recursive
:
205 @set fnord
$(MAKEFLAGS
); amf
=$$2; \
207 target
=`echo $@ | sed s/-recursive//`; \
208 list
='$(SUBDIRS)'; for subdir in
$$list; do \
209 echo
"Making $$target in $$subdir"; \
210 if
test "$$subdir" = "."; then \
212 local_target
="$$target-am"; \
214 local_target
="$$target"; \
216 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
217 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
219 if
test "$$dot_seen" = "no"; then \
220 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
223 mostlyclean-recursive clean-recursive distclean-recursive \
224 maintainer-clean-recursive
:
225 @set fnord
$(MAKEFLAGS
); amf
=$$2; \
227 rev
=''; list
='$(SUBDIRS)'; for subdir in
$$list; do \
228 rev
="$$subdir $$rev"; \
229 test "$$subdir" = "." && dot_seen
=yes
; \
231 test "$$dot_seen" = "no" && rev
=". $$rev"; \
232 target
=`echo $@ | sed s/-recursive//`; \
233 for subdir in
$$rev; do \
234 echo
"Making $$target in $$subdir"; \
235 if
test "$$subdir" = "."; then \
236 local_target
="$$target-am"; \
238 local_target
="$$target"; \
240 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
241 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
242 done
&& test -z
"$$fail"
244 list
='$(SUBDIRS)'; for subdir in
$$list; do \
245 test "$$subdir" = . ||
(cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
250 ID
: $(HEADERS
) $(SOURCES
) $(LISP
)
251 list
='$(SOURCES) $(HEADERS)'; \
252 unique
=`for i in $$list; do echo $$i; done | \
253 awk ' { files[$$0] = 1; } \
254 END { for (i in files) print i; }'`; \
255 here
=`pwd` && cd
$(srcdir) \
256 && mkid
-f
$$here/ID
$$unique $(LISP
)
258 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) $(LISP
)
261 list
='$(SUBDIRS)'; for subdir in
$$list; do \
262 if
test "$$subdir" = .
; then
:; else \
263 test -f
$$subdir/TAGS
&& tags="$$tags -i $$here/$$subdir/TAGS"; \
266 list
='$(SOURCES) $(HEADERS)'; \
267 unique
=`for i in $$list; do echo $$i; done | \
268 awk ' { files[$$0] = 1; } \
269 END { for (i in files) print i; }'`; \
270 test -z
"$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
271 ||
(cd
$(srcdir) && etags
$(ETAGS_ARGS
) $$tags $$unique $(LISP
) -o
$$here/TAGS
)
280 maintainer-clean-tags
:
282 distdir
= $(PACKAGE
)-$(VERSION
)
283 top_distdir
= $(distdir
)
285 # This target untars the dist file and tries a VPATH configuration. Then
286 # it guarantees that the distribution is self-contained by making another
290 GZIP
=$(GZIP_ENV
) $(TAR
) zxf
$(distdir
).
tar.gz
291 mkdir
$(distdir
)/=build
292 mkdir
$(distdir
)/=inst
293 dc_install_base
=`cd $(distdir)/=inst && pwd`; \
294 cd
$(distdir
)/=build \
295 && ..
/configure
--srcdir=..
--prefix=$$dc_install_base \
296 && $(MAKE
) $(AM_MAKEFLAGS
) \
297 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
298 && $(MAKE
) $(AM_MAKEFLAGS
) check \
299 && $(MAKE
) $(AM_MAKEFLAGS
) install \
300 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
301 && $(MAKE
) $(AM_MAKEFLAGS
) dist
303 @banner
="$(distdir).tar.gz is ready for distribution"; \
304 dashes
=`echo "$$banner" | sed s/./=/g`; \
309 -chmod
-R a
+r
$(distdir
)
310 GZIP
=$(GZIP_ENV
) $(TAR
) chozf
$(distdir
).
tar.gz
$(distdir
)
313 -chmod
-R a
+r
$(distdir
)
314 GZIP
=$(GZIP_ENV
) $(TAR
) chozf
$(distdir
).
tar.gz
$(distdir
)
316 distdir
: $(DISTFILES
)
319 -chmod
777 $(distdir
)
320 here
=`cd $(top_builddir) && pwd`; \
321 top_distdir
=`cd $(distdir) && pwd`; \
322 distdir
=`cd $(distdir) && pwd`; \
324 && $(AUTOMAKE
) --include-deps
--build-dir
=$$here --srcdir-name
=$(top_srcdir
) --output-dir
=$$top_distdir --gnu Makefile
325 @for file in
$(DISTFILES
); do \
327 if
test -d
$$d/$$file; then \
328 cp
-pr
$$/$$file $(distdir
)/$$file; \
330 test -f
$(distdir
)/$$file \
331 || ln
$$d/$$file $(distdir
)/$$file 2> /dev
/null \
332 || cp
-p
$$d/$$file $(distdir
)/$$file ||
:; \
335 for subdir in
$(SUBDIRS
); do \
336 if
test "$$subdir" = .
; then
:; else \
337 test -d
$(distdir
)/$$subdir \
338 || mkdir
$(distdir
)/$$subdir \
340 chmod
777 $(distdir
)/$$subdir; \
341 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) top_distdir
=..
/$(distdir
) distdir
=..
/$(distdir
)/$$subdir distdir
) \
345 $(MAKE
) $(AM_MAKEFLAGS
) top_distdir
="$(top_distdir)" distdir
="$(distdir)" dist-hook
349 DEJATOOL
= $(PACKAGE
)
351 check-DEJAGNU
: site.exp
352 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
353 EXPECT
=$(EXPECT
); export EXPECT
; \
354 runtest
=$(RUNTEST
); \
355 if
$(SHELL
) -c
"$$runtest --version" > /dev
/null
2>&1; then \
356 $$runtest $(RUNTESTDEFAULTFLAGS
) $(RUNTESTFLAGS
); \
357 else echo
"WARNING: could not find \`runtest'" 1>&2; :;\
360 @echo
'Making a new site.exp file...'
361 @
test ! -f site.bak ||
rm -f site.bak
362 @echo
'## these variables are automatically generated by make ##' > $@
-t
363 @echo
'# Do not edit here. If you wish to override these values' >> $@
-t
364 @echo
'# edit the last section' >> $@
-t
365 @echo
'set tool $(DEJATOOL)' >> $@
-t
366 @echo
'set srcdir $(srcdir)' >> $@
-t
367 @echo
'set objdir' `pwd` >> $@
-t
368 @echo
'## All variables above are generated by configure. Do Not Edit ##' >> $@
-t
369 @
test ! -f site.exp || sed
'1,/^## All variables above are.*##/ d' site.exp
>> $@
-t
370 @
test ! -f site.exp || mv site.exp site.bak
377 $(MAKE
) $(AM_MAKEFLAGS
) check-DEJAGNU
378 check: check-recursive
380 installcheck: installcheck-recursive
381 install-exec-am
: install-binSCRIPTS install-libexecSCRIPTS
382 install-exec
: install-exec-recursive
384 install-data-am
: install-pkgdataSCRIPTS install-data-local
385 install-data
: install-data-recursive
388 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
389 install: install-recursive
390 uninstall-am
: uninstall-binSCRIPTS uninstall-libexecSCRIPTS \
391 uninstall-pkgdataSCRIPTS uninstall-local
392 uninstall: uninstall-recursive
393 all-am
: Makefile
$(SCRIPTS
)
394 all-redirect
: all-recursive
396 $(MAKE
) $(AM_MAKEFLAGS
) AM_INSTALL_PROGRAM_FLAGS
=-s
install
397 installdirs: installdirs-recursive
399 $(mkinstalldirs
) $(DESTDIR
)$(bindir) $(DESTDIR
)$(libexecdir
) \
400 $(DESTDIR
)$(pkgdatadir
)
408 -rm -f Makefile
$(CONFIG_CLEAN_FILES
)
409 -rm -f config.cache config.log stamp-h stamp-h
[0-9]*
411 maintainer-clean-generic
:
412 mostlyclean-am
: mostlyclean-tags mostlyclean-generic
414 mostlyclean: mostlyclean-recursive
416 clean-am
: clean-tags clean-generic mostlyclean-am
418 clean: clean-recursive
420 distclean-am
: distclean-tags distclean-generic clean-am
422 distclean: distclean-recursive
425 maintainer-clean-am
: maintainer-clean-tags maintainer-clean-generic \
427 @echo
"This command is intended for maintainers to use;"
428 @echo
"it deletes files that may require special tools to rebuild."
430 maintainer-clean
: maintainer-clean-recursive
433 .PHONY
: uninstall-binSCRIPTS install-binSCRIPTS uninstall-libexecSCRIPTS \
434 install-libexecSCRIPTS uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS \
435 install-data-recursive uninstall-data-recursive install-exec-recursive \
436 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
437 all-recursive check-recursive installcheck-recursive info-recursive \
438 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
439 maintainer-clean-recursive
tags tags-recursive mostlyclean-tags \
440 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
441 info-am
info dvi-am
dvi check check-am installcheck-am
installcheck \
442 install-exec-am install-exec install-data-local install-data-am \
443 install-data install-am
install uninstall-local uninstall-am
uninstall \
444 all-redirect all-am
all installdirs-am
installdirs mostlyclean-generic \
445 distclean-generic clean-generic maintainer-clean-generic
clean \
446 mostlyclean distclean maintainer-clean
449 # Set ourselves up to build a RedHat package
450 dist2
: rpmspec overview.html
451 -rm -fr dejagnu-
${VERSION}.0
452 cp
-fpr
$(srcdir) dejagnu-
${VERSION}.0
453 @echo
"clean up stuff we don't want in the source file"
454 (cd dejagnu-
${VERSION}.0 ; $(srcdir)/Clean.tcl
)
455 -mkdir
-p doc
/overview
456 -cp
-fr doc
/overview dejagnu-
${VERSION}.0/doc
/
457 tar cvf ..
/dejagnu-
${VERSION}.
tar dejagnu-
${VERSION}.0
458 gzip
-9fv ..
/dejagnu-
${VERSION}.
tar
459 cp
-f ..
/dejagnu-
${VERSION}.
tar.gz
/usr
/src
/redhat
/SOURCES
/
460 cp
-f
$(srcdir)/redhat
/dejagnu.spec
/usr
/src
/redhat
/SPECS
/
463 cp
-f
$(srcdir)/redhat
/dejagnu.spec
/usr
/src
/redhat
/SPECS
/
466 cp
-f
$(distdir
).
tar.gz
/usr
/src
/redhat
/SOURCES
/
467 rpm
-ba
/usr
/src
/redhat
/SPECS
/dejagnu.spec
469 overview.html install-doc doc html
dvi ps pdf rtf
:
470 cd doc
&& $(MAKE
) $(FLAGS_TO_PASS
) $@
472 # Automake sucks when it comes to building a distribution, so
473 # we just copy the source tree onto of what Automake did, and
474 # then we Clean it. Automake only includes the source files.
475 # We want all the testsuites, data files, and html versions of the doc.
476 dist-hook
: rpmspec overview.html
478 cp
-fpr
$(srcdir) $(distdir
)
479 (cd
$(distdir
) ; $(TCLSH
) $(srcdir)/Clean.tcl
)
480 -cp
-fr doc
/overview
$(distdir
)/doc
/
483 $(mkinstalldirs
) $(lib_dest
)
484 for f in
$(lib_files
); do \
485 test ! -f
"$$f" ||
$(INSTALL_DATA
) $$f $(lib_dest
); \
488 $(mkinstalldirs
) $(baseboards_dest
)
489 for f in
$(baseboards_files
); do \
490 test ! -f
"$$f" ||
$(INSTALL_DATA
) $$f $(baseboards_dest
); \
493 $(mkinstalldirs
) $(config_dest
)
494 for f in
$(config_files
); do \
495 test ! -f
"$$f" ||
$(INSTALL_DATA
) $$f $(config_dest
); \
499 for f in
$(lib_files
); do \
500 test ! -f
"$$f" ||
rm -f
$(lib_dest
)/`basename "$$f"`; \
502 for f in
$(config_files
); do \
503 test ! -f
"$$f" ||
rm -f
$(config_dest
)/`basename "$$f"`; \
505 for f in
$(baseboards_files
); do \
506 test ! -f
"$$f" ||
rm -f
$(baseboards_dest
)/`basename "$$f"`; \
509 # Tell versions [3.59,3.63) of GNU make to not export all variables.
510 # Otherwise a system limit (for SysV at least) may be exceeded.