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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [librtems++/] [src/] [Makefile.in] - Blame information for rev 1780

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
CPLUS_LD_LIBS = @CPLUS_LD_LIBS@
75
CPP = @CPP@ $(GCCSPECS)
76
CXX = @CXX@ $(GCCSPECS)
77
CXXCPP = @CXXCPP@
78
DEPDIR = @DEPDIR@
79
ENDIF = @ENDIF@
80
GCCSED = @GCCSED@
81
GCC_SPECS = @GCC_SPECS@
82
HAS_CPLUSPLUS = @HAS_CPLUSPLUS@
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
LIB = ${ARCH}/librtems++.a
106
 
107
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
108
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
109
 
110
DEFS = @DEFS@
111
 
112
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
113
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
114
 
115
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
116
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
117
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
118
 
119
LINK_LIBS = $(LD_LIBS)
120
 
121
# when debugging, optimize flag: typically empty
122
# some compilers do allow optimization with their "-g"
123
CFLAGS_DEBUG_OPTIMIZE_V = -g
124
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
125
LDFLAGS_DEBUG_V =
126
 
127
# profile flag; use gprof(1)
128
CFLAGS_PROFILE_V = -pg
129
CXXFLAGS_PROFILE_V = -pg
130
LDFLAGS_PROFILE_V =
131
 
132
# List of library paths without -L
133
LD_PATHS = $(PROJECT_RELEASE)/lib
134
 
135
# ld flag for incomplete link
136
LDFLAGS_INCOMPLETE = -r
137
 
138
# ld flags for profiling, debugging
139
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
140
 
141
 
142
#
143
# Client compiler and support tools
144
#
145
 
146
#
147
# How to compile stuff into ${ARCH} subdirectory
148
#
149
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
150
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
151
 
152
CCLD = $(CC)
153
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
154
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
155
 
156
 
157
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
158
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
159
 
160
CXXLD = $(CXX)
161
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
162
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
163
 
164
 
165
AS = $(CC)
166
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
167
 
168
 
169
# Dependency files for use by gmake
170
# NOTE: we don't put them into $(ARCH)
171
#       so that 'make clean' doesn't blow it away
172
DEPEND = Depends-${ARCH}
173
 
174
CLEAN_DEPEND = $(DEPEND).tmp
175
CLOBBER_DEPEND = $(DEPEND)
176
 
177
 
178
# spell out all the LINK_FILE's, rather than using -lbsp, so
179
#  that $(LINK_FILES) can be a dependency
180
LINK_OBJS = \
181
    $(OBJS) \
182
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
183
 
184
 
185
LINK_FILES = \
186
    $(START_FILE) \
187
    $(OBJS) \
188
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
189
 
190
 
191
VARIANT = OPTIMIZE
192
 
193
VARIANT_OPTIMIZE_V = OPTIMIZE
194
VARIANT_DEBUG_V = DEBUG
195
VARIANT_PROFILE_V = PROFILE
196
VARIANT_optimize_V = OPTIMIZE
197
VARIANT_debug_V = DEBUG
198
VARIANT_profile_V = PROFILE
199
 
200
VARIANT_V = $(VARIANT_$(VARIANT)_V)
201
 
202
ARCH_OPTIMIZE_V = o-optimize
203
ARCH_DEBUG_V = o-debug
204
ARCH_PROFILE_V = o-profile
205
 
206
ARCH__V = $(ARCH_OPTIMIZE_V)
207
ARCH = $(ARCH_$(VARIANT_V)_V)
208
 
209
LIBSUFFIX_OPTIMIZE_V =
210
LIBSUFFIX_DEBUG_V = _g
211
LIBSUFFIX_PROFILE_V = _p
212
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
213
 
214
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
215
LIBSUFFIX_VA = $(LIB_VARIANT).a
216
 
217
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
218
 
219
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
220
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
221
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
222
 
223
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
224
 
225
LD = @LD@
226
OBJCOPY = @OBJCOPY@
227
NM = @NM@
228
SIZE = @SIZE@
229
 
