From 7ed1e74731fadf6a4cfbdc18590c9c4d0d362a37 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 1 Dec 2003 08:39:06 +0000 Subject: 2003-12-01 Ralf Corsepius * Makefile.am: Reformat. Apply dirstamps to preinstallation. * include/Makefile.am: Ditto. * include/rdbg/Makefile.am: Ditto. * include/rdbg/i386/Makefile.am: Ditto. * include/rdbg/m68k/Makefile.am: Ditto. * include/rdbg/powerpc/Makefile.am: Ditto: * src/Makefile.am: Ditto. * src/i386/Makefile.am: Ditto. * src/i386/any/Makefile.am: Ditto. * src/m68k/Makefile.am: Ditto. * src/m68k/any/Makefile.am: Ditto. * src/powerpc/Makefile.am: Ditto. * src/powerpc/new_exception_processing/Makefile.am: Ditto. --- c/src/librdbg/src/i386/Makefile.am | 3 ++- c/src/librdbg/src/i386/any/Makefile.am | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'c/src/librdbg/src/i386') diff --git a/c/src/librdbg/src/i386/Makefile.am b/c/src/librdbg/src/i386/Makefile.am index 311bc4744f..9f7706d4e1 100644 --- a/c/src/librdbg/src/i386/Makefile.am +++ b/c/src/librdbg/src/i386/Makefile.am @@ -2,10 +2,11 @@ ## $Id$ ## - SUBDIRS = any EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c +PREINSTALL_FILES = + include $(top_srcdir)/automake/subdirs.am include $(top_srcdir)/automake/local.am diff --git a/c/src/librdbg/src/i386/any/Makefile.am b/c/src/librdbg/src/i386/any/Makefile.am index 98b56a8125..2c75512f8c 100644 --- a/c/src/librdbg/src/i386/any/Makefile.am +++ b/c/src/librdbg/src/i386/any/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - VPATH = @srcdir@:@srcdir@/..:@srcdir@/../.. RPCCPUDIR = $(RTEMS_CPU)/any @@ -76,13 +75,8 @@ if RPCTOOLS rm -f $(RPCCPUDIR)/tmpSvc.c ) endif -$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h - $(INSTALL_DATA) $< $@ - -$(PROJECT_INCLUDE)/rdbg: - @$(mkinstalldirs) $@ - -PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg $(PROJECT_INCLUDE)/rdbg/remdeb.h +include_rdbgdir = $(includedir)/rdbg +include_rdbg_HEADERS = $(srcdir)/remdeb.h TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a @@ -90,4 +84,15 @@ all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) EXTRA_DIST = remdeb_f.x $(GEN_C_FILES) +PREINSTALL_FILES = + +$(PROJECT_INCLUDE)/rdbg/$(dirstamp): + @$(mkinstalldirs) $(PROJECT_INCLUDE)/rdbg + @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp) + +$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h + include $(top_srcdir)/automake/local.am -- cgit v1.2.3