~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to xpcom/reflect/xptcall/src/md/unix/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# This Source Code Form is subject to the terms of the Mozilla Public
3
 
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
 
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
 
 
6
 
DEPTH           = @DEPTH@
7
 
topsrcdir       = @top_srcdir@
8
 
srcdir          = @srcdir@
9
 
VPATH           = @srcdir@
10
 
NO_PROFILE_GUIDED_OPTIMIZE = 1
11
 
 
12
 
include $(DEPTH)/config/autoconf.mk
13
 
 
14
 
MODULE          = xpcom
15
 
LIBRARY_NAME    = xptcmd
16
 
EXPORT_LIBRARY  = ../..
17
 
MOZILLA_INTERNAL_API = 1
18
 
 
19
 
#
20
 
# The default is this buildable, but non-functioning code.
21
 
#
22
 
CPPSRCS = $(error XPTCall not implemented on this platform!)
23
 
 
24
 
 
25
 
ifeq ($(OS_ARCH),SunOS)
26
 
ifneq (86,$(findstring 86,$(OS_TEST)))
27
 
# disable PGO for this directory with Sun Studio on SPARC because
28
 
# compiling with xprofile=collect will insert code into nsXPTCStubBase::Stub##n
29
 
NO_PROFILE_GUIDED_OPTIMIZE = 1
30
 
endif
31
 
endif
32
 
 
33
 
include $(topsrcdir)/config/config.mk
34
 
 
35
 
######################################################################
36
 
# i386 and beyond
37
 
######################################################################
38
 
#
39
 
# Lots of Unixish x86 flavors
40
 
#
41
 
 
42
 
ifeq (Darwin,$(OS_ARCH))
43
 
ifeq (86,$(findstring 86,$(OS_TEST)))
44
 
ifeq (x86_64,$(OS_TEST))
45
 
CPPSRCS         := xptcinvoke_x86_64_unix.cpp xptcstubs_x86_64_darwin.cpp
46
 
else
47
 
DEFINES         += -DMOZ_NEED_LEADING_UNDERSCORE
48
 
CPPSRCS         := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp
49
 
endif
50
 
endif
51
 
endif
52
 
 
53
 
ifneq (,$(filter NetBSD OpenBSD BSD_OS GNU,$(OS_ARCH)))
54
 
ifeq (86,$(findstring 86,$(OS_TEST)))
55
 
CPPSRCS         := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp
56
 
endif
57
 
endif
58
 
#
59
 
# New code for Linux, et. al., with gcc
60
 
# Migrate other platforms here after testing
61
 
#
62
 
ifneq (,$(filter Linux FreeBSD GNU_%,$(OS_ARCH)))
63
 
# Linux/x86-64
64
 
ifeq (x86_64,$(OS_TEST))
65
 
CPPSRCS         := xptcinvoke_x86_64_unix.cpp xptcstubs_x86_64_linux.cpp
66
 
else
67
 
ifeq (86,$(findstring 86,$(OS_TEST)))
68
 
CPPSRCS         := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp
69
 
endif
70
 
endif
71
 
endif
72
 
# IA64 Linux
73
 
ifneq (,$(filter Linux FreeBSD,$(OS_ARCH)))
74
 
ifneq (,$(findstring ia64,$(OS_TEST)))
75
 
CPPSRCS         := xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp
76
 
ASFILES         := xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s
77
 
endif
78
 
endif
79
 
#
80
 
# OpenBSD/amd64
81
 
#
82
 
ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDx86_64)
83
 
CPPSRCS         := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
84
 
endif
85
 
#
86
 
# Neutrino/Intel (uses the same unixish_x86 code)
87
 
#
88
 
ifeq ($(OS_TARGET),NTO)
89
 
ifeq ($(OS_TEST),x86)
90
 
CPPSRCS         := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp
91
 
endif
92
 
ifeq ($(OS_TEST),arm)
93
 
