source: rtems/c/src/exec/score/include/rtems/score/Makefile.am @ 3f56f22c

4.104.114.84.95
Last change on this file since 3f56f22c was 3f56f22c, checked in by Joel Sherrill <joel.sherrill@…>, on 09/28/01 at 13:36:12

2001-09-28 Ralf Corsepius <corsepiu@…>

  • include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
  • include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
  • inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
  • macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include_rtems_scoredir = $(includedir)/rtems/score
8
9# We only build multiprocessing related files if HAS_MP was defined
10MP_H_FILES = mpci.h mppkt.h objectmp.h threadmp.h
11
12# H_FILES that get installed in the rtems/score subdirectoy
13STD_H_FILES = address.h apiext.h bitfield.h chain.h context.h copyrt.h \
14    coremsg.h coremutex.h coresem.h heap.h interr.h isr.h object.h \
15    priority.h stack.h states.h sysstate.h thread.h threadq.h tod.h tqdata.h \
16    userext.h watchdog.h wkspace.h
17
18if HAS_MP
19include_rtems_score_HEADERS = $(STD_H_FILES) $(MP_H_FILES) cpuopts.h
20else
21include_rtems_score_HEADERS = $(STD_H_FILES) cpuopts.h
22endif
23
24PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/score \
25    $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/rtems/score/%)
26
27$(PROJECT_INCLUDE)/rtems/score:
28        @$(mkinstalldirs) $@
29
30$(PROJECT_INCLUDE)/rtems/score/%.h: %.h
31        $(INSTALL_DATA) $< $@
32
33# make the cpu dependent options file
34# FIXME: We are exporting a config-header here, which is a bad idea in
35# general
36cpuopts.h: cpuopts-tmp.h
37        @echo "/* target cpu dependent options file */"        >$@
38        @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@
39        @echo                                                  >>$@
40        @echo "#ifndef __CPU_OPTIONS_h"                        >>$@
41        @echo "#define __CPU_OPTIONS_h"                        >>$@
42        @echo                                                  >>$@
43        @cat cpuopts-tmp.h                                     >>$@
44        @echo                                                  >>$@
45        @echo "#endif"                                         >>$@
46
47all-local: $(PREINSTALL_FILES)
48
49include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.