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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libcsupport/] [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
MULTIBUILDTOP = @MULTIBUILDTOP@
83
MULTISUBDIR = @MULTISUBDIR@
84
PACKAGE = @PACKAGE@
85
PROJECT_INCLUDE = @PROJECT_INCLUDE@
86
PROJECT_ROOT = @PROJECT_ROOT@
87
PROJECT_TOPdir = @PROJECT_TOPdir@
88
RANLIB = @RANLIB@
89
RTEMS_BSP = @RTEMS_BSP@
90
RTEMS_CPU = @RTEMS_CPU@
91
RTEMS_HOST = @RTEMS_HOST@
92
RTEMS_ROOT = @RTEMS_ROOT@
93
RTEMS_TOPdir = @RTEMS_TOPdir@
94
RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@
95
STRIP = @STRIP@
96
VERSION = @VERSION@
97
am__include = @am__include@
98
am__quote = @am__quote@
99
install_sh = @install_sh@
100
multilib_basedir = @multilib_basedir@
101
project_libdir = @project_libdir@
102
 
103
ACLOCAL_AMFLAGS = -I ../aclocal
104
 
105
@MULTILIB_TRUE@MULTISRCTOP =
106
@MULTILIB_TRUE@MULTIDIRS =
107
@MULTILIB_TRUE@MULTIDO = true
108
@MULTILIB_TRUE@MULTICLEAN = true
109
 
110
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
111
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS)
112
 
113
DEFS = @DEFS@
114
 
115
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
116
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
117
 
118
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
119
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
120
 
121
# when debugging, optimize flag: typically empty
122
# some compilers do allow optimization with their "-g"
123
CFLAGS_DEBUG_OPTIMIZE_V = -g
124
 
125
# profile flag; use gprof(1)
126
CFLAGS_PROFILE_V = -pg
127
 
128
 
129
#
130
# How to compile stuff into ${ARCH} subdirectory
131
#
132
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
133
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
134
 
135
CCLD = $(CC)
136
 
137
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
138
 
139
 
140
# Dependency files for use by gmake
141
# NOTE: we don't put them into $(ARCH)
142
#       so that 'make clean' doesn't blow it away
143
DEPEND = Depends-${ARCH}
144
 
145
CLEAN_DEPEND = $(DEPEND).tmp
146
CLOBBER_DEPEND = $(DEPEND)
147
 
148
VARIANT = OPTIMIZE
149
 
150
VARIANT_OPTIMIZE_V = OPTIMIZE
151
VARIANT_DEBUG_V = DEBUG
152
VARIANT_PROFILE_V = PROFILE
153
VARIANT_optimize_V = OPTIMIZE
154
VARIANT_debug_V = DEBUG
155
VARIANT_profile_V = PROFILE
156
 
157
VARIANT_V = $(VARIANT_$(VARIANT)_V)
158
 
159
ARCH_OPTIMIZE_V = o-optimize
160
ARCH_DEBUG_V = o-debug
161
ARCH_PROFILE_V = o-profile
162
 
163
ARCH__V = $(ARCH_OPTIMIZE_V)
164
ARCH = $(ARCH_$(VARIANT_V)_V)
165
 
166
LIBSUFFIX_OPTIMIZE_V =
167
LIBSUFFIX_DEBUG_V = _g
168
LIBSUFFIX_PROFILE_V = _p
169
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
170
 
171
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
172
LIBSUFFIX_VA = $(LIB_VARIANT).a
173
 
174
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
175
 
176
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
177
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -Wno-unused
178
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
179
 
180
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
181
 
182
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -Isrc
183
 
184
 
185
#
186
# Add local stuff here using +=
187
#
188
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V) $(LIBC_DEFINES)
189
 
190
# AM_CFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CFLAGS)
191
AM_CCASFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_ASFLAGS)
192
 
193
AR = @AR@
194
 
195
ARFLAGS = ruv
196
 
197
TMPINSTALL_FILES = $(project_libdir)$(MULTISUBDIR)
198
 
199
include_HEADERS = include/chain.h include/console.h include/clockdrv.h \
200
    include/iosupp.h include/ringbuf.h include/rtc.h \
201
    include/spurious.h include/timerdrv.h include/vmeintr.h\