CPPSRCS         := xptcinvoke_nto_arm.cpp xptcstubs_nto_arm.cpp
94
 
endif
95
 
ifeq ($(OS_TEST),sh)
96
 
CPPSRCS         := xptcinvoke_nto_shle.cpp xptcstubs_nto_shle.cpp
97
 
ASFILES         := xptcstubs_asm_shle.s
98
 
endif
99
 
endif
100
 
 
101
 
 
102
 
######################################################################
103
 
# Solaris/Intel
104
 
######################################################################
105
 
#
106
 
# Solaris/Intel
107
 
#
108
 
ifeq ($(OS_ARCH),SunOS)
109
 
ifeq (x86_64,$(OS_TEST))
110
 
ifndef GNU_CC
111
 
CPPSRCS         := xptcstubs_x86_64_solaris.cpp xptcinvoke_x86_64_solaris.cpp
112
 
ASFILES         := xptcstubs_asm_x86_64_solaris_SUNW.s
113
 
else
114
 
CPPSRCS         := xptcstubs_x86_64_linux.cpp xptcinvoke_x86_64_unix.cpp
115
 
endif
116
 
else
117
 
ifeq (86,$(findstring 86,$(OS_TEST)))
118
 
# 28817: if Solaris Intel OS, and native compiler, always build optimised.
119
 
ifndef GNU_CC
120
 
CPPSRCS         := xptcinvoke_x86_solaris.cpp xptcstubs_x86_solaris.cpp
121
 
ASFILES         := xptcinvoke_asm_x86_solaris_SUNW.s xptcstubs_asm_x86_solaris_SUNW.s
122
 
else
123
 
CPPSRCS         := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp
124
 
endif
125
 
endif
126
 
endif
127
 
endif
128
 
 
129
 
######################################################################
130
 
# Alpha
131
 
######################################################################
132
 
#
133
 
# Linux/Alpha
134
 
#
135
 
ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))                           
136
 
CPPSRCS         := xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp
137
 
endif
138
 
#
139
 
# OpenBSD/Alpha
140
 
#
141
 
ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDalpha)
142
 
CPPSRCS         := xptcinvoke_alpha_openbsd.cpp xptcstubs_alpha_openbsd.cpp
143
 
endif
144
 
 
145
 
######################################################################
146
 
# ARM
147
 
######################################################################
148
 
#
149
 
# Linux/ARM
150
 
#
151
 
ifeq ($(OS_ARCH),Linux)
152
 
ifneq (,$(filter arm% sa110,$(OS_TEST)))
153
 
CPPSRCS         := xptcinvoke_arm.cpp xptcstubs_arm.cpp
154
 
CXXFLAGS += -O2
155
 
endif
156
 
endif
157
 
#
158
 
# NetBSD/ARM
159
 
#
160
 
ifeq ($(OS_ARCH),NetBSD)
161
 
ifneq (,$(filter arm% sa110,$(OS_TEST)))
162
 
CPPSRCS         := xptcinvoke_arm_netbsd.cpp xptcstubs_arm_netbsd.cpp
163
 
endif
164
 
endif
165
 
#
166
 
# OpenBSD/ARM
167
 
#
168
 
ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDarm)
169
 
CPPSRCS         := xptcinvoke_arm_openbsd.cpp xptcstubs_arm_openbsd.cpp
170
 
endif
171
 
 
172
 
######################################################################
173
 
# HPPA
174
 
######################################################################
175
 
#
176
 
# HP-UX/PA32
177
 
#
178
 
# for gas and gcc, check comment in xptcinvoke_asm_pa32.s
179
 
ifeq ($(OS_ARCH),HP-UX)
180
 
ifneq ($(CC),gcc)
181
 
ifneq ($(OS_TEST),ia64)
182
 
CPPSRCS         := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp
183
 
ASFILES         := xptcstubs_asm_pa32.s xptcinvoke_asm_pa32.s
184
 
else
185
 
CPPSRCS         := xptcinvoke_ipf32.cpp xptcstubs_ipf32.cpp
186
 
