Changeset 6265b83 in rtems for cpukit/sapi/Makefile.am


Ignore:
Timestamp:
Feb 8, 2005, 3:02:25 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b1f1bfbb
Parents:
ea3ad14
Message:

Split preinstallation rules in to separate files (preinstall.am).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/Makefile.am

    rea3ad14 r6265b83  
    55include $(top_srcdir)/automake/multilib.am
    66include $(top_srcdir)/automake/compile.am
     7
     8CLEANFILES =
     9DISTCLEANFILES =
    710
    811include_rtemsdir = $(includedir)/rtems
     
    3235all-local: $(PREINSTALL_FILES)
    3336
    34 PREINSTALL_DIRS =
    35 PREINSTALL_FILES =
    36 
    37 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    38         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    39         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    40 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    41 
    42 $(PROJECT_INCLUDE)/rtems/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    43         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/confdefs.h
    44 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/confdefs.h
    45 
    46 $(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    47         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
    48 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
    49 
    50 $(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    51         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.h
    52 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h
    53 
    54 $(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    55         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fatal.h
    56 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fatal.h
    57 
    58 $(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    59         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/init.h
    60 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/init.h
    61 
    62 $(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    63         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/io.h
    64 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/io.h
    65 
    66 $(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    67         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mptables.h
    68 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mptables.h
    69 
    70 $(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    71         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/sptables.h
    72 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/sptables.h
    73 
    74 if INLINE
    75 $(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    76         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
    77 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
    78 
    79 else
    80 $(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    81         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
    82 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
    83 endif
    84 
    85 CLEANFILES = $(PREINSTALL_FILES)
    86 DISTCLEANFILES = $(PREINSTALL_DIRS)
     37include $(srcdir)/preinstall.am
    8738
    8839include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.