Changeset 11cafc0 in rtems for c/src/wrapup/Makefile.am


Ignore:
Timestamp:
02/12/04 12:10:29 (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e9e6b77
Parents:
c24d7c84
Message:

2004-02-12 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Don't include lib.am.
  • automake/compile.am: Use automake compilation rules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/wrapup/Makefile.am

    rc24d7c84 r11cafc0  
    66
    77include $(top_srcdir)/automake/compile.am
    8 include $(top_srcdir)/automake/lib.am
     8
     9## Setup the variant build subdirectory
     10ARCH_OPTIMIZE_V = o-optimize
     11ARCH_DEBUG_V = o-debug
     12                                                                               
     13ARCH__V = $(ARCH_OPTIMIZE_V)
     14ARCH = $(ARCH_$(VARIANT_V)_V)
    915
    1016project_lib_DATA = $(ARCH)/librtemsbsp$(LIB_VARIANT).a
     17CLEANFILES = o-optimize/librtemsbsp.a
     18CLEANFILES += o-debug/librtemsbsp_g.a
    1119
    1220SRCS = ../support/libsupport$(LIB_VARIANT).a
     
    3543endif
    3644
    37 SRCS += $(wildcard $(PROJECT_LIB)/libcpu$(LIB_VARIANT).a)
     45# FIXME: ATM, there is no libcpu.a, anymore.
     46# SRCS += $(wildcard $(PROJECT_LIB)/libcpu$(LIB_VARIANT).a)
    3847
    3948if LIBCHIP
     
    5463all-local: $(TMPINSTALL_FILES)
    5564
    56 $(ARCH)/librtemsbsp$(LIB_VARIANT).a: $(SRCS) $(ARCH)/$(dirstamp)
     65$(ARCH)/librtemsbsp$(LIB_VARIANT).a: $(SRCS)
     66        rm -f $@
     67        $(mkdir_p) $(ARCH)
    5768        rm -rf $(ARCH)/*.a $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
    5869        for f in $(SRCS); do \
     
    8091        done
    8192        $(AR) rc $@ $(ARCH)/*
     93        rm -f $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
    8294        $(RANLIB) $@
    8395
     
    93105TMPINSTALL_FILES += $(PROJECT_LIB)/librtemsbsp$(LIB_VARIANT).a
    94106
    95 CLEANFILES = $(TMPINSTALL_FILES)
     107CLEANFILES += $(TMPINSTALL_FILES)
    96108
    97109include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.