summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in')
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in33
1 files changed, 25 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in
index c5c149cc5a..05624f8f18 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in
@@ -4,10 +4,15 @@
@SET_MAKE@
srcdir = @srcdir@
-VPATH = @srcdir@
-RTEMS_ROOT = @top_srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = ../../../..
+subdir = libbsp/powerpc/mcp750/include
+
+RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@
+VPATH = @srcdir@
+
H_FILES = $(srcdir)/nvram.h $(srcdir)/bsp.h
#
@@ -20,16 +25,28 @@ H_FILES = $(srcdir)/nvram.h $(srcdir)/bsp.h
EQ_FILES =
-SRCS=$(H_FILES) $(EQ_FILES)
+SRCS = $(H_FILES) $(EQ_FILES)
-include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/leaf.cfg
+INSTALL_CHANGE = @INSTALL_CHANGE@
+mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
+
+INSTALLDIRS = $(PROJECT_INCLUDE)
+
+$(INSTALLDIRS):
+ @$(mkinstalldirs) $(INSTALLDIRS)
+
CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS +=
-preinstall:
- $(MKDIR) $(PROJECT_INCLUDE)/bsp
- $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
+preinstall:
+ $(mkinstalldirs) $(PROJECT_INCLUDE)
+ @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
+
+all: $(SRCS) preinstall
-all: $(SRCS) preinstall
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status