Changeset 5ef82f97 in rtems


Ignore:
Timestamp:
Dec 1, 2003, 4:10:53 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6562751e
Parents:
8d46f4f
Message:

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

  • automake/compile.am: Add $(ARCH)/$(dirstamp) rules.
  • wrapup/Makefile.am: Reflect $(dirstamp) changes.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r8d46f4f r5ef82f97  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * automake/compile.am: Add $(ARCH)/$(dirstamp) rules.
     4        * wrapup/Makefile.am: Reflect $(dirstamp) changes.
     5
    162003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/automake/compile.am

    r8d46f4f r5ef82f97  
    5757CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
    5858
    59 ${ARCH}/%.$(OBJEXT): %.c
     59${ARCH}/%.$(OBJEXT): %.c $(ARCH)/$(dirstamp)
    6060        ${COMPILE} -o $@ -c $<
    6161
    62 ${ARCH}/%.$(OBJEXT): %.S
     62${ARCH}/%.$(OBJEXT): %.S $(ARCH)/$(dirstamp)
    6363        ${CCASCOMPILE} -o $@ -c $<
    6464
     
    117117ARCH = $(ARCH_$(VARIANT_V)_V)
    118118
    119 ${ARCH}:
    120         mkdir ${ARCH}
     119${ARCH}/$(dirstamp):
     120        @$(mkinstalldirs) $(ARCH)
     121        @: > $(ARCH)/$(dirstamp)
    121122
    122123## Setup the library suffix
  • cpukit/wrapup/Makefile.am

    r8d46f4f r5ef82f97  
    6767endif
    6868
     69$(LIBS): $(ARCH)/$(dirstamp)
     70
    6971$(LIB): ${LIBS}
    7072        rm -f $@
    71         rm -rf $(ARCH)/*
     73        rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
    7274        for f in $(LIBS); do \
    7375          case $$f in \
     
    9597        test -d $(project_libdir) || $(mkinstalldirs) $(project_libdir)
    9698        $(AR) rc $@ $(ARCH)/*
    97         rm -f $(ARCH)/*.$(OBJEXT)
     99        rm -f $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
    98100        $(RANLIB) $@
    99101
    100102TMPINSTALL_FILES += $(project_libdir)/librtemscpu$(LIB_VARIANT).a
    101103
    102 all-am: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
     104all-am: $(LIB) $(TMPINSTALL_FILES)
    103105
    104106install-data-hook: $(LIB)
Note: See TracChangeset for help on using the changeset viewer.