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

AUTOMAKE_OPTIONS = foreign 1.4

if MACROS
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)

PREINSTALL_FILES = \
$(PROJECT_INCLUDE)/rtems/rtems \
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%)

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

all-am: $(PREINSTALL_FILES)
debug-am: $(PREINSTALL_FILES)
profile-am: $(PREINSTALL_FILES)

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