OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [tests/] [mptests/] [mp02/] [node2/] [Makefile.in] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
# Makefile.in generated by automake 1.6.2 from Makefile.am.
2
# @configure_input@
3
 
4
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5
# Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
 
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
 
15
@SET_MAKE@
16
SHELL = @SHELL@
17
 
18
srcdir = @srcdir@
19
top_srcdir = @top_srcdir@
20
prefix = @prefix@
21
exec_prefix = @exec_prefix@
22
 
23
bindir = @bindir@
24
sbindir = @sbindir@
25
libexecdir = @libexecdir@
26
datadir = @datadir@
27
sysconfdir = @sysconfdir@
28
sharedstatedir = @sharedstatedir@
29
localstatedir = @localstatedir@
30
libdir = @libdir@
31
infodir = @infodir@
32
mandir = @mandir@
33
includedir = @includedir@
34
oldincludedir = /usr/include
35
pkgdatadir = $(datadir)/@PACKAGE@
36
pkglibdir = $(libdir)/@PACKAGE@
37
pkgincludedir = $(includedir)/@PACKAGE@
38
top_builddir = ../..
39
 
40
ACLOCAL = @ACLOCAL@
41
AUTOCONF = @AUTOCONF@
42
AUTOMAKE = @AUTOMAKE@
43
AUTOHEADER = @AUTOHEADER@
44
 
45
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46
INSTALL = @INSTALL@
47
INSTALL_PROGRAM = @INSTALL_PROGRAM@
48
INSTALL_DATA = @INSTALL_DATA@
49
install_sh_DATA = $(install_sh) -c -m 644
50
install_sh_PROGRAM = $(install_sh) -c
51
install_sh_SCRIPT = $(install_sh) -c
52
INSTALL_SCRIPT = @INSTALL_SCRIPT@
53
INSTALL_HEADER = $(INSTALL_DATA)
54
transform = @program_transform_name@
55
NORMAL_INSTALL = :
56
PRE_INSTALL = :
57
POST_INSTALL = :
58
NORMAL_UNINSTALL = :
59
PRE_UNINSTALL = :
60
POST_UNINSTALL = :
61
host_alias = @host_alias@
62
host_triplet = @host@
63
 
64
EXEEXT = @EXEEXT@
65
OBJEXT = @OBJEXT@
66
PATH_SEPARATOR = @PATH_SEPARATOR@
67
 
68
VPATH = @srcdir@:@srcdir@/..
69
AMTAR = @AMTAR@
70
AWK = @AWK@
71
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
72
BARE_CPU_MODEL = @BARE_CPU_MODEL@
73
 
74
CC = @CC@ $(GCCSPECS)
75
CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@
76
CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@
77
CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@
78
CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@
79
CPP = @CPP@ $(GCCSPECS)
80
DEPDIR = @DEPDIR@
81
ENDIF = @ENDIF@
82
GCCSED = @GCCSED@
83
GCC_SPECS = @GCC_SPECS@
84
HAS_MP = @HAS_MP@
85
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86
MAINT = @MAINT@
87
MAKE = @MAKE@
88
PACKAGE = @PACKAGE@
89
PACKHEX = @PACKHEX@
90
PROJECT_INCLUDE = @PROJECT_INCLUDE@
91
PROJECT_RELEASE = @PROJECT_RELEASE@
92
PROJECT_ROOT = @PROJECT_ROOT@
93
PROJECT_TOPdir = @PROJECT_TOPdir@
94
RTEMS_BSP = @RTEMS_BSP@
95
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
96
RTEMS_CPU = @RTEMS_CPU@
97
RTEMS_HOST = @RTEMS_HOST@
98
RTEMS_ROOT = @RTEMS_ROOT@
99
RTEMS_TOPdir = @RTEMS_TOPdir@
100
STRIP = @STRIP@
101
VERSION = @VERSION@
102
am__include = @am__include@
103
am__quote = @am__quote@
104
bsplibdir = @bsplibdir@
105
install_sh = @install_sh@
106
 
107
NODE = 2
108
TEST = mp02
109
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
110
 
111
MANAGERS = io mp
112
 
113
C_FILES = init.c task1.c
114
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
115
 
