Changeset 8b273c2 in rtems


Ignore:
Timestamp:
11/23/03 10:24:09 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d6a444d
Parents:
51f97de
Message:

2003-11-23 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Reworked.
Location:
cpukit/sapi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/ChangeLog

    r51f97de r8b273c2  
     12003-11-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Reworked.
     4
    152003-09-04      Joel Sherrill <joel@OARcorp.com>
    26
  • cpukit/sapi/Makefile.am

    r51f97de r8b273c2  
    77include $(top_srcdir)/automake/lib.am
    88
    9 $(PROJECT_INCLUDE):
    10         @$(mkinstalldirs) $@
    11 $(PROJECT_INCLUDE)/rtems:
    12         @$(mkinstalldirs) $@
    13 
    14 $(PROJECT_INCLUDE)/%.h: include/%.h
    15         $(INSTALL_DATA) $< $@
    16 $(PROJECT_INCLUDE)/%.inl: $(INLINEdir)/%.inl
    17         $(INSTALL_DATA) $< $@
    18 
    199include_HEADERS = include/confdefs.h
    2010
    21 PREINSTALL_FILES = $(PROJECT_INCLUDE)
    22 PREINSTALL_FILES += $(include_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
    23 
    2411include_rtemsdir = $(includedir)/rtems
    25 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems
    2612
    2713include_rtems_HEADERS = include/rtems/config.h include/rtems/extension.h \
    28     include/rtems/fatal.h \
    29     include/rtems/init.h include/rtems/io.h include/rtems/mptables.h \
    30     include/rtems/sptables.h
    31 
    32 PREINSTALL_FILES += $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
     14    include/rtems/fatal.h include/rtems/init.h include/rtems/io.h \
     15    include/rtems/mptables.h include/rtems/sptables.h
    3316
    3417EXTRA_DIST = include/rtems/README
    3518
    3619## inline
    37 
    38 inline_H_FILES = inline/rtems/extension.inl
    39 noinst_HEADERS = $(inline_H_FILES)
    40 
    4120if INLINE
    42 PREINSTALL_FILES += $(inline_H_FILES:inline/%=$(PROJECT_INCLUDE)/%)
    43 include_rtems_HEADERS += $(inline_H_FILES)
     21include_rtems_HEADERS += inline/rtems/extension.inl
    4422endif
    4523
    4624## macros
    47 macros_H_FILES = macros/rtems/extension.inl
    48 noinst_HEADERS += $(macros_H_FILES)
    49 
    5025if MACROS
    51 PREINSTALL_FILES += $(macros_H_FILES:macros/%=$(PROJECT_INCLUDE)/%)
    52 include_rtems_HEADERS += $(macros_H_FILES)
     26include_rtems_HEADERS += macros/rtems/extension.inl
    5327endif
    5428
     
    5731LIB=$(ARCH)/libsapi.a
    5832
    59 EXTENSION_FILES = src/extension.c src/extensioncreate.c src/extensiondelete.c \
    60     src/extensionident.c
     33EXTENSION_FILES = src/extension.c src/extensioncreate.c \
     34    src/extensiondelete.c src/extensionident.c
    6135C_FILES = src/debug.c $(EXTENSION_FILES) src/fatal.c src/exinit.c src/io.c \
    6236    src/itronapi.c src/posixapi.c src/rtemsapi.c
     
    7953EXTRA_DIST += $(C_FILES)
    8054
     55PREINSTALL_FILES =
     56
     57$(PROJECT_INCLUDE)/confdefs.h: include/confdefs.h
     58        $(INSTALL_DATA) $< $@
     59PREINSTALL_FILES += $(PROJECT_INCLUDE)/confdefs.h
     60
     61$(PROJECT_INCLUDE)/rtems:
     62        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
     63PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems
     64
     65$(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h
     66        $(INSTALL_DATA) $< $@
     67PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
     68
     69$(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h
     70        $(INSTALL_DATA) $< $@
     71PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h
     72
     73$(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h
     74        $(INSTALL_DATA) $< $@
     75PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fatal.h
     76
     77$(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h
     78        $(INSTALL_DATA) $< $@
     79PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/init.h
     80
     81$(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h
     82        $(INSTALL_DATA) $< $@
     83PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/io.h
     84
     85$(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h
     86        $(INSTALL_DATA) $< $@
     87PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mptables.h
     88
     89$(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h
     90        $(INSTALL_DATA) $< $@
     91PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/sptables.h
     92
     93if INLINE
     94$(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl
     95        $(INSTALL_DATA) $< $@
     96PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
     97endif
     98
     99if MACROS
     100$(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl
     101        $(INSTALL_DATA) $< $@
     102PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
     103endif
     104
    81105include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.