summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/include/sys')
-rw-r--r--c/src/lib/include/sys/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/lib/include/sys/Makefile.am b/c/src/lib/include/sys/Makefile.am
index a9e3912b84..70929555a9 100644
--- a/c/src/lib/include/sys/Makefile.am
+++ b/c/src/lib/include/sys/Makefile.am
@@ -4,6 +4,8 @@
AUTOMAKE_OPTIONS = foreign 1.4
+include_sysdir = $(includedir)/sys
+
if HAS_NETWORKING
else
NETWORKING_H_FILES += ioctl.h
@@ -13,12 +15,13 @@ if NEWLIB
NEWLIB_H_FILES += termios.h cdefs.h
endif
-H_FILES = ioccom.h ttycom.h utime.h $(NEWLIB_H_FILES) $(NETWORKING_H_FILES)
+include_sys_HEADERS = ioccom.h ttycom.h utime.h \
+ $(NEWLIB_H_FILES) $(NETWORKING_H_FILES)
noinst_HEADERS = utime.h termios.h ioctl.h ioccom.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
- $(H_FILES:%=$(PROJECT_INCLUDE)/sys/%)
+ $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/sys/%)
$(PROJECT_INCLUDE)/sys:
@$(mkinstalldirs) $@