summaryrefslogblamecommitdiffstats
path: root/c/src/exec/score/cpu/sh/rtems/score/Makefile.am
blob: cd110b7fc842a3d7d1e99257663fe2b5a21f3a30 (plain) (tree)

































                                                                
## 
## $Id$
## 

AUTOMAKE_OPTIONS = foreign 1.4

H_FILES = cpu.h shtypes.h sh.h sh_io.h isp$(RTEMS_CPU_MODEL).h \
    io$(RTEMS_CPU_MODEL).h
noinst_HEADERS = \
    cpu.h shtypes.h sh.h sh_io.h \
    iosh7032.h ispsh7032.h \
    iosh7045.h ispsh7045.h

## HACK: this should not be here
## Currently needed to get RTEMS_CPU_MODEL
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg

#
# (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