~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to db/build_vxworks/db_upgrade/db_upgrade/Makefile.component

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-06-25 18:57:20 UTC
  • mfrom: (1.1.5 upstream) (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090625185720-617sjskgtgmf09vf
Tags: 4.7.0-7ubuntu1
* Merge from debian unstable, remaining changes:
  - change build depends from libdwarf-dev -> libdw-dev
    (libdwarf-dev is in universe)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Component project makefile generated by the project manager
2
 
#
3
 
 
4
 
 
5
 
## core information
6
 
 
7
 
 
8
 
CONFIGLETTE     = compConfig.c
9
 
TGT_DIR        = $(WIND_BASE)/target
10
 
EXTERNAL_BINARIES_DIR      =  $(PRJ_DIR)/extbin/$(BUILD_SPEC)
11
 
COMPONENT_NAME = db_upgrade
12
 
.PHONY:         defaultTarget
13
 
defaultTarget:        $(COMPONENT_NAME).cm
14
 
 
15
 
#
16
 
# default definition for CPU and TOOL (needed by defs.project)
17
 
#
18
 
 
19
 
CPU              = SIMSPARCSOLARIS
20
 
TOOL             = gnu
21
 
 
22
 
 
23
 
## CPU and TOOL info for build specification 'PENTIUM2gnu.debug'
24
 
 
25
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.debug)
26
 
CPU              = PENTIUM2
27
 
TOOL             = gnu
28
 
SYS_OBJ_DIR   =  $(WIND_BASE)/target/lib/obj$(CPU)$(TOOL)vx
29
 
USER_OBJ_DIR   =  $(WIND_BASE)/target/user/objs/obj$(CPU)$(TOOL)
30
 
PRJ_OBJS    = db_upgrade.o \
31
 
                compConfig.o
32
 
COMPONENT_OBJS    = db_upgrade.o
33
 
DEPENDENCY_FILES    = db_upgrade.d \
34
 
                compConfig.d
35
 
NUMBER_OF_COMPONENT_OBJS = $(words $(COMPONENT_OBJS))
36
 
endif
37
 
 
38
 
 
39
 
## CPU and TOOL info for build specification 'PENTIUM2gnu.release'
40
 
 
41
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.release)
42
 
CPU              = PENTIUM2
43
 
TOOL             = gnu
44
 
SYS_OBJ_DIR   =  $(WIND_BASE)/target/lib/obj$(CPU)$(TOOL)vx
45
 
USER_OBJ_DIR   =  $(WIND_BASE)/target/user/objs/obj$(CPU)$(TOOL)
46
 
PRJ_OBJS    = db_upgrade.o \
47
 
                compConfig.o
48
 
COMPONENT_OBJS    = db_upgrade.o
49
 
DEPENDENCY_FILES    = db_upgrade.d \
50
 
                compConfig.d
51
 
NUMBER_OF_COMPONENT_OBJS = $(words $(COMPONENT_OBJS))
52
 
endif
53
 
 
54
 
 
55
 
## CPU and TOOL info for build specification 'PENTIUMgnu.debug'
56
 
 
57
 
ifeq ($(BUILD_SPEC),PENTIUMgnu.debug)
58
 
CPU              = PENTIUM
59
 
TOOL             = gnu
60
 
SYS_OBJ_DIR   =  $(WIND_BASE)/target/lib/obj$(CPU)$(TOOL)vx
61
 
USER_OBJ_DIR   =  $(WIND_BASE)/target/user/objs/obj$(CPU)$(TOOL)
62
 
PRJ_OBJS    = db_upgrade.o \
63
 
                compConfig.o
64
 
COMPONENT_OBJS    = db_upgrade.o
65
 
DEPENDENCY_FILES    = db_upgrade.d \
66
 
                compConfig.d
67
 
NUMBER_OF_COMPONENT_OBJS = $(words $(COMPONENT_OBJS))
68
 
endif
69
 
 
70
 
 
71
 
## CPU and TOOL info for build specification 'SIMSPARCSOLARISgnu.debug'
72
 
 
73
 
ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu.debug)
74
 
CPU              = SIMSPARCSOLARIS
75
 
TOOL             = gnu
76
 
