Changeset fba12eb6 in rtems for c/src/exec/score/include/rtems
- Timestamp:
- 11/23/99 13:29:04 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6e9ad6c
- Parents:
- b0ab1d74
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/include/rtems/score/Makefile.am
rb0ab1d74 rfba12eb6 1 # 2 # $Id$3 # 1 ## 2 ## $Id$ 3 ## 4 4 5 @SET_MAKE@ 6 srcdir = @srcdir@ 7 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../.. 9 subdir = score/include/rtems/score 10 11 RTEMS_ROOT = @RTEMS_ROOT@ 12 PROJECT_ROOT = @PROJECT_ROOT@ 13 14 VPATH = @srcdir@ 5 AUTOMAKE_OPTIONS = foreign 1.4 15 6 16 7 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 8 include $(RTEMS_ROOT)/make/leaf.cfg 18 9 19 INSTALL_CHANGE = @INSTALL_CHANGE@20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score23 24 $(INSTALLDIRS):25 @$(mkinstalldirs) $(INSTALLDIRS)26 27 10 # We only build multiprocessing related files if HAS_MP was defined 28 MP_H_PIECES_yes_V = mpci mppkt objectmp threadmp 29 MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V) 11 MP_H_FILES = mpci.h mppkt.h objectmp.h threadmp.h 30 12 31 13 # H_FILES that get installed in the rtems/score subdirectoy 32 H_PIECES = address apiext bitfield chain context copyrt coremsg coremutex\33 core sem heap interr isr object priority stack states sysstate thread\34 threadq tod tqdata userext watchdog wkspace $(MP_H_PIECES)35 H_FILES = $(H_PIECES:%=$(srcdir)/%.h) 14 STD_H_FILES = address.h apiext.h bitfield.h chain.h context.h copyrt.h coremsg.h \ 15 coremutex.h coresem.h heap.h interr.h isr.h object.h priority.h stack.h \ 16 states.h sysstate.h thread.h threadq.h tod.h tqdata.h userext.h \ 17 watchdog.h wkspace.h 36 18 TARGOPTS = targopts.h 37 19 38 SRCS = $(H_FILES) $(TARGOPTS) 20 if HAS_MP 21 H_FILES = $(STD_H_FILES) $(TARGOPTS) $(MP_H_FILES) 22 else 23 H_FILES = $(STD_H_FILES) $(TARGOPTS) 24 endif 39 25 40 RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@ 41 HAS_ITRON_API = @HAS_ITRON_API@ 26 PREINSTALL_FILES = \ 27 $(PROJECT_INCLUDE)/rtems/score \ 28 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%) 29 30 $(PROJECT_INCLUDE)/rtems/score: 31 @$(mkinstalldirs) $@ 32 33 $(PROJECT_INCLUDE)/rtems/score/%.h: %.h 34 $(INSTALL_DATA) $< $@ 42 35 43 36 # … … 48 41 # 49 42 50 CLEAN_ADDITIONS += $(TARGOPTS) 51 CLOBBER_ADDITIONS += 43 CLEANFILES += $(TARGOPTS) 52 44 53 45 # Until RTEMS_CPU is removed from all the make configuration files, … … 105 97 @echo "#endif" >>$@ 106 98 107 all: preinstall99 all: $(PREINSTALL_FILES) 108 100 109 preinstall: $(INSTALLDIRS) $(H_FILES) $(TARGOPTS) 110 @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score 111 @$(INSTALL_CHANGE) -m 644 $(TARGOPTS) $(PROJECT_INCLUDE)/rtems/score 101 EXTRA_DIST = $(STD_H_FILES) $(MP_H_FILES) 112 102 113 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 114 cd $(top_builddir) \ 115 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 103 include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset
for help on using the changeset viewer.