202
$(LIBC_HFILES)
203
 
204
LIBC_HFILES = include/stdint.h include/inttypes.h
205
 
206
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
207
    $(include_HEADERS:include/%=$(PROJECT_INCLUDE)/%)\
208
$(PROJECT_INCLUDE)/motorola \
209
    $(include_motorola_HEADERS:include/%=$(PROJECT_INCLUDE)/%)\
210
$(PROJECT_INCLUDE)/rtems \
211
    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)\
212
$(PROJECT_INCLUDE)/sys \
213
    $(include_sys_HEADERS:include/%=$(PROJECT_INCLUDE)/%)\
214
$(PROJECT_INCLUDE)/zilog \
215
    $(include_zilog_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
216
 
217
 
218
include_motoroladir = $(includedir)/motorola
219
 
220
include_motorola_HEADERS = include/motorola/mc68230.h include/motorola/mc68681.h
221
 
222
include_rtemsdir = $(includedir)/rtems
223
 
224
include_rtems_HEADERS = \
225
    include/rtems/assoc.h include/rtems/error.h include/rtems/libcsupport.h \
226
    include/rtems/libio.h include/rtems/libio_.h \
227
    include/rtems/termiostypes.h
228
 
229
 
230
include_sysdir = $(includedir)/sys
231
 
232
@NEWLIB_TRUE@NEWLIB_H_FILES = include/sys/termios.h include/sys/cdefs.h include/sys/utsname.h
233
 
234
include_sys_HEADERS = \
235
include/sys/filio.h \
236
include/sys/ioccom.h \
237
include/sys/ioctl.h \
238
include/sys/sockio.h \
239
include/sys/termios.h \
240
include/sys/ttycom.h \
241
$(NEWLIB_H_FILES)
242
 
243
 
244
include_zilogdir = $(includedir)/zilog
245
 
246
include_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
247
    include/zilog/z8536.h
248
 
249
 
250
LIB = ${ARCH}/libcsupport.a
251
 
252
ERROR_C_FILES = src/error.c
253
 
254
ASSOCIATION_C_FILES = src/assoc.c src/assocnamebad.c
255
 
256
BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
257
    src/libio_sockets.c src/eval.c src/fs_null_handlers.c src/privateenv.c
258
 
259
 
260
TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c src/cfsetospeed.c \
261
    src/tcgetattr.c src/tcsetattr.c src/tcdrain.c src/tcflow.c src/tcflush.c src/tcgetprgrp.c \
262
    src/tcsendbreak.c src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
263
    src/termiosreserveresources.c
264
 
265
 
266
SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c src/lseek.c src/ioctl.c src/mkdir.c \
267
    src/mknod.c src/mkfifo.c src/rmdir.c src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/chown.c \
268
    src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c src/fcntl.c src/fpathconf.c \
269
    src/getdents.c src/fsync.c src/fdatasync.c src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c \
270
    src/creat.c src/chroot.c
271
 
272
 
273
DIRECTORY_SCAN_C_FILES = src/opendir.c src/closedir.c src/readdir.c src/rewinddir.c \
274
    src/scandir.c src/seekdir.c src/telldir.c src/getcwd.c
275
 
276
 
277
MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c src/__sbrk.c
278
 
279
PASSWORD_GROUP_C_FILES = src/getpwent.c src/getgrent.c
280
 
281
TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c src/isatty.c src/ttyname.c src/ttyname_r.c
282
 
283
LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c src/truncate.c src/access.c \
284
    src/stat.c src/lstat.c src/pathconf.c src/newlibc.c src/no_posix.c src/no_libc.c src/utsname.c
285
 
286
 
287
UNIX_LIBC_C_FILES = src/unixlibc.c src/hosterr.c
288
 
289
COMMON_C_FILES = src/gxx_wrappers.c src/printk.c $(BASE_FS_C_FILES) \
290
    $(MALLOC_C_FILES) $(TERMIOS_C_FILES) $(ERROR_C_FILES) \
291
    $(ASSOCIATION_C_FILES)
292
 
293
 
294
UNIX_C_FILES = $(UNIX_LIBC_C_FILES)
295
 
296
EMBEDDED_C_FILES = $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
297
    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
298
    $(DIRECTORY_SCAN_C_FILES)
299
 
300
 
301
@UNIX_TRUE@C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
302
@UNIX_FALSE@C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
303
 
304
C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
305
OBJS = $(C_O_FILES)
306
 
307
DOC_FILES = TODO CASES
308
 
309
EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
310
    $(UNIX_C_FILES)
311
 
312
 
313
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
314
subdir = .
315
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
316
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
317
CONFIG_HEADER = $(top_builddir)/src/config.h
318
CONFIG_CLEAN_FILES =
319
DIST_SOURCES =
320
HEADERS = $(include_HEADERS) $(include_motorola_HEADERS) \
321
        $(include_rtems_HEADERS) $(include_sys_HEADERS) \
322
        $(include_zilog_HEADERS)
323
 
324
DIST_COMMON = $(include_HEADERS) $(include_motorola_HEADERS) \
325
        $(include_rtems_HEADERS) $(include_sys_HEADERS) \
326
        $(include_zilog_HEADERS) ../../COPYING ../../ChangeLog \
327
        ../../INSTALL ../../README ../../acinclude.m4 \
328
        ../../config.guess ../../config.sub ../../configure \
329
        ../../configure.ac ../../depcomp ../../install-sh ../../missing \
330
        ../../mkinstalldirs ./src/config.h.in ChangeLog Makefile.am \
331
        Makefile.in aclocal.m4 configure configure.ac
332
all: all-am
333
 
334
.SUFFIXES:
335
 
336
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
337
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../automake/multilib.am $(top_srcdir)/../automake/compile.am $(top_srcdir)/../automake/lib.am $(top_srcdir)/../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
338
        cd $(top_srcdir) && \
339
          $(AUTOMAKE) --foreign  Makefile
340
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
341
        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
342
 
343
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
344
        $(SHELL) ./config.status --recheck
345
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
346
        cd $(srcdir) && $(AUTOCONF)
347
 
348
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac ../aclocal/bsp-alias.m4 ../aclocal/canonical-host.m4 ../aclocal/canonical-target-name.m4 ../aclocal/canonicalize-tools.m4 ../aclocal/check-bsp-cache.m4 ../aclocal/check-bsps.m4 ../aclocal/check-cpu.m4 ../aclocal/check-itron.m4 ../aclocal/check-multiprocessing.m4 ../aclocal/check-networking.m4 ../aclocal/check-newlib.m4 ../aclocal/check-posix.m4 ../aclocal/check-tool.m4 ../aclocal/enable-bare.m4 ../aclocal/enable-inlines.m4 ../aclocal/enable-itron.m4 ../aclocal/enable-multiprocessing.m4 ../aclocal/enable-networking.m4 ../aclocal/enable-posix.m4 ../aclocal/enable-rtemsbsp.m4 ../aclocal/env-rtemsbsp.m4 ../aclocal/env-rtemscpu.m4 ../aclocal/gcc-pipe.m4 ../aclocal/gcc-specs.m4 ../aclocal/multi.m4 ../aclocal/multilib.m4 ../aclocal/prog-cc.m4 ../aclocal/prog-ccas.m4 ../aclocal/rtems-cpu-subdirs.m4 ../aclocal/rtems-debug.m4 ../aclocal/rtems-top.m4 ../aclocal/sysv-ipc.m4 ../aclocal/tool-paths.m4 ../aclocal/version.m4
349
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
350
 
351
src/config.h: src/stamp-h1
352
        @if test ! -f $@; then \
353
          rm -f src/stamp-h1; \
354
          $(MAKE) src/stamp-h1; \
355
        else :; fi
356
 
357
src/stamp-h1: $(srcdir)/./src/config.h.in $(top_builddir)/config.status
358
        @rm -f src/stamp-h1
359
        cd $(top_builddir) && $(SHELL) ./config.status src/config.h
360
 
361
$(srcdir)/./src/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4)
362
        cd $(top_srcdir) && $(AUTOHEADER)
