Files
rtems/c/build-tools/Makefile.am
Joel Sherrill 0e99ecfcea Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch fixes a nasty problem with build-tools/Makefile.am:

    When using install-sh instead of /usr/bin/install, only the first file
    gets installed during the preinstall stage.
1999-06-02 16:34:54 +00:00

40 lines
863 B
Makefile

#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
bin_PROGRAMS=cklength eolstrip packhex unhex
cklength_SOURCES = cklength.c
eolstrip_SOURCES = eolstrip.c
packhex_SOURCES = packhex.c
unhex_SOURCES = unhex.c
bin_SCRIPTS=\
install-if-change \
lock-directory \
unlock-directory \
rcs-clean
noinst_SCRIPTS = search-id.sh
#
# HACK: Install to build directory
#
install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS)
if test -n "${RTEMS_BSP}"; then \
$(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
for i in $(bin_SCRIPTS); do \
$(INSTALL_SCRIPT) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
done; \
for i in $(bin_PROGRAMS); do \
$(INSTALL_PROGRAM) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
done; \
fi
preinstall: install-exec-local
include $(top_srcdir)/../../automake/local.am