Changeset fba12eb6 in rtems for c/src/exec/score/include/rtems


Ignore:
Timestamp:
11/23/99 13:29:04 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6e9ad6c
Parents:
b0ab1d74
Message:

Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

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##
    44
    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@
     5AUTOMAKE_OPTIONS = foreign 1.4
    156
    167include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    178include $(RTEMS_ROOT)/make/leaf.cfg
    189
    19 INSTALL_CHANGE = @INSTALL_CHANGE@
    20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    21 
    22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
    23 
    24 $(INSTALLDIRS):
    25         @$(mkinstalldirs) $(INSTALLDIRS)
    26 
    2710# 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)
     11MP_H_FILES = mpci.h mppkt.h objectmp.h threadmp.h
    3012
    3113# H_FILES that get installed in the rtems/score subdirectoy
    32 H_PIECES = address apiext bitfield chain context copyrt coremsg coremutex \
    33     coresem 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)
     14STD_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
    3618TARGOPTS = targopts.h
    3719
    38 SRCS = $(H_FILES) $(TARGOPTS)
     20if HAS_MP
     21H_FILES = $(STD_H_FILES) $(TARGOPTS) $(MP_H_FILES)
     22else
     23H_FILES = $(STD_H_FILES) $(TARGOPTS)
     24endif
    3925
    40 RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@
    41 HAS_ITRON_API = @HAS_ITRON_API@
     26PREINSTALL_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) $< $@
    4235
    4336#
     
    4841#
    4942
    50 CLEAN_ADDITIONS += $(TARGOPTS)
    51 CLOBBER_ADDITIONS +=
     43CLEANFILES += $(TARGOPTS)
    5244
    5345# Until RTEMS_CPU is removed from all the make configuration files,
     
    10597        @echo "#endif"                                         >>$@
    10698
    107 all: preinstall
     99all: $(PREINSTALL_FILES)
    108100
    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
     101EXTRA_DIST = $(STD_H_FILES) $(MP_H_FILES)
    112102
    113 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    114         cd $(top_builddir) \
    115          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     103include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.