1 # Makefile.in generated by automake 1.6 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@
27 sysconfdir
= @sysconfdir@
28 sharedstatedir
= @sharedstatedir@
29 localstatedir
= @localstatedir@
33 includedir = @
includedir@
34 oldincludedir = /usr
/include
35 pkgdatadir
= $(datadir)/@PACKAGE@
36 pkglibdir
= $(libdir)/@PACKAGE@
37 pkgincludedir
= $(includedir)/@PACKAGE@
43 AUTOHEADER
= @AUTOHEADER@
45 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
47 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
48 INSTALL_DATA
= @INSTALL_DATA@
49 install_sh_DATA
= $(install_sh
) -c
-m
644
50 install_sh_PROGRAM
= $(install_sh
) -c
51 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
52 INSTALL_HEADER
= $(INSTALL_DATA
)
53 transform
= @program_transform_name@
63 PATH_SEPARATOR
= @PATH_SEPARATOR@
65 # Install config.guess too, so we can use it to figure out
66 # what type of machine we're running on.
67 libexecdir
= $(pkgdatadir
)/libexec
76 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
83 am__include
= @am__include@
84 am__quote
= @am__quote@
85 install_sh
= @install_sh@
88 AUTOMAKE_OPTIONS
= dejagnu
90 # Install all the associated data files
91 SUBDIRS
= doc
# testsuite example
93 # Install the bourne shell script driver in the bindir
96 # Install the main DejaGnu expect file in the datadir
97 pkgdata_SCRIPTS
= runtest.exp
98 libexec_SCRIPTS
= config.guess
100 DATE
= `date "+%Y%m%d`
105 RUNTESTDEFAULTFLAGS
= --srcdir $(srcdir)/testsuite RUNTEST
=$(RUNTEST
)
107 if [ -f ${srcdir}/runtest$(EXEEXT) ] ; then \
108 echo ${srcdir}/runtest$(EXEEXT); \
109 else echo "ERROR: runtest not found" ; exit 1; fi`
112 CLEANFILES
= x.log x.sum site.bak setval.tmp
115 # Below, host-independent data files that need to get installed.
116 # We do it this way so we can use globbing.
117 lib_dest
= $(DESTDIR
)$(pkgdatadir
)
118 lib_files
= $(srcdir)/*.c
$(srcdir)/lib
/*.exp
120 baseboards_dest
= $(DESTDIR
)$(pkgdatadir
)/baseboards
121 baseboards_files
= $(srcdir)/baseboards
/README
$(srcdir)/baseboards
/*.exp
123 config_dest
= $(DESTDIR
)$(pkgdatadir
)/config
124 config_files
= $(srcdir)/config
/README
$(srcdir)/config
/*.exp
126 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
127 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/mkinstalldirs
129 SCRIPTS
= $(bin_SCRIPTS
) $(libexec_SCRIPTS
) $(pkgdata_SCRIPTS
)
133 RECURSIVE_TARGETS
= info-recursive dvi-recursive install-info-recursive \
134 uninstall-info-recursive all-recursive install-data-recursive \
135 install-exec-recursive installdirs-recursive install-recursive \
136 uninstall-recursive check-recursive installcheck-recursive
137 DIST_COMMON
= README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
138 Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess \
139 config.sub configure configure.in depcomp install-sh missing \
141 DIST_SUBDIRS
= $(SUBDIRS
)
145 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@ Makefile.am
$(top_srcdir
)/configure.in
$(ACLOCAL_M4
)
146 cd
$(top_srcdir
) && \
147 $(AUTOMAKE
) --gnu Makefile
148 Makefile
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.in
$(top_builddir
)/config.status
149 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
)
151 $(top_builddir
)/config.status
: $(srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
152 $(SHELL
) .
/config.status
--recheck
153 $(srcdir)/configure
: @MAINTAINER_MODE_TRUE@
$(srcdir)/configure.in
$(ACLOCAL_M4
) $(CONFIGURE_DEPENDENCIES
)
154 cd
$(srcdir) && $(AUTOCONF
)
156 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
157 cd
$(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
158 install-binSCRIPTS
: $(bin_SCRIPTS
)
160 $(mkinstalldirs
) $(DESTDIR
)$(bindir)
161 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
162 f
="`echo $$p|sed '$(transform)'`"; \
163 if
test -f
$$p; then \
164 echo
" $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
165 $(INSTALL_SCRIPT
) $$p $(DESTDIR
)$(bindir)/$$f; \
166 elif
test -f
$(srcdir)/$$p; then \
167 echo
" $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
168 $(INSTALL_SCRIPT
) $(srcdir)/$$p $(DESTDIR
)$(bindir)/$$f; \
172 uninstall-binSCRIPTS
:
174 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
175 f
="`echo $$p|sed '$(transform)'`"; \
176 echo
" rm -f $(DESTDIR)$(bindir)/$$f"; \
177 rm -f
$(DESTDIR
)$(bindir)/$$f; \
179 install-libexecSCRIPTS
: $(libexec_SCRIPTS
)
181 $(mkinstalldirs
) $(DESTDIR
)$(libexecdir
)
182 @list
='$(libexec_SCRIPTS)'; for p in
$$list; do \
183 f
="`echo $$p|sed '$(transform)'`"; \
184 if
test -f
$$p; then \
185 echo
" $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libexecdir)/$$f"; \
186 $(INSTALL_SCRIPT
) $$p $(DESTDIR
)$(libexecdir
)/$$f; \
187 elif
test -f
$(srcdir)/$$p; then \
188 echo
" $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(libexecdir)/$$f"; \
189 $(INSTALL_SCRIPT
) $(srcdir)/$$p $(DESTDIR
)$(libexecdir
)/$$f; \
193 uninstall-libexecSCRIPTS
:
195 @list
='$(libexec_SCRIPTS)'; for p in
$$list; do \
196 f
="`echo $$p|sed '$(transform)'`"; \
197 echo
" rm -f $(DESTDIR)$(libexecdir)/$$f"; \
198 rm -f
$(DESTDIR
)$(libexecdir
)/$$f; \
200 install-pkgdataSCRIPTS
: $(pkgdata_SCRIPTS
)
202 $(mkinstalldirs
) $(DESTDIR
)$(pkgdatadir
)
203 @list
='$(pkgdata_SCRIPTS)'; for p in
$$list; do \
204 f
="`echo $$p|sed '$(transform)'`"; \
205 if
test -f
$$p; then \
206 echo
" $(INSTALL_SCRIPT) $$p $(DESTDIR)$(pkgdatadir)/$$f"; \
207 $(INSTALL_SCRIPT
) $$p $(DESTDIR
)$(pkgdatadir
)/$$f; \
208 elif
test -f
$(srcdir)/$$p; then \
209 echo
" $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
210 $(INSTALL_SCRIPT
) $(srcdir)/$$p $(DESTDIR
)$(pkgdatadir
)/$$f; \
214 uninstall-pkgdataSCRIPTS
:
216 @list
='$(pkgdata_SCRIPTS)'; for p in
$$list; do \
217 f
="`echo $$p|sed '$(transform)'`"; \
218 echo
" rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
219 rm -f
$(DESTDIR
)$(pkgdatadir
)/$$f; \
223 # This directory's subdirectories are mostly independent; you can cd
224 # into them and run `make' without going through this Makefile.
225 # To change the values of `make' variables: instead of editing Makefiles,
226 # (1) if the variable is set in `config.status', edit `config.status'
227 # (which will cause the Makefiles to be regenerated when you run `make');
228 # (2) otherwise, pass the desired values on the `make' command line.
229 $(RECURSIVE_TARGETS
):
230 @set fnord
$(MAKEFLAGS
); amf
=$$2; \
232 target
=`echo $@ | sed s/-recursive//`; \
233 list
='$(SUBDIRS)'; for subdir in
$$list; do \
234 echo
"Making $$target in $$subdir"; \
235 if
test "$$subdir" = "."; then \
237 local_target
="$$target-am"; \
239 local_target
="$$target"; \
241 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
242 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
244 if
test "$$dot_seen" = "no"; then \
245 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
248 mostlyclean-recursive clean-recursive distclean-recursive \
249 maintainer-clean-recursive
:
250 @set fnord
$(MAKEFLAGS
); amf
=$$2; \
253 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
254 *) list
='$(SUBDIRS)' ;; \
256 rev
=''; for subdir in
$$list; do \
257 if
test "$$subdir" = "."; then
:; else \
258 rev
="$$subdir $$rev"; \
262 target
=`echo $@ | sed s/-recursive//`; \
263 for subdir in
$$rev; do \
264 echo
"Making $$target in $$subdir"; \
265 if
test "$$subdir" = "."; then \
266 local_target
="$$target-am"; \
268 local_target
="$$target"; \
270 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
271 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
272 done
&& test -z
"$$fail"
274 list
='$(SUBDIRS)'; for subdir in
$$list; do \
275 test "$$subdir" = . ||
(cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
283 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
284 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
285 unique
=`for i in $$list; do \
286 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
288 $(AWK) ' { files[$$0] = 1; } \
289 END { for (i in files) print i; }'`; \
292 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
293 $(TAGS_FILES
) $(LISP
)
296 list
='$(SUBDIRS)'; for subdir in
$$list; do \
297 if
test "$$subdir" = .
; then
:; else \
298 test -f
$$subdir/TAGS
&& tags="$$tags -i $$here/$$subdir/TAGS"; \
301 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
302 unique
=`for i in $$list; do \
303 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
305 $(AWK) ' { files[$$0] = 1; } \
306 END { for (i in files) print i; }'`; \
307 test -z
"$(ETAGS_ARGS)$$tags$$unique" \
308 ||
$(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
312 here
=`$(am__cd) $(top_builddir) && pwd` \
313 && cd
$(top_srcdir
) \
314 && gtags
-i
$(GTAGS_ARGS
) $$here
317 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
319 DEJATOOL
= $(PACKAGE
)
321 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
324 distdir
= $(PACKAGE
)-$(VERSION
)
326 am__remove_distdir
= \
327 { test ! -d
$(distdir
) \
328 ||
{ find
$(distdir
) -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
329 && rm -fr
$(distdir
); }; }
332 distcleancheck_listfiles
= find .
-type f
-print
334 distdir
: $(DISTFILES
)
335 $(am__remove_distdir
)
337 @for file in
$(DISTFILES
); do \
338 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
339 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
340 if
test "$$dir" != "$$file" && test "$$dir" != "."; then \
342 $(mkinstalldirs
) "$(distdir)$$dir"; \
346 if
test -d
$$d/$$file; then \
347 cp
-pR
$$d/$$file $(distdir
)$$dir \
350 test -f
$(distdir
)/$$file \
351 || cp
-p
$$d/$$file $(distdir
)/$$file \
355 list
='$(SUBDIRS)'; for subdir in
$$list; do \
356 if
test "$$subdir" = .
; then
:; else \
357 test -d
$(distdir
)/$$subdir \
358 || mkdir
$(distdir
)/$$subdir \
361 $(MAKE
) $(AM_MAKEFLAGS
) \
362 top_distdir
="$(top_distdir)" \
363 distdir
=..
/$(distdir
)/$$subdir \
368 $(MAKE
) $(AM_MAKEFLAGS
) \
369 top_distdir
="${top_distdir}" distdir
="$(distdir)" \
371 -find
$(distdir
) -type d
! -perm
-777 -exec chmod a
+rwx
{} \
; -o \
372 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
373 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
374 ! -type d
! -perm
-444 -exec
$(SHELL
) $(install_sh
) -c
-m a
+r
{} {} \
; \
375 || chmod
-R a
+r
$(distdir
)
377 $(AMTAR
) chof
- $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
378 $(am__remove_distdir
)
380 dist dist-all
: distdir
381 $(AMTAR
) chof
- $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
382 $(am__remove_distdir
)
384 # This target untars the dist file and tries a VPATH configuration. Then
385 # it guarantees that the distribution is self-contained by making another
388 $(am__remove_distdir
)
389 GZIP
=$(GZIP_ENV
) gunzip
-c
$(distdir
).
tar.gz |
$(AMTAR
) xf
-
390 chmod
-R a-w
$(distdir
); chmod a
+w
$(distdir
)
391 mkdir
$(distdir
)/=build
392 mkdir
$(distdir
)/=inst
394 dc_install_base
=`$(am__cd) $(distdir)/=inst && pwd` \
395 && cd
$(distdir
)/=build \
396 && ..
/configure
--srcdir=..
--prefix=$$dc_install_base \
397 $(DISTCHECK_CONFIGURE_FLAGS
) \
398 && $(MAKE
) $(AM_MAKEFLAGS
) \
399 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
400 && $(MAKE
) $(AM_MAKEFLAGS
) check \
401 && $(MAKE
) $(AM_MAKEFLAGS
) install \
402 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
403 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
404 && (test `find $$dc_install_base -type f -print | wc -l` -le
1 \
405 ||
{ echo
"ERROR: files left after uninstall:" ; \
406 find
$$dc_install_base -type f
-print ; \
408 && $(MAKE
) $(AM_MAKEFLAGS
) dist-gzip \
409 && rm -f
$(distdir
).
tar.gz \
410 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck
411 $(am__remove_distdir
)
412 @echo
"$(distdir).tar.gz is ready for distribution" | \
413 sed
'h;s/./=/g;p;x;p;x'
414 distcleancheck
: distclean
415 if
test '$(srcdir)' = .
; then \
416 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
419 test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
420 ||
{ echo
"ERROR: files left after distclean:" ; \
421 $(distcleancheck_listfiles
) ; \
424 $(MAKE
) $(AM_MAKEFLAGS
) check-DEJAGNU
425 check: check-recursive
426 all-am
: Makefile
$(SCRIPTS
)
427 installdirs: installdirs-recursive
429 $(mkinstalldirs
) $(DESTDIR
)$(bindir) $(DESTDIR
)$(libexecdir
) $(DESTDIR
)$(pkgdatadir
)
431 install: install-recursive
432 install-exec
: install-exec-recursive
433 install-data
: install-data-recursive
434 uninstall: uninstall-recursive
437 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
439 installcheck: installcheck-recursive
441 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
442 INSTALL_STRIP_FLAG
=-s \
443 `test -z '$(STRIP)' || \
444 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
448 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
451 -rm -f Makefile
$(CONFIG_CLEAN_FILES
) stamp-h stamp-h
[0-9]*
453 maintainer-clean-generic
:
454 @echo
"This command is intended for maintainers to use"
455 @echo
"it deletes files that may require special tools to rebuild."
456 clean: clean-recursive
458 clean-am
: clean-generic clean-local mostlyclean-am
460 distclean: distclean-recursive
461 -rm -f config.status config.cache config.log
462 distclean-am
: clean-am distclean-generic distclean-tags
472 install-data-am
: install-data-local install-pkgdataSCRIPTS
474 install-exec-am
: install-binSCRIPTS install-libexecSCRIPTS
476 install-info
: install-info-recursive
482 maintainer-clean
: maintainer-clean-recursive
484 maintainer-clean-am
: distclean-am maintainer-clean-generic
486 mostlyclean: mostlyclean-recursive
488 mostlyclean-am
: mostlyclean-generic
490 uninstall-am
: uninstall-binSCRIPTS uninstall-info-am \
491 uninstall-libexecSCRIPTS uninstall-local \
492 uninstall-pkgdataSCRIPTS
494 uninstall-info
: uninstall-info-recursive
496 .PHONY
: $(RECURSIVE_TARGETS
) GTAGS
all all-am
check check-DEJAGNU \
497 check-am
clean clean-generic clean-local clean-recursive
dist \
498 dist-all dist-gzip distcheck
distclean distclean-generic \
499 distclean-recursive distclean-tags distcleancheck distdir
dvi \
500 dvi-am dvi-recursive
info info-am info-recursive
install \
501 install-am install-binSCRIPTS install-data install-data-am \
502 install-data-local install-data-recursive install-exec \
503 install-exec-am install-exec-recursive install-info \
504 install-info-am install-info-recursive install-libexecSCRIPTS \
505 install-man install-pkgdataSCRIPTS install-recursive \
506 install-strip
installcheck installcheck-am
installdirs \
507 installdirs-am installdirs-recursive maintainer-clean \
508 maintainer-clean-generic maintainer-clean-recursive
mostlyclean \
509 mostlyclean-generic mostlyclean-recursive
tags tags-recursive \
510 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
511 uninstall-info-recursive uninstall-libexecSCRIPTS \
512 uninstall-local uninstall-pkgdataSCRIPTS uninstall-recursive
515 cd testsuite
; $(MAKE
) check
516 cd example
; $(MAKE
) check
517 # @echo "Do nothing here, cause we don't want to run the tests twice"
519 # Since we don't use SUBDIRS, we have to manually clean the sub directories.
520 # We don't use SUBDIRS, so the excample or test cases don't get built
521 # by default for a "make all".
523 cd doc
; $(MAKE
) clean
524 cd testsuite
; $(MAKE
) clean
525 cd example
; $(MAKE
) clean
527 # Set ourselves up to build a RedHat package
528 tarball
: overview.html overview.ps overview.pdf
529 -rm -fr dejagnu-
${VERSION}
530 cp
-fpr
$(srcdir) dejagnu-
${VERSION}
531 @echo
"clean up stuff we don't want in the source file"
533 dir=`(cd $${src}; pwd)`; \
534 (cd dejagnu-
${VERSION} ; $${dir}/Clean.tcl
); \
536 cp
-fr doc
/html dejagnu-
${VERSION}/doc
/; \
537 cp
-fr doc
/overview.ps dejagnu-
${VERSION}/doc
/; \
538 cp
-fr doc
/overview.pdf dejagnu-
${VERSION}/doc
/; \
539 cp
-fr doc
/overview.rtf dejagnu-
${VERSION}/doc
/; \
540 tar cvf ..
/dejagnu-
${VERSION}.
tar dejagnu-
${VERSION}; \
541 gzip
-9fv ..
/dejagnu-
${VERSION}.
tar; \
542 cp
-f ..
/dejagnu-
${VERSION}.
tar.gz
/usr
/src
/redhat
/SOURCES
/; \
543 cp
-f
$${dir}/redhat
/dejagnu.spec
/usr
/src
/redhat
/SPECS
/
545 # this builds a date stamped tarball of the current sources
547 -rm -fr dejagnu-
${DATE}
548 cp
-fpr
$(srcdir) dejagnu-
${DATE}
549 @echo
"clean up stuff we don't want in the source file"
551 dir=`(cd $${src}; pwd)`; \
552 (cd dejagnu-
${DATE} ; $${dir}/Clean.tcl
);
553 -mkdir
-p doc
/overview
554 -cp
-fr doc
/html dejagnu-
${DATE}/doc
/
555 -cp
-fr doc
/overview.ps dejagnu-
${DATE}/doc
/
556 -cp
-fr doc
/overview.pdf dejagnu-
${DATE}/doc
/
557 -cp
-fr doc
/overview.rtf dejagnu-
${DATE}/doc
/
558 tar cf ..
/dejagnu-
${DATE}.
tar dejagnu-
${DATE}
559 gzip
-9fv ..
/dejagnu-
${DATE}.
tar
561 rpmspec
: $(srcdir)/redhat
/dejagnu.spec
562 cp
-f
$(srcdir)/redhat
/dejagnu.spec
/usr
/src
/redhat
/SPECS
/
564 # this builds a Redhat Linux style rpm package
566 cp
-f ..
/$(distdir
).
tar.gz
/usr
/src
/redhat
/SOURCES
/
567 rpm
-ba
/usr
/src
/redhat
/SPECS
/dejagnu.spec
569 # this builds a Debian Linux style deb package.
570 deb
: overview.html overview.ps overview.pdf
571 -rm -fr dejagnu-
${VERSION}
572 cp
-fpr
$(srcdir) dejagnu-
${VERSION}
573 @echo
"clean up stuff we don't want in the source file"
575 dir=`(cd $${src}; pwd)`; \
576 (cd dejagnu-
${VERSION} ; $${dir}/Clean.tcl
);
578 -cp
-fr
$(srcdir)/debian dejagnu-
${VERSION}/
579 -cp
-fr doc
/html dejagnu-
${VERSION}/doc
/;
580 -cp
-fr doc
/overview.ps dejagnu-
${VERSION}/doc
/;
581 -cp
-fr doc
/overview.pdf dejagnu-
${VERSION}/doc
/;
582 -cp
-fr doc
/overview.rtf dejagnu-
${VERSION}/doc
/;
583 (cd dejagnu-
${VERSION}; dpkg-buildpackage
)
585 # this builds a Solaris style pkg package.
586 solpkg
: $(srcdir)/pkg
/prototype
587 if
test ! -d
$(PKGDIR
)/dejagnu
; then \
588 rm -fr dejagnu-
${VERSION}; \
589 mkdir dejagnu-
${VERSION}; \
590 cd dejagnu-
${VERSION}; \
591 $(srcdir)/configure
-v
--prefix $(PKGDIR
)/dejagnu
; \
594 cp
$(srcdir)/pkg
/prototype
/tmp
595 cp
$(srcdir)/pkg
/pkginfo
/tmp
598 pkgmk
-o
-r
/ -d
/tmp
; \
599 tar cf
$$here/dejagnu-
${VERSION}.SPARC
.2.8.pkg.
tar DejaGnu
; \
600 gzip
-9fv
$$here/dejagnu-
${VERSION}.SPARC
.2.8.pkg.
tar
601 rm -fr
/tmp
/prototype
/tmp
/pkginfo
/tmp
/DejaGnu
603 # this builds a HPUX style depot file
604 hpdepot
: # $(srcdir)/depot/dejagnu.psf
605 if
test ! -d
$(PKGDIR
)/dejagnu
; then \
606 rm -fr dejagnu-
${VERSION}; \
607 mkdir dejagnu-
${VERSION}; \
608 cd dejagnu-
${VERSION}; \
609 $(srcdir)/configure
-v
--prefix $(PKGDIR
)/dejagnu
; \
612 swpackage
-s
/home
/projects
/dejagnu
/depot
/dejagnu.psf
-x target_type
=directory
-d
/tmp
615 tar cf
$$here/dejagnu-
${VERSION}.hpux11.depot dejagnu
; \
616 gzip
-9fv
$$here/dejagnu-
${VERSION}.hpux11.depot
; \
619 overview.html overview.ps overview.pdf install-doc
:
620 cd doc
&& $(MAKE
) $(FLAGS_TO_PASS
) $@
622 # Automake sucks when it comes to building a distribution, so
623 # we just copy the source tree onto of what Automake did, and
624 # then we Clean it. Automake only includes the source files.
625 # We want all the testsuites, data files, and html versions of the doc.
626 dist-hook
: rpmspec overview.html overview.ps overview.pdf
628 cp
-fpr
$(srcdir) $(distdir
)
629 (cd
$(distdir
) ; $(TCLSH
) $(srcdir)/Clean.tcl
)
630 -cp
-fr doc
/html
$(distdir
)/doc
/
631 -cp
-fr doc
/overview.ps
$(distdir
)/doc
/
632 -cp
-fr doc
/overview.pdf
$(distdir
)/doc
/
635 $(mkinstalldirs
) $(lib_dest
) $(includedir)
636 for f in
$(lib_files
); do \
637 test ! -f
"$$f" ||
$(INSTALL_DATA
) $$f $(lib_dest
); \
639 $(mkinstalldirs
) $(baseboards_dest
)
640 for f in
$(baseboards_files
); do \
641 test ! -f
"$$f" ||
$(INSTALL_DATA
) $$f $(baseboards_dest
); \
643 $(INSTALL_DATA
) $(srcdir)/dejagnu.h
$(includedir); \
644 $(mkinstalldirs
) $(config_dest
)
645 for f in
$(config_files
); do \
646 test ! -f
"$$f" ||
$(INSTALL_DATA
) $$f $(config_dest
); \
650 for f in
$(lib_files
); do \
651 test ! -f
"$$f" ||
rm -f
$(lib_dest
)/`basename "$$f"`; \
653 for f in
$(config_files
); do \
654 test ! -f
"$$f" ||
rm -f
$(config_dest
)/`basename "$$f"`; \
656 for f in
$(baseboards_files
); do \
657 test ! -f
"$$f" ||
rm -f
$(baseboards_dest
)/`basename "$$f"`; \
660 for f in
$(baseboards_files
); do \
661 test ! -f
"$$f" ||
rm -f
$(baseboards_dest
)/`basename "$$f"`; \
663 rm -f
$(includedir)/dejagnu.h
;
666 @echo
'Making a new site.exp file...'
667 @
test ! -f site.bak ||
rm -f site.bak
668 @echo
'## these variables are automatically generated by make ##' > $@
-t
669 @echo
'# Do not edit here. If you wish to override these values' >> $-t
670 @echo
'# edit the last section' >> $@
-t
671 @echo
'set srcdir $(srcdir)' >> $@
-t
672 @echo
'set objdir' `pwd` >> $@
-t
673 @echo
'## All variables above are generated by configure. Do Not Edit ##' >> $@
-t
674 @
test ! -f site.exp || sed
'1,/^## All variables above are.*##/ d' site.exp
>> $@
-t
675 @
test ! -f site.exp || mv site.exp site.bak
677 # Tell versions [3.59,3.63) of GNU make to not export all variables.
678 # Otherwise a system limit (for SysV at least) may be exceeded.