ASFILES         := xptcstubs_asm_ipf32.s xptcinvoke_asm_ipf32.s
187
 
endif
188
 
 
189
 
# #18875  Building the CPP's (CXX) optimized causes a crash
190
 
CXXFLAGS        :=  $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
191
 
endif
192
 
endif
193
 
 
194
 
#
195
 
# Linux/HPPA/gcc
196
 
#
197
 
ifeq ($(OS_ARCH),Linux)
198
 
ifneq (,$(filter hppa hppa2.0 hppa1.1,$(OS_TEST)))
199
 
ifndef GNU_CXX
200
 
$(error Unknown C++ compiler, xptcall assembly will probably be incorrect.)
201
 
else
202
 
CPPSRCS         := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp
203
 
ASFILES         := xptcstubs_asm_parisc_linux.s xptcinvoke_asm_parisc_linux.s
204
 
# #434190 optimized builds crash
205
 
CXXFLAGS        :=  $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
206
 
endif
207
 
endif
208
 
endif
209
 
 
210
 
 
211
 
######################################################################
212
 
# M68k
213
 
######################################################################
214
 
#
215
 
# NetBSD/m68k
216
 
#
217
 
ifeq ($(OS_ARCH),NetBSD)
218
 
ifneq (,$(filter amiga atari hp300 mac68k mvme68k next68k sun3 sun3x x68k,$(OS_TEST)))
219
 
CPPSRCS         := xptcinvoke_netbsd_m68k.cpp xptcstubs_netbsd_m68k.cpp
220
 
endif
221
 
endif
222
 
 
223
 
#
224
 
# Linux/m68k
225
 
#
226
 
ifeq ($(OS_ARCH),Linux)
227
 
ifeq ($(OS_TEST),m68k)
228
 
CPPSRCS         := xptcinvoke_linux_m68k.cpp xptcstubs_linux_m68k.cpp
229
 
endif
230
 
endif
231
 
 
232
 
ifeq ($(OS_ARCH),Linux)
233
 
ifneq (,$(findstring mips, $(OS_TEST)))
234
 
ifneq (,$(findstring mips64, $(OS_TEST)))
235
 
CPPSRCS         := xptcinvoke_mips64.cpp xptcstubs_mips64.cpp
236
 
ASFILES         := xptcinvoke_asm_mips64.s xptcstubs_asm_mips64.s
237
 
else
238
 
CPPSRCS         := xptcinvoke_mips.cpp xptcstubs_mips.cpp
239
 
ASFILES         := xptcinvoke_asm_mips.s xptcstubs_asm_mips.s
240
 
endif
241
 
ASFLAGS         += -I$(DIST)/include -x assembler-with-cpp
242
 
endif
243
 
endif
244
 
 
245
 
######################################################################
246
 
# PowerPC
247
 
######################################################################
248
 
#
249
 
# AIX/PPC
250
 
#
251
 
ifeq ($(OS_ARCH),AIX)
252
 
ifdef HAVE_64BIT_OS
253
 
CPPSRCS         := xptcinvoke_ppc_aix64.cpp xptcstubs_ppc_aix64.cpp
254
 
ASFILES         := xptcinvoke_asm_ppc_aix64.s xptcstubs_asm_ppc_aix64.s
255
 
else
256
 
ifeq ($(AIX_OBJMODEL),ibm)
257
 
CPPSRCS         := xptcinvoke_ppc_aix.cpp xptcstubs_ppc_aix.cpp
258
 
ASFILES         := xptcinvoke_asm_ppc_ibmobj_aix.s xptcstubs_asm_ppc_aix.s
259
 
else
260
 
CPPSRCS         := xptcinvoke_ppc_aix.cpp xptcstubs_ppc_aix.cpp
261
 
ASFILES         := xptcinvoke_asm_ppc_aix.s xptcstubs_asm_ppc_aix.s
262
 
endif
263
 
