summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/c4x/rtems/score/Makefile.am
blob: 44f554e30d9fdc81c98bb2ae43a74c89014fe2b6 (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
25
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

H_FILES = cpu.h c4x.h c4xtypes.h cpu_asm.h
noinst_HEADERS = $(H_FILES)

#
# (OPTIONAL) Add local stuff here using +=
#

PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
    $(H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h)

$(PROJECT_INCLUDE)/rtems/score:
	$(mkinstalldirs) $@

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

all-local: $(PREINSTALL_FILES)

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