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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [tests/] [psxtests/] [psxreaddir/] [Makefile.in] - Blame information for rev 1779

Go to most recent revision | 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 = psxreaddir
106
 
107
MANAGERS = all
108
 
109
C_FILES = main.c test.c
110
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
111
 
112
DOCTYPES = scn
113
DOCS = $(DOCTYPES:%=$(TEST).%)
114
 
115
SRCS = $(DOCS) $(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
 
247
#
248
# (OPTIONAL) Add local stuff here using +=
249
#
250
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -I$(top_srcdir)/include
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)$(LIB_VARIANT).exe \
264
$(project_bspdir)/tests/screens \
265
$(project_bspdir)/tests/screens/psxtests \
266
$(project_bspdir)/tests/screens/psxtests/$(TEST).scn
267
 
268
 
269
EXTRA_DIST = $(C_FILES) $(DOCS)
270
 
271
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
272
subdir = psxreaddir
273
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
274
CONFIG_CLEAN_FILES =
275
DIST_SOURCES =
276
DIST_COMMON = Makefile.am Makefile.in
277
all: all-am
278
 
279
.SUFFIXES:
280
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../../automake/compile.am $(top_srcdir)/../../../../automake/leaf.am $(top_srcdir)/psxtests.am $(top_srcdir)/../../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
281
        cd $(top_srcdir) && \
282
          $(AUTOMAKE) --foreign  psxreaddir/Makefile
283
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
284
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
285
uninstall-info-am:
286
tags: TAGS
287
TAGS:
288
 
289
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
290
 
291
top_distdir = ..
292
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
293
 
294
distdir: $(DISTFILES)
295
        @list='$(DISTFILES)'; for file in $$list; do \
296
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
297
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
298
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
299
            dir="/$$dir"; \
300
            $(mkinstalldirs) "$(distdir)$$dir"; \
301
          else \
302
            dir=''; \
303
          fi; \
304
          if test -d $$d/$$file; then \
305
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
306
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
307
            fi; \
308
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
309
          else \
310
            test -f $(distdir)/$$file \
311
            || cp -p $$d/$$file $(distdir)/$$file \
312
            || exit 1; \
313
          fi; \
314
        done
315
check-am: all-am
316
check: check-am
317
all-am: Makefile all-local
318
 
319
installdirs:
320
 
321
install: install-am
322
install-exec: install-exec-am
323
install-data: install-data-am
324
uninstall: uninstall-am
325
 
326
install-am: all-am
327
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
328
 
329
installcheck: installcheck-am
330
install-strip:
331
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
332
          INSTALL_STRIP_FLAG=-s \
