Changeset 2ba33ba in rtems


Ignore:
Timestamp:
Dec 3, 2003, 5:17:29 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
621e4f3f
Parents:
9a6f471
Message:

2003-12-03 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add preinstallation dirstamp support.
  • clock/Makefile.am: Cosmetics.
  • console/Makefile.am: Cosmetics.
  • irq/Makefile.am: Add preinstallation dirstamp support.
  • startup/Makefile.am: Cosmetics.
  • timer/Makefile.am: Cosmetics.
  • wrapup/Makefile.am: Cosmetics.
Location:
c/src/lib/libbsp/arm/vegaplus
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/vegaplus/Makefile.am

    r9a6f471 r2ba33ba  
    1717all-local: $(PREINSTALL_FILES)
    1818
    19 $(PROJECT_INCLUDE)/registers.h: include/registers.h
    20         $(INSTALL_DATA) $< $@
     19$(PROJECT_INCLUDE)/registers.h: include/registers.h $(PROJECT_INCLUDE)/$(dirstamp)
     20        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/registers.h
    2121PREINSTALL_FILES += $(PROJECT_INCLUDE)/registers.h
    2222
    23 $(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
    24         $(INSTALL_DATA) $< $@
     23$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
     24        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
    2525PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
    2626
  • c/src/lib/libbsp/arm/vegaplus/clock/Makefile.am

    r9a6f471 r2ba33ba  
    22## $Id$
    33##
    4 
    54
    65PGM = $(ARCH)/clock.rel
  • c/src/lib/libbsp/arm/vegaplus/console/Makefile.am

    r9a6f471 r2ba33ba  
    22## $Id$
    33##
    4 
    54
    65VPATH = @srcdir@:@srcdir@/../../shared/comm:@srcdir@/../../shared/io
  • c/src/lib/libbsp/arm/vegaplus/irq/Makefile.am

    r9a6f471 r2ba33ba  
    22## $Id$
    33##
    4 
    54
    65VPATH = @srcdir@:@srcdir@/../../shared/irq
     
    2726AM_CPPFLAGS += -I$(srcdir)
    2827
    29 $(PROJECT_INCLUDE):
    30         $(mkinstalldirs) $@
    31 
    32 $(PROJECT_INCLUDE)/%.h: %.h
    33         $(INSTALL_DATA) $< $@
    34 
    35 PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
    36 
    3728$(PGM): $(OBJS)
    3829        $(make-rel)
     
    4637EXTRA_DIST = bsp_irq_asm.S bsp_irq_init.c irq.c
    4738
     39PREINSTALL_FILES =
     40
     41$(PROJECT_INCLUDE)/$(dirstamp):
     42        @$(mkinstalldirs) $(PROJECT_INCLUDE)
     43        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     44PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
     45
     46$(PROJECT_INCLUDE)/irq.h: irq.h $(PROJECT_INCLUDE)/$(dirstamp)
     47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
     48PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
     49
    4850include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/arm/vegaplus/startup/Makefile.am

    r9a6f471 r2ba33ba  
    22## $Id$
    33##
    4 
    54
    65VPATH = @srcdir@:@srcdir@/../../../shared
  • c/src/lib/libbsp/arm/vegaplus/timer/Makefile.am

    r9a6f471 r2ba33ba  
    22## $Id$
    33##
    4 
    54
    65VPATH = @srcdir@:@srcdir@/../../../shared
  • c/src/lib/libbsp/arm/vegaplus/wrapup/Makefile.am

    r9a6f471 r2ba33ba  
    99
    1010# bummer; have to use $foreach since % pattern subst rules only replace 1x
    11 OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
    12     $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
    13     $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
     11OBJS = $(foreach piece, $(BSP_FILES), $(wildcard \
     12    ../$(piece)/$(ARCH)/*.$(OBJEXT))) $(wildcard \
     13    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
     14    $(foreach piece, $(GENERIC_FILES), \
     15    ../../../$(piece)/$(ARCH)/$(piece).rel)
    1416
    1517LIB = $(ARCH)/libbsp.a
Note: See TracChangeset for help on using the changeset viewer.