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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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