From 2eb9d1690098add78134764ac4e95673d9792a0d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 5 Mar 2001 22:49:23 +0000 Subject: 2001-02-18 Ralf Corsepiu * include/Makefile.am: Apply include_*HEADERS instead of H_FILES. --- c/src/lib/libcpu/sh/sh7032/include/Makefile.am | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'c/src/lib/libcpu/sh/sh7032/include/Makefile.am') 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) -- cgit v1.2.3