230
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
231
 
232
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V) $(LIBC_DEFINES)
233
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
234
 
235
AR = @AR@
236
RANLIB = @RANLIB@
237
 
238
ARFLAGS = ruv
239
 
240
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a
241
 
242
CC_FILES = rtemsEvent.cc rtemsInterrupt.cc rtemsMessageQueue.cc \
243
    rtemsSemaphore.cc rtemsStatusCode.cc rtemsTask.cc rtemsTimer.cc
244
 
245
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
246
 
247
SRCS = $(CC_FILES)
248
OBJS = $(CC_O_FILES)
249
 
250
bsplib_DATA = $(LIB)
251
 
252
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
253
subdir = src
254
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
255
CONFIG_CLEAN_FILES =
256
DIST_SOURCES =
257
DATA = $(bsplib_DATA)
258
 
259
DIST_COMMON = Makefile.am Makefile.in
260
all: all-am
261
 
262
.SUFFIXES:
263
$(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)
264
        cd $(top_srcdir) && \
265
          $(AUTOMAKE) --foreign  src/Makefile
266
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
267
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
268
uninstall-info-am:
269
bsplibDATA_INSTALL = $(INSTALL_DATA)
270
install-bsplibDATA: $(bsplib_DATA)
271
        @$(NORMAL_INSTALL)
272
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
273
        @list='$(bsplib_DATA)'; for p in $$list; do \
274
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
275
          f="`echo $$p | sed -e 's|^.*/||'`"; \
276
          echo " $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f"; \
277
          $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f; \
278
        done
279
 
280
uninstall-bsplibDATA:
281
        @$(NORMAL_UNINSTALL)
282
        @list='$(bsplib_DATA)'; for p in $$list; do \
283
          f="`echo $$p | sed -e 's|^.*/||'`"; \
284
          echo " rm -f $(DESTDIR)$(bsplibdir)/$$f"; \
285
          rm -f $(DESTDIR)$(bsplibdir)/$$f; \
286
        done
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 $(DATA) all-local
319
 
320
installdirs:
321
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
322
 
323
install: install-am
324
install-exec: install-exec-am
325
install-data: install-data-am
326
uninstall: uninstall-am
327
 
328
install-am: all-am
329
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
330
 
331
installcheck: installcheck-am
332
install-strip:
333
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
334
          INSTALL_STRIP_FLAG=-s \
