forked from Imagelibrary/rtems
Moving libmisc from rtems/c/src to rtems/cpukit. * Makefile.am: Reflect new path. * configure.ac: Reflect new path. Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP. Remove RTEMS_PROJECT_ROOT. * capture/Makefile.am: Reflect new path. Remove OBJS from all-local. * cpuuse/Makefile.am: Ditto. * devnull/Makefile.am: Ditto. * dummy/Makefile.am: Ditto. * dumpbuf/Makefile.am: Ditto. * monitor/Makefile.am: Ditto. * mw-fb/Makefile.am: Ditto. * rtmonuse/Makefile.am: Ditto. * serdbg/Makefile.am: Ditto. * shell/Makefile.am: Ditto. * stackchk/Makefile.am: Ditto. * untar/Makefile.am: Ditto. * wrapup/Makefile.am: Reflect new path.
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
LIB = $(ARCH)/libmisc.a
|
|
|
|
include $(top_srcdir)/../automake/compile.am
|
|
include $(top_srcdir)/../automake/lib.am
|
|
|
|
## XXX temporarily remove this from the list because it causes a
|
|
## XXX number of BSPs to not link "main(){}" used by autoconf
|
|
## ../serdbg/$(ARCH)/libserdbg-tmp.a
|
|
|
|
if RTEMS_LIBSHELL
|
|
RTEMS_LIBSHELL = ../shell/$(ARCH)/libshell-tmp.a
|
|
endif
|
|
|
|
TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
|
|
../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
|
|
../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
|
|
$(RTEMS_LIBSHELL) ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
|
|
../devnull/$(ARCH)/libdevnull-tmp.a ../dummy/$(ARCH)/libdummy-tmp.a \
|
|
../mw-fb/$(ARCH)/libmw-fb-tmp.a ../capture/$(ARCH)/libcapture-tmp.a
|
|
|
|
#
|
|
# (OPTIONAL) Add local stuff here using +=
|
|
#
|
|
|
|
$(LIB): $(TMP_LIBS)
|
|
$(RM) $@
|
|
$(RM) -r $(ARCH)
|
|
mkdir $(ARCH)
|
|
cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
|
|
$(AR) ruv $@ $(ARCH)/*
|
|
$(RANLIB) $@
|
|
|
|
all-local: $(ARCH) $(LIB)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|