Changeset 8a61c2a in rtems for cpukit/sapi/Makefile.am


Ignore:
Timestamp:
Nov 30, 2003, 7:44:04 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
74c77c5
Parents:
7d0eba02
Message:

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

  • Makefile.am: Add $(dirstamp) to preinstallation rules. Remove MACROS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/Makefile.am

    r7d0eba02 r8a61c2a  
    1717EXTRA_DIST = include/rtems/README
    1818
    19 ## inline
    2019if INLINE
    2120include_rtems_HEADERS += inline/rtems/extension.inl
    22 endif
    23 
    24 ## macros
    25 if MACROS
     21else
    2622include_rtems_HEADERS += macros/rtems/extension.inl
    2723endif
     
    5551PREINSTALL_FILES =
    5652
    57 $(PROJECT_INCLUDE)/confdefs.h: include/confdefs.h
    58         $(INSTALL_DATA) $< $@
     53$(PROJECT_INCLUDE)/$(dirstamp):
     54        @$(mkinstalldirs) $(PROJECT_INCLUDE)
     55        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     56PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
     57
     58$(PROJECT_INCLUDE)/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/$(dirstamp)
     59        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/confdefs.h
    5960PREINSTALL_FILES += $(PROJECT_INCLUDE)/confdefs.h
    6061
    61 $(PROJECT_INCLUDE)/rtems:
     62$(PROJECT_INCLUDE)/rtems/$(dirstamp):
    6263        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
    63 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems
     64        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     65PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    6466
    65 $(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h
    66         $(INSTALL_DATA) $< $@
     67$(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     68        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
    6769PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
    6870
    69 $(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h
    70         $(INSTALL_DATA) $< $@
     71$(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     72        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.h
    7173PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h
    7274
    73 $(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h
    74         $(INSTALL_DATA) $< $@
     75$(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     76        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fatal.h
    7577PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fatal.h
    7678
    77 $(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h
    78         $(INSTALL_DATA) $< $@
     79$(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     80        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/init.h
    7981PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/init.h
    8082
    81 $(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h
    82         $(INSTALL_DATA) $< $@
     83$(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     84        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/io.h
    8385PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/io.h
    8486
    85 $(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h
    86         $(INSTALL_DATA) $< $@
     87$(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     88        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mptables.h
    8789PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mptables.h
    8890
    89 $(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h
    90         $(INSTALL_DATA) $< $@
     91$(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     92        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/sptables.h
    9193PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/sptables.h
    9294
    9395if INLINE
    94 $(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl
    95         $(INSTALL_DATA) $< $@
     96$(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     97        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
    9698PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
    97 endif
    9899
    99 if MACROS
    100 $(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl
    101         $(INSTALL_DATA) $< $@
     100else
     101$(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     102        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
    102103PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
    103104endif
Note: See TracChangeset for help on using the changeset viewer.