mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-25 04:42:06 +08:00
> RTEMS is under CVS control and has been since rtems 3.1.16 which was > around May 1995. So I just to add the $Id$. If you notice other files > with missing $Id$'s let me know. I try to keep w\up with it. Now that you have asked -- I'll attach a list of files lacking an RCS-Id to this mail. This list has been generated by a little sh-script I'll also enclose.
38 lines
718 B
Makefile
38 lines
718 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
# RTEMS build tools
|
|
# NOTE: of course we can't use any of these tools
|
|
# in this Makefile. Most notably: install-if-change
|
|
#
|
|
|
|
@SET_MAKE@
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
RTEMS_ROOT = @RTEMS_ROOT@
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
|
RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
|
|
|
|
include $(RTEMS_CUSTOM)
|
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
|
|
DESTDIR=$(PROJECT_RELEASE)/build-tools
|
|
|
|
PGMS=install-if-change rcs-clean lock-directory unlock-directory rtems-glom search-id.sh
|
|
|
|
|
|
INSTALLED=$(PGMS:%=$(DESTDIR)/%)
|
|
|
|
all: $(DESTDIR) $(PGMS) install
|
|
echo $(DESTDIR)
|
|
|
|
$(DESTDIR):
|
|
[ -d $@ ] || $(MKDIR) $@
|
|
|
|
install: $(INSTALLED)
|
|
|
|
# Install the program
|
|
$(DESTDIR)/%: %
|
|
$(make-script)
|