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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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