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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [optman/] [rtems/] [Makefile.in] - Blame information for rev 1771

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
CPP = @CPP@ $(GCCSPECS)
75
DEPDIR = @DEPDIR@
76
ENDIF = @ENDIF@
77
GCCSED = @GCCSED@
78
GCC_SPECS = @GCC_SPECS@
79
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
80
MAINT = @MAINT@
81
MAKE = @MAKE@
82
PACKAGE = @PACKAGE@
83
PACKHEX = @PACKHEX@
84
PROJECT_INCLUDE = @PROJECT_INCLUDE@
85
PROJECT_RELEASE = @PROJECT_RELEASE@
86
PROJECT_ROOT = @PROJECT_ROOT@
87
PROJECT_TOPdir = @PROJECT_TOPdir@
88
RTEMS_BSP = @RTEMS_BSP@
89
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
90
RTEMS_CPU = @RTEMS_CPU@
91
RTEMS_HOST = @RTEMS_HOST@
92
RTEMS_ROOT = @RTEMS_ROOT@
93
RTEMS_TOPdir = @RTEMS_TOPdir@
94
STRIP = @STRIP@
95
VERSION = @VERSION@
96
am__include = @am__include@
97
am__quote = @am__quote@
98
bsplibdir = @bsplibdir@
99
install_sh = @install_sh@
100
 
101
C_FILES = no-dpmem.c no-event.c no-msg.c no-mp.c no-part.c no-region.c \
102
    no-rtmon.c no-sem.c no-signal.c no-timer.c
103
 
104
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
105
 
106
PGMS = $(C_FILES:%.c=$(ARCH)/%.rel)
107
 
108
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
109
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
110
 
111
DEFS = @DEFS@
112
 
113
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
114
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
115
 
116
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
117
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
118
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
119
 
120
LINK_LIBS = $(LD_LIBS)
121
 
122
# when debugging, optimize flag: typically empty
123
# some compilers do allow optimization with their "-g"
124
CFLAGS_DEBUG_OPTIMIZE_V = -g
125
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
126
LDFLAGS_DEBUG_V =
127
 
128
# profile flag; use gprof(1)
129
CFLAGS_PROFILE_V = -pg
130
CXXFLAGS_PROFILE_V = -pg
131
LDFLAGS_PROFILE_V =
132
 
133
# List of library paths without -L
134
LD_PATHS = $(PROJECT_RELEASE)/lib
135
 
136
# ld flag for incomplete link
137
LDFLAGS_INCOMPLETE = -r
138
 
139
# ld flags for profiling, debugging
140
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
141
 
142
 
143
#
144
# Client compiler and support tools
145
#
146
 
147
#
148
# How to compile stuff into ${ARCH} subdirectory
149
#
150
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
151
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
152
 
153
CCLD = $(CC)
154
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
155
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
156
 
157
 
158
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
159
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
160
 
161
CXXLD = $(CXX)
162
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
163
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
164
 
165
 
166
AS = $(CC)
167
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
168
 
169
 
170
# Dependency files for use by gmake
171
# NOTE: we don't put them into $(ARCH)
172
#       so that 'make clean' doesn't blow it away
173
DEPEND = Depends-${ARCH}
174
 
175
CLEAN_DEPEND = $(DEPEND).tmp
176
CLOBBER_DEPEND = $(DEPEND)
177
 
178
 
179
# spell out all the LINK_FILE's, rather than using -lbsp, so
180
#  that $(LINK_FILES) can be a dependency
181
LINK_OBJS = \
182
    $(OBJS) \
183
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
184
 
185
 
186
LINK_FILES = \
187
    $(START_FILE) \
188
    $(OBJS) \
189
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
190
 
191
 
192
VARIANT = OPTIMIZE
193
 
194
VARIANT_OPTIMIZE_V = OPTIMIZE
195
VARIANT_DEBUG_V = DEBUG
196
VARIANT_PROFILE_V = PROFILE
197
VARIANT_optimize_V = OPTIMIZE
198
VARIANT_debug_V = DEBUG
199
VARIANT_profile_V = PROFILE
200
 
201
VARIANT_V = $(VARIANT_$(VARIANT)_V)
202
 
203
ARCH_OPTIMIZE_V = o-optimize
204
ARCH_DEBUG_V = o-debug
205
ARCH_PROFILE_V = o-profile
206
 
207
ARCH__V = $(ARCH_OPTIMIZE_V)
208
ARCH = $(ARCH_$(VARIANT_V)_V)
209
 
210
LIBSUFFIX_OPTIMIZE_V =
211
LIBSUFFIX_DEBUG_V = _g
212
LIBSUFFIX_PROFILE_V = _p
213
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
214
 
215
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
216
LIBSUFFIX_VA = $(LIB_VARIANT).a
217
 
218
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
219
 
220
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
221
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
222
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
223
 
224
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
225
CXX = @CXX@ $(GCCSPECS)
226
 