363
        touch $(srcdir)/./src/config.h.in
364
 
365
distclean-hdr:
366
        -rm -f src/config.h src/stamp-h1
367
uninstall-info-am:
368
includeHEADERS_INSTALL = $(INSTALL_HEADER)
369
install-includeHEADERS: $(include_HEADERS)
370
        @$(NORMAL_INSTALL)
371
        $(mkinstalldirs) $(DESTDIR)$(includedir)
372
        @list='$(include_HEADERS)'; for p in $$list; do \
373
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
374
          f="`echo $$p | sed -e 's|^.*/||'`"; \
375
          echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
376
          $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
377
        done
378
 
379
uninstall-includeHEADERS:
380
        @$(NORMAL_UNINSTALL)
381
        @list='$(include_HEADERS)'; for p in $$list; do \
382
          f="`echo $$p | sed -e 's|^.*/||'`"; \
383
          echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
384
          rm -f $(DESTDIR)$(includedir)/$$f; \
385
        done
386
include_motorolaHEADERS_INSTALL = $(INSTALL_HEADER)
387
install-include_motorolaHEADERS: $(include_motorola_HEADERS)
388
        @$(NORMAL_INSTALL)
389
        $(mkinstalldirs) $(DESTDIR)$(include_motoroladir)
390
        @list='$(include_motorola_HEADERS)'; for p in $$list; do \
