summaryrefslogtreecommitdiffstats
path: root/c/src/Makefile.am
blob: 717ad34e74d230c541c73fe81240b39781989bed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
##
##  $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I ../../aclocal

SUBDIRS = make @hst_subdirs@ wrapup tests

# NOTE: The wildcard on the install should pick up everything except
#       the tests directory.  This significantly minimizes the install size.
install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(exec_prefix)/@RTEMS_BSP@
	cd $(PROJECT_ROOT)/@RTEMS_BSP@; \
          tar cf - [bilsuM]* | \
	  (cd $(DESTDIR)$(exec_prefix)/@RTEMS_BSP@; tar xpBf - );

uninstall-local:
	rm -rf $(DESTDIR)$(exec_prefix)/@RTEMS_BSP@/[bsl]*;

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