endif
264
 
 
265
 
# #24617  Building the CPP's (CXX) optimized causes a crash
266
 
CXXFLAGS        :=  $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
267
 
endif
268
 
 
269
 
#
270
 
# Linux/PPC
271
 
#
272
 
ifneq (,$(filter Linuxpowerpc FreeBSDpowerpc,$(OS_ARCH)$(OS_TEST)))
273
 
CPPSRCS         := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
274
 
ASFILES         := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
275
 
AS              := $(CC) -c -x assembler-with-cpp
276
 
endif
277
 
 
278
 
#
279
 
# Linux/PPC64
280
 
#
281
 
ifneq (,$(filter Linuxpowerpc64 FreeBSDpowerpc64,$(OS_ARCH)$(OS_TEST)))
282
 
CPPSRCS                := xptcinvoke_ppc64_linux.cpp xptcstubs_ppc64_linux.cpp
283
 
ASFILES                := xptcinvoke_asm_ppc64_linux.s xptcstubs_asm_ppc64_linux.s
284
 
AS             := $(CC) -c -x assembler-with-cpp
285
 
endif
286
 
 
287
 
#
288
 
# NetBSD/PPC
289
 
#
290
 
ifneq (,$(filter NetBSDmacppc NetBSDbebox NetBSDofppc NetBSDprep NetBSDamigappc,$(OS_ARCH)$(OS_TEST)))                           
291
 
CPPSRCS         := xptcinvoke_ppc_netbsd.cpp xptcstubs_ppc_netbsd.cpp
292
 
ASFILES         := xptcinvoke_asm_ppc_netbsd.s xptcstubs_asm_ppc_netbsd.s
293
 
endif
294
 
 
295
 
#
296
 
# OpenBSD/PPC
297
 
#
298
 
ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDpowerpc)
299
 
CPPSRCS         := xptcinvoke_ppc_openbsd.cpp xptcstubs_ppc_openbsd.cpp
300
 
ASFILES         := xptcinvoke_asm_ppc_openbsd.s xptcstubs_asm_ppc_openbsd.s
301
 
AS              := $(CC) -c -x assembler-with-cpp
302
 
endif
303
 
 
304
 
#
305
 
# Darwin/PPC
306
 
#
307
 
ifeq ($(OS_ARCH),Darwin)
308
 
ifeq ($(TARGET_CPU), powerpc)
309
 
ASFLAGS         += -x assembler-with-cpp   # assumes $(AS) == $(CC)
310
 
CPPSRCS         := xptcinvoke_ppc_rhapsody.cpp xptcstubs_ppc_rhapsody.cpp
311
 
ASFILES         := xptcinvoke_asm_ppc_rhapsody.s xptcstubs_asm_ppc_darwin.s
312
 
endif
313
 
endif
314
 
 
315
 
######################################################################
316
 
# SPARC
317
 
######################################################################
318
 
#
319
 
# BSD_OS/SPARC
320
 
#
321
 
ifeq ($(OS_ARCH),BSD_OS)
322
 
ifneq (,$(findstring sparc,$(OS_TEST)))
323
 
CPPSRCS         := xptcinvoke_sparc_solaris.cpp xptcstubs_sparc_solaris.cpp
324
 
ASFILES         := xptcinvoke_asm_sparc_bsdos.s xptcstubs_asm_sparc_solaris.s
325
 
endif
326
 
endif
327
 
#
328
 
# Linux/SPARC
329
 
#
330
 
ifeq ($(OS_ARCH),Linux)
331
 
ifneq (,$(findstring sparc,$(OS_TEST)))
332
 
CPPSRCS         := xptcinvoke_sparc_solaris.cpp xptcstubs_sparc_solaris.cpp
333
 
ASFILES         := xptcinvoke_asm_sparc_linux_GCC3.s xptcstubs_asm_sparc_solaris.s
334
 
endif
335
 
endif
336
 
#
337
 
# NetBSD/SPARC
338
 