333
          `test -z '$(STRIP)' || \
334
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
335
mostlyclean-generic:
336
 
337
clean-generic:
338
 
339
distclean-generic:
340
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
341
 
342
maintainer-clean-generic:
343
        @echo "This command is intended for maintainers to use"
344
        @echo "it deletes files that may require special tools to rebuild."
345
clean: clean-am
346
 
347
clean-am: clean-generic clean-local mostlyclean-am
348
 
349
distclean: distclean-am
350
 
351
distclean-am: clean-am distclean-generic distclean-local
352
 
353
dvi: dvi-am
354
 
355
dvi-am:
356
 
357
info: info-am
358
 
359
info-am:
360
 
361
install-data-am:
362
 
363
install-exec-am:
364
 
365
install-info: install-info-am
366
 
367
install-man:
368
 
369
installcheck-am:
370
 
371
maintainer-clean: maintainer-clean-am
372
 
373
maintainer-clean-am: distclean-am maintainer-clean-generic
374
 
375
mostlyclean: mostlyclean-am
376
 
377
mostlyclean-am: mostlyclean-generic
378
 
379
uninstall-am: uninstall-info-am
380
 
381
.PHONY: all all-am all-local check check-am clean clean-generic \
382
        clean-local distclean distclean-generic distclean-local distdir \
383
        dvi dvi-am info info-am install install-am install-data \
384
        install-data-am install-exec install-exec-am install-info \
385
        install-info-am install-man install-strip installcheck \
386
        installcheck-am installdirs maintainer-clean \
387
        maintainer-clean-generic mostlyclean mostlyclean-generic \
388
        uninstall uninstall-am uninstall-info-am
389
 
390
 
391
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
392
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
393
 
394
${ARCH}/%.o: %.c
395
        test -d $(ARCH) || mkdir $(ARCH)
396
        ${COMPILE} -o $@ -c $<
397
 
398
${ARCH}/%.o: %.cc
399
        test -d $(ARCH) || mkdir $(ARCH)
400
        ${CXXCOMPILE} -o $@ -c $<
401
 
402
${ARCH}/%.o: %.cpp
403
        test -d $(ARCH) || mkdir $(ARCH)
404
        ${CXXCOMPILE} -o $@ -c $<
405
 
406
${ARCH}/%.o: %.cxx
407
        test -d $(ARCH) || mkdir $(ARCH)
408
        ${CXXCOMPILE} -o $@ -c $<
409
 
410
${ARCH}/%.o: %.C
411
        test -d $(ARCH) || mkdir $(ARCH)
412
        ${CXXCOMPILE} -o $@ -c $<
413
 
414
${ARCH}/%.o: %.S
415
        test -d $(ARCH) || mkdir $(ARCH)
416
        ${ASCOMPILE} -DASM -o $@ -c $<
417
 
418
# Make foo.rel from foo.o
419
${ARCH}/%.rel: ${ARCH}/%.o
420
        test -d $(ARCH) || mkdir $(ARCH)
421
        ${make-rel}
422
 
423
# We deliberately don't have anything depend on the
424
# $(DEPEND) file; otherwise it will get rebuilt even
425
# on 'make clean'
426
#
427
 
428
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
429
        $(COMPILE) -M   $^    |  \
430
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
431
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
432
        mv $(DEPEND).tmp $(DEPEND)
433
depend: depend-am
434
 
435
# pull in dependencies if they exist
436
ifeq (${DEPEND},$(wildcard ${DEPEND}))
437
include ${DEPEND}
438
@ENDIF@
439
 
440
@RTEMS_USE_GCC_TRUE@define make-rel
441
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
442
@RTEMS_USE_GCC_TRUE@endef
443
@RTEMS_USE_GCC_FALSE@define make-rel
444
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
445
@RTEMS_USE_GCC_FALSE@endef
446
include $(RTEMS_ROOT)/make/leaf.cfg
447
ifndef make-cxx-exe
448
define make-cxx-exe
449
        $(CXXLINK_APP)
450
endef
451
@ENDIF@
452
ifndef make-exe
453
define make-exe
454
        $(LINK_APP)
455
endef
456
@ENDIF@
457
 
458
$(project_bspdir)/tests:
459
        @$(mkinstalldirs) $@
460
 
461
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
462
        $(INSTALL_PROGRAM) $< $@
463
 
464
$(project_bspdir)/tests/screens:
465
        @$(mkinstalldirs) $@
466
 
467
$(project_bspdir)/tests/screens/psxtests:
468
        @$(mkinstalldirs) $@
469
 
470
$(project_bspdir)/tests/screens/psxtests/$(TEST).scn: $(TEST).scn
471
        $(INSTALL_DATA) $< $@
472
 
473
${PGM}: $(OBJS) $(LINK_FILES)
474
        $(make-exe)
475
 
476
all-local: $(ARCH) $(TMPINSTALL_FILES)
477
 
478
debug:
479
        @echo
480
        @echo "\"make debug\" is obsolete, instead use:"
481
        @echo " make VARIANT=DEBUG"
482
        @echo
483
 
484
.PHONY: debug
485
 
486
profile:
487
        @echo
488
        @echo "\"make profile\" is obsolete, instead use:"
489
        @echo " make VARIANT=PROFILE"
490
        @echo
491
 
492
.PHONY: profile
493
 
494
preinstall-am: $(PREINSTALL_FILES)
495
preinstall: preinstall-am
496
.PHONY: preinstall preinstall-am
497
 
498
depend-am:
499
depend: depend-am
500
.PHONY: depend depend-am
501
 
502
${ARCH}:
503
        mkdir ${ARCH}
504
 
505
clean-local:
506
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
507
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
508
 
509
distclean-local:
510
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
511
# Tell versions [3.59,3.63) of GNU make to not export all variables.
512
# Otherwise a system limit (for SysV at least) may be exceeded.
513
.NOEXPORT:

powered by: WebSVN 2.1.0

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