diff options
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7032/include')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/include/Makefile.am | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/include/Makefile.am b/c/src/lib/libcpu/sh/sh7032/include/Makefile.am index 77cb8b5b59..058744a3bb 100644 --- a/c/src/lib/libcpu/sh/sh7032/include/Makefile.am +++ b/c/src/lib/libcpu/sh/sh7032/include/Makefile.am @@ -4,11 +4,13 @@ AUTOMAKE_OPTIONS = foreign 1.4 -H_FILES = sci.h sh7_pfc.h sh7_sci.h -SCORE_H_FILES = ispsh7032.h iosh7032.h - # NOTE: Unlike other CPUS, we install into a subdirectory to avoid # file name conflicts +include_shdir = $(includedir)/sh +include_rtems_scoredir = $(includedir)/rtems/score + +include_sh_HEADERS = sci.h sh7_pfc.h sh7_sci.h +include_rtems_score_HEADERS = ispsh7032.h iosh7032.h $(PROJECT_INCLUDE)/sh: $(mkinstalldirs) $@ @@ -20,8 +22,8 @@ $(PROJECT_INCLUDE)/rtems/score/%.h: %.h $(INSTALL_DATA) $< $@ TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \ - $(H_FILES:%.h=$(PROJECT_INCLUDE)/sh/%.h) \ - $(SCORE_H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) + $(include_sh_HEADERS:%=$(PROJECT_INCLUDE)/sh/%) \ + $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/rtems/score/%) all-local: $(TMPINSTALL_FILES) |