[rtems commit] cpukit/libxz: Fix the include path to remove the make warnings.
Chris Johns
chrisj at rtems.org
Thu May 25 05:14:24 UTC 2017
Module: rtems
Branch: master
Commit: 8aa62776b3cba9eb3f45447405062d271ffb719c
Changeset: http://git.rtems.org/rtems/commit/?id=8aa62776b3cba9eb3f45447405062d271ffb719c
Author: Chris Johns <chrisj at rtems.org>
Date: Wed May 24 09:21:04 2017 +1000
cpukit/libxz: Fix the include path to remove the make warnings.
---
cpukit/Makefile.am | 5 ++---
cpukit/preinstall.am | 13 ++++---------
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 1987586..3206ee2 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -50,15 +50,14 @@ include_uuid_HEADERS = libmisc/uuid/uuid.h
include_utf8procdir = $(includedir)/utf8proc
include_utf8proc_HEADERS = libmisc/utf8proc/utf8proc.h
-include_xzdir = $(includedir)
-include_xz_HEADERS = libmisc/xz/xz.h
-
include_sysdir = $(includedir)/sys
include_sys_HEADERS =
include_HEADERS += include/crypt.h
include_HEADERS += include/memory.h
+include_HEADERS += libmisc/xz/xz.h
+
include_sys_HEADERS += libcsupport/include/sys/event.h
include_sys_HEADERS += libcsupport/include/sys/filio.h
include_sys_HEADERS += libcsupport/include/sys/ioccom.h
diff --git a/cpukit/preinstall.am b/cpukit/preinstall.am
index 2ae31ef..6f94076 100644
--- a/cpukit/preinstall.am
+++ b/cpukit/preinstall.am
@@ -50,15 +50,6 @@ $(PROJECT_INCLUDE)/utf8proc/utf8proc.h: libmisc/utf8proc/utf8proc.h $(PROJECT_IN
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/utf8proc/utf8proc.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/utf8proc/utf8proc.h
-$(PROJECT_INCLUDE)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)
- @: > $(PROJECT_INCLUDE)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
-
-$(PROJECT_INCLUDE)/xz.h: libmisc/xz/xz.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/xz.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/xz.h
-
$(PROJECT_INCLUDE)/sys/$(dirstamp):
@$(MKDIR_P) $(PROJECT_INCLUDE)/sys
@: > $(PROJECT_INCLUDE)/sys/$(dirstamp)
@@ -72,6 +63,10 @@ $(PROJECT_INCLUDE)/memory.h: include/memory.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/memory.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/memory.h
+$(PROJECT_INCLUDE)/xz.h: libmisc/xz/xz.h $(PROJECT_INCLUDE)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/xz.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/xz.h
+
$(PROJECT_INCLUDE)/sys/event.h: libcsupport/include/sys/event.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/event.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/event.h
More information about the vc
mailing list