From d6a444d3b3707ceba558bfbd276289de152b9b69 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 23 Nov 2003 10:36:05 +0000 Subject: 2003-11-23 Ralf Corsepius * Makefile.am: Don't use gmake rules for preinstallation. --- cpukit/score/cpu/i386/ChangeLog | 4 +++ cpukit/score/cpu/i386/Makefile.am | 58 ++++++++++++++++++++++++--------------- 2 files changed, 40 insertions(+), 22 deletions(-) (limited to 'cpukit/score/cpu/i386') diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog index f082f38fb2..ddf29ee3c3 100644 --- a/cpukit/score/cpu/i386/ChangeLog +++ b/cpukit/score/cpu/i386/ChangeLog @@ -1,3 +1,7 @@ +2003-11-23 Ralf Corsepius + + * Makefile.am: Don't use gmake rules for preinstallation. + 2003-10-21 Ralf Corsepius * configure.ac: Remove RTEMS_CANONICAL_HOST. diff --git a/cpukit/score/cpu/i386/Makefile.am b/cpukit/score/cpu/i386/Makefile.am index 8364de60a8..f08df6d336 100644 --- a/cpukit/score/cpu/i386/Makefile.am +++ b/cpukit/score/cpu/i386/Makefile.am @@ -8,33 +8,13 @@ include $(top_srcdir)/../../../automake/multilib.am include $(top_srcdir)/../../../automake/compile.am include $(top_srcdir)/../../../automake/lib.am -$(PROJECT_INCLUDE)/%.h: %.h - $(INSTALL_DATA) $< $@ - -$(PROJECT_INCLUDE): - $(mkinstalldirs) $@ - -$(PROJECT_INCLUDE)/rtems: - $(mkinstalldirs) $@ - -$(PROJECT_INCLUDE)/rtems/score: - $(mkinstalldirs) $@ - include_HEADERS= asm.h -PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) include_rtems_scoredir = $(includedir)/rtems/score -include_rtems_score_HEADERS = \ - rtems/score/cpu.h \ - rtems/score/i386.h \ - rtems/score/types.h \ - rtems/score/interrupts.h \ - rtems/score/registers.h \ +include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/i386.h \ + rtems/score/types.h rtems/score/interrupts.h rtems/score/registers.h \ rtems/score/idtr.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ - $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h) - LIB = $(ARCH)/libscorecpu.a C_FILES = cpu.c @@ -51,4 +31,38 @@ all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \ EXTRA_DIST = cpu.c cpu_asm.S +PREINSTALL_FILES = + +$(PROJECT_INCLUDE)/asm.h: asm.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h + +$(PROJECT_INCLUDE)/rtems/score: + @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/score +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score + +$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h + +$(PROJECT_INCLUDE)/rtems/score/i386.h: rtems/score/i386.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/i386.h + +$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h + +$(PROJECT_INCLUDE)/rtems/score/interrupts.h: rtems/score/interrupts.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/interrupts.h + +$(PROJECT_INCLUDE)/rtems/score/registers.h: rtems/score/registers.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/registers.h + +$(PROJECT_INCLUDE)/rtems/score/idtr.h: rtems/score/idtr.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/idtr.h + include $(top_srcdir)/../../../automake/local.am -- cgit v1.2.3