227
LD = @LD@
228
OBJCOPY = @OBJCOPY@
229
NM = @NM@
230
SIZE = @SIZE@
231
 
232
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
233
 
234
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
235
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
236
 
237
AR = @AR@
238
RANLIB = @RANLIB@
239
 
240
ARFLAGS = ruv
241
 
242
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib \
243
    $(C_FILES:%.c=$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/%$(LIB_VARIANT).rel)
244
 
245
 
246
bsplib_DATA = $(PGMS)
247
 
248
EXTRA_DIST = $(C_FILES)
249
 
250
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
251
subdir = rtems
252
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
253
CONFIG_CLEAN_FILES =
254
DIST_SOURCES =
255
DATA = $(bsplib_DATA)
256
 
257
DIST_COMMON = Makefile.am Makefile.in
258
all: all-am
259
 
260
.SUFFIXES:
261
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../automake/compile.am $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
262
        cd $(top_srcdir) && \
263
          $(AUTOMAKE) --foreign  rtems/Makefile
264
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
265
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
266
uninstall-info-am:
267
bsplibDATA_INSTALL = $(INSTALL_DATA)
268
install-bsplibDATA: $(bsplib_DATA)
269
        @$(NORMAL_INSTALL)
270
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
271
        @list='$(bsplib_DATA)'; for p in $$list; do \
272
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
273
          f="`echo $$p | sed -e 's|^.*/||'`"; \
274
          echo " $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f"; \
275
          $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f; \
276
        done
277
 
278
uninstall-bsplibDATA:
279
        @$(NORMAL_UNINSTALL)
280
        @list='$(bsplib_DATA)'; for p in $$list; do \
281
          f="`echo $$p | sed -e 's|^.*/||'`"; \
282
          echo " rm -f $(DESTDIR)$(bsplibdir)/$$f"; \
283
          rm -f $(DESTDIR)$(bsplibdir)/$$f; \
284
        done
285
tags: TAGS
286
TAGS:
287
 
288
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
289
 
290
top_distdir = ..
291
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
292
 
293
distdir: $(DISTFILES)
294
        @list='$(DISTFILES)'; for file in $$list; do \
295
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
296
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
297
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
298
            dir="/$$dir"; \
299
            $(mkinstalldirs) "$(distdir)$$dir"; \
300
          else \
301
            dir=''; \
302
          fi; \
303
          if test -d $$d/$$file; then \
304
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
305
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
306
            fi; \
307
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
308
          else \
309
            test -f $(distdir)/$$file \
310
            || cp -p $$d/$$file $(distdir)/$$file \
311
            || exit 1; \
312
          fi; \
313
        done
314
check-am: all-am
315
check: check-am
316
all-am: Makefile $(DATA) all-local
317
 
318
installdirs:
319
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
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: install-bsplibDATA
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-bsplibDATA 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-bsplibDATA \
384
        install-data install-data-am install-exec install-exec-am \
385
        install-info install-info-am install-man install-strip \
386
        installcheck installcheck-am installdirs maintainer-clean \
387
        maintainer-clean-generic mostlyclean mostlyclean-generic \
388
        uninstall uninstall-am uninstall-bsplibDATA 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
 
447
define make-library
448
test -d $(ARCH) || mkdir $(ARCH)
449
$(RM) $@
450
$(AR) $(ARFLAGS) $@ $^
451
$(RANLIB) $@
452
endef
453
 
454
$(PROJECT_RELEASE)/lib:
455
        @$(mkinstalldirs) $@
456
 
457
.PRECIOUS: $(LIB)
458
 
459
$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/%$(LIB_VARIANT).rel: $(ARCH)/%.rel
460
        $(INSTALL_DATA) $< $@
461
 
462
#
463
# (OPTIONAL) Add local stuff here using +=
464
#
465
 
466
all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES)
467
 
468
.PRECIOUS: $(PGMS)
469
 
470
debug:
471
        @echo
472
        @echo "\"make debug\" is obsolete, instead use:"
473
        @echo " make VARIANT=DEBUG"
474
        @echo
475
 
476
.PHONY: debug
477
 
478
profile:
479
        @echo
480
        @echo "\"make profile\" is obsolete, instead use:"
481
        @echo " make VARIANT=PROFILE"
482
        @echo
483
 
484
.PHONY: profile
485
 
486
preinstall-am: $(PREINSTALL_FILES)
487
preinstall: preinstall-am
488
.PHONY: preinstall preinstall-am
489
 
490
depend-am:
491
depend: depend-am
492
.PHONY: depend depend-am
493
 
494
${ARCH}:
495
        mkdir ${ARCH}
496
 
497
clean-local:
498
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
499
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
500
 
501
distclean-local:
502
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
503
# Tell versions [3.59,3.63) of GNU make to not export all variables.
504
# Otherwise a system limit (for SysV at least) may be exceeded.
505
.NOEXPORT:

powered by: WebSVN 2.1.0

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