116
H_FILES = system.h
117
 
118
DOCTYPES = doc scn
119
DOCS = $(DOCTYPES:%=$(TEST).%)
120
 
121
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
122
OBJS = $(C_O_FILES)
123
 
124
PRINT_SRCS = $(DOCS)
125
 
126
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
127
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
128
 
129
DEFS = @DEFS@
130
 
131
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
132
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
133
 
134
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
135
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
136
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
137
 
138
LINK_LIBS = $(LD_LIBS)
139
 
140
# when debugging, optimize flag: typically empty
141
# some compilers do allow optimization with their "-g"
142
CFLAGS_DEBUG_OPTIMIZE_V = -g
143
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
144
LDFLAGS_DEBUG_V =
145
 
146
# profile flag; use gprof(1)
147
CFLAGS_PROFILE_V = -pg
148
CXXFLAGS_PROFILE_V = -pg
149
LDFLAGS_PROFILE_V =
150
 
151
# List of library paths without -L
152
LD_PATHS = $(PROJECT_RELEASE)/lib
153
 
154
# ld flag for incomplete link
155
LDFLAGS_INCOMPLETE = -r
156
 
157
# ld flags for profiling, debugging
158
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
159
 
160
 
161
#
162
# Client compiler and support tools
163
#
164
 
165
#
166
# How to compile stuff into ${ARCH} subdirectory
167
#
168
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
169
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
170
 
171
CCLD = $(CC)
172
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
173
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
174
 
175
 
176
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
177
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
178
 
179
CXXLD = $(CXX)
180
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
181
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
182
 
183
 
184
AS = $(CC)
185
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
186
 
187
 
188
# Dependency files for use by gmake
189
# NOTE: we don't put them into $(ARCH)
190
#       so that 'make clean' doesn't blow it away
191
DEPEND = Depends-${ARCH}
192
 
193
CLEAN_DEPEND = $(DEPEND).tmp
194
CLOBBER_DEPEND = $(DEPEND)
195
 
196
 
197
# spell out all the LINK_FILE's, rather than using -lbsp, so
198
#  that $(LINK_FILES) can be a dependency
199
LINK_OBJS = \
200
    $(OBJS) \
201
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
202
 
203
 
204
LINK_FILES = \
205
    $(START_FILE) \
206
    $(OBJS) \
207
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
208
 
209
 
210
VARIANT = OPTIMIZE
211
 
212
VARIANT_OPTIMIZE_V = OPTIMIZE
213
VARIANT_DEBUG_V = DEBUG
214
VARIANT_PROFILE_V = PROFILE
215
VARIANT_optimize_V = OPTIMIZE
216
VARIANT_debug_V = DEBUG
217
VARIANT_profile_V = PROFILE
218
 
219
VARIANT_V = $(VARIANT_$(VARIANT)_V)
220
 
221
ARCH_OPTIMIZE_V = o-optimize
222
ARCH_DEBUG_V = o-debug
223
ARCH_PROFILE_V = o-profile
224
 
225
ARCH__V = $(ARCH_OPTIMIZE_V)
226
ARCH = $(ARCH_$(VARIANT_V)_V)
227
 
228
LIBSUFFIX_OPTIMIZE_V =
229
LIBSUFFIX_DEBUG_V = _g
230
LIBSUFFIX_PROFILE_V = _p
231
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
232
 
233
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
234
LIBSUFFIX_VA = $(LIB_VARIANT).a
235
 
236
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
237
 
238
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
239
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
240
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
241
 
242
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
243
CXX = @CXX@ $(GCCSPECS)
244
 
245
LD = @LD@
246
OBJCOPY = @OBJCOPY@
247
NM = @NM@
248
SIZE = @SIZE@
249
 
250
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
251
 
252
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
253
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
254
 
255
CXXLINK_APP = $(CXXLINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS)
256
 
257
LINK_APP = $(LINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS)
258
 
259
project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
260
 
261
TMPINSTALL_FILES = \
262
$(project_bspdir)/tests \
263
$(project_bspdir)/tests/$(TEST)-node$(NODE)$(LIB_VARIANT).exe \
264
$(project_bspdir)/tests/screens \
265
$(project_bspdir)/tests/screens/mptests \
266
$(project_bspdir)/tests/screens/mptests/node$(NODE) \
267
$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(TEST).scn
268
 
