Changeset 3450adc in rtems


Ignore:
Timestamp:
Nov 30, 2003, 8:04:58 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
31728d9b
Parents:
9e7e53bf
Message:

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

  • Makefile.am: Add $(dirstamp) to preinstallation rules. Restore libc/$(ARCH)/lib.a.
Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/ChangeLog

    r9e7e53bf r3450adc  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add $(dirstamp) to preinstallation rules.
     4        Restore libc/$(ARCH)/lib.a.
     5
    162003-11-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libnetworking/Makefile.am

    r9e7e53bf r3450adc  
    174174libc/$(ARCH)/%.$(OBJEXT): libc/%.c
    175175        ${COMPILE} $(libc_CPPFLAGS) -o $@ -c $<
    176 libc/$(ARCH)/libc.a: $(libc_OBJS)
     176libc/$(ARCH)/lib.a: $(libc_OBJS)
    177177        $(make-library)
    178178
    179 TMP_LIBS += libc/$(ARCH) libc/$(ARCH)/libc.a
     179TMP_LIBS += libc/$(ARCH) libc/$(ARCH)/lib.a
    180180
    181181CLEANDIRS = libc/o-optimize libc/o-debug
     
    232232PREINSTALL_FILES =
    233233
     234$(PROJECT_INCLUDE)/$(dirstamp):
     235        @$(mkinstalldirs) $(PROJECT_INCLUDE)
     236        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     237PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
     238
    234239if HAS_NETWORKING
    235 $(PROJECT_INCLUDE)/bpfilter.h: bpfilter.h
    236         $(INSTALL_DATA) $< $@
     240$(PROJECT_INCLUDE)/bpfilter.h: bpfilter.h $(PROJECT_INCLUDE)/$(dirstamp)
     241        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bpfilter.h
    237242PREINSTALL_FILES += $(PROJECT_INCLUDE)/bpfilter.h
    238243
    239 $(PROJECT_INCLUDE)/loop.h: loop.h
    240         $(INSTALL_DATA) $< $@
     244$(PROJECT_INCLUDE)/loop.h: loop.h $(PROJECT_INCLUDE)/$(dirstamp)
     245        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/loop.h
    241246PREINSTALL_FILES += $(PROJECT_INCLUDE)/loop.h
    242247
    243 $(PROJECT_INCLUDE)/netdb.h: netdb.h
    244         $(INSTALL_DATA) $< $@
     248$(PROJECT_INCLUDE)/netdb.h: netdb.h $(PROJECT_INCLUDE)/$(dirstamp)
     249        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netdb.h
    245250PREINSTALL_FILES += $(PROJECT_INCLUDE)/netdb.h
    246251
    247 $(PROJECT_INCLUDE)/opt_ipfw.h: opt_ipfw.h
    248         $(INSTALL_DATA) $< $@
     252$(PROJECT_INCLUDE)/opt_ipfw.h: opt_ipfw.h $(PROJECT_INCLUDE)/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/opt_ipfw.h
    249254PREINSTALL_FILES += $(PROJECT_INCLUDE)/opt_ipfw.h
    250255
    251 $(PROJECT_INCLUDE)/opt_mrouting.h: opt_mrouting.h
    252         $(INSTALL_DATA) $< $@
     256$(PROJECT_INCLUDE)/opt_mrouting.h: opt_mrouting.h $(PROJECT_INCLUDE)/$(dirstamp)
     257        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/opt_mrouting.h
    253258PREINSTALL_FILES += $(PROJECT_INCLUDE)/opt_mrouting.h
    254259
    255 $(PROJECT_INCLUDE)/opt_tcpdebug.h: opt_tcpdebug.h
    256         $(INSTALL_DATA) $< $@
     260$(PROJECT_INCLUDE)/opt_tcpdebug.h: opt_tcpdebug.h $(PROJECT_INCLUDE)/$(dirstamp)
     261        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/opt_tcpdebug.h
    257262PREINSTALL_FILES += $(PROJECT_INCLUDE)/opt_tcpdebug.h
    258263
    259 $(PROJECT_INCLUDE)/resolv.h: resolv.h
    260         $(INSTALL_DATA) $< $@
     264$(PROJECT_INCLUDE)/resolv.h: resolv.h $(PROJECT_INCLUDE)/$(dirstamp)
     265        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/resolv.h
    261266PREINSTALL_FILES += $(PROJECT_INCLUDE)/resolv.h
    262267
    263 $(PROJECT_INCLUDE)/syslog.h: syslog.h
    264         $(INSTALL_DATA) $< $@
     268$(PROJECT_INCLUDE)/syslog.h: syslog.h $(PROJECT_INCLUDE)/$(dirstamp)
     269        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/syslog.h
    265270PREINSTALL_FILES += $(PROJECT_INCLUDE)/syslog.h
    266271
    267 $(PROJECT_INCLUDE)/memory.h: memory.h
    268         $(INSTALL_DATA) $< $@
     272$(PROJECT_INCLUDE)/memory.h: memory.h $(PROJECT_INCLUDE)/$(dirstamp)
     273        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/memory.h
    269274PREINSTALL_FILES += $(PROJECT_INCLUDE)/memory.h
    270275
    271 $(PROJECT_INCLUDE)/arpa:
     276$(PROJECT_INCLUDE)/arpa/$(dirstamp):
    272277        @$(mkinstalldirs) $(PROJECT_INCLUDE)/arpa
    273 PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa
    274 
    275 $(PROJECT_INCLUDE)/arpa/ftp.h: arpa/ftp.h
    276         $(INSTALL_DATA) $< $@
     278        @: > $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     279PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     280
     281$(PROJECT_INCLUDE)/arpa/ftp.h: arpa/ftp.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     282        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/ftp.h
    277283PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/ftp.h
    278284
    279 $(PROJECT_INCLUDE)/arpa/inet.h: arpa/inet.h
    280         $(INSTALL_DATA) $< $@
     285$(PROJECT_INCLUDE)/arpa/inet.h: arpa/inet.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     286        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/inet.h
    281287PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/inet.h
    282288
    283 $(PROJECT_INCLUDE)/arpa/nameser.h: arpa/nameser.h
    284         $(INSTALL_DATA) $< $@
     289$(PROJECT_INCLUDE)/arpa/nameser.h: arpa/nameser.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     290        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/nameser.h
    285291PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/nameser.h
    286292
    287 $(PROJECT_INCLUDE)/arpa/nameser_compat.h: arpa/nameser_compat.h
    288         $(INSTALL_DATA) $< $@
     293$(PROJECT_INCLUDE)/arpa/nameser_compat.h: arpa/nameser_compat.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     294        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/nameser_compat.h
    289295PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/nameser_compat.h
    290296
    291 $(PROJECT_INCLUDE)/arpa/telnet.h: arpa/telnet.h
    292         $(INSTALL_DATA) $< $@
     297$(PROJECT_INCLUDE)/arpa/telnet.h: arpa/telnet.h $(PROJECT_INCLUDE)/arpa/$(dirstamp)
     298        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arpa/telnet.h
    293299PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa/telnet.h
    294300
    295 $(PROJECT_INCLUDE)/machine:
     301$(PROJECT_INCLUDE)/machine/$(dirstamp):
    296302        @$(mkinstalldirs) $(PROJECT_INCLUDE)/machine
    297 PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine
    298 
    299 $(PROJECT_INCLUDE)/machine/conf.h: machine/conf.h
    300         $(INSTALL_DATA) $< $@
     303        @: > $(PROJECT_INCLUDE)/machine/$(dirstamp)
     304PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/$(dirstamp)
     305
     306$(PROJECT_INCLUDE)/machine/conf.h: machine/conf.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     307        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/conf.h
    301308PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/conf.h
    302309
    303 $(PROJECT_INCLUDE)/machine/cpu.h: machine/cpu.h
    304         $(INSTALL_DATA) $< $@
     310$(PROJECT_INCLUDE)/machine/cpu.h: machine/cpu.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     311        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/cpu.h
    305312PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/cpu.h
    306313
    307 $(PROJECT_INCLUDE)/machine/cpufunc.h: machine/cpufunc.h
    308         $(INSTALL_DATA) $< $@
     314$(PROJECT_INCLUDE)/machine/cpufunc.h: machine/cpufunc.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     315        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/cpufunc.h
    309316PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/cpufunc.h
    310317
    311 $(PROJECT_INCLUDE)/machine/endian.h: machine/endian.h
    312         $(INSTALL_DATA) $< $@
     318$(PROJECT_INCLUDE)/machine/endian.h: machine/endian.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     319        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/endian.h
    313320PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/endian.h
    314321
    315 $(PROJECT_INCLUDE)/machine/in_cksum.h: machine/in_cksum.h
    316         $(INSTALL_DATA) $< $@
     322$(PROJECT_INCLUDE)/machine/in_cksum.h: machine/in_cksum.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     323        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/in_cksum.h
    317324PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/in_cksum.h
    318325
    319 $(PROJECT_INCLUDE)/machine/vmparam.h: machine/vmparam.h
    320         $(INSTALL_DATA) $< $@
     326$(PROJECT_INCLUDE)/machine/vmparam.h: machine/vmparam.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     327        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/vmparam.h
    321328PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/vmparam.h
    322329
    323 $(PROJECT_INCLUDE)/net:
     330$(PROJECT_INCLUDE)/net/$(dirstamp):
    324331        @$(mkinstalldirs) $(PROJECT_INCLUDE)/net
    325 PREINSTALL_FILES += $(PROJECT_INCLUDE)/net
    326 
    327 $(PROJECT_INCLUDE)/net/bpf.h: net/bpf.h
    328         $(INSTALL_DATA) $< $@
     332        @: > $(PROJECT_INCLUDE)/net/$(dirstamp)
     333PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/$(dirstamp)
     334
     335$(PROJECT_INCLUDE)/net/bpf.h: net/bpf.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     336        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/bpf.h
    329337PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/bpf.h
    330338
    331 $(PROJECT_INCLUDE)/net/ethernet.h: net/ethernet.h
    332         $(INSTALL_DATA) $< $@
     339$(PROJECT_INCLUDE)/net/ethernet.h: net/ethernet.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     340        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/ethernet.h
    333341PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/ethernet.h
    334342
    335 $(PROJECT_INCLUDE)/net/if.h: net/if.h
    336         $(INSTALL_DATA) $< $@
     343$(PROJECT_INCLUDE)/net/if.h: net/if.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     344        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if.h
    337345PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if.h
    338346
    339 $(PROJECT_INCLUDE)/net/if_arp.h: net/if_arp.h
    340         $(INSTALL_DATA) $< $@
     347$(PROJECT_INCLUDE)/net/if_arp.h: net/if_arp.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     348        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_arp.h
    341349PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_arp.h
    342350
    343 $(PROJECT_INCLUDE)/net/if_dl.h: net/if_dl.h
    344         $(INSTALL_DATA) $< $@
     351$(PROJECT_INCLUDE)/net/if_dl.h: net/if_dl.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     352        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_dl.h
    345353PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_dl.h
    346354
    347 $(PROJECT_INCLUDE)/net/if_llc.h: net/if_llc.h
    348         $(INSTALL_DATA) $< $@
     355$(PROJECT_INCLUDE)/net/if_llc.h: net/if_llc.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     356        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_llc.h
    349357PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_llc.h
    350358
    351 $(PROJECT_INCLUDE)/net/if_ppp.h: net/if_ppp.h
    352         $(INSTALL_DATA) $< $@
     359$(PROJECT_INCLUDE)/net/if_ppp.h: net/if_ppp.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     360        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_ppp.h
    353361PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_ppp.h
    354362
    355 $(PROJECT_INCLUDE)/net/if_types.h: net/if_types.h
    356         $(INSTALL_DATA) $< $@
     363$(PROJECT_INCLUDE)/net/if_types.h: net/if_types.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     364        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_types.h
    357365PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_types.h
    358366
    359 $(PROJECT_INCLUDE)/net/netisr.h: net/netisr.h
    360         $(INSTALL_DATA) $< $@
     367$(PROJECT_INCLUDE)/net/netisr.h: net/netisr.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     368        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/netisr.h
    361369PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/netisr.h
    362370
    363 $(PROJECT_INCLUDE)/net/ppp-comp.h: net/ppp-comp.h
    364         $(INSTALL_DATA) $< $@
     371$(PROJECT_INCLUDE)/net/ppp-comp.h: net/ppp-comp.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     372        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/ppp-comp.h
    365373PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/ppp-comp.h
    366374
    367 $(PROJECT_INCLUDE)/net/ppp_defs.h: net/ppp_defs.h
    368         $(INSTALL_DATA) $< $@
     375$(PROJECT_INCLUDE)/net/ppp_defs.h: net/ppp_defs.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     376        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/ppp_defs.h
    369377PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/ppp_defs.h
    370378
    371 $(PROJECT_INCLUDE)/net/radix.h: net/radix.h
    372         $(INSTALL_DATA) $< $@
     379$(PROJECT_INCLUDE)/net/radix.h: net/radix.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     380        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/radix.h
    373381PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/radix.h
    374382
    375 $(PROJECT_INCLUDE)/net/raw_cb.h: net/raw_cb.h
    376         $(INSTALL_DATA) $< $@
     383$(PROJECT_INCLUDE)/net/raw_cb.h: net/raw_cb.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     384        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/raw_cb.h
    377385PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/raw_cb.h
    378386
    379 $(PROJECT_INCLUDE)/net/route.h: net/route.h
    380         $(INSTALL_DATA) $< $@
     387$(PROJECT_INCLUDE)/net/route.h: net/route.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     388        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/route.h
    381389PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/route.h
    382390
    383 $(PROJECT_INCLUDE)/net/if_pppvar.h: net/if_pppvar.h
    384         $(INSTALL_DATA) $< $@
     391$(PROJECT_INCLUDE)/net/if_pppvar.h: net/if_pppvar.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     392        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/if_pppvar.h
    385393PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/if_pppvar.h
    386394
    387 $(PROJECT_INCLUDE)/net/pppcompress.h: net/pppcompress.h
    388         $(INSTALL_DATA) $< $@
     395$(PROJECT_INCLUDE)/net/pppcompress.h: net/pppcompress.h $(PROJECT_INCLUDE)/net/$(dirstamp)
     396        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/net/pppcompress.h
    389397PREINSTALL_FILES += $(PROJECT_INCLUDE)/net/pppcompress.h
    390398
    391 $(PROJECT_INCLUDE)/netinet:
     399$(PROJECT_INCLUDE)/netinet/$(dirstamp):
    392400        @$(mkinstalldirs) $(PROJECT_INCLUDE)/netinet
    393 PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet
    394 
    395 $(PROJECT_INCLUDE)/netinet/icmp_var.h: netinet/icmp_var.h
    396         $(INSTALL_DATA) $< $@
     401        @: > $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     402PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     403
     404$(PROJECT_INCLUDE)/netinet/icmp_var.h: netinet/icmp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     405        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/icmp_var.h
    397406PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/icmp_var.h
    398407
    399 $(PROJECT_INCLUDE)/netinet/if_ether.h: netinet/if_ether.h
    400         $(INSTALL_DATA) $< $@
     408$(PROJECT_INCLUDE)/netinet/if_ether.h: netinet/if_ether.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     409        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/if_ether.h
    401410PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/if_ether.h
    402411
    403 $(PROJECT_INCLUDE)/netinet/igmp.h: netinet/igmp.h
    404         $(INSTALL_DATA) $< $@
     412$(PROJECT_INCLUDE)/netinet/igmp.h: netinet/igmp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     413        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/igmp.h
    405414PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/igmp.h
    406415
    407 $(PROJECT_INCLUDE)/netinet/igmp_var.h: netinet/igmp_var.h
    408         $(INSTALL_DATA) $< $@
     416$(PROJECT_INCLUDE)/netinet/igmp_var.h: netinet/igmp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     417        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/igmp_var.h
    409418PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/igmp_var.h
    410419
    411 $(PROJECT_INCLUDE)/netinet/in.h: netinet/in.h
    412         $(INSTALL_DATA) $< $@
     420$(PROJECT_INCLUDE)/netinet/in.h: netinet/in.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     421        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in.h
    413422PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in.h
    414423
    415 $(PROJECT_INCLUDE)/netinet/in_pcb.h: netinet/in_pcb.h
    416         $(INSTALL_DATA) $< $@
     424$(PROJECT_INCLUDE)/netinet/in_pcb.h: netinet/in_pcb.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     425        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in_pcb.h
    417426PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in_pcb.h
    418427
    419 $(PROJECT_INCLUDE)/netinet/in_systm.h: netinet/in_systm.h
    420         $(INSTALL_DATA) $< $@
     428$(PROJECT_INCLUDE)/netinet/in_systm.h: netinet/in_systm.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     429        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in_systm.h
    421430PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in_systm.h
    422431
    423 $(PROJECT_INCLUDE)/netinet/in_var.h: netinet/in_var.h
    424         $(INSTALL_DATA) $< $@
     432$(PROJECT_INCLUDE)/netinet/in_var.h: netinet/in_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     433        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/in_var.h
    425434PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/in_var.h
    426435
    427 $(PROJECT_INCLUDE)/netinet/ip.h: netinet/ip.h
    428         $(INSTALL_DATA) $< $@
     436$(PROJECT_INCLUDE)/netinet/ip.h: netinet/ip.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     437        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip.h
    429438PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip.h
    430439
    431 $(PROJECT_INCLUDE)/netinet/ip_fw.h: netinet/ip_fw.h
    432         $(INSTALL_DATA) $< $@
     440$(PROJECT_INCLUDE)/netinet/ip_fw.h: netinet/ip_fw.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     441        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_fw.h
    433442PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_fw.h
    434443
    435 $(PROJECT_INCLUDE)/netinet/ip_icmp.h: netinet/ip_icmp.h
    436         $(INSTALL_DATA) $< $@
     444$(PROJECT_INCLUDE)/netinet/ip_icmp.h: netinet/ip_icmp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     445        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_icmp.h
    437446PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_icmp.h
    438447
    439 $(PROJECT_INCLUDE)/netinet/ip_mroute.h: netinet/ip_mroute.h
    440         $(INSTALL_DATA) $< $@
     448$(PROJECT_INCLUDE)/netinet/ip_mroute.h: netinet/ip_mroute.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     449        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_mroute.h
    441450PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_mroute.h
    442451
    443 $(PROJECT_INCLUDE)/netinet/ip_var.h: netinet/ip_var.h
    444         $(INSTALL_DATA) $< $@
     452$(PROJECT_INCLUDE)/netinet/ip_var.h: netinet/ip_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     453        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/ip_var.h
    445454PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/ip_var.h
    446455
    447 $(PROJECT_INCLUDE)/netinet/tcp.h: netinet/tcp.h
    448         $(INSTALL_DATA) $< $@
     456$(PROJECT_INCLUDE)/netinet/tcp.h: netinet/tcp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     457        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp.h
    449458PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp.h
    450459
    451 $(PROJECT_INCLUDE)/netinet/tcp_debug.h: netinet/tcp_debug.h
    452         $(INSTALL_DATA) $< $@
     460$(PROJECT_INCLUDE)/netinet/tcp_debug.h: netinet/tcp_debug.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     461        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_debug.h
    453462PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_debug.h
    454463
    455 $(PROJECT_INCLUDE)/netinet/tcp_fsm.h: netinet/tcp_fsm.h
    456         $(INSTALL_DATA) $< $@
     464$(PROJECT_INCLUDE)/netinet/tcp_fsm.h: netinet/tcp_fsm.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     465        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_fsm.h
    457466PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_fsm.h
    458467
    459 $(PROJECT_INCLUDE)/netinet/tcp_seq.h: netinet/tcp_seq.h
    460         $(INSTALL_DATA) $< $@
     468$(PROJECT_INCLUDE)/netinet/tcp_seq.h: netinet/tcp_seq.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     469        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_seq.h
    461470PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_seq.h
    462471
    463 $(PROJECT_INCLUDE)/netinet/tcp_timer.h: netinet/tcp_timer.h
    464         $(INSTALL_DATA) $< $@
     472$(PROJECT_INCLUDE)/netinet/tcp_timer.h: netinet/tcp_timer.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     473        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_timer.h
    465474PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_timer.h
    466475
    467 $(PROJECT_INCLUDE)/netinet/tcp_var.h: netinet/tcp_var.h
    468         $(INSTALL_DATA) $< $@
     476$(PROJECT_INCLUDE)/netinet/tcp_var.h: netinet/tcp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     477        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcp_var.h
    469478PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcp_var.h
    470479
    471 $(PROJECT_INCLUDE)/netinet/tcpip.h: netinet/tcpip.h
    472         $(INSTALL_DATA) $< $@
     480$(PROJECT_INCLUDE)/netinet/tcpip.h: netinet/tcpip.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     481        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/tcpip.h
    473482PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/tcpip.h
    474483
    475 $(PROJECT_INCLUDE)/netinet/udp.h: netinet/udp.h
    476         $(INSTALL_DATA) $< $@
     484$(PROJECT_INCLUDE)/netinet/udp.h: netinet/udp.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     485        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/udp.h
    477486PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/udp.h
    478487
    479 $(PROJECT_INCLUDE)/netinet/udp_var.h: netinet/udp_var.h
    480         $(INSTALL_DATA) $< $@
     488$(PROJECT_INCLUDE)/netinet/udp_var.h: netinet/udp_var.h $(PROJECT_INCLUDE)/netinet/$(dirstamp)
     489        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/netinet/udp_var.h
    481490PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet/udp_var.h
    482491
    483 $(PROJECT_INCLUDE)/nfs:
     492$(PROJECT_INCLUDE)/nfs/$(dirstamp):
    484493        @$(mkinstalldirs) $(PROJECT_INCLUDE)/nfs
    485 PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs
    486 
    487 $(PROJECT_INCLUDE)/nfs/krpc.h: nfs/krpc.h
    488         $(INSTALL_DATA) $< $@
     494        @: > $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     495PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     496
     497$(PROJECT_INCLUDE)/nfs/krpc.h: nfs/krpc.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     498        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/krpc.h
    489499PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/krpc.h
    490500
    491 $(PROJECT_INCLUDE)/nfs/nfs.h: nfs/nfs.h
    492         $(INSTALL_DATA) $< $@
     501$(PROJECT_INCLUDE)/nfs/nfs.h: nfs/nfs.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     502        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/nfs.h
    493503PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/nfs.h
    494504
    495 $(PROJECT_INCLUDE)/nfs/nfsdiskless.h: nfs/nfsdiskless.h
    496         $(INSTALL_DATA) $< $@
     505$(PROJECT_INCLUDE)/nfs/nfsdiskless.h: nfs/nfsdiskless.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     506        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/nfsdiskless.h
    497507PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/nfsdiskless.h
    498508
    499 $(PROJECT_INCLUDE)/nfs/nfsproto.h: nfs/nfsproto.h
    500         $(INSTALL_DATA) $< $@
     509$(PROJECT_INCLUDE)/nfs/nfsproto.h: nfs/nfsproto.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     510        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/nfsproto.h
    501511PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/nfsproto.h
    502512
    503 $(PROJECT_INCLUDE)/nfs/rpcv2.h: nfs/rpcv2.h
    504         $(INSTALL_DATA) $< $@
     513$(PROJECT_INCLUDE)/nfs/rpcv2.h: nfs/rpcv2.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     514        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/rpcv2.h
    505515PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/rpcv2.h
    506516
    507 $(PROJECT_INCLUDE)/nfs/xdr_subs.h: nfs/xdr_subs.h
    508         $(INSTALL_DATA) $< $@
     517$(PROJECT_INCLUDE)/nfs/xdr_subs.h: nfs/xdr_subs.h $(PROJECT_INCLUDE)/nfs/$(dirstamp)
     518        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nfs/xdr_subs.h
    509519PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs/xdr_subs.h
    510520
    511 $(PROJECT_INCLUDE)/rtems:
     521$(PROJECT_INCLUDE)/rtems/$(dirstamp):
    512522        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
    513 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems
    514 
    515 $(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h: rtems/rtems_bsdnet.h
    516         $(INSTALL_DATA) $< $@
     523        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     524PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     525
     526$(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h: rtems/rtems_bsdnet.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     527        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h
    517528PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_bsdnet.h
    518529
    519 $(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h: rtems/rtems_bsdnet_internal.h
    520         $(INSTALL_DATA) $< $@
     530$(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h: rtems/rtems_bsdnet_internal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     531        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h
    521532PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems_bsdnet_internal.h
    522533
    523 $(PROJECT_INCLUDE)/rtems/tftp.h: rtems/tftp.h
    524         $(INSTALL_DATA) $< $@
     534$(PROJECT_INCLUDE)/rtems/tftp.h: rtems/tftp.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     535        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/tftp.h
    525536PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/tftp.h
    526537
    527 $(PROJECT_INCLUDE)/rtems/ftpfs.h: rtems/ftpfs.h
    528         $(INSTALL_DATA) $< $@
     538$(PROJECT_INCLUDE)/rtems/ftpfs.h: rtems/ftpfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     539        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ftpfs.h
    529540PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ftpfs.h
    530541
    531 $(PROJECT_INCLUDE)/rtems/mkrootfs.h: rtems/mkrootfs.h
    532         $(INSTALL_DATA) $< $@
     542$(PROJECT_INCLUDE)/rtems/mkrootfs.h: rtems/mkrootfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     543        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mkrootfs.h
    533544PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mkrootfs.h
    534545
    535 $(PROJECT_INCLUDE)/sys:
     546$(PROJECT_INCLUDE)/sys/$(dirstamp):
    536547        @$(mkinstalldirs) $(PROJECT_INCLUDE)/sys
    537 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys
    538 
    539 $(PROJECT_INCLUDE)/sys/buf.h: sys/buf.h
    540         $(INSTALL_DATA) $< $@
     548        @: > $(PROJECT_INCLUDE)/sys/$(dirstamp)
     549PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/$(dirstamp)
     550
     551$(PROJECT_INCLUDE)/sys/buf.h: sys/buf.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     552        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/buf.h
    541553PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/buf.h
    542554
    543 $(PROJECT_INCLUDE)/sys/callout.h: sys/callout.h
    544         $(INSTALL_DATA) $< $@
     555$(PROJECT_INCLUDE)/sys/callout.h: sys/callout.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     556        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/callout.h
    545557PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/callout.h
    546558
    547 $(PROJECT_INCLUDE)/sys/conf.h: sys/conf.h
    548         $(INSTALL_DATA) $< $@
     559$(PROJECT_INCLUDE)/sys/conf.h: sys/conf.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     560        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/conf.h
    549561PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/conf.h
    550562
    551 $(PROJECT_INCLUDE)/sys/domain.h: sys/domain.h
    552         $(INSTALL_DATA) $< $@
     563$(PROJECT_INCLUDE)/sys/domain.h: sys/domain.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     564        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/domain.h
    553565PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/domain.h
    554566
    555 $(PROJECT_INCLUDE)/sys/kernel.h: sys/kernel.h
    556         $(INSTALL_DATA) $< $@
     567$(PROJECT_INCLUDE)/sys/kernel.h: sys/kernel.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     568        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/kernel.h
    557569PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/kernel.h
    558570
    559 $(PROJECT_INCLUDE)/sys/libkern.h: sys/libkern.h
    560         $(INSTALL_DATA) $< $@
     571$(PROJECT_INCLUDE)/sys/libkern.h: sys/libkern.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     572        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/libkern.h
    561573PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/libkern.h
    562574
    563 $(PROJECT_INCLUDE)/sys/linker_set.h: sys/linker_set.h
    564         $(INSTALL_DATA) $< $@
     575$(PROJECT_INCLUDE)/sys/linker_set.h: sys/linker_set.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     576        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/linker_set.h
    565577PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/linker_set.h
    566578
    567 $(PROJECT_INCLUDE)/sys/malloc.h: sys/malloc.h
    568         $(INSTALL_DATA) $< $@
     579$(PROJECT_INCLUDE)/sys/malloc.h: sys/malloc.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     580        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/malloc.h
    569581PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/malloc.h
    570582
    571 $(PROJECT_INCLUDE)/sys/mbuf.h: sys/mbuf.h
    572         $(INSTALL_DATA) $< $@
     583$(PROJECT_INCLUDE)/sys/mbuf.h: sys/mbuf.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     584        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/mbuf.h
    573585PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/mbuf.h
    574586
    575 $(PROJECT_INCLUDE)/sys/mount.h: sys/mount.h
    576         $(INSTALL_DATA) $< $@
     587$(PROJECT_INCLUDE)/sys/mount.h: sys/mount.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     588        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/mount.h
    577589PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/mount.h
    578590
    579 $(PROJECT_INCLUDE)/sys/proc.h: sys/proc.h
    580         $(INSTALL_DATA) $< $@
     591$(PROJECT_INCLUDE)/sys/proc.h: sys/proc.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     592        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/proc.h
    581593PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/proc.h
    582594
    583 $(PROJECT_INCLUDE)/sys/protosw.h: sys/protosw.h
    584         $(INSTALL_DATA) $< $@
     595$(PROJECT_INCLUDE)/sys/protosw.h: sys/protosw.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     596        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/protosw.h
    585597PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/protosw.h
    586598
    587 $(PROJECT_INCLUDE)/sys/queue.h: sys/queue.h
    588         $(INSTALL_DATA) $< $@
     599$(PROJECT_INCLUDE)/sys/queue.h: sys/queue.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     600        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/queue.h
    589601PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/queue.h
    590602
    591 $(PROJECT_INCLUDE)/sys/reboot.h: sys/reboot.h
    592         $(INSTALL_DATA) $< $@
     603$(PROJECT_INCLUDE)/sys/reboot.h: sys/reboot.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     604        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/reboot.h
    593605PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/reboot.h
    594606
    595 $(PROJECT_INCLUDE)/sys/resourcevar.h: sys/resourcevar.h
    596         $(INSTALL_DATA) $< $@
     607$(PROJECT_INCLUDE)/sys/resourcevar.h: sys/resourcevar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     608        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/resourcevar.h
    597609PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/resourcevar.h
    598610
    599 $(PROJECT_INCLUDE)/sys/rtprio.h: sys/rtprio.h
    600         $(INSTALL_DATA) $< $@
     611$(PROJECT_INCLUDE)/sys/rtprio.h: sys/rtprio.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     612        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/rtprio.h
    601613PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/rtprio.h
    602614
    603 $(PROJECT_INCLUDE)/sys/select.h: sys/select.h
    604         $(INSTALL_DATA) $< $@
     615$(PROJECT_INCLUDE)/sys/select.h: sys/select.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     616        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/select.h
    605617PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/select.h
    606618
    607 $(PROJECT_INCLUDE)/sys/signalvar.h: sys/signalvar.h
    608         $(INSTALL_DATA) $< $@
     619$(PROJECT_INCLUDE)/sys/signalvar.h: sys/signalvar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     620        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/signalvar.h
    609621PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/signalvar.h
    610622
    611 $(PROJECT_INCLUDE)/sys/socket.h: sys/socket.h
    612         $(INSTALL_DATA) $< $@
     623$(PROJECT_INCLUDE)/sys/socket.h: sys/socket.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     624        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/socket.h
    613625PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/socket.h
    614626
    615 $(PROJECT_INCLUDE)/sys/socketvar.h: sys/socketvar.h
    616         $(INSTALL_DATA) $< $@
     627$(PROJECT_INCLUDE)/sys/socketvar.h: sys/socketvar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     628        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/socketvar.h
    617629PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/socketvar.h
    618630
    619 $(PROJECT_INCLUDE)/sys/sysctl.h: sys/sysctl.h
    620         $(INSTALL_DATA) $< $@
     631$(PROJECT_INCLUDE)/sys/sysctl.h: sys/sysctl.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     632        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/sysctl.h
    621633PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/sysctl.h
    622634
    623 $(PROJECT_INCLUDE)/sys/syslog.h: sys/syslog.h
    624         $(INSTALL_DATA) $< $@
     635$(PROJECT_INCLUDE)/sys/syslog.h: sys/syslog.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     636        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/syslog.h
    625637PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/syslog.h
    626638
    627 $(PROJECT_INCLUDE)/sys/systm.h: sys/systm.h
    628         $(INSTALL_DATA) $< $@
     639$(PROJECT_INCLUDE)/sys/systm.h: sys/systm.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     640        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/systm.h
    629641PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/systm.h
    630642
    631 $(PROJECT_INCLUDE)/sys/ttydefaults.h: sys/ttydefaults.h
    632         $(INSTALL_DATA) $< $@
     643$(PROJECT_INCLUDE)/sys/ttydefaults.h: sys/ttydefaults.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     644        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ttydefaults.h
    633645PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ttydefaults.h
    634646
    635 $(PROJECT_INCLUDE)/sys/ucred.h: sys/ucred.h
    636         $(INSTALL_DATA) $< $@
     647$(PROJECT_INCLUDE)/sys/ucred.h: sys/ucred.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     648        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ucred.h
    637649PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ucred.h
    638650
    639 $(PROJECT_INCLUDE)/sys/uio.h: sys/uio.h
    640         $(INSTALL_DATA) $< $@
     651$(PROJECT_INCLUDE)/sys/uio.h: sys/uio.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     652        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/uio.h
    641653PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/uio.h
    642654
    643 $(PROJECT_INCLUDE)/sys/un.h: sys/un.h
    644         $(INSTALL_DATA) $< $@
     655$(PROJECT_INCLUDE)/sys/un.h: sys/un.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     656        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/un.h
    645657PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/un.h
    646658
    647 $(PROJECT_INCLUDE)/vm:
     659$(PROJECT_INCLUDE)/vm/$(dirstamp):
    648660        @$(mkinstalldirs) $(PROJECT_INCLUDE)/vm
    649 PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm
    650 
    651 $(PROJECT_INCLUDE)/vm/vm.h: vm/vm.h
    652         $(INSTALL_DATA) $< $@
     661        @: > $(PROJECT_INCLUDE)/vm/$(dirstamp)
     662PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/$(dirstamp)
     663
     664$(PROJECT_INCLUDE)/vm/vm.h: vm/vm.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
     665        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm.h
    653666PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm.h
    654667
    655 $(PROJECT_INCLUDE)/vm/vm_extern.h: vm/vm_extern.h
    656         $(INSTALL_DATA) $< $@
     668$(PROJECT_INCLUDE)/vm/vm_extern.h: vm/vm_extern.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
     669        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm_extern.h
    657670PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm_extern.h
    658671
    659 $(PROJECT_INCLUDE)/vm/vm_kern.h: vm/vm_kern.h
    660         $(INSTALL_DATA) $< $@
     672$(PROJECT_INCLUDE)/vm/vm_kern.h: vm/vm_kern.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
     673        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm_kern.h
    661674PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm_kern.h
    662675
    663 $(PROJECT_INCLUDE)/vm/vm_param.h: vm/vm_param.h
    664         $(INSTALL_DATA) $< $@
     676$(PROJECT_INCLUDE)/vm/vm_param.h: vm/vm_param.h $(PROJECT_INCLUDE)/vm/$(dirstamp)
     677        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vm/vm_param.h
    665678PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm/vm_param.h
    666679endif
Note: See TracChangeset for help on using the changeset viewer.