SYS_OBJ_DIR   =  $(WIND_BASE)/target/lib/obj$(CPU)$(TOOL)vx
77
 
USER_OBJ_DIR   =  $(WIND_BASE)/target/user/objs/obj$(CPU)$(TOOL)
78
 
PRJ_OBJS    = db_upgrade.o \
79
 
                compConfig.o
80
 
COMPONENT_OBJS    = db_upgrade.o
81
 
DEPENDENCY_FILES    = db_upgrade.d \
82
 
                compConfig.d
83
 
NUMBER_OF_COMPONENT_OBJS = $(words $(COMPONENT_OBJS))
84
 
endif
85
 
 
86
 
 
87
 
include $(TGT_DIR)/h/make/defs.project
88
 
 
89
 
 
90
 
## build-configuration info for build specification 'PENTIUM2gnu.debug'
91
 
 
92
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.debug)
93
 
 
94
 
## macros
95
 
 
96
 
AR               = arpentium
97
 
AS               = ccpentium
98
 
CC               = ccpentium
99
 
CFLAGS           = -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2
100
 
CFLAGS_AS        = -mcpu=pentiumpro -march=pentiumpro -ansi -g -nostdlib -fno-builtin -fno-defer-pop -P -x assembler-with-cpp -Wall -I. -I$(WIND_BASE)/target/h -DCPU=PENTIUM2
101
 
CPP              = ccpentium -E -P
102
 
CPPFILT          = c++filtpentium --strip-underscores
103
 
LD               = ldpentium
104
 
LDFLAGS          = -X
105
 
LDPARTIAL        = ccpentium -B$(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/ -nostdlib -r -Wl,-X
106
 
LD_PARTIAL_FLAGS = -X -r
107
 
NM               = nmpentium -g
108
 
OPTION_DEFINE_MACRO = -D
109
 
OPTION_GENERATE_DEPENDENCY_FILE = -MD
110
 
OPTION_INCLUDE_DIR = -I
111
 
RELEASE          = 0
112
 
SIZE             = sizepentium
113
 
POST_BUILD_RULE  = 
114
 
 
115
 
## end build-configuration info for build specification 'PENTIUM2gnu.debug'
116
 
 
117
 
endif
118
 
 
119
 
 
120
 
## build-configuration info for build specification 'PENTIUM2gnu.release'
121
 
 
122
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.release)
123
 
 
124
 
## macros
125
 
 
126
 
AR               = arpentium
127
 
AS               = ccpentium
128
 
CC               = ccpentium
129
 
CFLAGS           = -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -O2 -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2
130
 
CFLAGS_AS        = -mcpu=pentiumpro -march=pentiumpro -ansi -O2 -nostdlib -fno-builtin -fno-defer-pop -P -x assembler-with-cpp -Wall -I. -I$(WIND_BASE)/target/h -DCPU=PENTIUM2
131
 
CPP              = ccpentium -E -P
132
 
CPPFILT          = c++filtpentium --strip-underscores
133
 
LD               = ldpentium
134
 
LDFLAGS          = -X
135
 