391
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
392
          f="`echo $$p | sed -e 's|^.*/||'`"; \
393
          echo " $(include_motorolaHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_motoroladir)/$$f"; \
394
          $(include_motorolaHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_motoroladir)/$$f; \
395
        done
396
 
397
uninstall-include_motorolaHEADERS:
398
        @$(NORMAL_UNINSTALL)
399
        @list='$(include_motorola_HEADERS)'; for p in $$list; do \
400
          f="`echo $$p | sed -e 's|^.*/||'`"; \
401
          echo " rm -f $(DESTDIR)$(include_motoroladir)/$$f"; \
402
          rm -f $(DESTDIR)$(include_motoroladir)/$$f; \
403
        done
404
include_rtemsHEADERS_INSTALL = $(INSTALL_HEADER)
405
install-include_rtemsHEADERS: $(include_rtems_HEADERS)
406
        @$(NORMAL_INSTALL)
407
        $(mkinstalldirs) $(DESTDIR)$(include_rtemsdir)
408
        @list='$(include_rtems_HEADERS)'; for p in $$list; do \
409
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
410
          f="`echo $$p | sed -e 's|^.*/||'`"; \
411
          echo " $(include_rtemsHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtemsdir)/$$f"; \
412
          $(include_rtemsHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtemsdir)/$$f; \
413
        done
414
 
415
uninstall-include_rtemsHEADERS:
416
        @$(NORMAL_UNINSTALL)
417
        @list='$(include_rtems_HEADERS)'; for p in $$list; do \
418
          f="`echo $$p | sed -e 's|^.*/||'`"; \
419
          echo " rm -f $(DESTDIR)$(include_rtemsdir)/$$f"; \
420
          rm -f $(DESTDIR)$(include_rtemsdir)/$$f; \
421
        done
422
include_sysHEADERS_INSTALL = $(INSTALL_HEADER)
423
install-include_sysHEADERS: $(include_sys_HEADERS)
424
        @$(NORMAL_INSTALL)
425
        $(mkinstalldirs) $(DESTDIR)$(include_sysdir)
426
        @list='$(include_sys_HEADERS)'; for p in $$list; do \
427
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
428
          f="`echo $$p | sed -e 's|^.*/||'`"; \
429
          echo " $(include_sysHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_sysdir)/$$f"; \
430
          $(include_sysHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_sysdir)/$$f; \
431
        done
432
 
433
uninstall-include_sysHEADERS:
434
        @$(NORMAL_UNINSTALL)
435
        @list='$(include_sys_HEADERS)'; for p in $$list; do \
436
          f="`echo $$p | sed -e 's|^.*/||'`"; \
437
          echo " rm -f $(DESTDIR)$(include_sysdir)/$$f"; \
438
          rm -f $(DESTDIR)$(include_sysdir)/$$f; \
439
        done
440
include_zilogHEADERS_INSTALL = $(INSTALL_HEADER)
441
install-include_zilogHEADERS: $(include_zilog_HEADERS)
442
        @$(NORMAL_INSTALL)
