Changeset 731656e in rtems


Ignore:
Timestamp:
Dec 12, 2003, 10:39:38 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
14348a00
Parents:
ab25c258
Message:

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

  • wrapup/Makefile.am: Reworked.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rab25c258 r731656e  
     12003-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * wrapup/Makefile.am: Reworked.
     4
    152003-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • cpukit/wrapup/Makefile.am

    rab25c258 r731656e  
    33##
    44
    5 LIB = $(project_libdir)/librtemscpu$(LIB_VARIANT).a
    6 
    75include $(top_srcdir)/automake/multilib.am
    86include $(top_srcdir)/automake/compile.am
    97include $(top_srcdir)/automake/lib.am
     8
     9project_lib_DATA = $(ARCH)/librtemscpu$(LIB_VARIANT).a
    1010
    1111LIBS =
     
    6969$(LIBS): $(ARCH)/$(dirstamp)
    7070
    71 $(LIB): ${LIBS}
     71$(ARCH)/librtemscpu$(LIB_VARIANT).a: ${LIBS}
    7272        rm -f $@
    7373        rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
     
    9595          esac; \
    9696        done
    97         test -d $(project_libdir) || $(mkinstalldirs) $(project_libdir)
    9897        $(AR) rc $@ $(ARCH)/*
    9998        rm -f $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
    10099        $(RANLIB) $@
    101100
    102 TMPINSTALL_FILES += $(project_libdir)/librtemscpu$(LIB_VARIANT).a
     101all-local: $(TMPINSTALL_FILES)
    103102
    104 all-am: $(LIB) $(TMPINSTALL_FILES)
     103${PROJECT_RELEASE}/lib/$(dirstamp):
     104        @$(mkinstalldirs) ${PROJECT_RELEASE}/lib
     105        @: > ${PROJECT_RELEASE}/lib/$(dirstamp)
     106TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/$(dirstamp)
    105107
    106 install-data-hook: $(LIB)
    107         @$(mkinstalldirs) $(DESTDIR)$(libdir)
    108         $(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir)
     108${PROJECT_RELEASE}/lib/librtemscpu$(LIB_VARIANT).a: $(ARCH)/librtemscpu$(LIB_VARIANT).a ${PROJECT_RELEASE}/lib/$(dirstamp)
     109        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/librtemscpu$(LIB_VARIANT).a
     110TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/librtemscpu$(LIB_VARIANT).a
    109111
    110112include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.