LDPARTIAL        = ccpentium -B$(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/ -nostdlib -r -Wl,-X
136
 
LD_PARTIAL_FLAGS = -X -r
137
 
NM               = nmpentium -g
138
 
OPTION_DEFINE_MACRO = -D
139
 
OPTION_GENERATE_DEPENDENCY_FILE = -MD
140
 
OPTION_INCLUDE_DIR = -I
141
 
RELEASE          = 1
142
 
SIZE             = sizepentium
143
 
POST_BUILD_RULE  = 
144
 
 
145
 
## end build-configuration info for build specification 'PENTIUM2gnu.release'
146
 
 
147
 
endif
148
 
 
149
 
 
150
 
## build-configuration info for build specification 'PENTIUMgnu.debug'
151
 
 
152
 
ifeq ($(BUILD_SPEC),PENTIUMgnu.debug)
153
 
 
154
 
## macros
155
 
 
156
 
AR               = arpentium
157
 
AS               = ccpentium
158
 
CC               = ccpentium
159
 
CFLAGS           = -mcpu=pentium -march=pentium -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM
160
 
CFLAGS_AS        = -mcpu=pentium -march=pentium -ansi -g -nostdlib -fno-builtin -fno-defer-pop -P -x assembler-with-cpp -Wall -I. -I$(WIND_BASE)/target/h -DCPU=PENTIUM
161
 
CPP              = ccpentium -E -P
162
 
CPPFILT          = c++filtpentium --strip-underscores
163
 
LD               = ldpentium
164
 
LDFLAGS          = -X
165
 
LDPARTIAL        = ccpentium -B$(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/ -nostdlib -r -Wl,-X
166
 
LD_PARTIAL_FLAGS = -X -r
167
 
NM               = nmpentium -g
168
 
OPTION_DEFINE_MACRO = -D
169
 
OPTION_GENERATE_DEPENDENCY_FILE = -MD
170
 
OPTION_INCLUDE_DIR = -I
171
 
RELEASE          = 0
172
 
SIZE             = sizepentium
173
 
POST_BUILD_RULE  = 
174
 
 
175
 
## end build-configuration info for build specification 'PENTIUMgnu.debug'
176
 
 
177
 
endif
178
 
 
179
 
 
180
 
## build-configuration info for build specification 'SIMSPARCSOLARISgnu.debug'
181
 
 
182
 
ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu.debug)
183
 
 
184
 
## macros
185
 
 
186
 
AR               = arsparc
187
 
AS               = ccsparc
188
 
CC               = ccsparc
189
 
CFLAGS           = -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -fno-builtin -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=SIMSPARCSOLARIS
190
 
CFLAGS_AS        = -ansi -g -fno-builtin -P -x assembler-with-cpp -Wall -I. -I$(WIND_BASE)/target/h -DCPU=SIMSPARCSOLARIS
191
 
CPP              = ccsparc -E -P
192
 
CPPFILT          = c++filtsparc --strip-underscores
193
 
LD               = ldsparc
194
 
LDFLAGS          = -T $(WIND_BASE)/target/config/solaris/linker-script
195
 
LDPARTIAL        = ccsparc -B$(WIND_BASE)/host/$(WIND_HOST_TYPE)/lib/gcc-lib/ -nostdlib -r -Wl,-X
196
 
LD_PARTIAL_FLAGS = -nostdlib -r
197
 
NM               = nmsparc
198
 
OPTION_DEFINE_MACRO = -D
199
 
OPTION_GENERATE_DEPENDENCY_FILE = -MD
200
 
OPTION_INCLUDE_DIR = -I
201
 
RELEASE          = 0
202
 
SIZE             = sizesparc
203
 
POST_BUILD_RULE  = 
204
 
 
205
 
## end build-configuration info for build specification 'SIMSPARCSOLARISgnu.debug'
206
 
 
207
 
endif
208
 
 
209
 
# override make definitions only below this line
210
 
 
211
 
 
212
 
# override make definitions only above this line
213
 
 
214
 
include $(TGT_DIR)/h/make/rules.project
215
 
 
216
 
 
217
 
#
218
 
# Dummy target to force external make
219
 
#
220
 
 
221
 
FORCE_EXTERNAL_MAKE:
222
 
 
223
 
 
224
 
 
225
 
#
226
 
# Custom makefile
227
 
#
228
 
 
229
 
include $(PRJ_DIR)/Makefile.custom
230
 
 
231
 
 
232
 
## build rules for build specification 'PENTIUM2gnu.debug'
233
 
 
234
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.debug)
235
 
 
236
 
%.o : $(PRJ_DIR)/%.c
237
 
        $(CC) -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 -c $<
238
 
 
239
 
%.d : $(PRJ_DIR)/%.c
240
 
        ccpentium -E -P -M -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 $< > $@
241
 
 
242
 
%.o : $(PRJ_DIR)/../%.c
243
 
        $(CC) -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 -c $<
244
 
 
245
 
%.d : $(PRJ_DIR)/../%.c
246
 
        ccpentium -E -P -M -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 $< > $@
247
 
 
248
 
 
249
 
## end build rules for build specification 'PENTIUM2gnu.debug'
250
 
 
251
 
endif
252
 
 
253
 
 
254
 
## build rules for build specification 'PENTIUM2gnu.release'
255
 
 
256
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.release)
257
 
 
258
 
