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

ACLOCAL_AMFLAGS = -I ../../aclocal

SUBDIRS = @subdirs@

# 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