Changeset 77c5415c in rtems


Ignore:
Timestamp:
May 11, 2005, 12:36:11 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
4beccab
Parents:
ae34873
Message:

Include preinstall.am.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/Makefile.am

    rae34873 r77c5415c  
    44
    55include $(top_srcdir)/automake/compile.am
     6
     7CLEANFILES =
     8DISTCLEANFILES =
    69
    710if LIBCHIP
     
    9699all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
    97100
    98 PREINSTALL_DIRS =
    99 PREINSTALL_FILES =
    100 TMPINSTALL_FILES =
    101 
    102 $(PROJECT_INCLUDE)/$(dirstamp):
    103         @$(mkdir_p) $(PROJECT_INCLUDE)
    104         @: > $(PROJECT_INCLUDE)/$(dirstamp)
    105 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
    106 
    107 if LIBCHIP
    108 $(PROJECT_INCLUDE)/libchip/$(dirstamp):
    109         @$(mkdir_p) $(PROJECT_INCLUDE)/libchip
    110         @: > $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    111 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    112 endif
    113 
    114 if LIBCHIP
    115 $(PROJECT_INCLUDE)/libchip/ata.h: ide/ata.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    116         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/ata.h
    117 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/ata.h
    118 
    119 $(PROJECT_INCLUDE)/libchip/ide_ctrl_cfg.h: ide/ide_ctrl_cfg.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    120         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/ide_ctrl_cfg.h
    121 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/ide_ctrl_cfg.h
    122 
    123 $(PROJECT_INCLUDE)/libchip/ide_ctrl.h: ide/ide_ctrl.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    124         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/ide_ctrl.h
    125 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/ide_ctrl.h
    126 
    127 $(PROJECT_INCLUDE)/libchip/ide_ctrl_io.h: ide/ide_ctrl_io.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    128         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/ide_ctrl_io.h
    129 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/ide_ctrl_io.h
    130 endif
    131 
    132 if LIBCHIP
    133 if HAS_NETWORKING
    134 $(PROJECT_INCLUDE)/libchip/cs8900.h: network/cs8900.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    135         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/cs8900.h
    136 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/cs8900.h
    137 
    138 $(PROJECT_INCLUDE)/libchip/i82586var.h: network/i82586var.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    139         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/i82586var.h
    140 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/i82586var.h
    141 
    142 $(PROJECT_INCLUDE)/libchip/if_fxpvar.h: network/if_fxpvar.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    143         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/if_fxpvar.h
    144 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/if_fxpvar.h
    145 
    146 $(PROJECT_INCLUDE)/libchip/sonic.h: network/sonic.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    147         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/sonic.h
    148 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/sonic.h
    149 
    150 $(PROJECT_INCLUDE)/libchip/if_media.h: network/if_media.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    151         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/if_media.h
    152 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/if_media.h
    153 
    154 $(PROJECT_INCLUDE)/libchip/mii.h: network/mii.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    155         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/mii.h
    156 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/mii.h
    157 
    158 $(PROJECT_INCLUDE)/libchip/open_eth.h: network/open_eth.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    159         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/open_eth.h
    160 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/open_eth.h
    161 endif
    162 endif
    163 
    164 if LIBCHIP
    165 $(PROJECT_INCLUDE)/libchip/rtc.h: rtc/rtc.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    166         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/rtc.h
    167 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/rtc.h
    168 
    169 $(PROJECT_INCLUDE)/libchip/icm7170.h: rtc/icm7170.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    170         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/icm7170.h
    171 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/icm7170.h
    172 
    173 $(PROJECT_INCLUDE)/libchip/m48t08.h: rtc/m48t08.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    174         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/m48t08.h
    175 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/m48t08.h
    176 
    177 $(PROJECT_INCLUDE)/libchip/mc146818a.h: rtc/mc146818a.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    178         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/mc146818a.h
    179 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/mc146818a.h
    180 endif
    181 
    182 if LIBCHIP
    183 $(PROJECT_INCLUDE)/libchip/mc68681.h: serial/mc68681.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    184         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/mc68681.h
    185 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/mc68681.h
    186 
    187 $(PROJECT_INCLUDE)/libchip/ns16550.h: serial/ns16550.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    188         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/ns16550.h
    189 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/ns16550.h
    190 
    191 $(PROJECT_INCLUDE)/libchip/z85c30.h: serial/z85c30.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    192         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/z85c30.h
    193 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/z85c30.h
    194 
    195 $(PROJECT_INCLUDE)/libchip/serial.h: serial/serial.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    196         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/serial.h
    197 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/serial.h
    198 
    199 $(PROJECT_INCLUDE)/libchip/sersupp.h: serial/sersupp.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    200         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/sersupp.h
    201 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/sersupp.h
    202 endif
    203 
    204 if HAS_MP
    205 $(PROJECT_INCLUDE)/shm_driver.h: shmdr/shm_driver.h $(PROJECT_INCLUDE)/$(dirstamp)
    206         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/shm_driver.h
    207 PREINSTALL_FILES += $(PROJECT_INCLUDE)/shm_driver.h
    208 
    209 $(PROJECT_INCLUDE)/mpci.h: shmdr/mpci.h $(PROJECT_INCLUDE)/$(dirstamp)
    210         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpci.h
    211 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpci.h
    212 
    213 $(PROJECT_LIB)/shmdr.rel: shmdr.rel $(PROJECT_LIB)/$(dirstamp)
    214         $(INSTALL_PROGRAM) $< $(PROJECT_LIB)/shmdr.rel
    215 TMPINSTALL_FILES += $(PROJECT_LIB)/shmdr.rel
    216 endif
    217 
    218 CLEANFILES = $(PREINSTALL_FILES)
    219 DISTCLEANFILES = $(PREINSTALL_DIRS)
    220 CLEANFILES += $(TMPINSTALL_FILES)
     101include $(srcdir)/preinstall.am
    221102
    222103include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.