blob: 6ff3c6f9f3747b5e7c38f14b7b9078b4391d2579 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = dejagnu
all all-am all-am-local all-local all-redirect-local all-redirect: force
@echo "Nothing to be done for all"
force:
RUNTEST = ` \
if [ -f ${top_srcdir}/runtest$(EXEEXT) ] ; then \
echo ${top_srcdir}/runtest$(EXEEXT); \
else echo "ERROR: runtest not found" ; exit 1; fi`
RUNTESTDEFAULTFLAGS = --srcdir $$srcdir
CLEANFILES = *.log *.sum site.bak setval.tmp
SUBDIRS = libdejagnu
site.exp: Makefile
@echo 'Making a new site.exp file...'
@test ! -f site.bak || rm -f site.bak
@echo '## these variables are automatically generated by make ##' > $@-t
@echo '# Do not edit here. If you wish to override these values' >> $-t
@echo '# edit the last section' >> $@-t
@echo 'set objdir' `pwd` >> $@-t
@echo 'set tmpdir tmpdir' >> $@-t
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
@test ! -f site.exp || mv site.exp site.bak
@mv $@-t site.exp
|