OSDN Git Service

touched all sources to ease next import
[pf3gnuchains/sourceware.git] / itcl / Makefile.in
1 #
2 # This file is the toplevel Makefile for [incr Tcl].  If it has the
3 # name "Makefile.in" then it is a template for a Makefile; to generate
4 # the actual Makefile, run "./configure", which is a configuration
5 # script generated by the "autoconf" program (constructs like
6 # "@foo@" will get replaced in the actual Makefile.
7 #
8 # RCS: $Id$
9
10 # Default top-level directories in which to install architecture-
11 # specific files (exec_prefix) and machine-independent files such
12 # as scripts (prefix).  The values specified here may be overridden
13 # at configure-time with the --exec-prefix and --prefix options
14 # to the "configure" script.
15
16 prefix =        @prefix@
17 exec_prefix =   @exec_prefix@
18
19 subdirs =       @subdirs@
20
21 # Some versions of make, like SGI's, use the following variable to
22 # determine which shell to use for executing commands:
23 SHELL =         /bin/sh
24
25 all:
26         for dir in $(subdirs) ; do \
27                 if test -d $$dir ; then \
28                     echo "$$dir: $(MAKE) $@" ;\
29                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
30                 else \
31                     exit 1; \
32                 fi \
33         done;
34
35 test check:
36         for dir in itcl itk iwidgets3.0.0 ; do \
37                 if test -d $$dir ; then \
38                     echo "$$dir: $(MAKE) $@" ;\
39                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
40                 else \
41                     exit 1; \
42                 fi \
43         done;
44
45 static:
46         for dir in $(subdirs) ; do \
47                 if test -d $$dir ; then \
48                     echo "$$dir: $(MAKE) $@" ;\
49                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
50                 else \
51                     exit 1; \
52                 fi \
53         done;
54
55 standalone:
56         for dir in $(subdirs) ; do \
57                 if test -d $$dir ; then \
58                     echo "$$dir: $(MAKE) $@" ;\
59                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
60                 else \
61                     exit 1; \
62                 fi \
63         done;
64
65 plusplus:
66         for dir in $(subdirs) ; do \
67                 if test -d $$dir ; then \
68                     echo "$$dir: $(MAKE) $@" ;\
69                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
70                 else \
71                     exit 1; \
72                 fi \
73         done;
74
75 install:
76         for dir in $(subdirs) ; do \
77                 if test -d $$dir ; then \
78                     echo "$$dir: $(MAKE) $@" ;\
79                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
80                 else \
81                     exit 1; \
82                 fi \
83         done;
84
85 install-binaries:
86         for dir in $(subdirs) ; do \
87                 if test -d $$dir ; then \
88                     echo "$$dir: $(MAKE) $@" ;\
89                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
90                 else \
91                     exit 1; \
92                 fi \
93         done;
94
95 install-libraries:
96         for dir in $(subdirs) ; do \
97                 if test -d $$dir ; then \
98                     echo "$$dir: $(MAKE) $@" ;\
99                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
100                 else \
101                     exit 1; \
102                 fi \
103         done;
104
105 install-info info install-check:
106
107 clean:
108         for dir in $(subdirs) ; do \
109                 if test -d $$dir ; then \
110                     echo "$$dir: $(MAKE) $@" ;\
111                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
112                 else \
113                     exit 1; \
114                 fi \
115         done;
116
117 distclean:
118         rm -f Makefile config.log config.status config.cache
119         for dir in $(subdirs) ; do \
120                 if test -d $$dir ; then \
121                     echo "$$dir: $(MAKE) $@" ;\
122                     if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
123                 else \
124                     exit 1; \
125                 fi \
126         done;
127
128 #
129 # Target to create a proper Tcl distribution from information in the
130 # master source directory.  DISTDIR must be defined to indicate where
131 # to put the distribution.
132 #
133
134 # CYGNUS LOCAL
135 #configure: configure.in
136 #       autoconf
137 #       for dir in $(subdirs) ; do \
138 #               if (cd $$dir; autoconf) ; then true ; else exit 1 ; fi ; \
139 #       done;
140 # END CYGNUS LOCAL
141
142 # DO NOT DELETE THIS LINE -- make depend depends on it.