From fba12eb6ff4a91fcbac1c43dd3196114cc12756b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 23 Nov 1999 13:29:04 +0000 Subject: Patch rtems-rc-19991117-11.diff from Ralf Corsepius to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib." --- c/src/exec/score/inline/rtems/score/Makefile.am | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'c/src/exec/score/inline') diff --git a/c/src/exec/score/inline/rtems/score/Makefile.am b/c/src/exec/score/inline/rtems/score/Makefile.am index 1db2dcec4d..e7dc3a2cde 100644 --- a/c/src/exec/score/inline/rtems/score/Makefile.am +++ b/c/src/exec/score/inline/rtems/score/Makefile.am @@ -4,22 +4,26 @@ AUTOMAKE_OPTIONS = foreign 1.4 -if INLINE ## We only build multiprocessing related files if HAS_MP was defined -if HAS_MP MP_I_FILES = mppkt.inl objectmp.inl threadmp.inl -endif -I_FILES = address.inl chain.inl coremsg.inl coremutex.inl coresem.inl \ +STD_I_FILES = address.inl chain.inl coremsg.inl coremutex.inl coresem.inl \ heap.inl isr.inl object.inl priority.inl stack.inl states.inl \ sysstate.inl thread.inl tod.inl tqdata.inl userext.inl watchdog.inl \ - wkspace.inl $(MP_I_FILES) + wkspace.inl -noinst_HEADERS = $(I_FILES) +if HAS_MP +I_FILES = $(STD_I_FILES) $(MP_I_FILES) +else +I_FILES = $(STD_I_FILES) +endif + +noinst_HEADERS = $(STD_I_FILES) $(MP_I_FILES) +if INLINE PREINSTALL_FILES = \ $(PROJECT_INCLUDE)/rtems/score \ -$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/score/%) +$(I_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%) $(PROJECT_INCLUDE)/rtems/score: @$(mkinstalldirs) $@ -- cgit v1.2.3