OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [expect/] [testsuite/] [Makefile] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Generated automatically from Makefile.in by configure.
2
srcdir = .
3
prefix = /projects/or32-rtems2
4
exec_prefix = ${prefix}
5
host = i686-pc-linux-gnu
6
bindir = ${exec_prefix}/bin
7
libdir = ${exec_prefix}/lib
8
tooldir = $(libdir)/$(target_alias)
9
 
10
includedir = ${prefix}/include
11
gxx_include_dir = $(tooldir)/g++-include
12
targetdir = $(datadir)/$(target_alias)
13
 
14
SHELL = /bin/sh
15
 
16
CC = gcc
17
TCLHDIR = -I/projects/insight/markom/or1k/insight/tcl/generic
18
 
19
CC_FOR_TARGET = ` \
20
  if [ -f $${rootme}../gcc/Makefile ] ; then \
21
    echo $${rootme}../gcc/xgcc -B$${rootme}../gcc/; \
22
  else \
23
    if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
24
      echo $(CC); \
25
    else \
26
      t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
27
    fi; \
28
  fi`
29
 
30
EXPECT = `if [ -f $${rootme}/expect ] ; \
31
        then echo $${rootme}/expect ; \
32
        else echo expect; fi`
33
 
34
RUNTEST = ` \
35
  if [ -f ${srcdir}/../../dejagnu/runtest ] ; then \
36
    echo ${srcdir}/../../dejagnu/runtest ; \
37
  else echo runtest ;  fi`
38
RUNTESTFLAGS =
39
 
40
all:
41
 
42
.PHONY: info install-info check installcheck
43
info:
44
install-info:
45
check:
46
installcheck:
47
.NOEXPORT:
48
 
49
check:  exp_test site.exp
50
        rootme=`cd .. && pwd`; export rootme; \
51
        EXPECT=${EXPECT}; export EXPECT; \
52
        if [ -f ../expect ] ; then  \
53
           TCL_LIBRARY=`echo ${TCLHDIR} | sed -e 's/-I//' -e 's/generic//'`/library ; \
54
           export TCL_LIBRARY ; \
55
        else true ; fi ; \
56
        $(RUNTEST) $(RUNTESTFLAGS) --tool expect EXPECT=$$EXPECT --srcdir $(srcdir)
57
 
58
install:
59
uninstall: force
60
 
61
exp_test.o: ${srcdir}/exp_test.c
62
 
63
site.exp: ./config.status
64
        @echo "Making a new config file..."
65
        -@rm -f ./tmp?
66
        @touch site.exp
67
        -@mv site.exp site.bak
68
        @echo "## these variables are automatically generated by make ##" > ./tmp0
69
        @echo "# Do not edit here. If you wish to override these values" >> ./tmp0
70
        @echo "# add them to the last section" >> ./tmp0
71
        @echo "set tool expect" >> ./tmp0
72
        @echo "set srcdir ${srcdir}" >> ./tmp0
73
        @echo "set objdir `pwd`" >> ./tmp0
74
        @echo "set host_triplet ${host}" >> ./tmp0
75
        @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
76
                @cat ./tmp0 > site.exp
77
        @cat site.bak | sed \
78
                        -e '1,/^## All variables above are.*##/ d' >> site.exp
79
        @rm -f ./tmp1 ./tmp0
80
 
81
clean mostlyclean:
82
        -rm -f *~ core *.o a.out *.x
83
 
84
distclean realclean: clean
85
        -rm -f *~ core
86
        -rm -f Makefile config.status
87
        -rm -fr *.log summary detail
88
 
89
Makefile : $(srcdir)/Makefile.in $(host_makefile_frag)
90
        $(SHELL) ./config.status
91
 
92
# Original aclocal.m4 comes from DejaGnu
93
# CYGNUS LOCAL: this hack lets "make -f Makefile.in" produce a configure file
94
.PHONY: configure
95
configure:
96
        @echo "Rebuilding configure..."
97
        (cd ${srcdir}; autoconf --localdir=..)
98
 
99
config.status: $(srcdir)/configure
100
        @echo "Rebuilding config.status..."
101
        $(SHELL) ./config.status --recheck
102
 
103
force:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.