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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [posix/] [src/] [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_POSIX_API = @HAS_POSIX_API@
80
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
81
MAINT = @MAINT@
82
MAKE = @MAKE@
83
MULTIBUILDTOP = @MULTIBUILDTOP@
84
MULTISUBDIR = @MULTISUBDIR@
85
PACKAGE = @PACKAGE@
86
PROJECT_INCLUDE = @PROJECT_INCLUDE@
87
PROJECT_ROOT = @PROJECT_ROOT@
88
PROJECT_TOPdir = @PROJECT_TOPdir@
89
RANLIB = @RANLIB@
90
RTEMS_BSP = @RTEMS_BSP@
91
RTEMS_CPU = @RTEMS_CPU@
92
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
93
RTEMS_HOST = @RTEMS_HOST@
94
RTEMS_ROOT = @RTEMS_ROOT@
95
RTEMS_TOPdir = @RTEMS_TOPdir@
96
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
97
RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@
98
STRIP = @STRIP@
99
VERSION = @VERSION@
100
am__include = @am__include@
101
am__quote = @am__quote@
102
install_sh = @install_sh@
103
multilib_basedir = @multilib_basedir@
104
project_libdir = @project_libdir@
105
 
106
LIB = $(ARCH)/libposix.a
107
 
108
# following are semi-implemented and untested
109
UNUSED_C_FILES = devctl.c intr.c
110
 
111
# These are really in the stand but not really functional
112
BUILD_FOR_NOW_C_FILES = aio.c
113
 
114
ENOSYS_C_FILES = execl.c execle.c execlp.c execv.c execve.c execvp.c fork.c \
115
    pthreadatfork.c wait.c waitpid.c
116
 
117
 
118
CANCEL_C_FILES = cancel.c cancelrun.c cleanuppop.c cleanuppush.c \
119
    setcancelstate.c setcanceltype.c testcancel.c
120
 
121
 
122
CONDITION_VARIABLE_C_FILES = cond.c condattrdestroy.c condattrgetpshared.c \
123
    condattrinit.c condattrsetpshared.c condbroadcast.c \
124
    conddefaultattributes.c conddestroy.c condinit.c condmp.c condsignal.c \
125
    condsignalsupp.c condtimedwait.c condwait.c condwaitsupp.c
126
 
127
 
128
ID_C_FILES = getegid.c geteuid.c getgid.c getgroups.c getlogin.c getpgrp.c \
129
    getpid.c getppid.c getuid.c setpgid.c setsid.c
130
 
131
 
132
KEY_C_FILES = key.c keycreate.c keydelete.c keygetspecific.c \
133
    keyrundestructors.c keysetspecific.c
134
 
135
 
136
MEMORY_C_FILES = getpagesize.c mprotect.c
137
 
138
MESSAGE_QUEUE_C_FILES = mqueue.c mqueueclose.c mqueuecreatesupp.c \
139
    mqueuedeletesupp.c mqueuegetattr.c mqueuenametoid.c mqueuenotify.c \
140
    mqueueopen.c mqueuereceive.c mqueuerecvsupp.c mqueuesend.c \
141
    mqueuesendsupp.c mqueuesetattr.c mqueuetimedreceive.c mqueuetimedsend.c \
142
    mqueuetranslatereturncode.c mqueueunlink.c
143
 
144
 
145
MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
146
    mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
147
    mutexattrsetprioceiling.c mutexattrsetprotocol.c mutexattrsetpshared.c \
148
    mutexdefaultattributes.c mutexdestroy.c mutexfromcorestatus.c \
149
    mutexgetprioceiling.c mutexinit.c mutexlock.c mutexlocksupp.c mutexmp.c \
150
    mutexsetprioceiling.c mutextimedlock.c mutextrylock.c mutexunlock.c
151
 
152
 
153
PTHREAD_C_FILES = pthread.c pthreadsetcputime.c pthreadgetcputime.c \
154
    pthreadgetcpuclockid.c pthreadonce.c pthreadequal.c pthreadself.c \
155
    pthreadexit.c pthreaddetach.c pthreadjoin.c pthreadcreate.c \
156
    pthreadattrsetdetachstate.c pthreadattrgetdetachstate.c \
157
    pthreadattrgetstackaddr.c pthreadattrsetstackaddr.c \
158
    pthreadattrgetstacksize.c pthreadattrsetstacksize.c pthreadattrinit.c \
159
    pthreadattrdestroy.c pthreadsetschedparam.c pthreadgetschedparam.c \
160
    pthreadattrsetschedparam.c pthreadattrgetschedparam.c \
161
    pthreadattrgetschedpolicy.c pthreadattrsetschedpolicy.c \
162
    pthreadattrgetinheritsched.c pthreadattrsetinheritsched.c \
163
    pthreadattrgetscope.c pthreadattrsetscope.c
164
 
165
 
166
PSIGNAL_C_FILES = psignal.c alarm.c kill.c killinfo.c pause.c \
167
    psignalclearprocesssignals.c psignalsetprocesssignals.c \
168
    psignalchecksignal.c psignalclearsignals.c psignalunblockthread.c \
169
    pthreadkill.c pthreadsigmask.c sigaction.c sigaddset.c sigdelset.c \
170
    sigemptyset.c sigfillset.c sigismember.c sigpending.c sigprocmask.c \
171
    sigqueue.c sigsuspend.c sigtimedwait.c sigwait.c sigwaitinfo.c \
172
    signal_2.c
173
 
174
 
175
SEMAPHORE_C_FILES = semaphore.c semaphorecreatesupp.c semaphoredeletesupp.c \
176
    semaphoremp.c semaphorenametoid.c semaphorewaitsupp.c semclose.c \
177
    semdestroy.c semgetvalue.c seminit.c semopen.c sempost.c semtimedwait.c \
178
    semtrywait.c semunlink.c semwait.c
179
 
180
 
181
TIME_C_FILES = time.c posixtimespecsubtract.c posixtimespectointerval.c \
182
    posixintervaltotimespec.c clockgetcpuclockid.c clockgetenableattr.c \
183
    clockgetres.c clockgettime.c clocksetenableattr.c clocksettime.c \
184
    nanosleep.c sleep.c
185
 
186
 
187
# the timer manager needs to be split further but only after its
188
# dependence on the Classic API Timer Manager is removed.
189
TIMER_C_FILES = ptimer.c ptimer1.c
190
 
191
C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
192
    $(ID_C_FILES) $(KEY_C_FILES) $(MEMORY_C_FILES) $(MESSAGE_QUEUE_C_FILES) \
193
    $(MUTEX_C_FILES) $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c \
194
    $(SEMAPHORE_C_FILES) sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c \
195
    $(ENOSYS_C_FILES) $(BUILD_FOR_NOW_C_FILES)
196
 
197
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
198
 
199
OBJS = $(C_O_FILES)
200
 
201
@MULTILIB_TRUE@MULTISRCTOP =
202
@MULTILIB_TRUE@MULTIDIRS =
203
@MULTILIB_TRUE@MULTIDO = true
204
@MULTILIB_TRUE@MULTICLEAN = true
205
 
206
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
207
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS)
208
 
