Changeset 8a61c2a in rtems


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

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

  • Makefile.am: Add $(dirstamp) to preinstallation rules. Remove MACROS.
Location:
cpukit
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/itron/ChangeLog

    r7d0eba02 r8a61c2a  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add $(dirstamp) to preinstallation rules.
     4        Remove MACROS.
     5
    162003-11-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/itron/Makefile.am

    r7d0eba02 r8a61c2a  
    5353    inline/rtems/itron/task.inl inline/rtems/itron/time.inl \
    5454    inline/rtems/itron/vmempool.inl
    55 endif
    56 
    57 ## Macros
    58 
    59 if MACROS
     55else
    6056include_rtems_itron_HEADERS += macros/rtems/itron/eventflags.inl \
    6157    macros/rtems/itron/fmempool.inl macros/rtems/itron/intr.inl \
     
    130126PREINSTALL_FILES =
    131127
     128$(PROJECT_INCLUDE)/$(dirstamp):
     129        @$(mkinstalldirs) $(PROJECT_INCLUDE)
     130        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     131PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
     132
    132133if HAS_ITRON
    133 $(PROJECT_INCLUDE)/itron.h: include/itron.h
    134         $(INSTALL_DATA) $< $@
     134$(PROJECT_INCLUDE)/itron.h: include/itron.h $(PROJECT_INCLUDE)/$(dirstamp)
     135        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itron.h
    135136PREINSTALL_FILES += $(PROJECT_INCLUDE)/itron.h
    136137
    137 $(PROJECT_INCLUDE)/itronsys:
     138$(PROJECT_INCLUDE)/itronsys/$(dirstamp):
    138139        @$(mkinstalldirs) $(PROJECT_INCLUDE)/itronsys
    139 PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys
    140 
    141 $(PROJECT_INCLUDE)/itronsys/eventflags.h: include/itronsys/eventflags.h
    142         $(INSTALL_DATA) $< $@
     140        @: > $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     141PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     142
     143$(PROJECT_INCLUDE)/itronsys/eventflags.h: include/itronsys/eventflags.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     144        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/eventflags.h
    143145PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/eventflags.h
    144146
    145 $(PROJECT_INCLUDE)/itronsys/fmempool.h: include/itronsys/fmempool.h
    146         $(INSTALL_DATA) $< $@
     147$(PROJECT_INCLUDE)/itronsys/fmempool.h: include/itronsys/fmempool.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     148        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/fmempool.h
    147149PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/fmempool.h
    148150
    149 $(PROJECT_INCLUDE)/itronsys/intr.h: include/itronsys/intr.h
    150         $(INSTALL_DATA) $< $@
     151$(PROJECT_INCLUDE)/itronsys/intr.h: include/itronsys/intr.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     152        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/intr.h
    151153PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/intr.h
    152154
    153 $(PROJECT_INCLUDE)/itronsys/mbox.h: include/itronsys/mbox.h
    154         $(INSTALL_DATA) $< $@
     155$(PROJECT_INCLUDE)/itronsys/mbox.h: include/itronsys/mbox.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     156        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/mbox.h
    155157PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/mbox.h
    156158
    157 $(PROJECT_INCLUDE)/itronsys/msgbuffer.h: include/itronsys/msgbuffer.h
    158         $(INSTALL_DATA) $< $@
     159$(PROJECT_INCLUDE)/itronsys/msgbuffer.h: include/itronsys/msgbuffer.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     160        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/msgbuffer.h
    159161PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/msgbuffer.h
    160162
    161 $(PROJECT_INCLUDE)/itronsys/network.h: include/itronsys/network.h
    162         $(INSTALL_DATA) $< $@
     163$(PROJECT_INCLUDE)/itronsys/network.h: include/itronsys/network.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     164        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/network.h
    163165PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/network.h
    164166
    165 $(PROJECT_INCLUDE)/itronsys/port.h: include/itronsys/port.h
    166         $(INSTALL_DATA) $< $@
     167$(PROJECT_INCLUDE)/itronsys/port.h: include/itronsys/port.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     168        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/port.h
    167169PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/port.h
    168170
    169 $(PROJECT_INCLUDE)/itronsys/semaphore.h: include/itronsys/semaphore.h
    170         $(INSTALL_DATA) $< $@
     171$(PROJECT_INCLUDE)/itronsys/semaphore.h: include/itronsys/semaphore.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     172        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/semaphore.h
    171173PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/semaphore.h
    172174
    173 $(PROJECT_INCLUDE)/itronsys/status.h: include/itronsys/status.h
    174         $(INSTALL_DATA) $< $@
     175$(PROJECT_INCLUDE)/itronsys/status.h: include/itronsys/status.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     176        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/status.h
    175177PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/status.h
    176178
    177 $(PROJECT_INCLUDE)/itronsys/sysmgmt.h: include/itronsys/sysmgmt.h
    178         $(INSTALL_DATA) $< $@
     179$(PROJECT_INCLUDE)/itronsys/sysmgmt.h: include/itronsys/sysmgmt.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     180        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/sysmgmt.h
    179181PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/sysmgmt.h
    180182
    181 $(PROJECT_INCLUDE)/itronsys/task.h: include/itronsys/task.h
    182         $(INSTALL_DATA) $< $@
     183$(PROJECT_INCLUDE)/itronsys/task.h: include/itronsys/task.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     184        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/task.h
    183185PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/task.h
    184186
    185 $(PROJECT_INCLUDE)/itronsys/time.h: include/itronsys/time.h
    186         $(INSTALL_DATA) $< $@
     187$(PROJECT_INCLUDE)/itronsys/time.h: include/itronsys/time.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     188        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/time.h
    187189PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/time.h
    188190
    189 $(PROJECT_INCLUDE)/itronsys/types.h: include/itronsys/types.h
    190         $(INSTALL_DATA) $< $@
     191$(PROJECT_INCLUDE)/itronsys/types.h: include/itronsys/types.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     192        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/types.h
    191193PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/types.h
    192194
    193 $(PROJECT_INCLUDE)/itronsys/vmempool.h: include/itronsys/vmempool.h
    194         $(INSTALL_DATA) $< $@
     195$(PROJECT_INCLUDE)/itronsys/vmempool.h: include/itronsys/vmempool.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
     196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/vmempool.h
    195197PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/vmempool.h
    196198
    197 $(PROJECT_INCLUDE)/rtems/itron:
     199$(PROJECT_INCLUDE)/rtems/itron/$(dirstamp):
    198200        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/itron
    199 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron
    200 
    201 $(PROJECT_INCLUDE)/rtems/itron/config.h: include/rtems/itron/config.h
    202         $(INSTALL_DATA) $< $@
     201        @: > $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     202PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     203
     204$(PROJECT_INCLUDE)/rtems/itron/config.h: include/rtems/itron/config.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     205        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/config.h
    203206PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/config.h
    204207
    205 $(PROJECT_INCLUDE)/rtems/itron/eventflags.h: include/rtems/itron/eventflags.h
    206         $(INSTALL_DATA) $< $@
     208$(PROJECT_INCLUDE)/rtems/itron/eventflags.h: include/rtems/itron/eventflags.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     209        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.h
    207210PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.h
    208211
    209 $(PROJECT_INCLUDE)/rtems/itron/fmempool.h: include/rtems/itron/fmempool.h
    210         $(INSTALL_DATA) $< $@
     212$(PROJECT_INCLUDE)/rtems/itron/fmempool.h: include/rtems/itron/fmempool.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     213        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.h
    211214PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.h
    212215
    213 $(PROJECT_INCLUDE)/rtems/itron/intr.h: include/rtems/itron/intr.h
    214         $(INSTALL_DATA) $< $@
     216$(PROJECT_INCLUDE)/rtems/itron/intr.h: include/rtems/itron/intr.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     217        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.h
    215218PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.h
    216219
    217 $(PROJECT_INCLUDE)/rtems/itron/itronapi.h: include/rtems/itron/itronapi.h
    218         $(INSTALL_DATA) $< $@
     220$(PROJECT_INCLUDE)/rtems/itron/itronapi.h: include/rtems/itron/itronapi.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     221        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/itronapi.h
    219222PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/itronapi.h
    220223
    221 $(PROJECT_INCLUDE)/rtems/itron/mbox.h: include/rtems/itron/mbox.h
    222         $(INSTALL_DATA) $< $@
     224$(PROJECT_INCLUDE)/rtems/itron/mbox.h: include/rtems/itron/mbox.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     225        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.h
    223226PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.h
    224227
    225 $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h: include/rtems/itron/msgbuffer.h
    226         $(INSTALL_DATA) $< $@
     228$(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h: include/rtems/itron/msgbuffer.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     229        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h
    227230PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h
    228231
    229 $(PROJECT_INCLUDE)/rtems/itron/network.h: include/rtems/itron/network.h
    230         $(INSTALL_DATA) $< $@
     232$(PROJECT_INCLUDE)/rtems/itron/network.h: include/rtems/itron/network.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     233        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.h
    231234PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.h
    232235
    233 $(PROJECT_INCLUDE)/rtems/itron/object.h: include/rtems/itron/object.h
    234         $(INSTALL_DATA) $< $@
     236$(PROJECT_INCLUDE)/rtems/itron/object.h: include/rtems/itron/object.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     237        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/object.h
    235238PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/object.h
    236239
    237 $(PROJECT_INCLUDE)/rtems/itron/port.h: include/rtems/itron/port.h
    238         $(INSTALL_DATA) $< $@
     240$(PROJECT_INCLUDE)/rtems/itron/port.h: include/rtems/itron/port.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     241        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.h
    239242PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.h
    240243
    241 $(PROJECT_INCLUDE)/rtems/itron/semaphore.h: include/rtems/itron/semaphore.h
    242         $(INSTALL_DATA) $< $@
     244$(PROJECT_INCLUDE)/rtems/itron/semaphore.h: include/rtems/itron/semaphore.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     245        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.h
    243246PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.h
    244247
    245 $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h: include/rtems/itron/sysmgmt.h
    246         $(INSTALL_DATA) $< $@
     248$(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h: include/rtems/itron/sysmgmt.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     249        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h
    247250PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h
    248251
    249 $(PROJECT_INCLUDE)/rtems/itron/task.h: include/rtems/itron/task.h
    250         $(INSTALL_DATA) $< $@
     252$(PROJECT_INCLUDE)/rtems/itron/task.h: include/rtems/itron/task.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.h
    251254PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.h
    252255
    253 $(PROJECT_INCLUDE)/rtems/itron/time.h: include/rtems/itron/time.h
    254         $(INSTALL_DATA) $< $@
     256$(PROJECT_INCLUDE)/rtems/itron/time.h: include/rtems/itron/time.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     257        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.h
    255258PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.h
    256259
    257 $(PROJECT_INCLUDE)/rtems/itron/vmempool.h: include/rtems/itron/vmempool.h
    258         $(INSTALL_DATA) $< $@
     260$(PROJECT_INCLUDE)/rtems/itron/vmempool.h: include/rtems/itron/vmempool.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     261        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.h
    259262PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.h
    260263
    261264if INLINE
    262 $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: inline/rtems/itron/eventflags.inl
    263         $(INSTALL_DATA) $< $@
     265$(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: inline/rtems/itron/eventflags.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     266        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    264267PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    265268
    266 $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: inline/rtems/itron/fmempool.inl
    267         $(INSTALL_DATA) $< $@
     269$(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: inline/rtems/itron/fmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     270        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    268271PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    269272
    270 $(PROJECT_INCLUDE)/rtems/itron/intr.inl: inline/rtems/itron/intr.inl
    271         $(INSTALL_DATA) $< $@
     273$(PROJECT_INCLUDE)/rtems/itron/intr.inl: inline/rtems/itron/intr.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     274        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    272275PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    273276
    274 $(PROJECT_INCLUDE)/rtems/itron/mbox.inl: inline/rtems/itron/mbox.inl
    275         $(INSTALL_DATA) $< $@
     277$(PROJECT_INCLUDE)/rtems/itron/mbox.inl: inline/rtems/itron/mbox.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     278        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    276279PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    277280
    278 $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: inline/rtems/itron/msgbuffer.inl
    279         $(INSTALL_DATA) $< $@
     281$(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: inline/rtems/itron/msgbuffer.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     282        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    280283PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    281284
    282 $(PROJECT_INCLUDE)/rtems/itron/network.inl: inline/rtems/itron/network.inl
    283         $(INSTALL_DATA) $< $@
     285$(PROJECT_INCLUDE)/rtems/itron/network.inl: inline/rtems/itron/network.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     286        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.inl
    284287PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.inl
    285288
    286 $(PROJECT_INCLUDE)/rtems/itron/port.inl: inline/rtems/itron/port.inl
    287         $(INSTALL_DATA) $< $@
     289$(PROJECT_INCLUDE)/rtems/itron/port.inl: inline/rtems/itron/port.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     290        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.inl
    288291PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.inl
    289292
    290 $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: inline/rtems/itron/semaphore.inl
    291         $(INSTALL_DATA) $< $@
     293$(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: inline/rtems/itron/semaphore.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     294        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    292295PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    293296
    294 $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: inline/rtems/itron/sysmgmt.inl
    295         $(INSTALL_DATA) $< $@
     297$(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: inline/rtems/itron/sysmgmt.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     298        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    296299PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    297300
    298 $(PROJECT_INCLUDE)/rtems/itron/task.inl: inline/rtems/itron/task.inl
    299         $(INSTALL_DATA) $< $@
     301$(PROJECT_INCLUDE)/rtems/itron/task.inl: inline/rtems/itron/task.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     302        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.inl
    300303PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.inl
    301304
    302 $(PROJECT_INCLUDE)/rtems/itron/time.inl: inline/rtems/itron/time.inl
    303         $(INSTALL_DATA) $< $@
     305$(PROJECT_INCLUDE)/rtems/itron/time.inl: inline/rtems/itron/time.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     306        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.inl
    304307PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.inl
    305308
    306 $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: inline/rtems/itron/vmempool.inl
    307         $(INSTALL_DATA) $< $@
     309$(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: inline/rtems/itron/vmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     310        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    308311PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    309 endif
    310 
    311 if MACROS
    312 $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: macros/rtems/itron/eventflags.inl
    313         $(INSTALL_DATA) $< $@
     312
     313else
     314$(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: macros/rtems/itron/eventflags.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     315        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    314316PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
    315317
    316 $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: macros/rtems/itron/fmempool.inl
    317         $(INSTALL_DATA) $< $@
     318$(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: macros/rtems/itron/fmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     319        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    318320PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
    319321
    320 $(PROJECT_INCLUDE)/rtems/itron/intr.inl: macros/rtems/itron/intr.inl
    321         $(INSTALL_DATA) $< $@
     322$(PROJECT_INCLUDE)/rtems/itron/intr.inl: macros/rtems/itron/intr.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     323        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    322324PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.inl
    323325
    324 $(PROJECT_INCLUDE)/rtems/itron/mbox.inl: macros/rtems/itron/mbox.inl
    325         $(INSTALL_DATA) $< $@
     326$(PROJECT_INCLUDE)/rtems/itron/mbox.inl: macros/rtems/itron/mbox.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     327        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    326328PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
    327329
    328 $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: macros/rtems/itron/msgbuffer.inl
    329         $(INSTALL_DATA) $< $@
     330$(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: macros/rtems/itron/msgbuffer.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     331        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    330332PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
    331333
    332 $(PROJECT_INCLUDE)/rtems/itron/network.inl: macros/rtems/itron/network.inl
    333         $(INSTALL_DATA) $< $@
     334$(PROJECT_INCLUDE)/rtems/itron/network.inl: macros/rtems/itron/network.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     335        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.inl
    334336PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.inl
    335337
    336 $(PROJECT_INCLUDE)/rtems/itron/port.inl: macros/rtems/itron/port.inl
    337         $(INSTALL_DATA) $< $@
     338$(PROJECT_INCLUDE)/rtems/itron/port.inl: macros/rtems/itron/port.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     339        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.inl
    338340PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.inl
    339341
    340 $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: macros/rtems/itron/semaphore.inl
    341         $(INSTALL_DATA) $< $@
     342$(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: macros/rtems/itron/semaphore.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     343        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    342344PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
    343345
    344 $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: macros/rtems/itron/sysmgmt.inl
    345         $(INSTALL_DATA) $< $@
     346$(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: macros/rtems/itron/sysmgmt.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     347        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    346348PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
    347349
    348 $(PROJECT_INCLUDE)/rtems/itron/task.inl: macros/rtems/itron/task.inl
    349         $(INSTALL_DATA) $< $@
     350$(PROJECT_INCLUDE)/rtems/itron/task.inl: macros/rtems/itron/task.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     351        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.inl
    350352PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.inl
    351353
    352 $(PROJECT_INCLUDE)/rtems/itron/time.inl: macros/rtems/itron/time.inl
    353         $(INSTALL_DATA) $< $@
     354$(PROJECT_INCLUDE)/rtems/itron/time.inl: macros/rtems/itron/time.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     355        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.inl
    354356PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.inl
    355357
    356 $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: macros/rtems/itron/vmempool.inl
    357         $(INSTALL_DATA) $< $@
     358$(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: macros/rtems/itron/vmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
     359        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    358360PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
    359361endif
  • cpukit/posix/ChangeLog

    r7d0eba02 r8a61c2a  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add $(dirstamp) to preinstallation rules.
     4        Remove MACROS.
     5
    162003-11-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/posix/Makefile.am

    r7d0eba02 r8a61c2a  
    4040    include/rtems/posix/threadsup.h
    4141
    42 ## inline
    43 
    4442if INLINE
    4543include_rtems_posix_HEADERS += inline/rtems/posix/cond.inl \
     
    4947    inline/rtems/posix/timer.inl
    5048noinst_HEADERS += inline/rtems/posix/intr.inl
    51 endif
    52 
    53 ## macros
    54 
    55 if MACROS
     49else
    5650include_rtems_posix_HEADERS += macros/rtems/posix/cond.inl \
    5751    macros/rtems/posix/key.inl macros/rtems/posix/mqueue.inl \
     
    185179PREINSTALL_FILES =
    186180
     181$(PROJECT_INCLUDE)/$(dirstamp):
     182        @$(mkinstalldirs) $(PROJECT_INCLUDE)
     183        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     184PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
     185
    187186if HAS_POSIX
    188 $(PROJECT_INCLUDE)/sched.h: include/sched.h
    189         $(INSTALL_DATA) $< $@
     187$(PROJECT_INCLUDE)/sched.h: include/sched.h $(PROJECT_INCLUDE)/$(dirstamp)
     188        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sched.h
    190189PREINSTALL_FILES += $(PROJECT_INCLUDE)/sched.h
    191190
    192 $(PROJECT_INCLUDE)/aio.h: include/aio.h
    193         $(INSTALL_DATA) $< $@
     191$(PROJECT_INCLUDE)/aio.h: include/aio.h $(PROJECT_INCLUDE)/$(dirstamp)
     192        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/aio.h
    194193PREINSTALL_FILES += $(PROJECT_INCLUDE)/aio.h
    195194
    196 $(PROJECT_INCLUDE)/mqueue.h: include/mqueue.h
    197         $(INSTALL_DATA) $< $@
     195$(PROJECT_INCLUDE)/mqueue.h: include/mqueue.h $(PROJECT_INCLUDE)/$(dirstamp)
     196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mqueue.h
    198197PREINSTALL_FILES += $(PROJECT_INCLUDE)/mqueue.h
    199198
    200 $(PROJECT_INCLUDE)/semaphore.h: include/semaphore.h
    201         $(INSTALL_DATA) $< $@
     199$(PROJECT_INCLUDE)/semaphore.h: include/semaphore.h $(PROJECT_INCLUDE)/$(dirstamp)
     200        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/semaphore.h
    202201PREINSTALL_FILES += $(PROJECT_INCLUDE)/semaphore.h
    203202
    204 $(PROJECT_INCLUDE)/rtems/posix:
     203$(PROJECT_INCLUDE)/rtems/posix/$(dirstamp):
    205204        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/posix
    206 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix
    207 
    208 $(PROJECT_INCLUDE)/rtems/posix/cancel.h: include/rtems/posix/cancel.h
    209         $(INSTALL_DATA) $< $@
     205        @: > $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     206PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     207
     208$(PROJECT_INCLUDE)/rtems/posix/cancel.h: include/rtems/posix/cancel.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     209        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cancel.h
    210210PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cancel.h
    211211
    212 $(PROJECT_INCLUDE)/rtems/posix/cond.h: include/rtems/posix/cond.h
    213         $(INSTALL_DATA) $< $@
     212$(PROJECT_INCLUDE)/rtems/posix/cond.h: include/rtems/posix/cond.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     213        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cond.h
    214214PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.h
    215215
    216 $(PROJECT_INCLUDE)/rtems/posix/config.h: include/rtems/posix/config.h
    217         $(INSTALL_DATA) $< $@
     216$(PROJECT_INCLUDE)/rtems/posix/config.h: include/rtems/posix/config.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     217        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/config.h
    218218PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/config.h
    219219
    220 $(PROJECT_INCLUDE)/rtems/posix/key.h: include/rtems/posix/key.h
    221         $(INSTALL_DATA) $< $@
     220$(PROJECT_INCLUDE)/rtems/posix/key.h: include/rtems/posix/key.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     221        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/key.h
    222222PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.h
    223223
    224 $(PROJECT_INCLUDE)/rtems/posix/mqueue.h: include/rtems/posix/mqueue.h
    225         $(INSTALL_DATA) $< $@
     224$(PROJECT_INCLUDE)/rtems/posix/mqueue.h: include/rtems/posix/mqueue.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     225        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueue.h
    226226PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.h
    227227
    228 $(PROJECT_INCLUDE)/rtems/posix/mutex.h: include/rtems/posix/mutex.h
    229         $(INSTALL_DATA) $< $@
     228$(PROJECT_INCLUDE)/rtems/posix/mutex.h: include/rtems/posix/mutex.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     229        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutex.h
    230230PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.h
    231231
    232 $(PROJECT_INCLUDE)/rtems/posix/posixapi.h: include/rtems/posix/posixapi.h
    233         $(INSTALL_DATA) $< $@
     232$(PROJECT_INCLUDE)/rtems/posix/posixapi.h: include/rtems/posix/posixapi.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     233        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/posixapi.h
    234234PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/posixapi.h
    235235
    236 $(PROJECT_INCLUDE)/rtems/posix/priority.h: include/rtems/posix/priority.h
    237         $(INSTALL_DATA) $< $@
     236$(PROJECT_INCLUDE)/rtems/posix/priority.h: include/rtems/posix/priority.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     237        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.h
    238238PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.h
    239239
    240 $(PROJECT_INCLUDE)/rtems/posix/psignal.h: include/rtems/posix/psignal.h
    241         $(INSTALL_DATA) $< $@
     240$(PROJECT_INCLUDE)/rtems/posix/psignal.h: include/rtems/posix/psignal.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     241        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/psignal.h
    242242PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/psignal.h
    243243
    244 $(PROJECT_INCLUDE)/rtems/posix/pthread.h: include/rtems/posix/pthread.h
    245         $(INSTALL_DATA) $< $@
     244$(PROJECT_INCLUDE)/rtems/posix/pthread.h: include/rtems/posix/pthread.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     245        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.h
    246246PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.h
    247247
    248 $(PROJECT_INCLUDE)/rtems/posix/ptimer.h: include/rtems/posix/ptimer.h
    249         $(INSTALL_DATA) $< $@
     248$(PROJECT_INCLUDE)/rtems/posix/ptimer.h: include/rtems/posix/ptimer.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     249        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/ptimer.h
    250250PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/ptimer.h
    251251
    252 $(PROJECT_INCLUDE)/rtems/posix/semaphore.h: include/rtems/posix/semaphore.h
    253         $(INSTALL_DATA) $< $@
     252$(PROJECT_INCLUDE)/rtems/posix/semaphore.h: include/rtems/posix/semaphore.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphore.h
    254254PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.h
    255255
    256 $(PROJECT_INCLUDE)/rtems/posix/threadsup.h: include/rtems/posix/threadsup.h
    257         $(INSTALL_DATA) $< $@
     256$(PROJECT_INCLUDE)/rtems/posix/threadsup.h: include/rtems/posix/threadsup.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     257        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
    258258PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
    259259
    260 $(PROJECT_INCLUDE)/rtems/posix/time.h: include/rtems/posix/time.h
    261         $(INSTALL_DATA) $< $@
     260$(PROJECT_INCLUDE)/rtems/posix/time.h: include/rtems/posix/time.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     261        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/time.h
    262262PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/time.h
    263263
    264 $(PROJECT_INCLUDE)/rtems/posix/timer.h: include/rtems/posix/timer.h
    265         $(INSTALL_DATA) $< $@
     264$(PROJECT_INCLUDE)/rtems/posix/timer.h: include/rtems/posix/timer.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     265        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.h
    266266PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.h
    267267
    268268if HAS_MP
    269 $(PROJECT_INCLUDE)/rtems/posix/condmp.h: include/rtems/posix/condmp.h
    270         $(INSTALL_DATA) $< $@
     269$(PROJECT_INCLUDE)/rtems/posix/condmp.h: include/rtems/posix/condmp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     270        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/condmp.h
    271271PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/condmp.h
    272272
    273 $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h: include/rtems/posix/mqueuemp.h
    274         $(INSTALL_DATA) $< $@
     273$(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h: include/rtems/posix/mqueuemp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     274        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h
    275275PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h
    276276
    277 $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h: include/rtems/posix/mutexmp.h
    278         $(INSTALL_DATA) $< $@
     277$(PROJECT_INCLUDE)/rtems/posix/mutexmp.h: include/rtems/posix/mutexmp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     278        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h
    279279PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h
    280280
    281 $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h: include/rtems/posix/pthreadmp.h
    282         $(INSTALL_DATA) $< $@
     281$(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h: include/rtems/posix/pthreadmp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     282        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h
    283283PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h
    284284
    285 $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h: include/rtems/posix/semaphoremp.h
    286         $(INSTALL_DATA) $< $@
     285$(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h: include/rtems/posix/semaphoremp.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     286        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h
    287287PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h
    288288endif
    289289
    290290if INLINE
    291 $(PROJECT_INCLUDE)/rtems/posix/cond.inl: inline/rtems/posix/cond.inl
    292         $(INSTALL_DATA) $< $@
     291$(PROJECT_INCLUDE)/rtems/posix/cond.inl: inline/rtems/posix/cond.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     292        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    293293PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    294294
    295 $(PROJECT_INCLUDE)/rtems/posix/key.inl: inline/rtems/posix/key.inl
    296         $(INSTALL_DATA) $< $@
     295$(PROJECT_INCLUDE)/rtems/posix/key.inl: inline/rtems/posix/key.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     296        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/key.inl
    297297PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.inl
    298298
    299 $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: inline/rtems/posix/mqueue.inl
    300         $(INSTALL_DATA) $< $@
     299$(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: inline/rtems/posix/mqueue.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     300        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    301301PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    302302
    303 $(PROJECT_INCLUDE)/rtems/posix/mutex.inl: inline/rtems/posix/mutex.inl
    304         $(INSTALL_DATA) $< $@
     303$(PROJECT_INCLUDE)/rtems/posix/mutex.inl: inline/rtems/posix/mutex.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     304        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    305305PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    306306
    307 $(PROJECT_INCLUDE)/rtems/posix/pthread.inl: inline/rtems/posix/pthread.inl
    308         $(INSTALL_DATA) $< $@
     307$(PROJECT_INCLUDE)/rtems/posix/pthread.inl: inline/rtems/posix/pthread.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     308        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    309309PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    310310
    311 $(PROJECT_INCLUDE)/rtems/posix/priority.inl: inline/rtems/posix/priority.inl
    312         $(INSTALL_DATA) $< $@
     311$(PROJECT_INCLUDE)/rtems/posix/priority.inl: inline/rtems/posix/priority.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     312        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    313313PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    314314
    315 $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: inline/rtems/posix/semaphore.inl
    316         $(INSTALL_DATA) $< $@
     315$(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: inline/rtems/posix/semaphore.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     316        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    317317PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    318318
    319 $(PROJECT_INCLUDE)/rtems/posix/timer.inl: inline/rtems/posix/timer.inl
    320         $(INSTALL_DATA) $< $@
     319$(PROJECT_INCLUDE)/rtems/posix/timer.inl: inline/rtems/posix/timer.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     320        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    321321PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    322 endif
    323 
    324 if MACROS
    325 $(PROJECT_INCLUDE)/rtems/posix/cond.inl: macros/rtems/posix/cond.inl
    326         $(INSTALL_DATA) $< $@
     322
     323else
     324$(PROJECT_INCLUDE)/rtems/posix/cond.inl: macros/rtems/posix/cond.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     325        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    327326PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.inl
    328327
    329 $(PROJECT_INCLUDE)/rtems/posix/key.inl: macros/rtems/posix/key.inl
    330         $(INSTALL_DATA) $< $@
     328$(PROJECT_INCLUDE)/rtems/posix/key.inl: macros/rtems/posix/key.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     329        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/key.inl
    331330PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.inl
    332331
    333 $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: macros/rtems/posix/mqueue.inl
    334         $(INSTALL_DATA) $< $@
     332$(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: macros/rtems/posix/mqueue.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     333        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    335334PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
    336335
    337 $(PROJECT_INCLUDE)/rtems/posix/mutex.inl: macros/rtems/posix/mutex.inl
    338         $(INSTALL_DATA) $< $@
     336$(PROJECT_INCLUDE)/rtems/posix/mutex.inl: macros/rtems/posix/mutex.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     337        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    339338PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
    340339
    341 $(PROJECT_INCLUDE)/rtems/posix/pthread.inl: macros/rtems/posix/pthread.inl
    342         $(INSTALL_DATA) $< $@
     340$(PROJECT_INCLUDE)/rtems/posix/pthread.inl: macros/rtems/posix/pthread.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     341        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    343342PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
    344343
    345 $(PROJECT_INCLUDE)/rtems/posix/priority.inl: macros/rtems/posix/priority.inl
    346         $(INSTALL_DATA) $< $@
     344$(PROJECT_INCLUDE)/rtems/posix/priority.inl: macros/rtems/posix/priority.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     345        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    347346PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl
    348347
    349 $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: macros/rtems/posix/semaphore.inl
    350         $(INSTALL_DATA) $< $@
     348$(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: macros/rtems/posix/semaphore.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     349        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    351350PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
    352351
    353 $(PROJECT_INCLUDE)/rtems/posix/timer.inl: macros/rtems/posix/timer.inl
    354         $(INSTALL_DATA) $< $@
     352$(PROJECT_INCLUDE)/rtems/posix/timer.inl: macros/rtems/posix/timer.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
     353        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    355354PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl
    356355endif
  • cpukit/rtems/ChangeLog

    r7d0eba02 r8a61c2a  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add $(dirstamp) to preinstallation rules.
     4        Remove MACROS.
     5
    162003-11-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/rtems/Makefile.am

    r7d0eba02 r8a61c2a  
    3636endif
    3737
    38 ## macros
    39 if MACROS
     38if INLINE
     39include_rtems_rtems_HEADERS += inline/rtems/rtems/asr.inl \
     40    inline/rtems/rtems/attr.inl inline/rtems/rtems/dpmem.inl \
     41    inline/rtems/rtems/event.inl inline/rtems/rtems/eventset.inl \
     42    inline/rtems/rtems/message.inl inline/rtems/rtems/modes.inl \
     43    inline/rtems/rtems/options.inl inline/rtems/rtems/part.inl \
     44    inline/rtems/rtems/ratemon.inl inline/rtems/rtems/region.inl \
     45    inline/rtems/rtems/sem.inl inline/rtems/rtems/status.inl \
     46    inline/rtems/rtems/support.inl inline/rtems/rtems/tasks.inl \
     47    inline/rtems/rtems/timer.inl
     48else
    4049include_rtems_rtems_HEADERS += macros/rtems/rtems/asr.inl \
    4150    macros/rtems/rtems/attr.inl macros/rtems/rtems/dpmem.inl \
     
    4958endif
    5059
    51 ## inline
    52 if INLINE
    53 include_rtems_rtems_HEADERS += inline/rtems/rtems/asr.inl \
    54     inline/rtems/rtems/attr.inl inline/rtems/rtems/dpmem.inl \
    55     inline/rtems/rtems/event.inl inline/rtems/rtems/eventset.inl \
    56     inline/rtems/rtems/message.inl inline/rtems/rtems/modes.inl \
    57     inline/rtems/rtems/options.inl inline/rtems/rtems/part.inl \
    58     inline/rtems/rtems/ratemon.inl inline/rtems/rtems/region.inl \
    59     inline/rtems/rtems/sem.inl inline/rtems/rtems/status.inl \
    60     inline/rtems/rtems/support.inl inline/rtems/rtems/tasks.inl \
    61     inline/rtems/rtems/timer.inl
    62 endif
    63 
    6460## src
    6561LIB = $(ARCH)/librtems.a
     
    147143PREINSTALL_FILES =
    148144
    149 $(PROJECT_INCLUDE)/rtems.h: include/rtems.h
    150         $(INSTALL_DATA) $< $@
     145$(PROJECT_INCLUDE)/$(dirstamp):
     146        @$(mkinstalldirs) $(PROJECT_INCLUDE)
     147        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     148PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
     149
     150$(PROJECT_INCLUDE)/rtems.h: include/rtems.h $(PROJECT_INCLUDE)/$(dirstamp)
     151        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems.h
    151152PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems.h
    152153
    153 $(PROJECT_INCLUDE)/rtems/rtems:
     154$(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp):
    154155        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/rtems
    155 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems
    156 
    157 $(PROJECT_INCLUDE)/rtems/rtems/asr.h: include/rtems/rtems/asr.h
    158         $(INSTALL_DATA) $< $@
     156        @: > $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     157PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     158
     159$(PROJECT_INCLUDE)/rtems/rtems/asr.h: include/rtems/rtems/asr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     160        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/asr.h
    159161PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.h
    160162
    161 $(PROJECT_INCLUDE)/rtems/rtems/attr.h: include/rtems/rtems/attr.h
    162         $(INSTALL_DATA) $< $@
     163$(PROJECT_INCLUDE)/rtems/rtems/attr.h: include/rtems/rtems/attr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     164        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/attr.h
    163165PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.h
    164166
    165 $(PROJECT_INCLUDE)/rtems/rtems/cache.h: include/rtems/rtems/cache.h
    166         $(INSTALL_DATA) $< $@
     167$(PROJECT_INCLUDE)/rtems/rtems/cache.h: include/rtems/rtems/cache.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     168        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/cache.h
    167169PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/cache.h
    168170
    169 $(PROJECT_INCLUDE)/rtems/rtems/clock.h: include/rtems/rtems/clock.h
    170         $(INSTALL_DATA) $< $@
     171$(PROJECT_INCLUDE)/rtems/rtems/clock.h: include/rtems/rtems/clock.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     172        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/clock.h
    171173PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/clock.h
    172174
    173 $(PROJECT_INCLUDE)/rtems/rtems/config.h: include/rtems/rtems/config.h
    174         $(INSTALL_DATA) $< $@
     175$(PROJECT_INCLUDE)/rtems/rtems/config.h: include/rtems/rtems/config.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     176        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/config.h
    175177PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/config.h
    176178
    177 $(PROJECT_INCLUDE)/rtems/rtems/dpmem.h: include/rtems/rtems/dpmem.h
    178         $(INSTALL_DATA) $< $@
     179$(PROJECT_INCLUDE)/rtems/rtems/dpmem.h: include/rtems/rtems/dpmem.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     180        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/dpmem.h
    179181PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.h
    180182
    181 $(PROJECT_INCLUDE)/rtems/rtems/event.h: include/rtems/rtems/event.h
    182         $(INSTALL_DATA) $< $@
     183$(PROJECT_INCLUDE)/rtems/rtems/event.h: include/rtems/rtems/event.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     184        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/event.h
    183185PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.h
    184186
    185 $(PROJECT_INCLUDE)/rtems/rtems/eventset.h: include/rtems/rtems/eventset.h
    186         $(INSTALL_DATA) $< $@
     187$(PROJECT_INCLUDE)/rtems/rtems/eventset.h: include/rtems/rtems/eventset.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     188        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventset.h
    187189PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.h
    188190
    189 $(PROJECT_INCLUDE)/rtems/rtems/intr.h: include/rtems/rtems/intr.h
    190         $(INSTALL_DATA) $< $@
     191$(PROJECT_INCLUDE)/rtems/rtems/intr.h: include/rtems/rtems/intr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     192        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/intr.h
    191193PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/intr.h
    192194
    193 $(PROJECT_INCLUDE)/rtems/rtems/message.h: include/rtems/rtems/message.h
    194         $(INSTALL_DATA) $< $@
     195$(PROJECT_INCLUDE)/rtems/rtems/message.h: include/rtems/rtems/message.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/message.h
    195197PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.h
    196198
    197 $(PROJECT_INCLUDE)/rtems/rtems/modes.h: include/rtems/rtems/modes.h
    198         $(INSTALL_DATA) $< $@
     199$(PROJECT_INCLUDE)/rtems/rtems/modes.h: include/rtems/rtems/modes.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     200        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/modes.h
    199201PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.h
    200202
    201 $(PROJECT_INCLUDE)/rtems/rtems/options.h: include/rtems/rtems/options.h
    202         $(INSTALL_DATA) $< $@
     203$(PROJECT_INCLUDE)/rtems/rtems/options.h: include/rtems/rtems/options.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     204        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/options.h
    203205PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.h
    204206
    205 $(PROJECT_INCLUDE)/rtems/rtems/part.h: include/rtems/rtems/part.h
    206         $(INSTALL_DATA) $< $@
     207$(PROJECT_INCLUDE)/rtems/rtems/part.h: include/rtems/rtems/part.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     208        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/part.h
    207209PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.h
    208210
    209 $(PROJECT_INCLUDE)/rtems/rtems/ratemon.h: include/rtems/rtems/ratemon.h
    210         $(INSTALL_DATA) $< $@
     211$(PROJECT_INCLUDE)/rtems/rtems/ratemon.h: include/rtems/rtems/ratemon.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     212        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/ratemon.h
    211213PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.h
    212214
    213 $(PROJECT_INCLUDE)/rtems/rtems/region.h: include/rtems/rtems/region.h
    214         $(INSTALL_DATA) $< $@
     215$(PROJECT_INCLUDE)/rtems/rtems/region.h: include/rtems/rtems/region.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     216        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/region.h
    215217PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.h
    216218
    217 $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h: include/rtems/rtems/rtemsapi.h
    218         $(INSTALL_DATA) $< $@
     219$(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h: include/rtems/rtems/rtemsapi.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     220        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h
    219221PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h
    220222
    221 $(PROJECT_INCLUDE)/rtems/rtems/sem.h: include/rtems/rtems/sem.h
    222         $(INSTALL_DATA) $< $@
     223$(PROJECT_INCLUDE)/rtems/rtems/sem.h: include/rtems/rtems/sem.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     224        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.h
    223225PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.h
    224226
    225 $(PROJECT_INCLUDE)/rtems/rtems/signal.h: include/rtems/rtems/signal.h
    226         $(INSTALL_DATA) $< $@
     227$(PROJECT_INCLUDE)/rtems/rtems/signal.h: include/rtems/rtems/signal.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     228        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/signal.h
    227229PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/signal.h
    228230
    229 $(PROJECT_INCLUDE)/rtems/rtems/status.h: include/rtems/rtems/status.h
    230         $(INSTALL_DATA) $< $@
     231$(PROJECT_INCLUDE)/rtems/rtems/status.h: include/rtems/rtems/status.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     232        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/status.h
    231233PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.h
    232234
    233 $(PROJECT_INCLUDE)/rtems/rtems/support.h: include/rtems/rtems/support.h
    234         $(INSTALL_DATA) $< $@
     235$(PROJECT_INCLUDE)/rtems/rtems/support.h: include/rtems/rtems/support.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     236        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/support.h
    235237PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.h
    236238
    237 $(PROJECT_INCLUDE)/rtems/rtems/tasks.h: include/rtems/rtems/tasks.h
    238         $(INSTALL_DATA) $< $@
     239$(PROJECT_INCLUDE)/rtems/rtems/tasks.h: include/rtems/rtems/tasks.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     240        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/tasks.h
    239241PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.h
    240242
    241 $(PROJECT_INCLUDE)/rtems/rtems/timer.h: include/rtems/rtems/timer.h
    242         $(INSTALL_DATA) $< $@
     243$(PROJECT_INCLUDE)/rtems/rtems/timer.h: include/rtems/rtems/timer.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     244        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/timer.h
    243245PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.h
    244246
    245 $(PROJECT_INCLUDE)/rtems/rtems/types.h: include/rtems/rtems/types.h
    246         $(INSTALL_DATA) $< $@
     247$(PROJECT_INCLUDE)/rtems/rtems/types.h: include/rtems/rtems/types.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     248        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/types.h
    247249PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/types.h
    248250
    249251if HAS_MP
    250 $(PROJECT_INCLUDE)/rtems/rtems/eventmp.h: include/rtems/rtems/eventmp.h
    251         $(INSTALL_DATA) $< $@
     252$(PROJECT_INCLUDE)/rtems/rtems/eventmp.h: include/rtems/rtems/eventmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventmp.h
    252254PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventmp.h
    253255
    254 $(PROJECT_INCLUDE)/rtems/rtems/mp.h: include/rtems/rtems/mp.h
    255         $(INSTALL_DATA) $< $@
     256$(PROJECT_INCLUDE)/rtems/rtems/mp.h: include/rtems/rtems/mp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     257        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/mp.h
    256258PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/mp.h
    257259
    258 $(PROJECT_INCLUDE)/rtems/rtems/msgmp.h: include/rtems/rtems/msgmp.h
    259         $(INSTALL_DATA) $< $@
     260$(PROJECT_INCLUDE)/rtems/rtems/msgmp.h: include/rtems/rtems/msgmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     261        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/msgmp.h
    260262PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/msgmp.h
    261263
    262 $(PROJECT_INCLUDE)/rtems/rtems/partmp.h: include/rtems/rtems/partmp.h
    263         $(INSTALL_DATA) $< $@
     264$(PROJECT_INCLUDE)/rtems/rtems/partmp.h: include/rtems/rtems/partmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     265        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/partmp.h
    264266PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/partmp.h
    265267
    266 $(PROJECT_INCLUDE)/rtems/rtems/regionmp.h: include/rtems/rtems/regionmp.h
    267         $(INSTALL_DATA) $< $@
     268$(PROJECT_INCLUDE)/rtems/rtems/regionmp.h: include/rtems/rtems/regionmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     269        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/regionmp.h
    268270PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/regionmp.h
    269271
    270 $(PROJECT_INCLUDE)/rtems/rtems/semmp.h: include/rtems/rtems/semmp.h
    271         $(INSTALL_DATA) $< $@
     272$(PROJECT_INCLUDE)/rtems/rtems/semmp.h: include/rtems/rtems/semmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     273        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/semmp.h
    272274PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/semmp.h
    273275
    274 $(PROJECT_INCLUDE)/rtems/rtems/signalmp.h: include/rtems/rtems/signalmp.h
    275         $(INSTALL_DATA) $< $@
     276$(PROJECT_INCLUDE)/rtems/rtems/signalmp.h: include/rtems/rtems/signalmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     277        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/signalmp.h
    276278PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/signalmp.h
    277279
    278 $(PROJECT_INCLUDE)/rtems/rtems/taskmp.h: include/rtems/rtems/taskmp.h
    279         $(INSTALL_DATA) $< $@
     280$(PROJECT_INCLUDE)/rtems/rtems/taskmp.h: include/rtems/rtems/taskmp.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     281        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/taskmp.h
    280282PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/taskmp.h
    281283endif
    282284
    283 if MACROS
    284 $(PROJECT_INCLUDE)/rtems/rtems/asr.inl: macros/rtems/rtems/asr.inl
    285         $(INSTALL_DATA) $< $@
     285if INLINE
     286$(PROJECT_INCLUDE)/rtems/rtems/asr.inl: inline/rtems/rtems/asr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     287        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    286288PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    287289
    288 $(PROJECT_INCLUDE)/rtems/rtems/attr.inl: macros/rtems/rtems/attr.inl
    289         $(INSTALL_DATA) $< $@
     290$(PROJECT_INCLUDE)/rtems/rtems/attr.inl: inline/rtems/rtems/attr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     291        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    290292PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    291293
    292 $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl: macros/rtems/rtems/dpmem.inl
    293         $(INSTALL_DATA) $< $@
     294$(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl: inline/rtems/rtems/dpmem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     295        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    294296PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    295297
    296 $(PROJECT_INCLUDE)/rtems/rtems/event.inl: macros/rtems/rtems/event.inl
    297         $(INSTALL_DATA) $< $@
     298$(PROJECT_INCLUDE)/rtems/rtems/event.inl: inline/rtems/rtems/event.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     299        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    298300PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    299301
    300 $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl: macros/rtems/rtems/eventset.inl
    301         $(INSTALL_DATA) $< $@
     302$(PROJECT_INCLUDE)/rtems/rtems/eventset.inl: inline/rtems/rtems/eventset.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     303        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    302304PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    303305
    304 $(PROJECT_INCLUDE)/rtems/rtems/message.inl: macros/rtems/rtems/message.inl
    305         $(INSTALL_DATA) $< $@
     306$(PROJECT_INCLUDE)/rtems/rtems/message.inl: inline/rtems/rtems/message.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     307        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    306308PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    307309
    308 $(PROJECT_INCLUDE)/rtems/rtems/modes.inl: macros/rtems/rtems/modes.inl
    309         $(INSTALL_DATA) $< $@
     310$(PROJECT_INCLUDE)/rtems/rtems/modes.inl: inline/rtems/rtems/modes.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     311        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    310312PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    311313
    312 $(PROJECT_INCLUDE)/rtems/rtems/options.inl: macros/rtems/rtems/options.inl
    313         $(INSTALL_DATA) $< $@
     314$(PROJECT_INCLUDE)/rtems/rtems/options.inl: inline/rtems/rtems/options.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     315        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    314316PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    315317
    316 $(PROJECT_INCLUDE)/rtems/rtems/part.inl: macros/rtems/rtems/part.inl
    317         $(INSTALL_DATA) $< $@
     318$(PROJECT_INCLUDE)/rtems/rtems/part.inl: inline/rtems/rtems/part.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     319        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    318320PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    319321
    320 $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl: macros/rtems/rtems/ratemon.inl
    321         $(INSTALL_DATA) $< $@
     322$(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl: inline/rtems/rtems/ratemon.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     323        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    322324PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    323325
    324 $(PROJECT_INCLUDE)/rtems/rtems/region.inl: macros/rtems/rtems/region.inl
    325         $(INSTALL_DATA) $< $@
     326$(PROJECT_INCLUDE)/rtems/rtems/region.inl: inline/rtems/rtems/region.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     327        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    326328PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    327329
    328 $(PROJECT_INCLUDE)/rtems/rtems/sem.inl: macros/rtems/rtems/sem.inl
    329         $(INSTALL_DATA) $< $@
     330$(PROJECT_INCLUDE)/rtems/rtems/sem.inl: inline/rtems/rtems/sem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     331        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    330332PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    331333
    332 $(PROJECT_INCLUDE)/rtems/rtems/status.inl: macros/rtems/rtems/status.inl
    333         $(INSTALL_DATA) $< $@
     334$(PROJECT_INCLUDE)/rtems/rtems/status.inl: inline/rtems/rtems/status.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     335        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    334336PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    335337
    336 $(PROJECT_INCLUDE)/rtems/rtems/support.inl: macros/rtems/rtems/support.inl
    337         $(INSTALL_DATA) $< $@
     338$(PROJECT_INCLUDE)/rtems/rtems/support.inl: inline/rtems/rtems/support.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     339        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    338340PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    339341
    340 $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl: macros/rtems/rtems/tasks.inl
    341         $(INSTALL_DATA) $< $@
     342$(PROJECT_INCLUDE)/rtems/rtems/tasks.inl: inline/rtems/rtems/tasks.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     343        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    342344PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    343345
    344 $(PROJECT_INCLUDE)/rtems/rtems/timer.inl: macros/rtems/rtems/timer.inl
    345         $(INSTALL_DATA) $< $@
     346$(PROJECT_INCLUDE)/rtems/rtems/timer.inl: inline/rtems/rtems/timer.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     347        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
     348PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
     349
     350else
     351$(PROJECT_INCLUDE)/rtems/rtems/asr.inl: macros/rtems/rtems/asr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     352        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
     353PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
     354
     355$(PROJECT_INCLUDE)/rtems/rtems/attr.inl: macros/rtems/rtems/attr.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     356        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
     357PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
     358
     359$(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl: macros/rtems/rtems/dpmem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     360        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
     361PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
     362
     363$(PROJECT_INCLUDE)/rtems/rtems/event.inl: macros/rtems/rtems/event.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     364        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/event.inl
     365PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.inl
     366
     367$(PROJECT_INCLUDE)/rtems/rtems/eventset.inl: macros/rtems/rtems/eventset.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     368        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
     369PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
     370
     371$(PROJECT_INCLUDE)/rtems/rtems/message.inl: macros/rtems/rtems/message.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     372        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/message.inl
     373PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.inl
     374
     375$(PROJECT_INCLUDE)/rtems/rtems/modes.inl: macros/rtems/rtems/modes.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     376        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
     377PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
     378
     379$(PROJECT_INCLUDE)/rtems/rtems/options.inl: macros/rtems/rtems/options.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     380        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/options.inl
     381PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.inl
     382
     383$(PROJECT_INCLUDE)/rtems/rtems/part.inl: macros/rtems/rtems/part.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     384        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/part.inl
     385PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.inl
     386
     387$(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl: macros/rtems/rtems/ratemon.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     388        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
     389PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
     390
     391$(PROJECT_INCLUDE)/rtems/rtems/region.inl: macros/rtems/rtems/region.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     392        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/region.inl
     393PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.inl
     394
     395$(PROJECT_INCLUDE)/rtems/rtems/sem.inl: macros/rtems/rtems/sem.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     396        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
     397PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
     398
     399$(PROJECT_INCLUDE)/rtems/rtems/status.inl: macros/rtems/rtems/status.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     400        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/status.inl
     401PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.inl
     402
     403$(PROJECT_INCLUDE)/rtems/rtems/support.inl: macros/rtems/rtems/support.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     404        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/support.inl
     405PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.inl
     406
     407$(PROJECT_INCLUDE)/rtems/rtems/tasks.inl: macros/rtems/rtems/tasks.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     408        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
     409PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
     410
     411$(PROJECT_INCLUDE)/rtems/rtems/timer.inl: macros/rtems/rtems/timer.inl $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     412        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    346413PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    347414endif
    348415
    349 if INLINE
    350 $(PROJECT_INCLUDE)/rtems/rtems/asr.inl: inline/rtems/rtems/asr.inl
    351         $(INSTALL_DATA) $< $@
    352 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/asr.inl
    353 
    354 $(PROJECT_INCLUDE)/rtems/rtems/attr.inl: inline/rtems/rtems/attr.inl
    355         $(INSTALL_DATA) $< $@
    356 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/attr.inl
    357 
    358 $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl: inline/rtems/rtems/dpmem.inl
    359         $(INSTALL_DATA) $< $@
    360 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/dpmem.inl
    361 
    362 $(PROJECT_INCLUDE)/rtems/rtems/event.inl: inline/rtems/rtems/event.inl
    363         $(INSTALL_DATA) $< $@
    364 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/event.inl
    365 
    366 $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl: inline/rtems/rtems/eventset.inl
    367         $(INSTALL_DATA) $< $@
    368 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/eventset.inl
    369 
    370 $(PROJECT_INCLUDE)/rtems/rtems/message.inl: inline/rtems/rtems/message.inl
    371         $(INSTALL_DATA) $< $@
    372 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/message.inl
    373 
    374 $(PROJECT_INCLUDE)/rtems/rtems/modes.inl: inline/rtems/rtems/modes.inl
    375         $(INSTALL_DATA) $< $@
    376 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/modes.inl
    377 
    378 $(PROJECT_INCLUDE)/rtems/rtems/options.inl: inline/rtems/rtems/options.inl
    379         $(INSTALL_DATA) $< $@
    380 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/options.inl
    381 
    382 $(PROJECT_INCLUDE)/rtems/rtems/part.inl: inline/rtems/rtems/part.inl
    383         $(INSTALL_DATA) $< $@
    384 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/part.inl
    385 
    386 $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl: inline/rtems/rtems/ratemon.inl
    387         $(INSTALL_DATA) $< $@
    388 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/ratemon.inl
    389 
    390 $(PROJECT_INCLUDE)/rtems/rtems/region.inl: inline/rtems/rtems/region.inl
    391         $(INSTALL_DATA) $< $@
    392 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/region.inl
    393 
    394 $(PROJECT_INCLUDE)/rtems/rtems/sem.inl: inline/rtems/rtems/sem.inl
    395         $(INSTALL_DATA) $< $@
    396 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.inl
    397 
    398 $(PROJECT_INCLUDE)/rtems/rtems/status.inl: inline/rtems/rtems/status.inl
    399         $(INSTALL_DATA) $< $@
    400 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/status.inl
    401 
    402 $(PROJECT_INCLUDE)/rtems/rtems/support.inl: inline/rtems/rtems/support.inl
    403         $(INSTALL_DATA) $< $@
    404 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/support.inl
    405 
    406 $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl: inline/rtems/rtems/tasks.inl
    407         $(INSTALL_DATA) $< $@
    408 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/tasks.inl
    409 
    410 $(PROJECT_INCLUDE)/rtems/rtems/timer.inl: inline/rtems/rtems/timer.inl
    411         $(INSTALL_DATA) $< $@
    412 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/timer.inl
    413 endif
    414 
    415416include $(top_srcdir)/automake/local.am
  • cpukit/sapi/ChangeLog

    r7d0eba02 r8a61c2a  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add $(dirstamp) to preinstallation rules.
     4        Remove MACROS.
     5
    162003-11-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/sapi/Makefile.am

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