summaryrefslogtreecommitdiff
path: root/itcl/Makefile.in
blob: 557ae7461f2115ef4a0df24b1d36cf61d0b4aaba (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#
# This file is the toplevel Makefile for [incr Tcl].  If it has the
# name "Makefile.in" then it is a template for a Makefile; to generate
# the actual Makefile, run "./configure", which is a configuration
# script generated by the "autoconf" program (constructs like
# "@foo@" will get replaced in the actual Makefile.
#
# RCS: $Id$

# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix).  The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.

prefix =	@prefix@
exec_prefix =	@exec_prefix@

subdirs =	@subdirs@

# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL =		/bin/sh

all:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

test:
	for dir in itcl itk ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

static:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

standalone:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

plusplus:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

install:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

install-binaries:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

install-libraries:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

clean:
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

distclean:
	rm -f Makefile config.log config.status config.cache
	for dir in $(subdirs) ; do \
		if test -d $$dir ; then \
		    echo "$$dir: $(MAKE) $@" ;\
		    if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
		else \
		    exit 1; \
		fi \
	done;

#
# Target to create a proper Tcl distribution from information in the
# master source directory.  DISTDIR must be defined to indicate where
# to put the distribution.
#

configure: configure.in
	autoconf
	for dir in $(subdirs) ; do \
		if (cd $$dir; autoconf) ; then true ; else exit 1 ; fi ; \
	done;

# DO NOT DELETE THIS LINE -- make depend depends on it.