summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/macros/Makefile.am
blob: 3a2b5f0e2357fb0ee59456bc2737bd26156af93c (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.5

include_rtemsdir = $(includedir)/rtems

$(PROJECT_INCLUDE)/rtems:
	@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%: %
	$(INSTALL_DATA) $< $@

if MACROS
include_rtems_HEADERS = rtems/extension.inl

PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
endif

all-local: $(PREINSTALL_FILES)

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