209
DEFS = @DEFS@
210
 
211
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
212
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
213
 
214
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
215
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
216
 
217
# when debugging, optimize flag: typically empty
218
# some compilers do allow optimization with their "-g"
219
CFLAGS_DEBUG_OPTIMIZE_V = -g
220
 
221
# profile flag; use gprof(1)
222
CFLAGS_PROFILE_V = -pg
223
 
224
 
225
#
226
# How to compile stuff into ${ARCH} subdirectory
227
#
228
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
229
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
230
 
231
CCLD = $(CC)
232
 
233
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
234
 
235
 
236
# Dependency files for use by gmake
237
# NOTE: we don't put them into $(ARCH)
238
#       so that 'make clean' doesn't blow it away
239
DEPEND = Depends-${ARCH}
240
 
241
CLEAN_DEPEND = $(DEPEND).tmp
242
CLOBBER_DEPEND = $(DEPEND)
243
 
244
VARIANT = OPTIMIZE
245
 
246
VARIANT_OPTIMIZE_V = OPTIMIZE
247
VARIANT_DEBUG_V = DEBUG
248
VARIANT_PROFILE_V = PROFILE
249
VARIANT_optimize_V = OPTIMIZE
250
VARIANT_debug_V = DEBUG
251
VARIANT_profile_V = PROFILE
252
 
253
VARIANT_V = $(VARIANT_$(VARIANT)_V)
254
 
255
ARCH_OPTIMIZE_V = o-optimize
256
ARCH_DEBUG_V = o-debug
257
ARCH_PROFILE_V = o-profile
258
 