%.o : $(PRJ_DIR)/%.c
259
 
        $(CC) -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -O2 -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 -c $<
260
 
 
261
 
%.d : $(PRJ_DIR)/%.c
262
 
        ccpentium -E -P -M -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -O2 -nostdlib -fno-builtin -fno-defer-pop -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 $< > $@
263
 
 
264
 
%.o : $(PRJ_DIR)/../%.c
265
 
        $(CC) -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -O2 -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 -c $<
266
 
 
267
 
%.d : $(PRJ_DIR)/../%.c
268
 
        ccpentium -E -P -M -mcpu=pentiumpro -march=pentiumpro -ansi -DRW_MULTI_THREAD -D_REENTRANT -O2 -nostdlib -fno-builtin -fno-defer-pop -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM2 $< > $@
269
 
 
270
 
 
271
 
## end build rules for build specification 'PENTIUM2gnu.release'
272
 
 
273
 
endif
274
 
 
275
 
 
276
 
## build rules for build specification 'PENTIUMgnu.debug'
277
 
 
278
 
ifeq ($(BUILD_SPEC),PENTIUMgnu.debug)
279
 
 
280
 
%.o : $(PRJ_DIR)/%.c
281
 
        $(CC) -mcpu=pentium -march=pentium -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM -c $<
282
 
 
283
 
%.d : $(PRJ_DIR)/%.c
284
 
        ccpentium -E -P -M -mcpu=pentium -march=pentium -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM $< > $@
285
 
 
286
 
%.o : $(PRJ_DIR)/../%.c
287
 
        $(CC) -mcpu=pentium -march=pentium -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM -c $<
288
 
 
289
 
%.d : $(PRJ_DIR)/../%.c
290
 
        ccpentium -E -P -M -mcpu=pentium -march=pentium -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -nostdlib -fno-builtin -fno-defer-pop -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=PENTIUM $< > $@
291
 
 
292
 
 
293
 
## end build rules for build specification 'PENTIUMgnu.debug'
294
 
 
295
 
endif
296
 
 
297
 
 
298
 
## build rules for build specification 'SIMSPARCSOLARISgnu.debug'
299
 
 
300
 
ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu.debug)
301
 
 
302
 
%.o : $(PRJ_DIR)/%.c
303
 
        $(CC) -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -fno-builtin -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=SIMSPARCSOLARIS -c $<
304
 
 
305
 
%.d : $(PRJ_DIR)/%.c
306
 
        ccsparc -E -P -M -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -fno-builtin -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=SIMSPARCSOLARIS $< > $@
307
 
 
308
 
%.o : $(PRJ_DIR)/../%.c
309
 
        $(CC) -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -fno-builtin -MD -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=SIMSPARCSOLARIS -c $<
310
 
 
311
 
%.d : $(PRJ_DIR)/../%.c
312
 
        ccsparc -E -P -M -ansi -DRW_MULTI_THREAD -D_REENTRANT -g -fno-builtin -Wall -I. -I$(WIND_BASE)/target/h -I$(PRJ_DIR)/../.. -I$(PRJ_DIR)/../../../include -I$(PRJ_DIR)/../../../include_auto -DCPU=SIMSPARCSOLARIS $< > $@
313
 
 
314
 
 
315
 
## end build rules for build specification 'SIMSPARCSOLARISgnu.debug'
316
 
 
317
 
endif
318
 
 
319
 
#
320
 
# Rule for configurable, binary component
321
 
#
322
 
# Downloadable component module build rules
323
 
#
324
 
db_upgrade.cm: $(PRJ_OBJS) mxrDoc.nm depend
325
 
#
326
 
# Partially link all db_upgrade modules together
327
 
# including the configlette modules
328
 
#
329
 
        $(LD) -r -o $@ $(PRJ_OBJS) $(CC_LIB)
330
 
#
331
 
# Generate _vxMain and _vxExit by munching
332
 
#
333
 
        $(NM) $@ | $(MUNCH) > db_upgrade.c
334
 
        $(COMPILE_TRADITIONAL) db_upgrade_ctdt.c -o db_upgrade_ctdt.o
335
 
        $(LD) -r -o db_upgrade.tmp $@ db_upgrade_ctdt.o
336
 
        $(RM) $@