269
 
270
EXTRA_DIST = $(DOCS)
271
 
272
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
273
subdir = mp02/node2
274
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
275
CONFIG_CLEAN_FILES =
276
DIST_SOURCES =
277
DIST_COMMON = Makefile.am Makefile.in
278
all: all-am
279
 
280
.SUFFIXES:
281
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../../automake/compile.am $(top_srcdir)/../../../../automake/leaf.am $(top_srcdir)/mptests.am $(top_srcdir)/../../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
282
        cd $(top_srcdir) && \
283
          $(AUTOMAKE) --foreign  mp02/node2/Makefile
284
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
285
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
286
uninstall-info-am:
287
tags: TAGS
288
TAGS:
289
 
290
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
291
 
292
top_distdir = ../..
293
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
294
 
295
distdir: $(DISTFILES)
296
        @list='$(DISTFILES)'; for file in $$list; do \
297
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
298
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
299
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
300
            dir="/$$dir"; \
301
            $(mkinstalldirs) "$(distdir)$$dir"; \
302
          else \
303
            dir=''; \
304
          fi; \
305
          if test -d $$d/$$file; then \
306
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
307
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
308
            fi; \
309
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
310
          else \
311
            test -f $(distdir)/$$file \
312
            || cp -p $$d/$$file $(distdir)/$$file \
313
            || exit 1; \
314
          fi; \
315
        done
316
check-am: all-am
317
check: check-am
318
all-am: Makefile all-local
319
 
320
installdirs:
321
 
322
install: install-am
323
install-exec: install-exec-am
324
install-data: install-data-am
325
uninstall: uninstall-am
326
 
327
install-am: all-am
328
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
329
 
330
installcheck: installcheck-am
331
install-strip:
332
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
333
          INSTALL_STRIP_FLAG=-s \
