Ignore:
Timestamp:
Feb 8, 2005, 3:45:55 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
624867b
Parents:
418372a1
Message:

2005-02-08 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Split out preinstallation rules.
  • preinstall.am: New (Split out from Makefile.am).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/powerpc/Makefile.am

    r418372a1 rbabf575  
    44
    55include $(top_srcdir)/automake/compile.am
     6
     7CLEANFILES =
     8DISTCLEANFILES =
    69
    710include_rtemsdir = $(includedir)/rtems
     
    2629all-local: $(PREINSTALL_FILES)
    2730
    28 PREINSTALL_DIRS =
    29 PREINSTALL_FILES =
    30 
    31 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    32         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    33         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    34 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    35 
    36 $(PROJECT_INCLUDE)/rtems/asm.h: rtems/asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    37         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
    38 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
    39 
    40 $(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
    41         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
    42         @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    43 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    44 
    45 $(PROJECT_INCLUDE)/rtems/score/powerpc.h: rtems/score/powerpc.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    46         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/powerpc.h
    47 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/powerpc.h
    48 
    49 $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    50         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
    51 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
    52 
    53 $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    54         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
    55 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
    56 
    57 if DEPRECATED
    58 $(PROJECT_INCLUDE)/rtems/score/ppc.h: rtems/score/ppc.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    59         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ppc.h
    60 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ppc.h
    61 endif
    62 
    63 $(PROJECT_INCLUDE)/rtems/old-exceptions/$(dirstamp):
    64         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/old-exceptions
    65         @: > $(PROJECT_INCLUDE)/rtems/old-exceptions/$(dirstamp)
    66 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/old-exceptions/$(dirstamp)
    67 
    68 $(PROJECT_INCLUDE)/rtems/old-exceptions/cpu.h: rtems/old-exceptions/cpu.h $(PROJECT_INCLUDE)/rtems/old-exceptions/$(dirstamp)
    69         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/old-exceptions/cpu.h
    70 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/old-exceptions/cpu.h
    71 
    72 $(PROJECT_INCLUDE)/rtems/new-exceptions/$(dirstamp):
    73         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/new-exceptions
    74         @: > $(PROJECT_INCLUDE)/rtems/new-exceptions/$(dirstamp)
    75 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/new-exceptions/$(dirstamp)
    76 
    77 $(PROJECT_INCLUDE)/rtems/new-exceptions/cpu.h: rtems/new-exceptions/cpu.h $(PROJECT_INCLUDE)/rtems/new-exceptions/$(dirstamp)
    78         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/new-exceptions/cpu.h
    79 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/new-exceptions/cpu.h
    80 
    81 $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp):
    82         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/powerpc
    83         @: > $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
    84 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
    85 
    86 $(PROJECT_INCLUDE)/rtems/powerpc/registers.h: rtems/powerpc/registers.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
    87         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/registers.h
    88 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/registers.h
    89 
    90 CLEANFILES = $(PREINSTALL_FILES)
    91 DISTCLEANFILES = $(PREINSTALL_DIRS)
     31include $(srcdir)/preinstall.am
    9232
    9333include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.