summaryrefslogtreecommitdiff
path: root/ACE/apps/gperf/tests/Makefile.am
blob: 027d848b8694bf9fc62acc6ec28dcfa4f2eae585 (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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
##  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 ACE.mwc

ACE_BUILDDIR = $(top_builddir)
ACE_ROOT = $(top_srcdir)

CLEANFILES =
BUILT_SOURCES =
noinst_PROGRAMS =

## Makefile.adainset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  ada.cpp

CLEANFILES += \
  ada.cpp

ada.cpp: $(srcdir)/ada.gperf
	../src/gperf -a -k1,4,$$ $(srcdir)/ada.gperf > ada.cpp

noinst_PROGRAMS += aout

aout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

aout_SOURCES = \
  ada.cpp \
  test.cpp

aout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.cinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  c.cpp

CLEANFILES += \
  c.cpp

c.cpp: $(srcdir)/c.gperf
	../src/gperf -a -p -c -l -S1 -o $(srcdir)/c.gperf > c.cpp

noinst_PROGRAMS += cout

cout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

cout_SOURCES = \
  c.cpp \
  test.cpp

cout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.cppinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  cpp.cpp

CLEANFILES += \
  cpp.cpp

cpp.cpp: $(srcdir)/cpp.gperf
	../src/gperf -a -D $(srcdir)/cpp.gperf > cpp.cpp

noinst_PROGRAMS += cppout

cppout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

cppout_SOURCES = \
  cpp.cpp \
  test.cpp

cppout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.iinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  idl.cpp

CLEANFILES += \
  idl.cpp

idl.cpp: $(srcdir)/idl.gperf
	../src/gperf -m -M -c -C -D -S1 -E -T -a -o -p $(srcdir)/idl.gperf > idl.cpp

noinst_PROGRAMS += iout

iout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

iout_SOURCES = \
  idl.cpp \
  test.cpp

iout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.iinset2.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  iout2_gen/idl.cpp

CLEANFILES += \
  iout2_gen/idl.cpp

iout2_gen/idl.cpp: $(srcdir)/idl.gperf
	mkdir -p iout2_gen
	../src/gperf -m -M -c -C -D -E -T -a -o -p $(srcdir)/idl.gperf > iout2_gen/idl.cpp

noinst_PROGRAMS += iout2

iout2_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

iout2_SOURCES = \
  iout2_gen/idl.cpp \
  test.cpp

iout2_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.m3inset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  modula3.cpp

CLEANFILES += \
  modula3.cpp

modula3.cpp: $(srcdir)/modula3.gperf
	../src/gperf -a -k1,2,$$ $(srcdir)/modula3.gperf > modula3.cpp

noinst_PROGRAMS += m3out

m3out_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

m3out_SOURCES = \
  modula3.cpp \
  test.cpp

m3out_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.pinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  pascal.cpp

CLEANFILES += \
  pascal.cpp

pascal.cpp: $(srcdir)/pascal.gperf
	../src/gperf -a -o -S2 -p $(srcdir)/pascal.gperf > pascal.cpp

noinst_PROGRAMS += pout

pout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

pout_SOURCES = \
  pascal.cpp \
  test.cpp

pout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.preinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  adadefs.cpp

CLEANFILES += \
  adadefs.cpp

adadefs.cpp: $(srcdir)/adadefs.gperf
	../src/gperf -a -p -D -k1,$$ -s 2 -o $(srcdir)/adadefs.gperf > adadefs.cpp

noinst_PROGRAMS += preout

preout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

preout_SOURCES = \
  adadefs.cpp \
  test.cpp

preout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.taoinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  tao.cpp

CLEANFILES += \
  tao.cpp

tao.cpp: $(srcdir)/tao.gperf
	../src/gperf -c -C -D -E -f 0 -a -o $(srcdir)/tao.gperf > tao.cpp

noinst_PROGRAMS += taoout

taoout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

taoout_SOURCES = \
  tao.cpp \
  test.cpp

taoout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## Makefile.tinset.am

if !BUILD_USES_WCHAR

BUILT_SOURCES += \
  corba.cpp

CLEANFILES += \
  corba.cpp

corba.cpp: $(srcdir)/corba.gperf
	../src/gperf -a -o $(srcdir)/corba.gperf > corba.cpp

noinst_PROGRAMS += tout

tout_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR)

tout_SOURCES = \
  corba.cpp \
  test.cpp

tout_LDADD = \
  $(ACE_BUILDDIR)/ace/libACE.la

endif !BUILD_USES_WCHAR

## 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