335
          `test -z '$(STRIP)' || \
336
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
337
mostlyclean-generic:
338
 
339
clean-generic:
340
 
341
distclean-generic:
342
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
343
 
344
maintainer-clean-generic:
345
        @echo "This command is intended for maintainers to use"
346
        @echo "it deletes files that may require special tools to rebuild."
347
clean: clean-am
348
 
349
clean-am: clean-generic clean-local mostlyclean-am
350
 
351
distclean: distclean-am
352
 
353
distclean-am: clean-am distclean-generic distclean-local
354
 
355
dvi: dvi-am
356
 
357
dvi-am:
358
 
359
info: info-am
360
 
361
info-am:
362
 
363
install-data-am: install-bsplibDATA
364
 
365
install-exec-am:
366
 
367
install-info: install-info-am
368
 
369
install-man:
370
 
371
installcheck-am:
372
 
373
maintainer-clean: maintainer-clean-am
374
 
375
maintainer-clean-am: distclean-am maintainer-clean-generic
376
 
377
mostlyclean: mostlyclean-am
378
 
379
mostlyclean-am: mostlyclean-generic
380
 
381
uninstall-am: uninstall-bsplibDATA uninstall-info-am
382
 
383
.PHONY: all all-am all-local check check-am clean clean-generic \
384
        clean-local distclean distclean-generic distclean-local distdir \
385
        dvi dvi-am info info-am install install-am install-bsplibDATA \
386
        install-data install-data-am install-exec install-exec-am \
387
        install-info install-info-am install-man install-strip \
388
        installcheck installcheck-am installdirs maintainer-clean \
389
        maintainer-clean-generic mostlyclean mostlyclean-generic \
390
        uninstall uninstall-am uninstall-bsplibDATA uninstall-info-am
391
 
392
 
393
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
394
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
395
 
396
${ARCH}/%.o: %.c
397
        test -d $(ARCH) || mkdir $(ARCH)
398
        ${COMPILE} -o $@ -c $<
399
 
400
${ARCH}/%.o: %.cc
401
        test -d $(ARCH) || mkdir $(ARCH)
402
        ${CXXCOMPILE} -o $@ -c $<
403
 
404
${ARCH}/%.o: %.cpp
405
        test -d $(ARCH) || mkdir $(ARCH)
406
        ${CXXCOMPILE} -o $@ -c $<
407
 
408
${ARCH}/%.o: %.cxx
409
        test -d $(ARCH) || mkdir $(ARCH)
410
        ${CXXCOMPILE} -o $@ -c $<
411
 
412
${ARCH}/%.o: %.C
413
        test -d $(ARCH) || mkdir $(ARCH)
414
        ${CXXCOMPILE} -o $@ -c $<
415
 
416
${ARCH}/%.o: %.S
417
        test -d $(ARCH) || mkdir $(ARCH)
418
        ${ASCOMPILE} -DASM -o $@ -c $<
419
 
420
# Make foo.rel from foo.o
421
${ARCH}/%.rel: ${ARCH}/%.o
422
        test -d $(ARCH) || mkdir $(ARCH)
423
        ${make-rel}
424
 
425
# We deliberately don't have anything depend on the
426
# $(DEPEND) file; otherwise it will get rebuilt even
427
# on 'make clean'
428
#
429
 
430
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
431
        $(COMPILE) -M   $^    |  \
432
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
433
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
434
        mv $(DEPEND).tmp $(DEPEND)
435
depend: depend-am
436
 
437
# pull in dependencies if they exist
438
ifeq (${DEPEND},$(wildcard ${DEPEND}))
439
include ${DEPEND}
440
@ENDIF@
441
 
442
@RTEMS_USE_GCC_TRUE@define make-rel
443
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
444
@RTEMS_USE_GCC_TRUE@endef
445
@RTEMS_USE_GCC_FALSE@define make-rel
446
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
447
@RTEMS_USE_GCC_FALSE@endef
448
 
449
define make-library
450
test -d $(ARCH) || mkdir $(ARCH)
451
$(RM) $@
452
$(AR) $(ARFLAGS) $@ $^
453
$(RANLIB) $@
454
endef
455
 
456
$(PROJECT_RELEASE)/lib:
457
        @$(mkinstalldirs) $@
458
 
459
.PRECIOUS: $(LIB)
460
 
461
$(LIB): $(OBJS)
462
        $(make-library)
463
 
464
$(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a: $(LIB)
465
        $(INSTALL_DATA) $< $@
466
 
467
all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
468
 
469
debug:
470
        @echo
471
        @echo "\"make debug\" is obsolete, instead use:"
472
        @echo " make VARIANT=DEBUG"
473
        @echo
474
 
475
.PHONY: debug
476
 
477
profile:
478
        @echo
479
        @echo "\"make profile\" is obsolete, instead use:"
480
        @echo " make VARIANT=PROFILE"
481
        @echo
482
 
483
.PHONY: profile
484
 
485
preinstall-am: $(PREINSTALL_FILES)
486
preinstall: preinstall-am
487
.PHONY: preinstall preinstall-am
488
 
489
depend-am:
490
depend: depend-am
491
.PHONY: depend depend-am
492
 
493
${ARCH}:
494
        mkdir ${ARCH}
495
 
496
clean-local:
497
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
498
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
499
 
500
distclean-local:
501
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
502
# Tell versions [3.59,3.63) of GNU make to not export all variables.
503
# Otherwise a system limit (for SysV at least) may be exceeded.
504
.NOEXPORT:

powered by: WebSVN 2.1.0

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