diff options
-rw-r--r-- | testsuites/support/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/support/Makefile.am | 24 |
2 files changed, 17 insertions, 12 deletions
diff --git a/testsuites/support/ChangeLog b/testsuites/support/ChangeLog index e5fc775521..9be7145126 100644 --- a/testsuites/support/ChangeLog +++ b/testsuites/support/ChangeLog @@ -1,5 +1,10 @@ 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. + Use include_HEADERS. + +2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * configure.ac: Require automake >= 1.8, autoconf >= 2.59. 2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> diff --git a/testsuites/support/Makefile.am b/testsuites/support/Makefile.am index 4083232d57..f6b07afa2e 100644 --- a/testsuites/support/Makefile.am +++ b/testsuites/support/Makefile.am @@ -4,22 +4,22 @@ ACLOCAL_AMFLAGS = -I ../aclocal -project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ +include_HEADERS = include/tmacros.h include/buffer_test_io.h -noinst_HEADERS = include/tmacros.h include/buffer_test_io.h +all-local: $(PREINSTALL_FILES) -TMPINSTALLFILES = $(project_bspdir)/lib/include \ - $(project_bspdir)/lib/include/tmacros.h \ - $(project_bspdir)/lib/include/buffer_test_io.h +PREINSTALL_FILES = -$(project_bspdir)/lib/include: - $(mkinstalldirs) $@ -$(project_bspdir)/lib/include/%.h: include/%.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/$(dirstamp): + @$(mkdir_p) $(PROJECT_INCLUDE) + @: > $(PROJECT_INCLUDE)/$(dirstamp) -CLEANFILES = $(project_bspdir)/lib/include/tmacros.h \ - $(project_bspdir)/lib/include/buffer_test_io.h +$(PROJECT_INCLUDE)/tmacros.h: include/tmacros.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tmacros.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/tmacros.h -all-local: $(TMPINSTALLFILES) +$(PROJECT_INCLUDE)/buffer_test_io.h: include/buffer_test_io.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/buffer_test_io.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/buffer_test_io.h include $(top_srcdir)/../automake/local.am |