337
 
        $(MV) db_upgrade.tmp $@
338
 
#
339
 
# Adds entry point table section to db_upgrade component
340
 
#
341
 
        $(PD_EPT_DDE_ADD) $@ $(PRJ_DIR)/$(PRJ_FILE) INDEX $(BUILD_SPEC)
342
 
 
343
 
 
344
 
#
345
 
# Partial link build rules
346
 
# Partially link all db_upgrade modules together
347
 
# If no source files, then generates dummy.c
348
 
#
349
 
 
350
 
ifeq ($(COMPONENT_OBJS),)
351
 
dummy.c:
352
 
        $(CFG_GEN) $(PRJ_DIR)/$(PRJ_FILE) dummyCGen $(PRJ_TYPE)
353
 
 
354
 
db_upgrade.pl: dummy.o mxrDoc.nm depend
355
 
        $(LD) -r -o $@ dummy.o
356
 
else
357
 
db_upgrade.pl: $(COMPONENT_OBJS) mxrDoc.nm depend
358
 
        $(LD) -r -o $@ $(COMPONENT_OBJS) 
359
 
endif
360
 
 
361
 
#
362
 
# nm file containing symbol information for all component objects
363
 
#
364
 
 
365
 
EXTERNAL_BINARIES_DIR_PATTERN_1 =  $(subst \,\\,$(PRJ_DIR)/extbin/$(BUILD_SPEC)/)
366
 
EXTERNAL_BINARIES_DIR_PATTERN =  $(subst /,\/,$(EXTERNAL_BINARIES_DIR_PATTERN_1))
367
 
 
368
 
mxrDoc.nm: mxrDoc.size $(COMPONENT_OBJS) 
369
 
        $(RM) $@
370
 
# if there are no object files, make a blank mxr doc
371
 
ifeq ($(NUMBER_OF_COMPONENT_OBJS),0)
372
 
        @$(ECHO) "" >> $@
373
 
else
374
 
# make sure object file name is in mxrDoc.nm even if there
375
 
# is only one object file
376
 
        $(ECHO) db_upgrade.o: >> $@
377
 
        $(NM) db_upgrade.o | sed -e "s|$(EXTERNAL_BINARIES_DIR_PATTERN)||g" >> $@
378
 
endif
379
 
 
380
 
#
381
 
# size file containing size information for all component objects
382
 
#
383
 
mxrDoc.size: $(COMPONENT_OBJS) $(PRJ_DIR)/component.cdf
384
 
        $(RM) $@
385
 
ifeq ($(NUMBER_OF_COMPONENT_OBJS),0)
386
 
        @$(ECHO) "" > $@
387
 
else
388
 
        $(SIZE) db_upgrade.o | sed -e "s|$(EXTERNAL_BINARIES_DIR_PATTERN)||g" >> $@
389
 
endif
390
 
 
391
 
 
392
 
## user-defined rules for build specification 'PENTIUM2gnu.debug'
393
 
 
394
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.debug)
395
 
 
396
 
## end user-defined rules for build specification 'PENTIUM2gnu.debug'
397
 
 
398
 
endif
399
 
 
400
 
 
401
 
## user-defined rules for build specification 'PENTIUM2gnu.release'
402
 
 
403
 
ifeq ($(BUILD_SPEC),PENTIUM2gnu.release)
404
 
 
405
 
## end user-defined rules for build specification 'PENTIUM2gnu.release'
406
 
 
407
 
endif
408
 
 
409
 
 
410
 
## user-defined rules for build specification 'PENTIUMgnu.debug'
411
 
 
412
 
ifeq ($(BUILD_SPEC),PENTIUMgnu.debug)
413
 
 
414
 
## end user-defined rules for build specification 'PENTIUMgnu.debug'
415
 
 
416
 
endif
417
 
 
418
 
 
419
 
## user-defined rules for build specification 'SIMSPARCSOLARISgnu.debug'
420
 
 
421
 
ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu.debug)
422
 
 
423
 
## end user-defined rules for build specification 'SIMSPARCSOLARISgnu.debug'
424
 
 
425
 
endif
426
 
 
427
 
 
428
 
#
429
 
# Recursive clean
430
 
#
431
 
 
432
 
rclean : clean
433