diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/include/rtems/rtems/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/exec/rtems/include/rtems/rtems/Makefile.am b/c/src/exec/rtems/include/rtems/rtems/Makefile.am index fe27329924..3ba9e701d9 100644 --- a/c/src/exec/rtems/include/rtems/rtems/Makefile.am +++ b/c/src/exec/rtems/include/rtems/rtems/Makefile.am @@ -4,6 +4,8 @@ AUTOMAKE_OPTIONS = foreign 1.4 +include_rtems_rtemsdir = $(includedir)/rtems/rtems + ## We only build multiprocessing related files if HAS_MP was defined MP_H_FILES = eventmp.h mp.h msgmp.h partmp.h regionmp.h semmp.h signalmp.h \ taskmp.h @@ -13,15 +15,13 @@ STD_H_FILES = asr.h attr.h cache.h clock.h config.h dpmem.h event.h \ rtemsapi.h sem.h signal.h status.h support.h tasks.h timer.h types.h if HAS_MP -H_FILES = $(STD_H_FILES) $(MP_H_FILES) +include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES) else -H_FILES = $(STD_H_FILES) +include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES) endif -noinst_HEADERS = $(STD_H_FILES) $(MP_H_FILES) - PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems \ - $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/rtems/%) + $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%) $(PROJECT_INCLUDE)/rtems/rtems: @$(mkinstalldirs) $@ |