#
339
 
ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc)
340
 
CPPSRCS         := xptcinvoke_sparc_netbsd.cpp xptcstubs_sparc_netbsd.cpp
341
 
ASFILES         := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
342
 
endif
343
 
#
344
 
# OpenBSD/SPARC
345
 
#
346
 
ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc)
347
 
CPPSRCS         := xptcinvoke_sparc_openbsd.cpp xptcstubs_sparc_openbsd.cpp
348
 
ASFILES         := xptcinvoke_asm_sparc_openbsd.s xptcstubs_asm_sparc_openbsd.s
349
 
endif
350
 
#
351
 
# OpenBSD/SPARC64
352
 
#
353
 
ifneq (,$(filter OpenBSDsparc64 FreeBSDsparc64,$(OS_ARCH)$(OS_TEST)))
354
 
CPPSRCS         := xptcinvoke_sparc64_openbsd.cpp xptcstubs_sparc64_openbsd.cpp
355
 
ASFILES         := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
356
 
endif
357
 
#
358
 
# Solaris/SPARC
359
 
#
360
 
ifeq ($(OS_ARCH),SunOS)
361
 
ifneq (86,$(findstring 86,$(OS_TEST)))
362
 
ifdef HAVE_64BIT_OS
363
 
ASFLAGS         += -xarch=v9
364
 
CPPSRCS         := xptcinvoke_sparcv9_solaris.cpp xptcstubs_sparcv9_solaris.cpp
365
 
else
366
 
CPPSRCS         := xptcinvoke_sparc_solaris.cpp xptcstubs_sparc_solaris.cpp
367
 
endif
368
 
 
369
 
ifeq ($(GNU_CC),1)
370
 
ASFILES         := xptcinvoke_asm_sparc_solaris_GCC3.s xptcstubs_asm_sparc_solaris.s
371
 
else
372
 
 
373
 
ifdef HAVE_64BIT_OS
374
 
ASFILES         := xptcinvoke_asm_sparcv9_solaris_SUNW.s xptcstubs_asm_sparcv9_solaris.s
375
 
else
376
 
ASFILES         := xptcinvoke_asm_sparc_solaris_SUNW.s xptcstubs_asm_sparc_solaris.s
377
 
endif
378
 
endif
379
 
 
380
 
endif
381
 
endif
382
 
 
383
 
######################################################################
384
 
# S/390
385
 
######################################################################
386
 
#
387
 
# Linux for S/390
388
 
#
389
 
ifeq ($(OS_ARCH)$(OS_TEST),Linuxs390)
390
 
CPPSRCS         := xptcinvoke_linux_s390.cpp xptcstubs_linux_s390.cpp
391
 
CXXFLAGS        += -fno-strict-aliasing -fno-inline -fomit-frame-pointer -mbackchain
392
 
endif
393
 
 
394
 
ifeq ($(OS_ARCH)$(OS_TEST),Linuxs390x)
395
 
CPPSRCS         := xptcinvoke_linux_s390x.cpp xptcstubs_linux_s390x.cpp
396
 
CXXFLAGS        += -fno-strict-aliasing -fno-inline -fomit-frame-pointer -mbackchain
397
 
endif
398
 
 
399
 
 
400
 
# we don't want the shared lib, but we want to force the creation of a static lib.
401
 
FORCE_STATIC_LIB = 1
402
 
 
403
 
include $(topsrcdir)/config/rules.mk
404
 
 
405
 
DEFINES         += -DEXPORT_XPTC_API -D_IMPL_NS_COM
406
 
 
407
 
LOCAL_INCLUDES += \
408
 
        -I$(srcdir)/../.. \
409
 
        -I$(srcdir)/../../../../xptinfo/src \
410
 
        $(NULL)
411
 
 
412
 
ifeq ($(OS_ARCH),Linux)
413
 
ifneq (,$(findstring mips, $(OS_TEST)))
414
 
