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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [score/] [include/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
## Makefile.am,v 1.8 2002/07/01 22:30:12 joel Exp
3
##
4
 
5
 
6
$(PROJECT_INCLUDE)/%: %
7
        $(INSTALL_DATA) $< $@
8
 
9
include_rtemsdir = $(includedir)/rtems
10
 
11
$(PROJECT_INCLUDE)/rtems:
12
        @$(mkinstalldirs) $@
13
 
14
include_rtems_HEADERS = rtems/debug.h rtems/system.h rtems/seterr.h
15
 
16
PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
17
    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
18
 
19
include_rtems_scoredir = $(includedir)/rtems/score
20
 
21
$(PROJECT_INCLUDE)/rtems/score:
22
        @$(mkinstalldirs) $@
23
 
24
# We only build multiprocessing related files if HAS_MP was defined
25
MP_H_FILES = rtems/score/mpci.h rtems/score/mppkt.h rtems/score/objectmp.h \
26
    rtems/score/threadmp.h
27
 
28
# H_FILES that get installed in the rtems/score subdirectoy
29
STD_H_FILES = rtems/score/address.h rtems/score/apiext.h \
30
    rtems/score/apimutex.h \
31
    rtems/score/bitfield.h rtems/score/chain.h rtems/score/context.h \
32
    rtems/score/copyrt.h rtems/score/coremsg.h rtems/score/coremutex.h \
33
    rtems/score/coresem.h rtems/score/heap.h rtems/score/interr.h \
34
    rtems/score/isr.h rtems/score/object.h rtems/score/priority.h \
35
    rtems/score/stack.h rtems/score/states.h rtems/score/sysstate.h \
36
    rtems/score/thread.h rtems/score/threadq.h rtems/score/tod.h \
37
    rtems/score/tqdata.h rtems/score/userext.h rtems/score/watchdog.h \
38
    rtems/score/wkspace.h
39
 
40
if HAS_MP
41
include_rtems_score_HEADERS = $(STD_H_FILES) $(MP_H_FILES) rtems/score/cpuopts.h
42
else
43
include_rtems_score_HEADERS = $(STD_H_FILES) rtems/score/cpuopts.h
44
endif
45
 
46
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
47
    $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/%)
48
 
49
# make the cpu dependent options file
50
# FIXME: We are exporting a config-header here, which is a bad idea in
51
# general
52
rtems/score/cpuopts.h: rtems/score/cpuopts-tmp.h
53
        @echo "/* target cpu dependent options file */"        >$@
54
        @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@
55
        @echo                                                  >>$@
56
        @echo "#ifndef __CPU_OPTIONS_h"                        >>$@
57
        @echo "#define __CPU_OPTIONS_h"                        >>$@
58
        @echo                                                  >>$@
59
        @cat rtems/score/cpuopts-tmp.h | sed -e '/.*PACKAGE.*/d' >>$@
60
        @echo                                                  >>$@
61
        @echo "#endif"                                         >>$@
62
 
63
all-local: $(PREINSTALL_FILES)
64
 
65
include $(top_srcdir)/automake/local.am

powered by: WebSVN 2.1.0

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