259
ARCH__V = $(ARCH_OPTIMIZE_V)
260
ARCH = $(ARCH_$(VARIANT_V)_V)
261
 
262
LIBSUFFIX_OPTIMIZE_V =
263
LIBSUFFIX_DEBUG_V = _g
264
LIBSUFFIX_PROFILE_V = _p
265
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
266
 
267
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
268
LIBSUFFIX_VA = $(LIB_VARIANT).a
269
 
270
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
271
 
272
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
273
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -Wno-unused
274
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
275
 
276
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
277
 
278
 
279
#
280
# Add local stuff here using +=
281
#
282
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -I. -D__RTEMS_INSIDE__
283
 
284
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
285
 
286
# AM_CFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CFLAGS)
287
AM_CCASFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_ASFLAGS)
288
 
289
AR = @AR@
290
 
291
ARFLAGS = ruv
292
 
293
TMPINSTALL_FILES = $(project_libdir)$(MULTISUBDIR)
294
 
295
EXTRA_DIST = $(C_FILES) $(UNUSED_C_FILES)
296
 
297
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
298
subdir = src
299
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
300
CONFIG_HEADER = config.h
301
CONFIG_CLEAN_FILES =
302
DIST_SOURCES =
303
DIST_COMMON = Makefile.am Makefile.in config.h.in
304
all: config.h
305
        $(MAKE) $(AM_MAKEFLAGS) all-am
306
 
307
.SUFFIXES:
308
$(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)
309
        cd $(top_srcdir) && \
310
          $(AUTOMAKE) --foreign  src/Makefile
311
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
312
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
313
 
314
config.h: stamp-h1
315
        @if test ! -f $@; then \
316
          rm -f stamp-h1; \
317
          $(MAKE) stamp-h1; \
318
        else :; fi
319
 
320
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
321
        @rm -f stamp-h1
322
        cd $(top_builddir) && $(SHELL) ./config.status src/config.h
323
 
324
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4)
325
        cd $(top_srcdir) && $(AUTOHEADER)
326
        touch $(srcdir)/config.h.in
327
 
328
distclean-hdr:
329
        -rm -f config.h stamp-h1
330
uninstall-info-am:
331
tags: TAGS
332
TAGS:
333
 
334
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
335
 
336
top_distdir = ..
337
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
338
 
339
distdir: $(DISTFILES)
340
        @list='$(DISTFILES)'; for file in $$list; do \
341
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
342
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
343
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
344
            dir="/$$dir"; \
345
            $(mkinstalldirs) "$(distdir)$$dir"; \
346
          else \
347
            dir=''; \
348
          fi; \
349
          if test -d $$d/$$file; then \
350
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
351
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
352
            fi; \
353
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
354
          else \
355
            test -f $(distdir)/$$file \
356
            || cp -p $$d/$$file $(distdir)/$$file \
357
            || exit 1; \
358
          fi; \
359
        done
360
check-am: all-am
361
check: check-am
362
all-am: Makefile config.h all-local
363
 
364
installdirs:
365
 
366
install: install-am
367
install-exec: install-exec-am
368
install-data: install-data-am
369
uninstall: uninstall-am
370
 
371
install-am: all-am
372
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
373
 
374
installcheck: installcheck-am
375
install-strip:
376
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
377
          INSTALL_STRIP_FLAG=-s \