443
        $(mkinstalldirs) $(DESTDIR)$(include_zilogdir)
444
        @list='$(include_zilog_HEADERS)'; for p in $$list; do \
445
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
446
          f="`echo $$p | sed -e 's|^.*/||'`"; \
447
          echo " $(include_zilogHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_zilogdir)/$$f"; \
448
          $(include_zilogHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_zilogdir)/$$f; \
449
        done
450
 
451
uninstall-include_zilogHEADERS:
452
        @$(NORMAL_UNINSTALL)
453
        @list='$(include_zilog_HEADERS)'; for p in $$list; do \
454
          f="`echo $$p | sed -e 's|^.*/||'`"; \
455
          echo " rm -f $(DESTDIR)$(include_zilogdir)/$$f"; \
456
          rm -f $(DESTDIR)$(include_zilogdir)/$$f; \
457
        done
458
 
459
ETAGS = etags
460
ETAGSFLAGS =
461
 
462
tags: TAGS
463
 
464
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
465
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
466
        unique=`for i in $$list; do \
467
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
468
          done | \
469
          $(AWK) '    { files[$$0] = 1; } \
470
               END { for (i in files) print i; }'`; \
471
        mkid -fID $$unique
472
 
473
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
474
                $(TAGS_FILES) $(LISP)
475
        tags=; \
476
        here=`pwd`; \
477
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
478
        unique=`for i in $$list; do \
479
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
480
          done | \
481
          $(AWK) '    { files[$$0] = 1; } \
482
               END { for (i in files) print i; }'`; \
483
        test -z "$(ETAGS_ARGS)$$tags$$unique" \
484
          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
485
             $$tags $$unique
486
 
487
GTAGS:
488
        here=`$(am__cd) $(top_builddir) && pwd` \
489
          && cd $(top_srcdir) \
490
          && gtags -i $(GTAGS_ARGS) $$here
491
 
492
distclean-tags:
493
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
494
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
495
 
496
top_distdir = .
497
distdir = $(PACKAGE)-$(VERSION)
498
 
499
am__remove_distdir = \
500
  { test ! -d $(distdir) \
501
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
502
         && rm -fr $(distdir); }; }
503
 
504
GZIP_ENV = --best
505
distcleancheck_listfiles = find . -type f -print
506
 
507
distdir: $(DISTFILES)
508
        $(am__remove_distdir)
509
        mkdir $(distdir)
510
        $(mkinstalldirs) $(distdir)/../.. $(distdir)/./src $(distdir)/include $(distdir)/include/motorola $(distdir)/include/rtems $(distdir)/include/sys $(distdir)/include/zilog $(distdir)/src
511
        @list='$(DISTFILES)'; for file in $$list; do \
512
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
513
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
514
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
515
            dir="/$$dir"; \
516
            $(mkinstalldirs) "$(distdir)$$dir"; \
517
          else \
518
            dir=''; \
519
          fi; \
520
          if test -d $$d/$$file; then \
521
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
522
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
523
            fi; \
524
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
525
          else \
526
            test -f $(distdir)/$$file \
527
            || cp -p $$d/$$file $(distdir)/$$file \
528
            || exit 1; \
529
          fi; \
530
        done
531
        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
532
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
533
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
534
          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
535
        || chmod -R a+r $(distdir)
536
dist-gzip: distdir
537
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
538
        $(am__remove_distdir)
539
 
540
dist dist-all: distdir
541
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
542
        $(am__remove_distdir)
543
 
544
# This target untars the dist file and tries a VPATH configuration.  Then
545
# it guarantees that the distribution is self-contained by making another
546
# tarfile.
547
distcheck: dist
548
        $(am__remove_distdir)
549
        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
550
        chmod -R a-w $(distdir); chmod a+w $(distdir)
551
        mkdir $(distdir)/=build
552
        mkdir $(distdir)/=inst
553
        chmod a-w $(distdir)
554
        dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
555
          && cd $(distdir)/=build \
556
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
557
            $(DISTCHECK_CONFIGURE_FLAGS) \
558
          && $(MAKE) $(AM_MAKEFLAGS) \
559
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
560
          && $(MAKE) $(AM_MAKEFLAGS) check \
