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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [or32/] [orp/] [clock/] [Makefile.in] - Blame information for rev 1026

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

powered by: WebSVN 2.1.0

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