summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/macros/rtems/rtems/Makefile.am
blob: dacf3011fed8beee0e4065139030f4fe024a5ffd (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

I_FILES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \
    modes.inl options.inl part.inl ratemon.inl region.inl sem.inl status.inl \
    support.inl tasks.inl timer.inl

noinst_HEADERS = $(I_FILES)

if MACROS

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

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

all-local: $(PREINSTALL_FILES)

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