summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/macros
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/macros')
-rw-r--r--c/src/exec/posix/macros/rtems/posix/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/c/src/exec/posix/macros/rtems/posix/Makefile.am b/c/src/exec/posix/macros/rtems/posix/Makefile.am
index e28b13e53c..a2ba29d25d 100644
--- a/c/src/exec/posix/macros/rtems/posix/Makefile.am
+++ b/c/src/exec/posix/macros/rtems/posix/Makefile.am
@@ -4,14 +4,16 @@
AUTOMAKE_OPTIONS = foreign 1.4
-if MACROS
+include_rtems_posixdir = $(includedir)/rtems/posix
+
I_FILES = cond.inl intr.inl key.inl mqueue.inl mutex.inl priority.inl \
pthread.inl semaphore.inl timer.inl
-noinst_HEADERS = $(I_FILES)
+if MACROS
+include_rtems_posix_HEADERS = $(I_FILES)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix \
- $(I_FILES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
+ $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/rtems/posix/%)
$(PROJECT_INCLUDE)/rtems/posix:
@$(mkinstalldirs) $@
@@ -21,4 +23,6 @@ endif
all-local: $(PREINSTALL_FILES)
+EXTRA_DIST = $(I_FILES)
+
include $(top_srcdir)/../../../../automake/local.am