diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-07 22:28:18 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-07 22:28:18 +0000 |
commit | 7c9a5989c8eab778b7d32a3972fde59d0fba7312 (patch) | |
tree | 92a800b06fcd7ed443113bde2e33eb68f8985316 /c/src/lib/libcpu/sh/sh7032/Makefile.am | |
parent | 2002-11-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-7c9a5989c8eab778b7d32a3972fde59d0fba7312.tar.bz2 |
2002-11-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge in include/Makefile.am.
* include/Makefile.am: Remove.
* configure.ac: Reflect changes above.
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7032/Makefile.am')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/Makefile.am | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/Makefile.am b/c/src/lib/libcpu/sh/sh7032/Makefile.am index d22670b5e7..78dd4408ca 100644 --- a/c/src/lib/libcpu/sh/sh7032/Makefile.am +++ b/c/src/lib/libcpu/sh/sh7032/Makefile.am @@ -4,7 +4,30 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal -SUBDIRS = include score clock timer sci delay +SUBDIRS = . score clock timer sci delay + +# 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 = include/sci.h include/sh7_pfc.h include/sh7_sci.h +include_rtems_score_HEADERS = include/ispsh7032.h include/iosh7032.h + +$(PROJECT_INCLUDE)/sh: + $(mkinstalldirs) $@ + +$(PROJECT_INCLUDE)/sh/%.h: include/%.h + $(INSTALL_DATA) $< $@ + +$(PROJECT_INCLUDE)/rtems/score/%.h: include/%.h + $(INSTALL_DATA) $< $@ + +TMPINSTALL_FILES = $(PROJECT_INCLUDE)/sh \ + $(include_sh_HEADERS:include/%.h=$(PROJECT_INCLUDE)/sh/%.h) \ + $(include_rtems_score_HEADERS:include/%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) + +all-local: $(TMPINSTALL_FILES) include $(top_srcdir)/../../../../../../automake/subdirs.am include $(top_srcdir)/../../../../../../automake/local.am |