mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 21:56:06 +08:00
* Per PR194, added the Capture engine. * capture/Makefile.am, capture/README, capture/capture-cli.c, capture/capture-cli.h, capture/capture.c, capture/capture.h, capture/.cvsignore: New files. * Makefile.am, configure.ac, wrapup/Makefile.am: Modified to reflect addition.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
|
|
LIBNAME = libmisc
|
|
LIB = $(ARCH)/$(LIBNAME).a
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../../../automake/compile.am
|
|
include $(top_srcdir)/../../../automake/lib.am
|
|
|
|
if HAS_NETWORKING
|
|
NETLIBS=../rootfs/$(ARCH)/librootfs-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 \
|
|
../shell/$(ARCH)/libshell-tmp.a ../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
|
|
|
|
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
|
|
$(INSTALL_DATA) $< $@
|
|
|
|
#
|
|
# (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) $@
|
|
|
|
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
|
|
|
|
all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
|
|
|
|
.PRECIOUS: $(LIB)
|
|
|
|
include $(top_srcdir)/../../../automake/local.am
|