334
          `test -z '$(STRIP)' || \
335
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
336
mostlyclean-generic:
337
 
338
clean-generic:
339
 
340
distclean-generic:
341
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
342
 
343
maintainer-clean-generic:
344
        @echo "This command is intended for maintainers to use"
345
        @echo "it deletes files that may require special tools to rebuild."
346
clean: clean-am
347
 
348
clean-am: clean-generic clean-local mostlyclean-am
349
 
350
distclean: distclean-am
351
 
352
distclean-am: clean-am distclean-generic distclean-local
353
 
354
dvi: dvi-am
355
 
356
dvi-am:
357
 
358
info: info-am
359
 
360
info-am:
361
 
362
install-data-am:
363
 
364
install-exec-am:
365
 
366
install-info: install-info-am
367
 
368
install-man:
369
 
370
installcheck-am:
371
 
372
maintainer-clean: maintainer-clean-am
373
 
374
maintainer-clean-am: distclean-am maintainer-clean-generic
375
 
376
mostlyclean: mostlyclean-am
377
 
378
mostlyclean-am: mostlyclean-generic
379
 
380
uninstall-am: uninstall-info-am
381
 
382
.PHONY: all all-am all-local check check-am clean clean-generic \
383
        clean-local distclean distclean-generic distclean-local distdir \
384
        dvi dvi-am info info-am install install-am install-data \
385
        install-data-am install-exec install-exec-am install-info \
386
        install-info-am install-man install-strip installcheck \
387
        installcheck-am installdirs maintainer-clean \
388
        maintainer-clean-generic mostlyclean mostlyclean-generic \
389
        uninstall uninstall-am uninstall-info-am
390
 
391
 
392
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
393
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
394
 
395
${ARCH}/%.o: %.c
396
        test -d $(ARCH) || mkdir $(ARCH)
397
        ${COMPILE} -o $@ -c $<
398
 
399
${ARCH}/%.o: %.cc
400
        test -d $(ARCH) || mkdir $(ARCH)
401
        ${CXXCOMPILE} -o $@ -c $<
402
 
403
${ARCH}/%.o: %.cpp
404
        test -d $(ARCH) || mkdir $(ARCH)
405
        ${CXXCOMPILE} -o $@ -c $<
406
 
407
${ARCH}/%.o: %.cxx
408
        test -d $(ARCH) || mkdir $(ARCH)
409
        ${CXXCOMPILE} -o $@ -c $<
410
 
411
${ARCH}/%.o: %.C
412
        test -d $(ARCH) || mkdir $(ARCH)
413
        ${CXXCOMPILE} -o $@ -c $<
414
 
415
${ARCH}/%.o: %.S
416
        test -d $(ARCH) || mkdir $(ARCH)
417
        ${ASCOMPILE} -DASM -o $@ -c $<
418
 
419
# Make foo.rel from foo.o
420
${ARCH}/%.rel: ${ARCH}/%.o
421
        test -d $(ARCH) || mkdir $(ARCH)
422
        ${make-rel}
423
 
424
# We deliberately don't have anything depend on the
425
# $(DEPEND) file; otherwise it will get rebuilt even
426
# on 'make clean'
427
#
428
 
429
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
430
        $(COMPILE) -M   $^    |  \
431
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
432
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
433
        mv $(DEPEND).tmp $(DEPEND)
434
depend: depend-am
435
 
436
# pull in dependencies if they exist
437
ifeq (${DEPEND},$(wildcard ${DEPEND}))
438
include ${DEPEND}
439
@ENDIF@
440
 
441
@RTEMS_USE_GCC_TRUE@define make-rel
442
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
443
@RTEMS_USE_GCC_TRUE@endef
444
@RTEMS_USE_GCC_FALSE@define make-rel
445
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
446
@RTEMS_USE_GCC_FALSE@endef
447
include $(RTEMS_ROOT)/make/leaf.cfg
448
ifndef make-cxx-exe
449
define make-cxx-exe
450
        $(CXXLINK_APP)
451
endef
452
@ENDIF@
453
ifndef make-exe
454
define make-exe
455
        $(LINK_APP)
456
endef
457
@ENDIF@
458
 
459
$(project_bspdir)/tests:
460
        @$(mkinstalldirs) $@
461
 
462
$(project_bspdir)/tests/$(TEST)-node$(NODE)$(LIB_VARIANT).exe: $(PGM)
463
        $(INSTALL_PROGRAM) $< $@
464
 
465
$(project_bspdir)/tests/screens:
466
        @$(mkinstalldirs) $@
467
 
468
$(project_bspdir)/tests/screens/mptests:
469
        @$(mkinstalldirs) $@
470
 
471
$(project_bspdir)/tests/screens/mptests/node$(NODE):
472
        @$(mkinstalldirs) $@
473
 
474
$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(TEST).scn: $(TEST).scn
475
        $(INSTALL_DATA) $< $@
476
 
477
#
478
# (OPTIONAL) Add local stuff here using +=
479
#
480
 
481
@HAS_MP_TRUE@${PGM}: $(OBJS) $(LINK_FILES)
482
@HAS_MP_TRUE@   $(make-exe)
483
 
484
@HAS_MP_TRUE@all-local: $(ARCH) $(TMPINSTALL_FILES)
485
@HAS_MP_FALSE@all-local:
486
 
487
debug:
488
        @echo
489
        @echo "\"make debug\" is obsolete, instead use:"
490
        @echo " make VARIANT=DEBUG"
491
        @echo
492
 
493
.PHONY: debug
494
 
495
profile:
496
        @echo
497
        @echo "\"make profile\" is obsolete, instead use:"
498
        @echo " make VARIANT=PROFILE"
499
        @echo
500
 
501
.PHONY: profile
502
 
503
preinstall-am: $(PREINSTALL_FILES)
504
preinstall: preinstall-am
505
.PHONY: preinstall preinstall-am
506
 
507
depend-am:
508
depend: depend-am
509
.PHONY: depend depend-am
510
 
511
${ARCH}:
512
        mkdir ${ARCH}
513
 
514
clean-local:
515
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
516
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
517
 
518
distclean-local:
519
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
520
# Tell versions [3.59,3.63) of GNU make to not export all variables.
521
# Otherwise a system limit (for SysV at least) may be exceeded.
522
.NOEXPORT:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.