From 948c0d2a6efbb99b06c59932f60ecfbbd852f956 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 21 Jan 2004 15:42:50 +0000 Subject: 2004-01-21 Ralf Corsepius * include/rdbg/Makefile.am: Add PREINSTALL_DIRS. * include/rdbg/i386/Makefile.am: Add PREINSTALL_DIRS. * include/rdbg/m68k/Makefile.am: Add PREINSTALL_DIRS. * include/rdbg/powerpc/Makefile.am: Add PREINSTALL_DIRS. * src/i386/Makefile.am: Add PREINSTALL_DIRS. * src/m68k/Makefile.am: Add PREINSTALL_DIRS. * src/powerpc/Makefile.am: Add PREINSTALL_DIRS. --- c/src/librdbg/include/rdbg/Makefile.am | 4 +++- c/src/librdbg/include/rdbg/i386/Makefile.am | 4 +++- c/src/librdbg/include/rdbg/m68k/Makefile.am | 4 +++- c/src/librdbg/include/rdbg/powerpc/Makefile.am | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'c/src/librdbg/include') diff --git a/c/src/librdbg/include/rdbg/Makefile.am b/c/src/librdbg/include/rdbg/Makefile.am index e9df695293..da76688469 100644 --- a/c/src/librdbg/include/rdbg/Makefile.am +++ b/c/src/librdbg/include/rdbg/Makefile.am @@ -15,13 +15,14 @@ SUBDIRS = $(RTEMS_CPU) DIST_SUBDIRS = $(RTEMS_CPU) endif +PREINSTALL_DIRS = PREINSTALL_FILES = if HAS_RDBG $(PROJECT_INCLUDE)/rdbg/$(dirstamp): @$(mkdir_p) $(PROJECT_INCLUDE)/rdbg @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp) -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(PROJECT_INCLUDE)/rdbg/rdbg.h: rdbg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg.h @@ -33,6 +34,7 @@ PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/servrpc.h endif CLEANFILES = $(PREINSTALL_FILES) +DISTCLEANFILES = $(PREINSTALL_DIRS) include $(top_srcdir)/automake/subdirs.am include $(top_srcdir)/automake/local.am diff --git a/c/src/librdbg/include/rdbg/i386/Makefile.am b/c/src/librdbg/include/rdbg/i386/Makefile.am index 0ab48b70e4..459e9d5787 100644 --- a/c/src/librdbg/include/rdbg/i386/Makefile.am +++ b/c/src/librdbg/include/rdbg/i386/Makefile.am @@ -8,12 +8,13 @@ include_rdbg_HEADERS = rdbg_f.h reg.h all-local: $(PREINSTALL_FILES) +PREINSTALL_DIRS = PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg/$(dirstamp): @$(mkdir_p) $(PROJECT_INCLUDE)/rdbg @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp) -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(PROJECT_INCLUDE)/rdbg/rdbg_f.h: rdbg_f.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg_f.h @@ -24,5 +25,6 @@ $(PROJECT_INCLUDE)/rdbg/reg.h: reg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/reg.h CLEANFILES = $(PREINSTALL_FILES) +DISTCLEANFILES = $(PREINSTALL_DIRS) include $(top_srcdir)/automake/local.am diff --git a/c/src/librdbg/include/rdbg/m68k/Makefile.am b/c/src/librdbg/include/rdbg/m68k/Makefile.am index 0ab48b70e4..459e9d5787 100644 --- a/c/src/librdbg/include/rdbg/m68k/Makefile.am +++ b/c/src/librdbg/include/rdbg/m68k/Makefile.am @@ -8,12 +8,13 @@ include_rdbg_HEADERS = rdbg_f.h reg.h all-local: $(PREINSTALL_FILES) +PREINSTALL_DIRS = PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg/$(dirstamp): @$(mkdir_p) $(PROJECT_INCLUDE)/rdbg @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp) -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(PROJECT_INCLUDE)/rdbg/rdbg_f.h: rdbg_f.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg_f.h @@ -24,5 +25,6 @@ $(PROJECT_INCLUDE)/rdbg/reg.h: reg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/reg.h CLEANFILES = $(PREINSTALL_FILES) +DISTCLEANFILES = $(PREINSTALL_DIRS) include $(top_srcdir)/automake/local.am diff --git a/c/src/librdbg/include/rdbg/powerpc/Makefile.am b/c/src/librdbg/include/rdbg/powerpc/Makefile.am index 0ab48b70e4..459e9d5787 100644 --- a/c/src/librdbg/include/rdbg/powerpc/Makefile.am +++ b/c/src/librdbg/include/rdbg/powerpc/Makefile.am @@ -8,12 +8,13 @@ include_rdbg_HEADERS = rdbg_f.h reg.h all-local: $(PREINSTALL_FILES) +PREINSTALL_DIRS = PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg/$(dirstamp): @$(mkdir_p) $(PROJECT_INCLUDE)/rdbg @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp) -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(PROJECT_INCLUDE)/rdbg/rdbg_f.h: rdbg_f.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg_f.h @@ -24,5 +25,6 @@ $(PROJECT_INCLUDE)/rdbg/reg.h: reg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/reg.h CLEANFILES = $(PREINSTALL_FILES) +DISTCLEANFILES = $(PREINSTALL_DIRS) include $(top_srcdir)/automake/local.am -- cgit v1.2.3