forked from Imagelibrary/rtems
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Reworked.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* wrapup/Makefile.am: Reworked.
|
||||||
|
|
||||||
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* aclocal/lead-dot.m4: Remove (Use the version in automake-1.8).
|
* aclocal/lead-dot.m4: Remove (Use the version in automake-1.8).
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
LIB = $(project_libdir)/librtemscpu$(LIB_VARIANT).a
|
|
||||||
|
|
||||||
include $(top_srcdir)/automake/multilib.am
|
include $(top_srcdir)/automake/multilib.am
|
||||||
include $(top_srcdir)/automake/compile.am
|
include $(top_srcdir)/automake/compile.am
|
||||||
include $(top_srcdir)/automake/lib.am
|
include $(top_srcdir)/automake/lib.am
|
||||||
|
|
||||||
|
project_lib_DATA = $(ARCH)/librtemscpu$(LIB_VARIANT).a
|
||||||
|
|
||||||
LIBS =
|
LIBS =
|
||||||
if LIBSCORECPU
|
if LIBSCORECPU
|
||||||
LIBS += ../score/cpu/$(RTEMS_CPU)/$(ARCH)/libscorecpu.a
|
LIBS += ../score/cpu/$(RTEMS_CPU)/$(ARCH)/libscorecpu.a
|
||||||
@@ -68,7 +68,7 @@ endif
|
|||||||
|
|
||||||
$(LIBS): $(ARCH)/$(dirstamp)
|
$(LIBS): $(ARCH)/$(dirstamp)
|
||||||
|
|
||||||
$(LIB): ${LIBS}
|
$(ARCH)/librtemscpu$(LIB_VARIANT).a: ${LIBS}
|
||||||
rm -f $@
|
rm -f $@
|
||||||
rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
|
rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
|
||||||
for f in $(LIBS); do \
|
for f in $(LIBS); do \
|
||||||
@@ -94,17 +94,19 @@ $(LIB): ${LIBS}
|
|||||||
;; \
|
;; \
|
||||||
esac; \
|
esac; \
|
||||||
done
|
done
|
||||||
test -d $(project_libdir) || $(mkinstalldirs) $(project_libdir)
|
|
||||||
$(AR) rc $@ $(ARCH)/*
|
$(AR) rc $@ $(ARCH)/*
|
||||||
rm -f $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
|
rm -f $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(project_libdir)/librtemscpu$(LIB_VARIANT).a
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
all-am: $(LIB) $(TMPINSTALL_FILES)
|
${PROJECT_RELEASE}/lib/$(dirstamp):
|
||||||
|
@$(mkinstalldirs) ${PROJECT_RELEASE}/lib
|
||||||
|
@: > ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
|
||||||
install-data-hook: $(LIB)
|
${PROJECT_RELEASE}/lib/librtemscpu$(LIB_VARIANT).a: $(ARCH)/librtemscpu$(LIB_VARIANT).a ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
@$(mkinstalldirs) $(DESTDIR)$(libdir)
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/librtemscpu$(LIB_VARIANT).a
|
||||||
$(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir)
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/librtemscpu$(LIB_VARIANT).a
|
||||||
|
|
||||||
include $(top_srcdir)/automake/local.am
|
include $(top_srcdir)/automake/local.am
|
||||||
|
|||||||
Reference in New Issue
Block a user