summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/tools/Makefile.am
blob: f5c023de4bd5223a9e8db2e0c6b6c7b33aa7f0cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# $Id$
#

AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal

EXTRA_DIST = Spec.doc

noinst_PROGRAMS = \
bin2boot

bin2boot_SOURCES = bin2boot.c

PREINSTALL_DIRS=$(PROJECT_ROOT)/pc386/build-tools
PREINSTALL_FILES = $(PROJECT_ROOT)/pc386/build-tools/bin2boot

$(PREINSTALL_DIRS):
	$(mkinstalldirs) $@

$(PROJECT_ROOT)/pc386/build-tools/bin2boot: bin2boot
	$(INSTALL_PROGRAM) $< $@

# HACK: install into build-tree
all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES)

include $(top_srcdir)/../../../../../../../automake/local.am