summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/inline/rtems/Makefile.am
blob: 2b4f5debb51ed0e0ab8e9da2b75c0e55a6704891 (plain)
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
include_rtemsdir = $(includedir)/rtems

if INLINE
include_rtems_HEADERS = extension.inl

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

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

all-local: $(PREINSTALL_FILES)

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