diff options
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7750/include/Makefile.am')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7750/include/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/sh/sh7750/include/Makefile.am b/c/src/lib/libcpu/sh/sh7750/include/Makefile.am new file mode 100644 index 0000000000..02015de005 --- /dev/null +++ b/c/src/lib/libcpu/sh/sh7750/include/Makefile.am @@ -0,0 +1,38 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +# 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 = sh4uart.h +include_rtems_score_HEADERS = ispsh7750.h iosh7750.h + +$(PROJECT_INCLUDE)/sh: + $(mkinstalldirs) $@ + +$(PROJECT_INCLUDE)/sh/%.h: %.h + $(INSTALL_DATA) $< $@ + +$(PROJECT_INCLUDE)/rtems/score/%.h: %.h + $(INSTALL_DATA) $< $@ + +TMPINSTALL_FILES = $(PROJECT_INCLUDE)/sh \ + $(include_sh_HEADERS:%=$(PROJECT_INCLUDE)/sh/%) \ + $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/rtems/score/%) + +all-local: $(TMPINSTALL_FILES) + +# FIXME: What are these files here? +# They should either be installed or removed +EXTRA_DIST = \ +ipl.h \ +sh4_regs.h \ +sh4uart.h \ +sh7750_regs.h + +include $(top_srcdir)/../../../../../../automake/local.am |