summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/hppa1.1/include/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/hppa1.1/include/Makefile.in')
-rw-r--r--c/src/lib/libcpu/hppa1.1/include/Makefile.in25
1 files changed, 22 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/hppa1.1/include/Makefile.in b/c/src/lib/libcpu/hppa1.1/include/Makefile.in
index a6bbbdafc0..69962db1af 100644
--- a/c/src/lib/libcpu/hppa1.1/include/Makefile.in
+++ b/c/src/lib/libcpu/hppa1.1/include/Makefile.in
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id$
#
@SET_MAKE@
@@ -13,13 +13,32 @@ PROJECT_ROOT = @PROJECT_ROOT@
VPATH = @srcdir@
+H_FILES = $(srcdir)/runway.h $(srcdir)/semaphore.h
+
+SRCS = $(H_FILES)
+
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)/hppa1.1
+
+$(INSTALLDIRS):
+ @$(mkinstalldirs) $(INSTALLDIRS)
+
+CLEAN_ADDITIONS +=
+CLOBBER_ADDITIONS +=
+
+all: install
+
+# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
+# file name conflicts
-all: FORCEIT
- cd ../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
+install:
+ $(mkinstalldirs) $(PROJECT_INCLUDE)/hppa1.1
+ @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/hppa1.1
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \