summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/include/rtems/Makefile.am
blob: f7053db1f4af17531c7a033a85185af00006b6ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

include_rtemsdir = $(includedir)/rtems

include_rtems_HEADERS = config.h directives.h extension.h fatal.h init.h io.h mptables.h \
    sptables.h

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

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

EXTRA_DIST = README

all-local: $(PREINSTALL_FILES)

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