From 8548fe0ae29eafea856090e742c1fd205ed4b0fb Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Feb 1999 18:36:05 +0000 Subject: Part of the automake VI patch from Ralf Corsepius : > 5) rtems-rc-19990202-1.diff/reorg-install.sh > > reorg-install.sh fixes a Makefile variable name clash of RTEMS > configuration files and automake/autoconf standards. > Until now, RTEMS used $(INSTALL) for install-if-change. Automake and > autoconf use $(INSTALL) for a bsd-compatible install. As > install-if-change and bsd-install are not compatible, I renamed all > references to install-if-changed to $(INSTALL_CHANGED) and used > $(INSTALL) for bsd-install (==automake/autoconf standard). When > automake will be introduced install-if-change will probably be replaced > by $(INSTALL) and therefore will slowly vanish. For the moment, this > patch fixes a very nasty problem which prevents adding any automake file > until now (There are still more). --- c/src/lib/libbsp/powerpc/eth_comm/Makefile.in | 2 ++ c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in | 2 ++ c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in | 2 ++ c/src/lib/libbsp/powerpc/eth_comm/include/Makefile.in | 6 ++++-- c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in | 2 ++ c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in | 2 ++ c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in | 4 +++- c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.in | 2 ++ 8 files changed, 19 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/eth_comm') diff --git a/c/src/lib/libbsp/powerpc/eth_comm/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/Makefile.in index 43035c0f35..b72d6062d3 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg include $(RTEMS_ROOT)/make/directory.cfg diff --git a/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in index c42f87d0f2..bd1d2452c8 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + PGM=${ARCH}/canbus.rel # C source names, if any, go here -- minus the .c diff --git a/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in index fd05ddfedd..36c95fc3f7 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + PGM=${ARCH}/console.rel # C source names, if any, go here -- minus the .c diff --git a/c/src/lib/libbsp/powerpc/eth_comm/include/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/include/Makefile.in index 7fda2ca6d4..8cadae76f5 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/include/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/include/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h $(srcdir)/canbus.h $(srcdir)/info.h # @@ -29,5 +31,5 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: $(SRCS) - $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE) - $(INSTALL) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE) + $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE) + $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE) diff --git a/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in index 59728b648d..b3e294aae8 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + PGM=${ARCH}/network.rel # C source names, if any, go here -- minus the .c diff --git a/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in index 806b77893b..247f2b2a2f 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + PGM=${ARCH}/start.rel # C source names, if any, go here -- minus the .c diff --git a/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in index 7d75dfca56..c268792efc 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@:@srcdir@/../../../shared RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + PGM=${ARCH}/startup.rel # C source names, if any, go here -- minus the .c @@ -54,7 +56,7 @@ ${PGM}: ${SRCS} ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib + $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile install: all diff --git a/c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.in index 7841899fe6..804036ccbd 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.in @@ -8,6 +8,8 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +INSTALL = @INSTALL@ + # We only build the networking device driver if HAS_NETWORKING was defined NETWORKING_DRIVER_yes_V = network NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V) -- cgit v1.2.3