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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
#----------------------------------------------------------------------------
# $Id$
#
# Top-level Makefile for the ACE toolkit libraries, tests, and
# applications
#----------------------------------------------------------------------------
#### The "release" and "releaseall" targets can be used to create
#### the ACE and ACE+TAO kits. By default, each creates a new beta
#### release. To create a new minor or major release, add REL=minor
#### or REL=major, respectively, to the make invocation.
####
#### NOTE: the REL modifier applies to _both_ ACE and TAO in
#### releaseall!
####
#### To create a new ACE minor release and a TAO beta release:
#### % make release REL=minor
#### % cd TAO
#### % make release
####
#### To see what make release* would do without actually doing it, add
#### CHECK=-n to the invocation.
####
#### By default, make release* will regenerate the contents of the man
#### directory. To suppress that, add GENERATE_MAN_PAGES= to your
#### make release or make releaseall invocation.
#----------------------------------------------------------------------------
# Local macros
#----------------------------------------------------------------------------
INFO = README \
THANKS \
VERSION
DIRS = ace \
netsvcs \
tests \
apps \
examples \
performance-tests \
websvcs
CLONE = Makefile \
ace \
apps \
bin \
etc \
examples \
include \
netsvcs \
performance-tests \
TAO \
tests \
websvcs
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
# For the following to work you need to compile the
# $(ACE_ROOT)/bin/clone.cpp file and install it in your ~/bin
# directory (or some place similar).
.PHONY: clone
clone:
@for dir in $(CLONE); \
do \
(clone -s $(ACE_ROOT)/$$dir $$dir) \
done
CONTROLLED_FILES = \
ACE-INSTALL.html \
ACE-install.sh \
ASNMP \
AUTHORS \
BIBLIOGRAPHY \
COPYING \
ChangeLog \
ChangeLog-98a \
ChangeLog-98b \
ChangeLog-97b \
ChangeLog-97a \
ChangeLog-96b \
ChangeLog-96a \
ChangeLog-95 \
ChangeLog-94 \
ChangeLog-93 \
FAQ \
Makefile \
Makefile.am \
NEWS \
PROBLEM-REPORT-FORM \
README \
THANKS \
TODO \
VERSION \
WindozeCE \
acconfig.h \
aclocal.m4 \
ace \
ace-config.1.in \
ace-config.in \
aceConf.sh.in \
apps \
bin \
config.guess \
config.sub \
configure \
configure.in \
docs \
etc \
examples \
include \
install-sh \
ltconfig \
ltmain.sh \
m4 \
missing \
mkinstalldirs \
netsvcs \
os-patches \
performance-tests \
tests \
websvcs
RELEASE_FILES = \
$(addprefix ACE_wrappers/,$(CONTROLLED_FILES)) \
ACE_wrappers/ACE-INSTALL \
ACE_wrappers/man
ALL_RELEASE_FILES = \
$(RELEASE_FILES) \
ACE_wrappers/TAO
RELEASE_LIB_FILES = \
ACE_wrappers/VERSION \
ACE_wrappers/ace \
ACE_wrappers/bin \
ACE_wrappers/etc \
ACE_wrappers/include \
ACE_wrappers/m4 \
ACE_wrappers/netsvcs \
ACE_wrappers/tests \
ACE_wrappers/websvcs
.PHONY: release releasetao releaseall tag
REL = beta
CHECK =
GENERATE_MAN_PAGES = -g
#### The release target creates the ACE (only) kit.
release: tag
@$(ACE_ROOT)/bin/make_release $(CHECK) -i -k ace -v $(REL) \
$(GENERATE_MAN_PAGES) \
-ta `head -1 VERSION | perl -ne \
's/.* ([\d\.]+),.*\n/$$1/; tr/./_/; print "ACE-$$_";'`
tag:
@$(ACE_ROOT)/bin/make_release $(CHECK) -k ace -v $(REL) -u
#### The following target is for use by the TAO Makefile. It should not
#### be called directly from the command line. The releasetao target
#### creates the combined ACE-TAO kit.
releasetao:
@$(ACE_ROOT)/bin/make_release $(CHECK) -i -k ace+tao -v $(REL) \
$(GENERATE_MAN_PAGES) \
-ta `head -1 VERSION | perl -ne \
's/.* ([\d\.]+),.*\n/$$1/; tr/./_/; print "ACE-$$_";'` \
-tt `head -1 TAO/VERSION | perl -ne \
's/.* ([\d\.]+),.*\n/$$1/; tr/./_/; print "TAO-$$_";'`
#### The releaseall target:
#### 1) Creates the ACE kit.
#### 2) Updates the TAO release (VERSION, ChangeLog, and tag) by
#### recursively invoking make release in the TAO directory.
#### The make then recursively invokes make releasetao in this
#### directory to create the combined ACE-TAO kit.
releaseall: tag
@cd TAO && $(MAKE) -s release REL=$(REL)
.PHONY: show_controlled_files show_release_files show_release_lib_files
show_controlled_files:
@echo $(CONTROLLED_FILES)
show_release_files:
@echo $(RELEASE_FILES)
show_release_lib_files:
@echo $(RELEASE_LIB_FILES)
ACE-INSTALL: ACE-INSTALL.html
@lynx -dump $< > $@
|