summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/tools/Makefile.am
blob: d1e5ec8bedc743dee8611e7cf2f04f76ed9fb47a (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
28
29
30
##
## $Id$
##

ACLOCAL_AMFLAGS = -I ../../../../../../../aclocal

EXTRA_DIST = Spec.doc

# HACK: autoconf wants to transform the name, but RTEMS *.cfgs are not able
# to deal with it.
# FIXME: The installation directory is arguable
transform =
bsptools_bindir = ${exec_prefix}/@RTEMS_BSP@/build-tools
bsptools_bin_PROGRAMS = bin2boot

bin2boot_SOURCES = bin2boot.c

@PROJECT_RELEASE@/build-tools:
	$(mkinstalldirs) $@

@PROJECT_RELEASE@/build-tools/bin2boot$(EXEEXT): bin2boot$(EXEEXT)
	$(INSTALL_PROGRAM) $< $@

TMPINSTALL_FILES = @PROJECT_RELEASE@/build-tools \
    @PROJECT_RELEASE@/build-tools/bin2boot$(EXEEXT)

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

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