summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/macros
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-02-05 18:33:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-02-05 18:33:09 +0000
commit792eb742961f9195051e0eadf7fa171ca01cfc37 (patch)
tree0bf7985df6f1ca61322591057004ffed2e9865cf /c/src/exec/score/macros
parent2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-792eb742961f9195051e0eadf7fa171ca01cfc37.tar.bz2
2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am, include/rtems/score/Makefile.am, inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am Apply include_*HEADERS instead of H_FILES.
Diffstat (limited to 'c/src/exec/score/macros')
-rw-r--r--c/src/exec/score/macros/rtems/score/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/c/src/exec/score/macros/rtems/score/Makefile.am b/c/src/exec/score/macros/rtems/score/Makefile.am
index 87cac6f169..06240466ee 100644
--- a/c/src/exec/score/macros/rtems/score/Makefile.am
+++ b/c/src/exec/score/macros/rtems/score/Makefile.am
@@ -4,6 +4,8 @@
AUTOMAKE_OPTIONS = foreign 1.4
+include_rtems_scoredir = $(includedir)/rtems/score
+
## We only build multiprocessing related files if HAS_MP was defined
MP_I_FILES = mppkt.inl objectmp.inl threadmp.inl
@@ -12,17 +14,17 @@ STD_I_FILES = address.inl chain.inl coremsg.inl coremutex.inl coresem.inl \
sysstate.inl thread.inl tod.inl tqdata.inl userext.inl watchdog.inl \
wkspace.inl
-noinst_HEADERS = $(STD_I_FILES) $(MP_I_FILES)
+I_FILES = $(STD_I_FILES) $(MP_I_FILES)
if MACROS
if HAS_MP
-I_FILES = $(STD_I_FILES) $(MP_I_FILES)
+include_rtems_score_HEADERS = $(STD_I_FILES) $(MP_I_FILES)
else
-I_FILES = $(STD_I_FILES)
+include_rtems_score_HEADERS = $(STD_I_FILES)
endif
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
- $(I_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%)
+ $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/rtems/score/%)
$(PROJECT_INCLUDE)/rtems/score:
@$(mkinstalldirs) $@
@@ -32,4 +34,6 @@ endif
all-local: $(PREINSTALL_FILES)
+EXTRA_DIST = $(I_FILES)
+
include $(top_srcdir)/../../../automake/local.am