561
          && $(MAKE) $(AM_MAKEFLAGS) install \
562
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
563
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
564
          && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
565
              || { echo "ERROR: files left after uninstall:" ; \
566
                   find $$dc_install_base -type f -print ; \
567
                   exit 1; } >&2 ) \
568
          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
569
          && rm -f $(distdir).tar.gz \
570
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
571
        $(am__remove_distdir)
572
        @echo "$(distdir).tar.gz is ready for distribution" | \
573
          sed 'h;s/./=/g;p;x;p;x'
574
distcleancheck: distclean
575
        if test '$(srcdir)' = . ; then \
576
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
577
          exit 1 ; \
578
        fi
579
        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
580
          || { echo "ERROR: files left after distclean:" ; \
581
               $(distcleancheck_listfiles) ; \
582
               exit 1; } >&2
583
check-am: all-am
584
check: check-am
585
all-am: Makefile $(HEADERS) all-local
586
 
587
installdirs:
588
        $(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(include_motoroladir) $(DESTDIR)$(include_rtemsdir) $(DESTDIR)$(include_sysdir) $(DESTDIR)$(include_zilogdir)
589
 
590
install: install-am
591
install-exec: install-exec-am
592
install-data: install-data-am
593
uninstall: uninstall-am
594
 
595
install-am: all-am
596
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
597
 
598
installcheck: installcheck-am
599
install-strip:
600
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
601
          INSTALL_STRIP_FLAG=-s \
602
          `test -z '$(STRIP)' || \
603
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
604
mostlyclean-generic:
605
 
606
clean-generic:
607
 
608
distclean-generic:
609
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
610
 
611
maintainer-clean-generic:
612
        @echo "This command is intended for maintainers to use"
613
        @echo "it deletes files that may require special tools to rebuild."
614
clean: clean-am
615
 
616
clean-am: clean-generic clean-local mostlyclean-am
617
 
618
distclean: distclean-am
619
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
620
distclean-am: clean-am distclean-generic distclean-hdr distclean-local \
621
        distclean-tags
622
 
623
dvi: dvi-am
624
 
625
dvi-am:
626
 
627
info: info-am
628
 
629
info-am:
630
 
631
install-data-am: install-includeHEADERS install-include_motorolaHEADERS \
632
        install-include_rtemsHEADERS install-include_sysHEADERS \
633
        install-include_zilogHEADERS
634
 
635
install-exec-am:
636
 
637
install-info: install-info-am
638
 
639
install-man:
640
 
641
installcheck-am:
642
 
643
maintainer-clean: maintainer-clean-am
644
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
645
        -rm -rf autom4te.cache
646
maintainer-clean-am: distclean-am maintainer-clean-generic
647
 
648
mostlyclean: mostlyclean-am
649
 
650
mostlyclean-am: mostlyclean-generic
651
 
652
uninstall-am: uninstall-includeHEADERS uninstall-include_motorolaHEADERS \
653
        uninstall-include_rtemsHEADERS uninstall-include_sysHEADERS \
654
        uninstall-include_zilogHEADERS uninstall-info-am
655
 
656
.PHONY: GTAGS all all-am all-local check check-am clean clean-generic \
657
        clean-local dist dist-all dist-gzip distcheck distclean \
658
        distclean-generic distclean-hdr distclean-local distclean-tags \
659
        distcleancheck distdir dvi dvi-am info info-am install \
660
        install-am install-data install-data-am install-exec \
661
        install-exec-am install-includeHEADERS \
662
        install-include_motorolaHEADERS install-include_rtemsHEADERS \
663
        install-include_sysHEADERS install-include_zilogHEADERS \
664
        install-info install-info-am install-man install-strip \
665
        installcheck installcheck-am installdirs maintainer-clean \
666
        maintainer-clean-generic mostlyclean mostlyclean-generic tags \
667
        uninstall uninstall-am uninstall-includeHEADERS \
668
        uninstall-include_motorolaHEADERS \
669
        uninstall-include_rtemsHEADERS uninstall-include_sysHEADERS \
670
        uninstall-include_zilogHEADERS uninstall-info-am
671
 
672
 
673
# Multilib support rules
674
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
675
        maintainer-clean-multi
676
 
677
@MULTILIB_TRUE@all-recursive: all-multi
678
@MULTILIB_TRUE@install-recursive: install-multi
679
 
680
@MULTILIB_TRUE@mostlyclean-recursive: mostlyclean-multi
681
@MULTILIB_TRUE@clean-recursive: clean-multi
682
@MULTILIB_TRUE@distclean-recursive: distclean-multi
683
@MULTILIB_TRUE@maintainer-clean-recursive: maintainer-clean-multi
684
 
685
@MULTILIB_TRUE@all-multi:
686
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
687
@MULTILIB_TRUE@install-multi:
688
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
689
 
690
@MULTILIB_TRUE@mostlyclean-multi:
691
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
692
@MULTILIB_TRUE@clean-multi:
693
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
694
@MULTILIB_TRUE@distclean-multi:
695
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
696
@MULTILIB_TRUE@maintainer-clean-multi:
697
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
698
@MULTILIB_FALSE@include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
699
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
700
 
701
${ARCH}/%.$(OBJEXT): %.c
702
        ${COMPILE} -o $@ -c $<
703
 
704
${ARCH}/%.$(OBJEXT): %.S
705
        ${CCASCOMPILE} -o $@ -c $<
706
 
707
# Make foo.rel from foo.$(OBJEXT)
708
${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
709
        ${make-rel}
710
 
711
# We deliberately don't have anything depend on the
712
# $(DEPEND) file; otherwise it will get rebuilt even
713
# on 'make clean'
714
#
715
 
716
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
717
        $(COMPILE) -M   $^    |  \
718
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
719
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
720
        mv $(DEPEND).tmp $(DEPEND)
721
depend: depend-am
722
 
723
# pull in dependencies if they exist
724
ifeq (${DEPEND},$(wildcard ${DEPEND}))
725
include ${DEPEND}
726
@ENDIF@
727
 
728
define make-library
729
$(RM) $@
730
$(AR) $(ARFLAGS) $@ $^
731
$(RANLIB) $@
732
endef
733
 
734
$(project_libdir)$(MULTISUBDIR):
735
        @$(mkinstalldirs) $@
736
 
737
.PRECIOUS: $(LIB)
738
 
739
$(PROJECT_INCLUDE):
740
        @$(mkinstalldirs) $@
741
$(PROJECT_INCLUDE)/motorola:
742
        @$(mkinstalldirs) $@
743
$(PROJECT_INCLUDE)/rtems:
744
        @$(mkinstalldirs) $@
745
$(PROJECT_INCLUDE)/sys:
746
        @$(mkinstalldirs) $@
747
$(PROJECT_INCLUDE)/zilog:
748
        @$(mkinstalldirs) $@
749
 
750
$(PROJECT_INCLUDE)/%.h: include/%.h
751
        $(INSTALL_DATA) $< $@
752
 
753
all-local: $(PREINSTALL_FILES)
754
 
755
all-local: ${ARCH} ${LIB}
756
 
757
${ARCH}/%.$(OBJEXT): src/%.c
758
        ${COMPILE} -o $@ -c $<
759
 
760
$(LIB): ${OBJS}
761
        $(make-library)
762
 
763
debug:
764
        @echo
765
        @echo "\"make debug\" is obsolete, instead use:"
766
        @echo " make VARIANT=DEBUG"
767
        @echo
768
 
769
.PHONY: debug
770
 
771
profile:
772
        @echo
773
        @echo "\"make profile\" is obsolete, instead use:"
774
        @echo " make VARIANT=PROFILE"
775
        @echo
776
 
777
.PHONY: profile
778
 
779
preinstall-am: $(PREINSTALL_FILES)
780
preinstall: preinstall-am
781
.PHONY: preinstall preinstall-am
782
 
783
depend-am:
784
depend: depend-am
785
.PHONY: depend depend-am
786
 
787
${ARCH}:
788
        mkdir ${ARCH}
789
 
790
clean-local:
791
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
792
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
793
 
794
distclean-local:
795
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
796
# Tell versions [3.59,3.63) of GNU make to not export all variables.
797
# Otherwise a system limit (for SysV at least) may be exceeded.
798
.NOEXPORT:

powered by: WebSVN 2.1.0

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