378
          `test -z '$(STRIP)' || \
379
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
380
mostlyclean-generic:
381
 
382
clean-generic:
383
 
384
distclean-generic:
385
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
386
 
387
maintainer-clean-generic:
388
        @echo "This command is intended for maintainers to use"
389
        @echo "it deletes files that may require special tools to rebuild."
390
clean: clean-am
391
 
392
clean-am: clean-generic clean-local mostlyclean-am
393
 
394
distclean: distclean-am
395
 
396
distclean-am: clean-am distclean-generic distclean-hdr distclean-local
397
 
398
dvi: dvi-am
399
 
400
dvi-am:
401
 
402
info: info-am
403
 
404
info-am:
405
 
406
install-data-am:
407
 
408
install-exec-am:
409
 
410
install-info: install-info-am
411
 
412
install-man:
413
 
414
installcheck-am:
415
 
416
maintainer-clean: maintainer-clean-am
417
 
418
maintainer-clean-am: distclean-am maintainer-clean-generic
419
 
420
mostlyclean: mostlyclean-am
421
 
422
mostlyclean-am: mostlyclean-generic
423
 
424
uninstall-am: uninstall-info-am
425
 
426
.PHONY: all all-am all-local check check-am clean clean-generic \
427
        clean-local distclean distclean-generic distclean-hdr \
428
        distclean-local distdir dvi dvi-am info info-am install \
429
        install-am install-data install-data-am install-exec \
430
        install-exec-am install-info install-info-am install-man \
431
        install-strip installcheck installcheck-am installdirs \
432
        maintainer-clean maintainer-clean-generic mostlyclean \
433
        mostlyclean-generic uninstall uninstall-am uninstall-info-am
434
 
435
 
436
# Multilib support rules
437
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
438
        maintainer-clean-multi
439
 
440
@MULTILIB_TRUE@all-recursive: all-multi
441
@MULTILIB_TRUE@install-recursive: install-multi
442
 
443
@MULTILIB_TRUE@mostlyclean-recursive: mostlyclean-multi
444
@MULTILIB_TRUE@clean-recursive: clean-multi
445
@MULTILIB_TRUE@distclean-recursive: distclean-multi
446
@MULTILIB_TRUE@maintainer-clean-recursive: maintainer-clean-multi
447
 
448
@MULTILIB_TRUE@all-multi:
449
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
450
@MULTILIB_TRUE@install-multi:
451
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
452
 
453
@MULTILIB_TRUE@mostlyclean-multi:
454
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
455
@MULTILIB_TRUE@clean-multi:
456
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
457
@MULTILIB_TRUE@distclean-multi:
458
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
459
@MULTILIB_TRUE@maintainer-clean-multi:
460
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
461
@MULTILIB_FALSE@include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
462
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
463
 
464
${ARCH}/%.$(OBJEXT): %.c
465
        ${COMPILE} -o $@ -c $<
466
 
467
${ARCH}/%.$(OBJEXT): %.S
468
        ${CCASCOMPILE} -o $@ -c $<
469
 
470
# Make foo.rel from foo.$(OBJEXT)
471
${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
472
        ${make-rel}
473
 
474
# We deliberately don't have anything depend on the
475
# $(DEPEND) file; otherwise it will get rebuilt even
476
# on 'make clean'
477
#
478
 
479
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
480
        $(COMPILE) -M   $^    |  \
481
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
482
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
483
        mv $(DEPEND).tmp $(DEPEND)
484
depend: depend-am
485
 
486
# pull in dependencies if they exist
487
ifeq (${DEPEND},$(wildcard ${DEPEND}))
488
include ${DEPEND}
489
@ENDIF@
490
 
491
define make-library
492
$(RM) $@
493
$(AR) $(ARFLAGS) $@ $^
494
$(RANLIB) $@
495
endef
496
 
497
$(project_libdir)$(MULTISUBDIR):
498
        @$(mkinstalldirs) $@
499
 
500
.PRECIOUS: $(LIB)
501
 
502
all-local: ${ARCH} $(LIB)
503
 
504
$(LIB): ${OBJS}
505
        $(make-library)
506
 
507
# temporary so we can see how many things are left to implement
508
not:
509
        grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
510
        @echo
511
        @echo
512
        @echo
513
        @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
514
        @echo `wc -l $(C_FILES) | grep total` lines of C code to test
515
 
516
debug:
517
        @echo
518
        @echo "\"make debug\" is obsolete, instead use:"
519
        @echo " make VARIANT=DEBUG"
520
        @echo
521
 
522
.PHONY: debug
523
 
524
profile:
525
        @echo
526
        @echo "\"make profile\" is obsolete, instead use:"
527
        @echo " make VARIANT=PROFILE"
528
        @echo
529
 
530
.PHONY: profile
531
 
532
preinstall-am: $(PREINSTALL_FILES)
533
preinstall: preinstall-am
534
.PHONY: preinstall preinstall-am
535
 
536
depend-am:
537
depend: depend-am
538
.PHONY: depend depend-am
539
 
540
${ARCH}:
541
        mkdir ${ARCH}
542
 
543
clean-local:
544
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
545
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
546
 
547
distclean-local:
548
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
549
# Tell versions [3.59,3.63) of GNU make to not export all variables.
550
# Otherwise a system limit (for SysV at least) may be exceeded.
551
.NOEXPORT:

powered by: WebSVN 2.1.0

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