xptcstubs_asm_mips.o: $(DIST)/include/xptcstubsdef.inc
415
 
endif
416
 
endif
417
 
 
418
 
ifeq ($(OS_ARCH),Darwin)
419
 
xptcstubs_asm_ppc_darwin.o: xptcstubs_asm_ppc_darwin.s.m4 $(DIST)/include/xptcstubsdef.inc Makefile
420
 
        gm4 $(INCLUDES) $< > ./xptcstubs_asm_ppc_darwin.s && \
421
 
        $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_ppc_darwin.s
422
 
        $(RM) -f ./xptcstubs_asm_ppc_darwin.s
423
 
endif
424
 
 
425
 
ifeq ($(OS_ARCH),AIX)
426
 
ifdef HAVE_64BIT_OS
427
 
xptcstubs_asm_ppc_aix64.o: xptcstubs_asm_ppc_aix64.s.m4 $(DIST)/include/xptcstubsdef.inc Makefile
428
 
        m4 -DAIX_OBJMODEL=$(AIX_OBJMODEL) $(INCLUDES) -I. $< > ./xptcstubs_asm_ppc_aix64.s && \
429
 
        $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_ppc_aix64.s
430
 
        $(RM) ./xptcstubs_asm_ppc_aix64.s
431
 
else
432
 
xptcstubs_asm_ppc_aix.o: xptcstubs_asm_ppc_aix.s.m4 $(DIST)/include/xptcstubsdef.inc Makefile
433
 
        m4 -DAIX_OBJMODEL=$(AIX_OBJMODEL) $(INCLUDES) -I. $< > ./xptcstubs_asm_ppc_aix.s && \
434
 
        $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_ppc_aix.s
435
 
        $(RM) ./xptcstubs_asm_ppc_aix.s
436
 
endif
437
 
endif
438
 
 
439
 
ifeq ($(OS_ARCH),SunOS)
440
 
ifeq (86,$(findstring 86,$(OS_TEST)))
441
 
ifndef GNU_CC
442
 
ifeq (x86_64,$(OS_TEST))
443
 
xptcstubs_asm_x86_64_solaris_SUNW.o: $(DIST)/include/xptcstubsdef.inc $(srcdir)/xptcstubs_asm_x86_64_solaris_SUNW.s
444
 
        sed \
445
 
          -e 's/^\(STUB_ENTRY\)(\([0-9]\))/\11\(\2\)/' \
446
 
          -e 's/^\(STUB_ENTRY\)(\([0-9][0-9]\))/\12\(\2\)/' \
447
 
          -e 's/^\(STUB_ENTRY\)(\([0-9][0-9][0-9]\))/\13\(\2\)/' \
448
 
        $(DIST)/include/xptcstubsdef.inc > ./xptcstubsdef_asm.solx86
449
 
        $(AS) -o $@ -xarch=amd64 $(ASFLAGS) $(AS_DASH_C_FLAG) -I./ $(srcdir)/xptcstubs_asm_x86_64_solaris_SUNW.s
450
 
else
451
 
xptcstubs_asm_x86_solaris_SUNW.o: $(DIST)/include/xptcstubsdef.inc $(srcdir)/xptcstubs_asm_x86_solaris_SUNW.s
452
 
        sed \
453
 
          -e 's/^\(STUB_ENTRY\)(\([0-9]\))/\11\(\2\)/' \
454
 
          -e 's/^\(STUB_ENTRY\)(\([0-9][0-9]\))/\12\(\2\)/' \
455
 
          -e 's/^\(STUB_ENTRY\)(\([0-9][0-9][0-9]\))/\13\(\2\)/' \
456
 
        $(DIST)/include/xptcstubsdef.inc > ./xptcstubsdef_asm.solx86
457
 
        $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) -I./ $(srcdir)/xptcstubs_asm_x86_solaris_SUNW.s
458
 
endif
459
 
        @rm -f ./xptcstubsdef_asm.solx86
460
 
endif
461
 
endif
462
 
endif