summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 22:06:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 22:06:49 +0000
commit6be1238ee0ad6812f0e74e9fdbe1333681d65a19 (patch)
tree69af586951bd9bf881bfbf97de53be659cb5a919
parent9519bf49aa3b571afa2c6f58732842b8715dd3e5 (diff)
downloadrtems-6be1238ee0ad6812f0e74e9fdbe1333681d65a19.tar.bz2
Now preinstalls header files.
-rw-r--r--c/src/lib/libcpu/powerpc/mpc860/include/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc860/include/Makefile.in b/c/src/lib/libcpu/powerpc/mpc860/include/Makefile.in
index 73e7f78eb9..e1074923e5 100644
--- a/c/src/lib/libcpu/powerpc/mpc860/include/Makefile.in
+++ b/c/src/lib/libcpu/powerpc/mpc860/include/Makefile.in
@@ -19,17 +19,21 @@ PROJECT_ROOT = @PROJECT_ROOT@
VPATH = @srcdir@
-H_FILES = $(wildcard $(srcdir)/*.h)
-SRCS=$(H_FILES)
+H_FILES = $(srcdir)/mpc860.h
+MPC860_H_FILES = $(srcdir)/console.h
+SRCS=$(H_FILES) $(MPC860_H_FILES)
include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
include $(RTEMS_ROOT)/make/leaf.cfg
all: install
-install:
+install: preinstall
+
+preinstall:
$(RTEMS_ROOT)/mkinstalldirs $(PROJECT_INCLUDE)/mpc860
- $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/mpc860
+ $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
+ $(INSTALL_CHANGE) -m 444 $(MPC860_H_FILES) $(PROJECT_INCLUDE)/mpc860
all: FORCEIT
cd ../../../../libbsp/$(RTEMS_CPU)/${RTEMS_BSP}/include; $(MAKE) all