Changeset 6265b83 in rtems


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

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

Location:
cpukit
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    rea3ad14 r6265b83  
    1616SUBDIRS += wrapup
    1717
     18CLEANFILES =
     19DISTCLEANFILES =
     20
    1821noinst_DATA = preinstall-stamp
    19 
    2022preinstall-stamp:
    2123        $(MAKE) $(AM_MAKEFLAGS) preinstall
    2224        touch preinstall-stamp
    23 CLEANFILES = preinstall-stamp
     25CLEANFILES += preinstall-stamp
    2426
    2527include_HEADERS =
     28
     29include_rtemsdir = $(includedir)/rtems
     30include_rtems_HEADERS =
     31
     32include_rtems_rtemsdir = $(includedir)/rtems/rtems
     33include_rtems_rtems_HEADERS =
    2634
    2735if DEPRECATED
     
    6775endif
    6876
    69 include_rtemsdir = $(includedir)/rtems
    70 include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \
     77include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \
    7178    include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \
    7279    include/rtems/concat.h include/rtems/tar.h
     
    135142include_rtems_HEADERS += libmisc/fsmount/fsmount.h
    136143
    137 PREINSTALL_DIRS =
    138 PREINSTALL_FILES =
     144all-local: $(PREINSTALL_FILES)
    139145
    140 $(PROJECT_INCLUDE)/$(dirstamp):
    141         @$(mkdir_p) $(PROJECT_INCLUDE)
    142         @: > $(PROJECT_INCLUDE)/$(dirstamp)
    143 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
    144 
    145 if DEPRECATED
    146 $(PROJECT_INCLUDE)/asm.h: backward/asm.h $(PROJECT_INCLUDE)/$(dirstamp)
    147         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h
    148 PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
    149 
    150 $(PROJECT_INCLUDE)/chain.h: backward/chain.h $(PROJECT_INCLUDE)/$(dirstamp)
    151         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/chain.h
    152 PREINSTALL_FILES += $(PROJECT_INCLUDE)/chain.h
    153 
    154 $(PROJECT_INCLUDE)/clockdrv.h: backward/clockdrv.h $(PROJECT_INCLUDE)/$(dirstamp)
    155         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/clockdrv.h
    156 PREINSTALL_FILES += $(PROJECT_INCLUDE)/clockdrv.h
    157 
    158 $(PROJECT_INCLUDE)/confdefs.h: backward/confdefs.h $(PROJECT_INCLUDE)/$(dirstamp)
    159         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/confdefs.h
    160 PREINSTALL_FILES += $(PROJECT_INCLUDE)/confdefs.h
    161 
    162 $(PROJECT_INCLUDE)/console.h: backward/console.h $(PROJECT_INCLUDE)/$(dirstamp)
    163         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/console.h
    164 PREINSTALL_FILES += $(PROJECT_INCLUDE)/console.h
    165 
    166 $(PROJECT_INCLUDE)/imfs.h: backward/imfs.h $(PROJECT_INCLUDE)/$(dirstamp)
    167         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/imfs.h
    168 PREINSTALL_FILES += $(PROJECT_INCLUDE)/imfs.h
    169 
    170 $(PROJECT_INCLUDE)/iosupp.h: backward/iosupp.h $(PROJECT_INCLUDE)/$(dirstamp)
    171         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/iosupp.h
    172 PREINSTALL_FILES += $(PROJECT_INCLUDE)/iosupp.h
    173 
    174 $(PROJECT_INCLUDE)/ringbuf.h: backward/ringbuf.h $(PROJECT_INCLUDE)/$(dirstamp)
    175         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ringbuf.h
    176 PREINSTALL_FILES += $(PROJECT_INCLUDE)/ringbuf.h
    177 
    178 $(PROJECT_INCLUDE)/rtc.h: backward/rtc.h $(PROJECT_INCLUDE)/$(dirstamp)
    179         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtc.h
    180 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtc.h
    181 
    182 $(PROJECT_INCLUDE)/spurious.h: backward/spurious.h $(PROJECT_INCLUDE)/$(dirstamp)
    183         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spurious.h
    184 PREINSTALL_FILES += $(PROJECT_INCLUDE)/spurious.h
    185 
    186 $(PROJECT_INCLUDE)/timerdrv.h: backward/timerdrv.h $(PROJECT_INCLUDE)/$(dirstamp)
    187         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/timerdrv.h
    188 PREINSTALL_FILES += $(PROJECT_INCLUDE)/timerdrv.h
    189 
    190 $(PROJECT_INCLUDE)/vmeintr.h: backward/vmeintr.h $(PROJECT_INCLUDE)/$(dirstamp)
    191         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h
    192 PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h
    193 
    194 if HAS_NETWORKING
    195 $(PROJECT_INCLUDE)/ftpd.h: backward/ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
    196         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
    197 PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
    198 endif
    199 
    200 $(PROJECT_INCLUDE)/motorola/$(dirstamp):
    201         @$(mkdir_p) $(PROJECT_INCLUDE)/motorola
    202         @: > $(PROJECT_INCLUDE)/motorola/$(dirstamp)
    203 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/motorola/$(dirstamp)
    204 
    205 $(PROJECT_INCLUDE)/motorola/mc68681.h: backward/motorola/mc68681.h $(PROJECT_INCLUDE)/motorola/$(dirstamp)
    206         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/motorola/mc68681.h
    207 PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68681.h
    208 
    209 $(PROJECT_INCLUDE)/motorola/mc68230.h: backward/motorola/mc68230.h $(PROJECT_INCLUDE)/motorola/$(dirstamp)
    210         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/motorola/mc68230.h
    211 PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68230.h
    212 
    213 $(PROJECT_INCLUDE)/zilog/$(dirstamp):
    214         @$(mkdir_p) $(PROJECT_INCLUDE)/zilog
    215         @: > $(PROJECT_INCLUDE)/zilog/$(dirstamp)
    216 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/zilog/$(dirstamp)
    217 
    218 $(PROJECT_INCLUDE)/zilog/z8536.h: backward/zilog/z8536.h $(PROJECT_INCLUDE)/zilog/$(dirstamp)
    219         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/zilog/z8536.h
    220 PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8536.h
    221 
    222 $(PROJECT_INCLUDE)/zilog/z8036.h: backward/zilog/z8036.h $(PROJECT_INCLUDE)/zilog/$(dirstamp)
    223         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/zilog/z8036.h
    224 PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8036.h
    225 
    226 $(PROJECT_INCLUDE)/zilog/z8030.h: backward/zilog/z8030.h $(PROJECT_INCLUDE)/zilog/$(dirstamp)
    227         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/zilog/z8030.h
    228 PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8030.h
    229 
    230 if !UNIX
    231 $(PROJECT_INCLUDE)/dosfs.h: backward/dosfs.h $(PROJECT_INCLUDE)/$(dirstamp)
    232         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/dosfs.h
    233 PREINSTALL_FILES += $(PROJECT_INCLUDE)/dosfs.h
    234 endif
    235 
    236 if HAS_ITRON
    237 $(PROJECT_INCLUDE)/itron.h: backward/itron.h $(PROJECT_INCLUDE)/$(dirstamp)
    238         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itron.h
    239 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itron.h
    240 endif
    241 endif
    242 
    243 if NEWLIB
    244 $(PROJECT_INCLUDE)/sys/$(dirstamp):
    245         @$(mkdir_p) $(PROJECT_INCLUDE)/sys
    246         @: > $(PROJECT_INCLUDE)/sys/$(dirstamp)
    247 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/sys/$(dirstamp)
    248 
    249 $(PROJECT_INCLUDE)/stdint.h: libcsupport/include/stdint.h $(PROJECT_INCLUDE)/$(dirstamp)
    250         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/stdint.h
    251 PREINSTALL_FILES += $(PROJECT_INCLUDE)/stdint.h
    252 
    253 $(PROJECT_INCLUDE)/inttypes.h: libcsupport/include/inttypes.h $(PROJECT_INCLUDE)/$(dirstamp)
    254         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/inttypes.h
    255 PREINSTALL_FILES += $(PROJECT_INCLUDE)/inttypes.h
    256 
    257 $(PROJECT_INCLUDE)/tar.h: libcsupport/include/tar.h $(PROJECT_INCLUDE)/$(dirstamp)
    258         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tar.h
    259 PREINSTALL_FILES += $(PROJECT_INCLUDE)/tar.h
    260 
    261 $(PROJECT_INCLUDE)/sys/ioccom.h: libcsupport/include/sys/ioccom.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    262         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ioccom.h
    263 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ioccom.h
    264 
    265 $(PROJECT_INCLUDE)/sys/filio.h: libcsupport/include/sys/filio.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    266         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/filio.h
    267 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/filio.h
    268 
    269 $(PROJECT_INCLUDE)/sys/ioctl.h: libcsupport/include/sys/ioctl.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    270         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ioctl.h
    271 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ioctl.h
    272 
    273 $(PROJECT_INCLUDE)/sys/sockio.h: libcsupport/include/sys/sockio.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    274         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/sockio.h
    275 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/sockio.h
    276 
    277 $(PROJECT_INCLUDE)/sys/ttycom.h: libcsupport/include/sys/ttycom.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    278         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ttycom.h
    279 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ttycom.h
    280 
    281 $(PROJECT_INCLUDE)/sys/termios.h: libcsupport/include/sys/termios.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    282         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/termios.h
    283 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/termios.h
    284 
    285 $(PROJECT_INCLUDE)/sys/utsname.h: libcsupport/include/sys/utsname.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    286         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/utsname.h
    287 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/utsname.h
    288 
    289 $(PROJECT_INCLUDE)/sys/cdefs.h: libcsupport/include/sys/cdefs.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    290         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/cdefs.h
    291 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/cdefs.h
    292 endif
    293 
    294 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    295         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    296         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    297 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    298 
    299 $(PROJECT_INCLUDE)/rtems/bspIo.h: include/rtems/bspIo.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    300         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspIo.h
    301 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspIo.h
    302 
    303 $(PROJECT_INCLUDE)/rtems/userenv.h: include/rtems/userenv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    304         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/userenv.h
    305 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/userenv.h
    306 
    307 $(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    308         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fs.h
    309 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h
    310 
    311 $(PROJECT_INCLUDE)/rtems/pci.h: include/rtems/pci.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    312         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pci.h
    313 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pci.h
    314 
    315 $(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    316         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stdint.h
    317 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h
    318 
    319 $(PROJECT_INCLUDE)/rtems/concat.h: include/rtems/concat.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    320         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/concat.h
    321 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/concat.h
    322 
    323 $(PROJECT_INCLUDE)/rtems/tar.h: include/rtems/tar.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    324         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/tar.h
    325 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/tar.h
    326 
    327 $(PROJECT_INCLUDE)/rtems/imfs.h: libfs/src/imfs/imfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    328         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/imfs.h
    329 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/imfs.h
    330 
    331 if !UNIX
    332 $(PROJECT_INCLUDE)/rtems/dosfs.h: libfs/src/dosfs/dosfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    333         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dosfs.h
    334 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dosfs.h
    335 endif
    336 
    337 if !UNIX
    338 $(PROJECT_INCLUDE)/rtems/bdbuf.h: libblock/include/rtems/bdbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    339         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bdbuf.h
    340 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bdbuf.h
    341 
    342 $(PROJECT_INCLUDE)/rtems/blkdev.h: libblock/include/rtems/blkdev.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    343         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/blkdev.h
    344 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/blkdev.h
    345 
    346 $(PROJECT_INCLUDE)/rtems/diskdevs.h: libblock/include/rtems/diskdevs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    347         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/diskdevs.h
    348 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/diskdevs.h
    349 
    350 $(PROJECT_INCLUDE)/rtems/ramdisk.h: libblock/include/rtems/ramdisk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    351         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ramdisk.h
    352 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ramdisk.h
    353 
    354 $(PROJECT_INCLUDE)/rtems/ide_part_table.h: libblock/include/rtems/ide_part_table.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    355         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ide_part_table.h
    356 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ide_part_table.h
    357 endif
    358 
    359 if HAS_NETWORKING
    360 $(PROJECT_INCLUDE)/rtems/ftpd.h: ftpd/ftpd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    361         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ftpd.h
    362 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ftpd.h
    363 endif
    364 
    365 $(PROJECT_INCLUDE)/rtems/capture.h: libmisc/capture/capture.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    366         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture.h
    367 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture.h
    368 
    369 $(PROJECT_INCLUDE)/rtems/capture-cli.h: libmisc/capture/capture-cli.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    370         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture-cli.h
    371 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture-cli.h
    372 
    373 $(PROJECT_INCLUDE)/rtems/cpuuse.h: libmisc/cpuuse/cpuuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    374         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/cpuuse.h
    375 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/cpuuse.h
    376 
    377 $(PROJECT_INCLUDE)/rtems/devnull.h: libmisc/devnull/devnull.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    378         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/devnull.h
    379 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/devnull.h
    380 
    381 $(PROJECT_INCLUDE)/rtems/dumpbuf.h: libmisc/dumpbuf/dumpbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    382         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dumpbuf.h
    383 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dumpbuf.h
    384 
    385 $(PROJECT_INCLUDE)/rtems/monitor.h: libmisc/monitor/monitor.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    386         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/monitor.h
    387 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/monitor.h
    388 
    389 $(PROJECT_INCLUDE)/rtems/mw_fb.h: libmisc/mw-fb/mw_fb.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    390         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_fb.h
    391 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_fb.h
    392 
    393 $(PROJECT_INCLUDE)/rtems/mw_uid.h: libmisc/mw-fb/mw_uid.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    394         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_uid.h
    395 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_uid.h
    396 
    397 if LIBSHELL
    398 $(PROJECT_INCLUDE)/rtems/shell.h: libmisc/shell/shell.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    399         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/shell.h
    400 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/shell.h
    401 endif
    402 
    403 $(PROJECT_INCLUDE)/rtems/rtmonuse.h: libmisc/rtmonuse/rtmonuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    404         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtmonuse.h
    405 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtmonuse.h
    406 
    407 if LIBSERDBG
    408 $(PROJECT_INCLUDE)/rtems/serdbgcnf.h: libmisc/serdbg/serdbgcnf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    409         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serdbgcnf.h
    410 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serdbgcnf.h
    411 
    412 $(PROJECT_INCLUDE)/rtems/serdbg.h: libmisc/serdbg/serdbg.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    413         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serdbg.h
    414 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serdbg.h
    415 
    416 $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h: libmisc/serdbg/termios_printk_cnf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    417         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h
    418 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h
    419 
    420 $(PROJECT_INCLUDE)/rtems/termios_printk.h: libmisc/serdbg/termios_printk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    421         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termios_printk.h
    422 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termios_printk.h
    423 endif
    424 
    425 $(PROJECT_INCLUDE)/rtems/stackchk.h: libmisc/stackchk/stackchk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    426         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stackchk.h
    427 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stackchk.h
    428 
    429 $(PROJECT_INCLUDE)/rtems/untar.h: libmisc/untar/untar.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    430         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/untar.h
    431 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/untar.h
    432 
    433 $(PROJECT_INCLUDE)/rtems/fsmount.h: libmisc/fsmount/fsmount.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    434         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fsmount.h
    435 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fsmount.h
    436 
    437 CLEANFILES += $(PREINSTALL_FILES)
    438 DISTCLEANFILES = $(PREINSTALL_DIRS)
     146include $(srcdir)/preinstall.am
    439147
    440148include $(top_srcdir)/automake/subdirs.am
  • cpukit/itron/Makefile.am

    rea3ad14 r6265b83  
    88EXTRA_DIST =
    99CLEANFILES =
     10DISTCLEANFILES =
    1011
    1112if HAS_ITRON
     
    109110libitron_a_SOURCES = $(C_FILES)
    110111libitron_a_CPPFLAGS = $(AM_CPPFLAGS)
    111 
    112 all-local: $(PREINSTALL_FILES)
    113112endif
    114113
     
    119118EXTRA_DIST += $(UNUSED_C_FILES) src/TODO
    120119
    121 PREINSTALL_DIRS =
    122 PREINSTALL_FILES =
     120## PREINSTALLATION STUFF - Do not edit below
    123121
    124 if HAS_ITRON
    125 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    126         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    127         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    128 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     122all-local: $(PREINSTALL_FILES)
    129123
    130 $(PROJECT_INCLUDE)/rtems/itron.h: include/itron.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    131         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron.h
    132 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron.h
    133 
    134 $(PROJECT_INCLUDE)/itronsys/$(dirstamp):
    135         @$(mkdir_p) $(PROJECT_INCLUDE)/itronsys
    136         @: > $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    137 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    138 
    139 $(PROJECT_INCLUDE)/itronsys/eventflags.h: include/itronsys/eventflags.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    140         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/eventflags.h
    141 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/eventflags.h
    142 
    143 $(PROJECT_INCLUDE)/itronsys/fmempool.h: include/itronsys/fmempool.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    144         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/fmempool.h
    145 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/fmempool.h
    146 
    147 $(PROJECT_INCLUDE)/itronsys/intr.h: include/itronsys/intr.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    148         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/intr.h
    149 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/intr.h
    150 
    151 $(PROJECT_INCLUDE)/itronsys/mbox.h: include/itronsys/mbox.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    152         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/mbox.h
    153 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/mbox.h
    154 
    155 $(PROJECT_INCLUDE)/itronsys/msgbuffer.h: include/itronsys/msgbuffer.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    156         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/msgbuffer.h
    157 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/msgbuffer.h
    158 
    159 $(PROJECT_INCLUDE)/itronsys/network.h: include/itronsys/network.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    160         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/network.h
    161 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/network.h
    162 
    163 $(PROJECT_INCLUDE)/itronsys/port.h: include/itronsys/port.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    164         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/port.h
    165 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/port.h
    166 
    167 $(PROJECT_INCLUDE)/itronsys/semaphore.h: include/itronsys/semaphore.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    168         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/semaphore.h
    169 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/semaphore.h
    170 
    171 $(PROJECT_INCLUDE)/itronsys/status.h: include/itronsys/status.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    172         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/status.h
    173 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/status.h
    174 
    175 $(PROJECT_INCLUDE)/itronsys/sysmgmt.h: include/itronsys/sysmgmt.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    176         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/sysmgmt.h
    177 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/sysmgmt.h
    178 
    179 $(PROJECT_INCLUDE)/itronsys/task.h: include/itronsys/task.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    180         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/task.h
    181 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/task.h
    182 
    183 $(PROJECT_INCLUDE)/itronsys/time.h: include/itronsys/time.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    184         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/time.h
    185 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/time.h
    186 
    187 $(PROJECT_INCLUDE)/itronsys/types.h: include/itronsys/types.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    188         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/types.h
    189 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/types.h
    190 
    191 $(PROJECT_INCLUDE)/itronsys/vmempool.h: include/itronsys/vmempool.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
    192         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/vmempool.h
    193 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/vmempool.h
    194 
    195 $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp):
    196         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/itron
    197         @: > $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    198 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    199 
    200 $(PROJECT_INCLUDE)/rtems/itron/config.h: include/rtems/itron/config.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    201         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/config.h
    202 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/config.h
    203 
    204 $(PROJECT_INCLUDE)/rtems/itron/eventflags.h: include/rtems/itron/eventflags.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    205         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.h
    206 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.h
    207 
    208 $(PROJECT_INCLUDE)/rtems/itron/fmempool.h: include/rtems/itron/fmempool.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    209         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.h
    210 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.h
    211 
    212 $(PROJECT_INCLUDE)/rtems/itron/intr.h: include/rtems/itron/intr.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    213         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.h
    214 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.h
    215 
    216 $(PROJECT_INCLUDE)/rtems/itron/itronapi.h: include/rtems/itron/itronapi.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    217         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/itronapi.h
    218 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/itronapi.h
    219 
    220 $(PROJECT_INCLUDE)/rtems/itron/mbox.h: include/rtems/itron/mbox.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    221         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.h
    222 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.h
    223 
    224 $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h: include/rtems/itron/msgbuffer.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    225         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h
    226 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h
    227 
    228 $(PROJECT_INCLUDE)/rtems/itron/network.h: include/rtems/itron/network.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    229         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.h
    230 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.h
    231 
    232 $(PROJECT_INCLUDE)/rtems/itron/object.h: include/rtems/itron/object.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    233         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/object.h
    234 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/object.h
    235 
    236 $(PROJECT_INCLUDE)/rtems/itron/port.h: include/rtems/itron/port.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    237         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.h
    238 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.h
    239 
    240 $(PROJECT_INCLUDE)/rtems/itron/semaphore.h: include/rtems/itron/semaphore.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    241         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.h
    242 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.h
    243 
    244 $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h: include/rtems/itron/sysmgmt.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    245         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h
    246 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h
    247 
    248 $(PROJECT_INCLUDE)/rtems/itron/task.h: include/rtems/itron/task.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    249         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.h
    250 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.h
    251 
    252 $(PROJECT_INCLUDE)/rtems/itron/time.h: include/rtems/itron/time.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    253         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.h
    254 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.h
    255 
    256 $(PROJECT_INCLUDE)/rtems/itron/vmempool.h: include/rtems/itron/vmempool.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    257         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.h
    258 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.h
    259 
    260 if INLINE
    261 $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: inline/rtems/itron/eventflags.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    262         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    263 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    264 
    265 $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: inline/rtems/itron/fmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    266         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    267 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    268 
    269 $(PROJECT_INCLUDE)/rtems/itron/intr.inl: inline/rtems/itron/intr.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    270         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    271 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    272 
    273 $(PROJECT_INCLUDE)/rtems/itron/mbox.inl: inline/rtems/itron/mbox.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    274         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    275 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    276 
    277 $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: inline/rtems/itron/msgbuffer.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    278         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    279 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    280 
    281 $(PROJECT_INCLUDE)/rtems/itron/network.inl: inline/rtems/itron/network.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    282         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.inl
    283 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.inl
    284 
    285 $(PROJECT_INCLUDE)/rtems/itron/port.inl: inline/rtems/itron/port.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    286         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.inl
    287 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.inl
    288 
    289 $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: inline/rtems/itron/semaphore.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    290         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    291 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    292 
    293 $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: inline/rtems/itron/sysmgmt.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    294         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    295 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    296 
    297 $(PROJECT_INCLUDE)/rtems/itron/task.inl: inline/rtems/itron/task.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    298         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.inl
    299 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.inl
    300 
    301 $(PROJECT_INCLUDE)/rtems/itron/time.inl: inline/rtems/itron/time.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    302         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.inl
    303 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.inl
    304 
    305 $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: inline/rtems/itron/vmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    306         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    307 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    308 
    309 else
    310 $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: macros/rtems/itron/eventflags.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    311         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    312 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    313 
    314 $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: macros/rtems/itron/fmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    315         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    316 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    317 
    318 $(PROJECT_INCLUDE)/rtems/itron/intr.inl: macros/rtems/itron/intr.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    319         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    320 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    321 
    322 $(PROJECT_INCLUDE)/rtems/itron/mbox.inl: macros/rtems/itron/mbox.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    323         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    324 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    325 
    326 $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: macros/rtems/itron/msgbuffer.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    327         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    328 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    329 
    330 $(PROJECT_INCLUDE)/rtems/itron/network.inl: macros/rtems/itron/network.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    331         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.inl
    332 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.inl
    333 
    334 $(PROJECT_INCLUDE)/rtems/itron/port.inl: macros/rtems/itron/port.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    335         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.inl
    336 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.inl
    337 
    338 $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: macros/rtems/itron/semaphore.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    339         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    340 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    341 
    342 $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: macros/rtems/itron/sysmgmt.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    343         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    344 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    345 
    346 $(PROJECT_INCLUDE)/rtems/itron/task.inl: macros/rtems/itron/task.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    347         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.inl
    348 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.inl
    349 
    350 $(PROJECT_INCLUDE)/rtems/itron/time.inl: macros/rtems/itron/time.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    351         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.inl
    352 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.inl
    353 
    354 $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: macros/rtems/itron/vmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
    355         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    356 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    357 endif
    358 endif
    359 
    360 CLEANFILES += $(PREINSTALL_FILES)
    361 DISTCLEANFILES = $(PREINSTALL_DIRS)
     124include $(srcdir)/preinstall.am
    362125
    363126include $(top_srcdir)/automake/local.am
  • cpukit/libcsupport/Makefile.am

    rea3ad14 r6265b83  
    55include $(top_srcdir)/automake/multilib.am
    66include $(top_srcdir)/automake/compile.am
     7
     8CLEANFILES =
     9DISTCLEANFILES =
    710
    811noinst_LIBRARIES = libcsupport.a
     
    9497EXTRA_DIST = src/TODO src/CASES src/README
    9598
    96 DISTCLEANFILES =
     99## PREINSTALLATION STUFF - Do not edit below
    97100
    98 libcsupport/include/sys/$(dirstamp):
    99         @$(mkdir_p) libcsupport/include/sys
    100         @: > libcsupport/include/sys/$(dirstamp)
     101all-local: $(PREINSTALL_FILES)
    101102
    102 if NEWLIB
    103 libcsupport/include/sys/ioccom.h: include/sys/ioccom.h libcsupport/include/sys/$(dirstamp)
    104         $(INSTALL_DATA) $< libcsupport/include/sys/ioccom.h
    105 
    106 libcsupport/include/sys/filio.h: include/sys/filio.h libcsupport/include/sys/$(dirstamp)
    107         $(INSTALL_DATA) $< libcsupport/include/sys/filio.h
    108 
    109 libcsupport/include/sys/ioctl.h: include/sys/ioctl.h libcsupport/include/sys/$(dirstamp)
    110         $(INSTALL_DATA) $< libcsupport/include/sys/ioctl.h
    111 
    112 libcsupport/include/sys/sockio.h: include/sys/sockio.h libcsupport/include/sys/$(dirstamp)
    113         $(INSTALL_DATA) $< libcsupport/include/sys/sockio.h
    114 
    115 libcsupport/include/sys/ttycom.h: include/sys/ttycom.h libcsupport/include/sys/$(dirstamp)
    116         $(INSTALL_DATA) $< libcsupport/include/sys/ttycom.h
    117 
    118 libcsupport/include/sys/termios.h: include/sys/termios.h libcsupport/include/sys/$(dirstamp)
    119         $(INSTALL_DATA) $< libcsupport/include/sys/termios.h
    120 
    121 libcsupport/include/sys/utsname.h: include/sys/utsname.h libcsupport/include/sys/$(dirstamp)
    122         $(INSTALL_DATA) $< libcsupport/include/sys/utsname.h
    123 
    124 libcsupport/include/sys/cdefs.h: include/sys/cdefs.h libcsupport/include/sys/$(dirstamp)
    125         $(INSTALL_DATA) $< libcsupport/include/sys/cdefs.h
    126 endif
    127 
    128 PREINSTALL_DIRS =
    129 PREINSTALL_FILES =
    130 
    131 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    132         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    133         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    134 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    135 
    136 $(PROJECT_INCLUDE)/rtems/chain.h: include/chain.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    137         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/chain.h
    138 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/chain.h
    139 
    140 $(PROJECT_INCLUDE)/rtems/console.h: include/console.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    141         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/console.h
    142 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/console.h
    143 
    144 $(PROJECT_INCLUDE)/rtems/clockdrv.h: include/clockdrv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    145         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/clockdrv.h
    146 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/clockdrv.h
    147 
    148 $(PROJECT_INCLUDE)/rtems/iosupp.h: include/iosupp.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    149         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/iosupp.h
    150 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/iosupp.h
    151 
    152 $(PROJECT_INCLUDE)/rtems/ringbuf.h: include/ringbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    153         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ringbuf.h
    154 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ringbuf.h
    155 
    156 $(PROJECT_INCLUDE)/rtems/rtc.h: include/rtc.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    157         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtc.h
    158 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtc.h
    159 
    160 $(PROJECT_INCLUDE)/rtems/spurious.h: include/spurious.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    161         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/spurious.h
    162 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/spurious.h
    163 
    164 $(PROJECT_INCLUDE)/rtems/timerdrv.h: include/timerdrv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    165         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/timerdrv.h
    166 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/timerdrv.h
    167 
    168 $(PROJECT_INCLUDE)/rtems/vmeintr.h: include/vmeintr.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    169         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/vmeintr.h
    170 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/vmeintr.h
    171 
    172 $(PROJECT_INCLUDE)/rtems/motorola/$(dirstamp):
    173         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/motorola
    174         @: > $(PROJECT_INCLUDE)/rtems/motorola/$(dirstamp)
    175 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/motorola/$(dirstamp)
    176 
    177 $(PROJECT_INCLUDE)/rtems/motorola/mc68230.h: include/motorola/mc68230.h $(PROJECT_INCLUDE)/rtems/motorola/$(dirstamp)
    178         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/motorola/mc68230.h
    179 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/motorola/mc68230.h
    180 
    181 $(PROJECT_INCLUDE)/rtems/motorola/mc68681.h: include/motorola/mc68681.h $(PROJECT_INCLUDE)/rtems/motorola/$(dirstamp)
    182         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/motorola/mc68681.h
    183 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/motorola/mc68681.h
    184 
    185 $(PROJECT_INCLUDE)/rtems/assoc.h: include/rtems/assoc.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    186         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/assoc.h
    187 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/assoc.h
    188 
    189 $(PROJECT_INCLUDE)/rtems/error.h: include/rtems/error.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    190         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/error.h
    191 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/error.h
    192 
    193 $(PROJECT_INCLUDE)/rtems/libcsupport.h: include/rtems/libcsupport.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    194         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/libcsupport.h
    195 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libcsupport.h
    196 
    197 $(PROJECT_INCLUDE)/rtems/libio.h: include/rtems/libio.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    198         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/libio.h
    199 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libio.h
    200 
    201 $(PROJECT_INCLUDE)/rtems/libio_.h: include/rtems/libio_.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    202         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/libio_.h
    203 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libio_.h
    204 
    205 $(PROJECT_INCLUDE)/rtems/termiostypes.h: include/rtems/termiostypes.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    206         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termiostypes.h
    207 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termiostypes.h
    208 
    209 $(PROJECT_INCLUDE)/rtems/cdefs.h: include/rtems/cdefs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    210         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/cdefs.h
    211 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/cdefs.h
    212 
    213 $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp):
    214         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/zilog
    215         @: > $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp)
    216 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp)
    217 
    218 $(PROJECT_INCLUDE)/rtems/zilog/z8036.h: include/zilog/z8036.h $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp)
    219         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/zilog/z8036.h
    220 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/zilog/z8036.h
    221 
    222 $(PROJECT_INCLUDE)/rtems/zilog/z8530.h: include/zilog/z8530.h $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp)
    223         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/zilog/z8530.h
    224 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/zilog/z8530.h
    225 
    226 $(PROJECT_INCLUDE)/rtems/zilog/z8536.h: include/zilog/z8536.h $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp)
    227         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/zilog/z8536.h
    228 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/zilog/z8536.h
    229 
    230 CLEANFILES = $(PREINSTALL_FILES)
    231 DISTCLEANFILES += $(PREINSTALL_DIRS)
     103include $(srcdir)/preinstall.am
    232104
    233105include $(top_srcdir)/automake/local.am
  • cpukit/posix/Makefile.am

    rea3ad14 r6265b83  
    88EXTRA_DIST =
    99CLEANFILES =
     10DISTCLEANFILES =
    1011
    1112if HAS_POSIX
     
    153154libposix_a_SOURCES = $(C_FILES)
    154155libposix_a_CPPFLAGS = $(AM_CPPFLAGS)
    155 
    156 all-local: $(PREINSTALL_FILES)
    157156endif
    158157
     
    168167EXTRA_DIST += $(C_FILES) $(UNUSED_C_FILES)
    169168
    170 PREINSTALL_DIRS =
    171 PREINSTALL_FILES =
     169all-local: $(PREINSTALL_FILES)
    172170
    173 $(PROJECT_INCLUDE)/$(dirstamp):
    174         @$(mkdir_p) $(PROJECT_INCLUDE)
    175         @: > $(PROJECT_INCLUDE)/$(dirstamp)
    176 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
    177 
    178 if HAS_POSIX
    179 $(PROJECT_INCLUDE)/sched.h: include/sched.h $(PROJECT_INCLUDE)/$(dirstamp)
    180         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sched.h
    181 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sched.h
    182 
    183 $(PROJECT_INCLUDE)/aio.h: include/aio.h $(PROJECT_INCLUDE)/$(dirstamp)
    184         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/aio.h
    185 PREINSTALL_FILES += $(PROJECT_INCLUDE)/aio.h
    186 
    187 $(PROJECT_INCLUDE)/mqueue.h: include/mqueue.h $(PROJECT_INCLUDE)/$(dirstamp)
    188         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mqueue.h
    189 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mqueue.h
    190 
    191 $(PROJECT_INCLUDE)/semaphore.h: include/semaphore.h $(PROJECT_INCLUDE)/$(dirstamp)
    192         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/semaphore.h
    193 PREINSTALL_FILES += $(PROJECT_INCLUDE)/semaphore.h
    194 
    195 $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp):
    196         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/posix
    197         @: > $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    198 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    199 
    200 $(PROJECT_INCLUDE)/rtems/posix/cancel.h: include/rtems/posix/cancel.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    201         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cancel.h
    202 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cancel.h
    203 
    204 $(PROJECT_INCLUDE)/rtems/posix/cond.h: include/rtems/posix/cond.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    205         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cond.h
    206 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.h
    207 
    208 $(PROJECT_INCLUDE)/rtems/posix/config.h: include/rtems/posix/config.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    209         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/config.h
    210 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/config.h
    211 
    212 $(PROJECT_INCLUDE)/rtems/posix/key.h: include/rtems/posix/key.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    213         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/key.h
    214 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.h
    215 
    216 $(PROJECT_INCLUDE)/rtems/posix/mqueue.h: include/rtems/posix/mqueue.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    217         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueue.h
    218 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.h
    219 
    220 $(PROJECT_INCLUDE)/rtems/posix/mutex.h: include/rtems/posix/mutex.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    221         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutex.h
    222 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.h
    223 
    224 $(PROJECT_INCLUDE)/rtems/posix/posixapi.h: include/rtems/posix/posixapi.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    225         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/posixapi.h
    226 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/posixapi.h
    227 
    228 $(PROJECT_INCLUDE)/rtems/posix/priority.h: include/rtems/posix/priority.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    229         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.h
    230 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.h
    231 
    232 $(PROJECT_INCLUDE)/rtems/posix/psignal.h: include/rtems/posix/psignal.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    233         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/psignal.h
    234 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/psignal.h
    235 
    236 $(PROJECT_INCLUDE)/rtems/posix/pthread.h: include/rtems/posix/pthread.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    237         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.h
    238 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.h
    239 
    240 $(PROJECT_INCLUDE)/rtems/posix/ptimer.h: include/rtems/posix/ptimer.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    241         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/ptimer.h
    242 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/ptimer.h
    243 
    244 $(PROJECT_INCLUDE)/rtems/posix/semaphore.h: include/rtems/posix/semaphore.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    245         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphore.h
    246 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.h
    247 
    248 $(PROJECT_INCLUDE)/rtems/posix/threadsup.h: include/rtems/posix/threadsup.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    249         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
    250 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
    251 
    252 $(PROJECT_INCLUDE)/rtems/posix/time.h: include/rtems/posix/time.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    253         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/time.h
    254 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/time.h
    255 
    256 $(PROJECT_INCLUDE)/rtems/posix/timer.h: include/rtems/posix/timer.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    257         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.h
    258 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.h
    259 
    260 if HAS_MP
    261 $(PROJECT_INCLUDE)/rtems/posix/condmp.h: include/rtems/posix/condmp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    262         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/condmp.h
    263 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/condmp.h
    264 
    265 $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h: include/rtems/posix/mqueuemp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    266         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h
    267 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h
    268 
    269 $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h: include/rtems/posix/mutexmp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    270         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h
    271 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h
    272 
    273 $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h: include/rtems/posix/pthreadmp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    274         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h
    275 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h
    276 
    277 $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h: include/rtems/posix/semaphoremp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    278         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h
    279 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h
    280 endif
    281 
    282 if INLINE
    283 $(PROJECT_INCLUDE)/rtems/posix/cond.inl: inline/rtems/posix/cond.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    284         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    285 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    286 
    287 $(PROJECT_INCLUDE)/rtems/posix/key.inl: inline/rtems/posix/key.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    288         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/key.inl
    289 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.inl
    290 
    291 $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: inline/rtems/posix/mqueue.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    292         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    293 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    294 
    295 $(PROJECT_INCLUDE)/rtems/posix/mutex.inl: inline/rtems/posix/mutex.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    296         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    297 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    298 
    299 $(PROJECT_INCLUDE)/rtems/posix/pthread.inl: inline/rtems/posix/pthread.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    300         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    301 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    302 
    303 $(PROJECT_INCLUDE)/rtems/posix/priority.inl: inline/rtems/posix/priority.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    304         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    305 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    306 
    307 $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: inline/rtems/posix/semaphore.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    308         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    309 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    310 
    311 $(PROJECT_INCLUDE)/rtems/posix/timer.inl: inline/rtems/posix/timer.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    312         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    313 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    314 
    315 else
    316 $(PROJECT_INCLUDE)/rtems/posix/cond.inl: macros/rtems/posix/cond.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    317         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    318 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    319 
    320 $(PROJECT_INCLUDE)/rtems/posix/key.inl: macros/rtems/posix/key.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    321         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/key.inl
    322 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.inl
    323 
    324 $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: macros/rtems/posix/mqueue.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    325         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    326 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    327 
    328 $(PROJECT_INCLUDE)/rtems/posix/mutex.inl: macros/rtems/posix/mutex.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    329         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    330 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    331 
    332 $(PROJECT_INCLUDE)/rtems/posix/pthread.inl: macros/rtems/posix/pthread.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    333         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    334 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    335 
    336 $(PROJECT_INCLUDE)/rtems/posix/priority.inl: macros/rtems/posix/priority.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    337         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    338 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    339 
    340 $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: macros/rtems/posix/semaphore.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    341         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    342 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    343 
    344 $(PROJECT_INCLUDE)/rtems/posix/timer.inl: macros/rtems/posix/timer.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    345         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    346 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    347 endif
    348 endif
    349 
    350 CLEANFILES += $(PREINSTALL_FILES)
    351 DISTCLEANFILES = $(PREINSTALL_DIRS)
     171include $(srcdir)/preinstall.am
    352172
    353173include $(top_srcdir)/automake/local.am
  • cpukit/rtems/Makefile.am

    rea3ad14 r6265b83  
    55include $(top_srcdir)/automake/multilib.am
    66include $(top_srcdir)/automake/compile.am
     7
     8CLEANFILES =
     9DISTCLEANFILES =
    710
    811AM_CPPFLAGS += -D__RTEMS_INSIDE__
     
    126129all-local: $(PREINSTALL_FILES)
    127130
    128 PREINSTALL_DIRS =
    129 PREINSTALL_FILES =
    130 
    131 $(PROJECT_INCLUDE)/$(dirstamp):
    132         @$(mkdir_p) $(PROJECT_INCLUDE)
    133         @: > $(PROJECT_INCLUDE)/$(dirstamp)
    134 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
    135 
    136 $(PROJECT_INCLUDE)/rtems.h: include/rtems.h $(PROJECT_INCLUDE)/$(dirstamp)
    137         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems.h
    138 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems.h
    139 
    140 $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp):
    141         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/rtems
    142         @: > $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    143 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    144 
    145 $(PROJECT_INCLUDE)/rtems/rtems/asr.h: include/rtems/rtems/asr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    146         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/asr.h
    147 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.h
    148 
    149 $(PROJECT_INCLUDE)/rtems/rtems/attr.h: include/rtems/rtems/attr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    150         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/attr.h
    151 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.h
    152 
    153 $(PROJECT_INCLUDE)/rtems/rtems/cache.h: include/rtems/rtems/cache.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    154         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/cache.h
    155 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/cache.h
    156 
    157 $(PROJECT_INCLUDE)/rtems/rtems/clock.h: include/rtems/rtems/clock.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    158         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/clock.h
    159 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/clock.h
    160 
    161 $(PROJECT_INCLUDE)/rtems/rtems/config.h: include/rtems/rtems/config.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    162         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/config.h
    163 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/config.h
    164 
    165 $(PROJECT_INCLUDE)/rtems/rtems/dpmem.h: include/rtems/rtems/dpmem.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    166         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/dpmem.h
    167 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.h
    168 
    169 $(PROJECT_INCLUDE)/rtems/rtems/event.h: include/rtems/rtems/event.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    170         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/event.h
    171 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.h
    172 
    173 $(PROJECT_INCLUDE)/rtems/rtems/eventset.h: include/rtems/rtems/eventset.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    174         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventset.h
    175 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.h
    176 
    177 $(PROJECT_INCLUDE)/rtems/rtems/intr.h: include/rtems/rtems/intr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    178         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/intr.h
    179 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/intr.h
    180 
    181 $(PROJECT_INCLUDE)/rtems/rtems/message.h: include/rtems/rtems/message.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    182         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/message.h
    183 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.h
    184 
    185 $(PROJECT_INCLUDE)/rtems/rtems/modes.h: include/rtems/rtems/modes.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    186         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/modes.h
    187 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.h
    188 
    189 $(PROJECT_INCLUDE)/rtems/rtems/options.h: include/rtems/rtems/options.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    190         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/options.h
    191 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.h
    192 
    193 $(PROJECT_INCLUDE)/rtems/rtems/part.h: include/rtems/rtems/part.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    194         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/part.h
    195 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.h
    196 
    197 $(PROJECT_INCLUDE)/rtems/rtems/ratemon.h: include/rtems/rtems/ratemon.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    198         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/ratemon.h
    199 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.h
    200 
    201 $(PROJECT_INCLUDE)/rtems/rtems/region.h: include/rtems/rtems/region.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    202         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/region.h
    203 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.h
    204 
    205 $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h: include/rtems/rtems/rtemsapi.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    206         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h
    207 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h
    208 
    209 $(PROJECT_INCLUDE)/rtems/rtems/sem.h: include/rtems/rtems/sem.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    210         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.h
    211 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.h
    212 
    213 $(PROJECT_INCLUDE)/rtems/rtems/signal.h: include/rtems/rtems/signal.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    214         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/signal.h
    215 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/signal.h
    216 
    217 $(PROJECT_INCLUDE)/rtems/rtems/status.h: include/rtems/rtems/status.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    218         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/status.h
    219 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.h
    220 
    221 $(PROJECT_INCLUDE)/rtems/rtems/support.h: include/rtems/rtems/support.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    222         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/support.h
    223 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.h
    224 
    225 $(PROJECT_INCLUDE)/rtems/rtems/tasks.h: include/rtems/rtems/tasks.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    226         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/tasks.h
    227 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.h
    228 
    229 $(PROJECT_INCLUDE)/rtems/rtems/timer.h: include/rtems/rtems/timer.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    230         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/timer.h
    231 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.h
    232 
    233 $(PROJECT_INCLUDE)/rtems/rtems/types.h: include/rtems/rtems/types.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    234         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/types.h
    235 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/types.h
    236 
    237 if HAS_MP
    238 $(PROJECT_INCLUDE)/rtems/rtems/eventmp.h: include/rtems/rtems/eventmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    239         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventmp.h
    240 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventmp.h
    241 
    242 $(PROJECT_INCLUDE)/rtems/rtems/mp.h: include/rtems/rtems/mp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    243         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/mp.h
    244 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/mp.h
    245 
    246 $(PROJECT_INCLUDE)/rtems/rtems/msgmp.h: include/rtems/rtems/msgmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    247         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/msgmp.h
    248 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/msgmp.h
    249 
    250 $(PROJECT_INCLUDE)/rtems/rtems/partmp.h: include/rtems/rtems/partmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    251         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/partmp.h
    252 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/partmp.h
    253 
    254 $(PROJECT_INCLUDE)/rtems/rtems/regionmp.h: include/rtems/rtems/regionmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    255         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/regionmp.h
    256 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/regionmp.h
    257 
    258 $(PROJECT_INCLUDE)/rtems/rtems/semmp.h: include/rtems/rtems/semmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    259         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/semmp.h
    260 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/semmp.h
    261 
    262 $(PROJECT_INCLUDE)/rtems/rtems/signalmp.h: include/rtems/rtems/signalmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    263         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/signalmp.h
    264 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/signalmp.h
    265 
    266 $(PROJECT_INCLUDE)/rtems/rtems/taskmp.h: include/rtems/rtems/taskmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    267         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/taskmp.h
    268 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/taskmp.h
    269 endif
    270 
    271 if INLINE
    272 $(PROJECT_INCLUDE)/rtems/rtems/asr.inl: inline/rtems/rtems/asr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    273         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    274 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    275 
    276 $(PROJECT_INCLUDE)/rtems/rtems/attr.inl: inline/rtems/rtems/attr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    277         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    278 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    279 
    280 $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl: inline/rtems/rtems/dpmem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    281         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    282 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    283 
    284 $(PROJECT_INCLUDE)/rtems/rtems/event.inl: inline/rtems/rtems/event.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    285         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    286 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    287 
    288 $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl: inline/rtems/rtems/eventset.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    289         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    290 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    291 
    292 $(PROJECT_INCLUDE)/rtems/rtems/message.inl: inline/rtems/rtems/message.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    293         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    294 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    295 
    296 $(PROJECT_INCLUDE)/rtems/rtems/modes.inl: inline/rtems/rtems/modes.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    297         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    298 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    299 
    300 $(PROJECT_INCLUDE)/rtems/rtems/options.inl: inline/rtems/rtems/options.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    301         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    302 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    303 
    304 $(PROJECT_INCLUDE)/rtems/rtems/part.inl: inline/rtems/rtems/part.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    305         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    306 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    307 
    308 $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl: inline/rtems/rtems/ratemon.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    309         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    310 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    311 
    312 $(PROJECT_INCLUDE)/rtems/rtems/region.inl: inline/rtems/rtems/region.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    313         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    314 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    315 
    316 $(PROJECT_INCLUDE)/rtems/rtems/sem.inl: inline/rtems/rtems/sem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    317         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    318 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    319 
    320 $(PROJECT_INCLUDE)/rtems/rtems/status.inl: inline/rtems/rtems/status.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    321         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    322 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    323 
    324 $(PROJECT_INCLUDE)/rtems/rtems/support.inl: inline/rtems/rtems/support.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    325         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    326 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    327 
    328 $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl: inline/rtems/rtems/tasks.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    329         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    330 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    331 
    332 $(PROJECT_INCLUDE)/rtems/rtems/timer.inl: inline/rtems/rtems/timer.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    333         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    334 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    335 
    336 else
    337 $(PROJECT_INCLUDE)/rtems/rtems/asr.inl: macros/rtems/rtems/asr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    338         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    339 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    340 
    341 $(PROJECT_INCLUDE)/rtems/rtems/attr.inl: macros/rtems/rtems/attr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    342         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    343 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    344 
    345 $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl: macros/rtems/rtems/dpmem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    346         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    347 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    348 
    349 $(PROJECT_INCLUDE)/rtems/rtems/event.inl: macros/rtems/rtems/event.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    350         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    351 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    352 
    353 $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl: macros/rtems/rtems/eventset.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    354         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    355 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    356 
    357 $(PROJECT_INCLUDE)/rtems/rtems/message.inl: macros/rtems/rtems/message.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    358         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    359 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    360 
    361 $(PROJECT_INCLUDE)/rtems/rtems/modes.inl: macros/rtems/rtems/modes.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    362         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    363 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    364 
    365 $(PROJECT_INCLUDE)/rtems/rtems/options.inl: macros/rtems/rtems/options.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    366         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    367 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    368 
    369 $(PROJECT_INCLUDE)/rtems/rtems/part.inl: macros/rtems/rtems/part.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    370         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    371 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    372 
    373 $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl: macros/rtems/rtems/ratemon.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    374         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    375 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    376 
    377 $(PROJECT_INCLUDE)/rtems/rtems/region.inl: macros/rtems/rtems/region.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    378         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    379 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    380 
    381 $(PROJECT_INCLUDE)/rtems/rtems/sem.inl: macros/rtems/rtems/sem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    382         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    383 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    384 
    385 $(PROJECT_INCLUDE)/rtems/rtems/status.inl: macros/rtems/rtems/status.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    386         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    387 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    388 
    389 $(PROJECT_INCLUDE)/rtems/rtems/support.inl: macros/rtems/rtems/support.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    390         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    391 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    392 
    393 $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl: macros/rtems/rtems/tasks.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    394         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    395 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    396 
    397 $(PROJECT_INCLUDE)/rtems/rtems/timer.inl: macros/rtems/rtems/timer.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    398         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    399 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    400 endif
    401 
    402 CLEANFILES = $(PREINSTALL_FILES)
    403 DISTCLEANFILES = $(PREINSTALL_DIRS)
     131include $(srcdir)/preinstall.am
    404132
    405133include $(top_srcdir)/automake/local.am
  • 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
  • cpukit/score/Makefile.am

    rea3ad14 r6265b83  
    55include $(top_srcdir)/automake/multilib.am
    66include $(top_srcdir)/automake/compile.am
     7
     8CLEANFILES =
     9DISTCLEANFILES =
    710
    811SUBDIRS = . cpu
     
    155158all-local: $(PREINSTALL_FILES)
    156159
    157 DISTCLEANFILES = include/rtems/score/cpuopts.h
     160DISTCLEANFILES += include/rtems/score/cpuopts.h
    158161
    159 PREINSTALL_DIRS =
    160 PREINSTALL_FILES =
     162all-local: $(PREINSTALL_FILES)
    161163
    162 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    163         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    164         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    165 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    166 
    167 $(PROJECT_INCLUDE)/rtems/debug.h: include/rtems/debug.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    168         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/debug.h
    169 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/debug.h
    170 
    171 $(PROJECT_INCLUDE)/rtems/system.h: include/rtems/system.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    172         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/system.h
    173 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/system.h
    174 
    175 $(PROJECT_INCLUDE)/rtems/seterr.h: include/rtems/seterr.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    176         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/seterr.h
    177 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/seterr.h
    178 
    179 $(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
    180         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
    181         @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    182 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    183 
    184 $(PROJECT_INCLUDE)/rtems/score/address.h: include/rtems/score/address.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    185         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/address.h
    186 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/address.h
    187 
    188 $(PROJECT_INCLUDE)/rtems/score/apiext.h: include/rtems/score/apiext.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    189         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/apiext.h
    190 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/apiext.h
    191 
    192 $(PROJECT_INCLUDE)/rtems/score/apimutex.h: include/rtems/score/apimutex.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    193         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/apimutex.h
    194 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/apimutex.h
    195 
    196 $(PROJECT_INCLUDE)/rtems/score/bitfield.h: include/rtems/score/bitfield.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    197         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/bitfield.h
    198 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/bitfield.h
    199 
    200 $(PROJECT_INCLUDE)/rtems/score/chain.h: include/rtems/score/chain.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    201         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/chain.h
    202 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/chain.h
    203 
    204 $(PROJECT_INCLUDE)/rtems/score/context.h: include/rtems/score/context.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    205         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/context.h
    206 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/context.h
    207 
    208 $(PROJECT_INCLUDE)/rtems/score/copyrt.h: include/rtems/score/copyrt.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    209         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/copyrt.h
    210 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/copyrt.h
    211 
    212 $(PROJECT_INCLUDE)/rtems/score/coremsg.h: include/rtems/score/coremsg.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    213         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coremsg.h
    214 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coremsg.h
    215 
    216 $(PROJECT_INCLUDE)/rtems/score/coremutex.h: include/rtems/score/coremutex.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    217         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coremutex.h
    218 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coremutex.h
    219 
    220 $(PROJECT_INCLUDE)/rtems/score/coresem.h: include/rtems/score/coresem.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    221         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coresem.h
    222 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coresem.h
    223 
    224 $(PROJECT_INCLUDE)/rtems/score/heap.h: include/rtems/score/heap.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    225         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/heap.h
    226 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/heap.h
    227 
    228 $(PROJECT_INCLUDE)/rtems/score/interr.h: include/rtems/score/interr.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    229         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/interr.h
    230 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/interr.h
    231 
    232 $(PROJECT_INCLUDE)/rtems/score/isr.h: include/rtems/score/isr.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    233         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/isr.h
    234 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/isr.h
    235 
    236 $(PROJECT_INCLUDE)/rtems/score/object.h: include/rtems/score/object.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    237         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/object.h
    238 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/object.h
    239 
    240 $(PROJECT_INCLUDE)/rtems/score/priority.h: include/rtems/score/priority.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    241         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/priority.h
    242 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/priority.h
    243 
    244 $(PROJECT_INCLUDE)/rtems/score/stack.h: include/rtems/score/stack.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    245         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/stack.h
    246 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/stack.h
    247 
    248 $(PROJECT_INCLUDE)/rtems/score/states.h: include/rtems/score/states.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    249         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/states.h
    250 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/states.h
    251 
    252 $(PROJECT_INCLUDE)/rtems/score/sysstate.h: include/rtems/score/sysstate.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    253         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sysstate.h
    254 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sysstate.h
    255 
    256 $(PROJECT_INCLUDE)/rtems/score/thread.h: include/rtems/score/thread.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    257         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/thread.h
    258 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/thread.h
    259 
    260 $(PROJECT_INCLUDE)/rtems/score/threadq.h: include/rtems/score/threadq.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    261         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/threadq.h
    262 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/threadq.h
    263 
    264 $(PROJECT_INCLUDE)/rtems/score/tod.h: include/rtems/score/tod.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    265         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tod.h
    266 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tod.h
    267 
    268 $(PROJECT_INCLUDE)/rtems/score/tqdata.h: include/rtems/score/tqdata.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    269         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tqdata.h
    270 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tqdata.h
    271 
    272 $(PROJECT_INCLUDE)/rtems/score/userext.h: include/rtems/score/userext.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    273         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/userext.h
    274 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/userext.h
    275 
    276 $(PROJECT_INCLUDE)/rtems/score/watchdog.h: include/rtems/score/watchdog.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    277         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/watchdog.h
    278 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/watchdog.h
    279 
    280 $(PROJECT_INCLUDE)/rtems/score/wkspace.h: include/rtems/score/wkspace.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    281         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/wkspace.h
    282 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/wkspace.h
    283 
    284 $(PROJECT_INCLUDE)/rtems/score/cpuopts.h: include/rtems/score/cpuopts.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    285         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuopts.h
    286 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuopts.h
    287 
    288 if HAS_MP
    289 $(PROJECT_INCLUDE)/rtems/score/mpci.h: include/rtems/score/mpci.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    290         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mpci.h
    291 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mpci.h
    292 
    293 $(PROJECT_INCLUDE)/rtems/score/mppkt.h: include/rtems/score/mppkt.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    294         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mppkt.h
    295 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mppkt.h
    296 
    297 $(PROJECT_INCLUDE)/rtems/score/objectmp.h: include/rtems/score/objectmp.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    298         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/objectmp.h
    299 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/objectmp.h
    300 
    301 $(PROJECT_INCLUDE)/rtems/score/threadmp.h: include/rtems/score/threadmp.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    302         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/threadmp.h
    303 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/threadmp.h
    304 endif
    305 
    306 if INLINE
    307 $(PROJECT_INCLUDE)/rtems/score/address.inl: inline/rtems/score/address.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    308         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/address.inl
    309 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/address.inl
    310 
    311 $(PROJECT_INCLUDE)/rtems/score/chain.inl: inline/rtems/score/chain.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    312         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/chain.inl
    313 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/chain.inl
    314 
    315 $(PROJECT_INCLUDE)/rtems/score/coremsg.inl: inline/rtems/score/coremsg.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    316         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coremsg.inl
    317 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coremsg.inl
    318 
    319 $(PROJECT_INCLUDE)/rtems/score/coremutex.inl: inline/rtems/score/coremutex.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    320         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coremutex.inl
    321 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coremutex.inl
    322 
    323 $(PROJECT_INCLUDE)/rtems/score/coresem.inl: inline/rtems/score/coresem.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    324         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coresem.inl
    325 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coresem.inl
    326 
    327 $(PROJECT_INCLUDE)/rtems/score/heap.inl: inline/rtems/score/heap.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    328         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/heap.inl
    329 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/heap.inl
    330 
    331 $(PROJECT_INCLUDE)/rtems/score/isr.inl: inline/rtems/score/isr.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    332         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/isr.inl
    333 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/isr.inl
    334 
    335 $(PROJECT_INCLUDE)/rtems/score/object.inl: inline/rtems/score/object.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    336         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/object.inl
    337 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/object.inl
    338 
    339 $(PROJECT_INCLUDE)/rtems/score/priority.inl: inline/rtems/score/priority.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    340         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/priority.inl
    341 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/priority.inl
    342 
    343 $(PROJECT_INCLUDE)/rtems/score/stack.inl: inline/rtems/score/stack.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    344         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/stack.inl
    345 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/stack.inl
    346 
    347 $(PROJECT_INCLUDE)/rtems/score/states.inl: inline/rtems/score/states.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    348         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/states.inl
    349 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/states.inl
    350 
    351 $(PROJECT_INCLUDE)/rtems/score/sysstate.inl: inline/rtems/score/sysstate.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    352         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sysstate.inl
    353 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sysstate.inl
    354 
    355 $(PROJECT_INCLUDE)/rtems/score/thread.inl: inline/rtems/score/thread.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    356         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/thread.inl
    357 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/thread.inl
    358 
    359 $(PROJECT_INCLUDE)/rtems/score/tod.inl: inline/rtems/score/tod.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    360         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tod.inl
    361 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tod.inl
    362 
    363 $(PROJECT_INCLUDE)/rtems/score/tqdata.inl: inline/rtems/score/tqdata.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    364         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tqdata.inl
    365 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tqdata.inl
    366 
    367 $(PROJECT_INCLUDE)/rtems/score/userext.inl: inline/rtems/score/userext.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    368         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/userext.inl
    369 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/userext.inl
    370 
    371 $(PROJECT_INCLUDE)/rtems/score/watchdog.inl: inline/rtems/score/watchdog.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    372         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/watchdog.inl
    373 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/watchdog.inl
    374 
    375 $(PROJECT_INCLUDE)/rtems/score/wkspace.inl: inline/rtems/score/wkspace.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    376         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/wkspace.inl
    377 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/wkspace.inl
    378 
    379 if HAS_MP
    380 $(PROJECT_INCLUDE)/rtems/score/mppkt.inl: inline/rtems/score/mppkt.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    381         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mppkt.inl
    382 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mppkt.inl
    383 
    384 $(PROJECT_INCLUDE)/rtems/score/objectmp.inl: inline/rtems/score/objectmp.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    385         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/objectmp.inl
    386 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/objectmp.inl
    387 
    388 $(PROJECT_INCLUDE)/rtems/score/threadmp.inl: inline/rtems/score/threadmp.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    389         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/threadmp.inl
    390 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/threadmp.inl
    391 endif
    392 
    393 else
    394 $(PROJECT_INCLUDE)/rtems/score/address.inl: macros/rtems/score/address.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    395         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/address.inl
    396 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/address.inl
    397 
    398 $(PROJECT_INCLUDE)/rtems/score/chain.inl: macros/rtems/score/chain.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    399         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/chain.inl
    400 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/chain.inl
    401 
    402 $(PROJECT_INCLUDE)/rtems/score/coremsg.inl: macros/rtems/score/coremsg.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    403         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coremsg.inl
    404 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coremsg.inl
    405 
    406 $(PROJECT_INCLUDE)/rtems/score/coremutex.inl: macros/rtems/score/coremutex.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    407         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coremutex.inl
    408 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coremutex.inl
    409 
    410 $(PROJECT_INCLUDE)/rtems/score/coresem.inl: macros/rtems/score/coresem.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    411         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/coresem.inl
    412 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/coresem.inl
    413 
    414 $(PROJECT_INCLUDE)/rtems/score/heap.inl: macros/rtems/score/heap.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    415         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/heap.inl
    416 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/heap.inl
    417 
    418 $(PROJECT_INCLUDE)/rtems/score/isr.inl: macros/rtems/score/isr.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    419         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/isr.inl
    420 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/isr.inl
    421 
    422 $(PROJECT_INCLUDE)/rtems/score/object.inl: macros/rtems/score/object.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    423         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/object.inl
    424 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/object.inl
    425 
    426 $(PROJECT_INCLUDE)/rtems/score/priority.inl: macros/rtems/score/priority.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    427         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/priority.inl
    428 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/priority.inl
    429 
    430 $(PROJECT_INCLUDE)/rtems/score/stack.inl: macros/rtems/score/stack.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    431         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/stack.inl
    432 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/stack.inl
    433 
    434 $(PROJECT_INCLUDE)/rtems/score/states.inl: macros/rtems/score/states.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    435         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/states.inl
    436 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/states.inl
    437 
    438 $(PROJECT_INCLUDE)/rtems/score/sysstate.inl: macros/rtems/score/sysstate.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    439         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sysstate.inl
    440 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sysstate.inl
    441 
    442 $(PROJECT_INCLUDE)/rtems/score/thread.inl: macros/rtems/score/thread.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    443         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/thread.inl
    444 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/thread.inl
    445 
    446 $(PROJECT_INCLUDE)/rtems/score/tod.inl: macros/rtems/score/tod.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    447         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tod.inl
    448 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tod.inl
    449 
    450 $(PROJECT_INCLUDE)/rtems/score/tqdata.inl: macros/rtems/score/tqdata.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    451         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tqdata.inl
    452 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tqdata.inl
    453 
    454 $(PROJECT_INCLUDE)/rtems/score/userext.inl: macros/rtems/score/userext.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    455         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/userext.inl
    456 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/userext.inl
    457 
    458 $(PROJECT_INCLUDE)/rtems/score/watchdog.inl: macros/rtems/score/watchdog.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    459         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/watchdog.inl
    460 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/watchdog.inl
    461 
    462 $(PROJECT_INCLUDE)/rtems/score/wkspace.inl: macros/rtems/score/wkspace.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    463         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/wkspace.inl
    464 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/wkspace.inl
    465 
    466 if HAS_MP
    467 $(PROJECT_INCLUDE)/rtems/score/mppkt.inl: macros/rtems/score/mppkt.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    468         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mppkt.inl
    469 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mppkt.inl
    470 
    471 $(PROJECT_INCLUDE)/rtems/score/objectmp.inl: macros/rtems/score/objectmp.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    472         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/objectmp.inl
    473 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/objectmp.inl
    474 
    475 $(PROJECT_INCLUDE)/rtems/score/threadmp.inl: macros/rtems/score/threadmp.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
    476         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/threadmp.inl
    477 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/threadmp.inl
    478 endif
    479 endif
    480 
    481 CLEANFILES = $(PREINSTALL_FILES)
    482 DISTCLEANFILES += $(PREINSTALL_DIRS)
     164include $(srcdir)/preinstall.am
    483165
    484166include $(top_srcdir)/automake/subdirs.am
  • cpukit/wrapup/Makefile.am

    rea3ad14 r6265b83  
    1111project_lib_DATA = librtemscpu.a
    1212CLEANFILES = librtemscpu.a
     13DISTCLEANFILES =
    1314
    1415TMP_LIBS =
     
    102103all-local: $(TMPINSTALL_FILES)
    103104
    104 TMPINSTALL_FILES =
    105 
    106 $(PROJECT_LIB)/$(dirstamp):
    107         @$(mkdir_p) $(PROJECT_LIB)
    108         @: > $(PROJECT_LIB)/$(dirstamp)
    109 TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
    110 
    111 $(PROJECT_LIB)/librtemscpu.a: librtemscpu.a $(PROJECT_LIB)/$(dirstamp)
    112         $(INSTALL_DATA) $< $(PROJECT_LIB)/librtemscpu.a
    113 TMPINSTALL_FILES += $(PROJECT_LIB)/librtemscpu.a
    114 
    115 CLEANFILES += $(TMPINSTALL_FILES)
     105include $(srcdir)/preinstall.am
    116106
    117107include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.