summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/Makefile.am
blob: 01e06d2e73066d8aacdcbe20fbcd1b7ca87fef04 (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
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
##  Process this file with automake to create Makefile.in
##
## $Id$
##
## This file was generated by MPC.  Any changes made directly to
## this file will be lost the next time it is generated.
##
## MPC Command:
## ../bin/mwc.pl -type automake -noreldefs TAO.mwc

ACE_BUILDDIR = $(top_builddir)/..
ACE_ROOT = $(top_srcdir)/..
TAO_BUILDDIR = $(top_builddir)
TAO_IDL = ACE_ROOT=$(ACE_ROOT) TAO_ROOT=$(TAO_ROOT) $(TAO_BUILDDIR)/TAO_IDL/tao_idl
TAO_IDL_DEP = $(TAO_BUILDDIR)/TAO_IDL/tao_idl
TAO_IDLFLAGS = -Ge 1 -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT) -I$(srcdir) -g $(ACE_BUILDDIR)/apps/gperf/src/gperf
TAO_ROOT = $(top_srcdir)

noinst_PROGRAMS =
CLEANFILES =
BUILT_SOURCES =

## Makefile.Param_Test_Server.am

if BUILD_EXCEPTIONS

BUILT_SOURCES += \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.cpp \
  param_testS.h \
  param_testS.inl

CLEANFILES += \
  param_test-stamp \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.cpp \
  param_testS.h \
  param_testS.inl

param_testC.cpp param_testC.h param_testC.inl param_testS.cpp param_testS.h param_testS.inl: param_test-stamp

param_test-stamp: $(srcdir)/param_test.idl $(TAO_IDL_DEP)
	$(TAO_IDL) $(TAO_IDLFLAGS) $(srcdir)/param_test.idl
	@touch $@

noinst_PROGRAMS += server

server_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR)

server_SOURCES = \
  param_testC.cpp \
  param_testS.cpp \
  param_test_i.cpp \
  server.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.h \
  param_testS.inl \
  param_test_i.h

server_LDADD = \
  $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \
  $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \
  $(TAO_BUILDDIR)/tao/libTAO.la \
  $(ACE_BUILDDIR)/ace/libACE.la

endif BUILD_EXCEPTIONS

## Makefile.Param_Test_Client.am

if BUILD_CORBA_MESSAGING
if BUILD_EXCEPTIONS
if !BUILD_ACE_FOR_TAO

BUILT_SOURCES += \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.cpp \
  param_testS.h \
  param_testS.inl

CLEANFILES += \
  param_test-stamp \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.cpp \
  param_testS.h \
  param_testS.inl

param_testC.cpp param_testC.h param_testC.inl param_testS.cpp param_testS.h param_testS.inl: param_test-stamp

param_test-stamp: $(srcdir)/param_test.idl $(TAO_IDL_DEP)
	$(TAO_IDL) $(TAO_IDLFLAGS) $(srcdir)/param_test.idl
	@touch $@

noinst_PROGRAMS += client

client_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR)

client_SOURCES = \
  any.cpp \
  bd_array_seq.cpp \
  bd_long_seq.cpp \
  bd_short_seq.cpp \
  bd_str_seq.cpp \
  bd_string.cpp \
  bd_struct_seq.cpp \
  bd_wstr_seq.cpp \
  bd_wstring.cpp \
  big_union.cpp \
  client.cpp \
  complex_any.cpp \
  driver.cpp \
  except.cpp \
  fixed_array.cpp \
  fixed_struct.cpp \
  helper.cpp \
  multdim_array.cpp \
  nested_struct.cpp \
  objref.cpp \
  objref_struct.cpp \
  options.cpp \
  param_testC.cpp \
  param_testS.cpp \
  recursive_struct.cpp \
  recursive_union.cpp \
  results.cpp \
  short.cpp \
  small_union.cpp \
  typecode.cpp \
  ub_any_seq.cpp \
  ub_array_seq.cpp \
  ub_long_seq.cpp \
  ub_objref_seq.cpp \
  ub_short_seq.cpp \
  ub_str_seq.cpp \
  ub_string.cpp \
  ub_struct_seq.cpp \
  ub_wstr_seq.cpp \
  ub_wstring.cpp \
  ulonglong.cpp \
  var_array.cpp \
  var_struct.cpp \
  any.h \
  bd_array_seq.h \
  bd_long_seq.h \
  bd_short_seq.h \
  bd_str_seq.h \
  bd_string.h \
  bd_struct_seq.h \
  bd_wstr_seq.h \
  bd_wstring.h \
  big_union.h \
  client.h \
  complex_any.h \
  driver.h \
  except.h \
  fixed_array.h \
  fixed_struct.h \
  helper.h \
  multdim_array.h \
  nested_struct.h \
  objref.h \
  objref_struct.h \
  options.h \
  param_testC.h \
  param_testC.inl \
  param_testS.h \
  param_testS.inl \
  recursive_struct.h \
  recursive_union.h \
  results.h \
  short.h \
  small_union.h \
  typecode.h \
  ub_any_seq.h \
  ub_array_seq.h \
  ub_long_seq.h \
  ub_objref_seq.h \
  ub_short_seq.h \
  ub_str_seq.h \
  ub_string.h \
  ub_struct_seq.h \
  ub_wstr_seq.h \
  ub_wstring.h \
  ulonglong.h \
  var_array.h \
  var_struct.h

client_LDADD = \
  $(TAO_BUILDDIR)/tao/libTAO_DynamicInterface.la \
  $(TAO_BUILDDIR)/tao/libTAO_Messaging.la \
  $(TAO_BUILDDIR)/tao/libTAO_PI.la \
  $(TAO_BUILDDIR)/tao/libTAO_CodecFactory.la \
  $(TAO_BUILDDIR)/tao/libTAO_Valuetype.la \
  $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \
  $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \
  $(TAO_BUILDDIR)/tao/libTAO.la \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_ACE_FOR_TAO
endif BUILD_EXCEPTIONS
endif BUILD_CORBA_MESSAGING

## Makefile.Param_Test_Anyop.am

if BUILD_EXCEPTIONS

BUILT_SOURCES += \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.h \
  param_testS.inl

CLEANFILES += \
  param_test-stamp \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.h \
  param_testS.inl

param_testC.cpp param_testC.h param_testC.inl param_testS.h param_testS.inl: param_test-stamp

param_test-stamp: $(srcdir)/param_test.idl $(TAO_IDL_DEP)
	$(TAO_IDL) $(TAO_IDLFLAGS) $(srcdir)/param_test.idl
	@touch $@

noinst_PROGRAMS += anyop

anyop_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR)

anyop_SOURCES = \
  anyop.cpp \
  param_testC.cpp \
  param_testC.h \
  param_testC.inl \
  param_testS.h \
  param_testS.inl

anyop_LDADD = \
  $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \
  $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \
  $(TAO_BUILDDIR)/tao/libTAO.la \
  $(ACE_BUILDDIR)/ace/libACE.la

endif BUILD_EXCEPTIONS

## Clean up template repositories, etc.
clean-local:
	-rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.*
	-rm -f gcctemp.c gcctemp so_locations *.ics
	-rm -rf cxx_repository ptrepository ti_files
	-rm -rf templateregistry ir.out
	-rm -rf ptrepository SunWS_cache Templates.DB