mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-18 21:45:34 +08:00
Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
... major enhancement of automake support.
... and it contains a *major* breakthough:
Automake support for libchip and libmisc *LEAF* directories.
To implement this I have used several nasty tricks
* The basical trick is to wrap an old Makefile.in's contents into a
Makefile.am and still continue to use (i.e include) the old
*.cfg files.
* Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
dependencies
* Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
automake and RTEMS make rules
* Replaced each install:: and preinstall:: rule with make dependencies
* Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
convention)
* Removed each manually added autoconf substitution which automake
performs automatically.
This is not yet full automake support, because using the temporary
installation directory, preinstallation in general and building variants
are in contradiction to automake's basic working principles ...
... the new Makefile.ams work still somewhat clumsy
... nevertheless they work (quite well).
WARNING:
At first glance this patch is small, but
* it affects the whole configuration system.
* it opens the road to introducing automake to all Makefile.ins
currently not being under automake control.
JOEL> Does this remove or add any files?
Both, all Makefile.ins below libchip and libmisc get replaced with
Makefile.ams.
This commit is contained in:
@@ -5,7 +5,6 @@ AC_DEFUN(RTEMS_CHECK_CPU,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_TOP])
|
||||
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
|
||||
|
||||
# Is this a supported CPU?
|
||||
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
|
||||
|
||||
@@ -4,6 +4,7 @@ dnl
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
|
||||
AC_REQUIRE([RTEMS_TOP])dnl
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
|
||||
|
||||
@@ -4,7 +4,6 @@ AC_DEFUN(RTEMS_CHECK_NETWORKING,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
|
||||
|
||||
AC_CACHE_CHECK([whether BSP supports networking],
|
||||
rtems_cv_HAS_NETWORKING,
|
||||
|
||||
@@ -2,6 +2,7 @@ dnl $Id$
|
||||
dnl
|
||||
AC_DEFUN(RTEMS_CHECK_POSIX_API,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@ AC_DEFUN(RTEMS_ENV_RTEMSBSP,
|
||||
AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
|
||||
AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_MULTIPROCESSING])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
|
||||
|
||||
AC_MSG_CHECKING([for RTEMS_BSP])
|
||||
AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ profile-am:
|
||||
profile: profile-am
|
||||
.PHONY: profile profile-am
|
||||
|
||||
preinstall-am: $(TMPINSTALL_FILES)
|
||||
preinstall-am: $(PREINSTALL_FILES)
|
||||
preinstall: preinstall-am
|
||||
.PHONY: preinstall preinstall-am
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ install-data-local:
|
||||
rm -rf $(rtems_bspdir)/[bsl]*;
|
||||
$(mkinstalldirs) $(rtems_bspdir)
|
||||
cd $(PROJECT_ROOT); \
|
||||
tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(prefix); tar xpBf - );
|
||||
tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(DESTDIR)$(prefix); tar xpBf - );
|
||||
|
||||
include $(top_srcdir)/../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../automake/local.am
|
||||
|
||||
@@ -53,6 +53,7 @@ else
|
||||
fi
|
||||
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
|
||||
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
|
||||
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
|
||||
|
||||
AC_SUBST(RTEMS_VERSION)
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = itron.h
|
||||
H_FILES = itron.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE) \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||
|
||||
@@ -17,9 +17,9 @@ $(PROJECT_INCLUDE):
|
||||
$(PROJECT_INCLUDE)/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
SUBDIRS = rtems itronsys
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = eventflags.h fmempool.h intr.h mbox.h msgbuffer.h network.h \
|
||||
H_FILES = eventflags.h fmempool.h intr.h mbox.h msgbuffer.h network.h \
|
||||
port.h semaphore.h status.h sysmgmt.h task.h time.h types.h vmempool.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/itronsys \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/itronsys/%)
|
||||
|
||||
@@ -18,8 +18,8 @@ $(PROJECT_INCLUDE)/itronsys:
|
||||
$(PROJECT_INCLUDE)/itronsys/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -4,24 +4,24 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = config.h eventflags.h fmempool.h intr.h itronapi.h mbox.h \
|
||||
H_FILES = config.h eventflags.h fmempool.h intr.h itronapi.h mbox.h \
|
||||
msgbuffer.h network.h object.h port.h semaphore.h sysmgmt.h \
|
||||
task.h time.h vmempool.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/itron \
|
||||
$(H_PIECES:%=$(PROJECT_INCLUDE)/rtems/itron/%)
|
||||
$(H_FILES:%=$(PROJECT_INCLUDE)/rtems/itron/%)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/itron:
|
||||
@$(mkinstalldirs) $@
|
||||
$(PROJECT_INCLUDE)/rtems/itron/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST = README
|
||||
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
if INLINE
|
||||
I_PIECES = eventflags.inl fmempool.inl intr.inl mbox.inl msgbuffer.inl \
|
||||
I_FILES = eventflags.inl fmempool.inl intr.inl mbox.inl msgbuffer.inl \
|
||||
network.inl port.inl semaphore.inl sysmgmt.inl task.inl \
|
||||
time.inl vmempool.inl
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/itron \
|
||||
$(I_PIECES:%=$(PROJECT_INCLUDE)/rtems/itron/%)
|
||||
$(I_FILES:%=$(PROJECT_INCLUDE)/rtems/itron/%)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/itron:
|
||||
@$(mkinstalldirs) $@
|
||||
@@ -20,8 +20,8 @@ $(PROJECT_INCLUDE)/rtems/itron/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if HAS_NETWORKING
|
||||
H_PIECES = auth.h rpc.h svc.h types.h clnt.h rpc_msg.h svc_auth.h xdr.h
|
||||
H_FILES = auth.h rpc.h svc.h types.h clnt.h rpc_msg.h svc_auth.h xdr.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rpc \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rpc/%)
|
||||
|
||||
@@ -19,8 +19,8 @@ $(PROJECT_INCLUDE)/rpc/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -14,7 +14,6 @@ AM_MAINTAINER_MODE
|
||||
|
||||
RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENABLE_POSIX
|
||||
RTEMS_ENABLE_POSIX
|
||||
RTEMS_ENABLE_INLINES
|
||||
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
@@ -48,6 +47,7 @@ else
|
||||
fi
|
||||
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
|
||||
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
|
||||
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
|
||||
|
||||
## Needed when using automake for libs/rels
|
||||
RTEMS_CHECK_NEWLIB
|
||||
|
||||
@@ -6,11 +6,11 @@ AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
## RTEMS unistd.h needs to be checked against newlib's and removed
|
||||
#noinst_HEADERS= devctl.h intr.h
|
||||
H_PIECES = pthread.h sched.h aio.h mqueue.h semaphore.h
|
||||
H_FILES = pthread.h sched.h aio.h mqueue.h semaphore.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE) \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||
|
||||
@@ -19,9 +19,9 @@ $(PROJECT_INCLUDE):
|
||||
$(PROJECT_INCLUDE)/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
SUBDIRS = rtems sys
|
||||
|
||||
|
||||
@@ -4,28 +4,29 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if HAS_MP
|
||||
## We only build multiprocessing related files if HAS_MP was defined
|
||||
MP_H_PIECES_yes_V = condmp.h mqueuemp.h mutexmp.h pthreadmp.h semaphoremp.h
|
||||
MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V)
|
||||
MP_H_FILES = condmp.h mqueuemp.h mutexmp.h pthreadmp.h semaphoremp.h
|
||||
endif
|
||||
|
||||
H_PIECES = cancel.h cond.h config.h key.h mqueue.h mutex.h posixapi.h \
|
||||
H_FILES = cancel.h cond.h config.h key.h mqueue.h mutex.h posixapi.h \
|
||||
priority.h psignal.h pthread.h ptimer.h semaphore.h seterr.h threadsup.h \
|
||||
time.h timer.h $(MP_H_PIECES)
|
||||
#H_PIECES= intr.h threadsup.h time.h
|
||||
time.h timer.h $(MP_H_FILES)
|
||||
#H_FILES= intr.h threadsup.h time.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/posix \
|
||||
$(H_PIECES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
|
||||
$(H_FILES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/posix:
|
||||
@$(mkinstalldirs) $@
|
||||
$(PROJECT_INCLUDE)/rtems/posix/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = utsname.h
|
||||
H_FILES = utsname.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/sys \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/sys/%)
|
||||
|
||||
@@ -17,8 +17,8 @@ $(PROJECT_INCLUDE)/sys:
|
||||
$(PROJECT_INCLUDE)/sys/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
if INLINE
|
||||
#I_PIECES= intr.inl
|
||||
I_PIECES = cond.inl key.inl mqueue.inl mutex.inl pthread.inl priority.inl \
|
||||
#I_FILES= intr.inl
|
||||
I_FILES = cond.inl key.inl mqueue.inl mutex.inl pthread.inl priority.inl \
|
||||
semaphore.inl
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/posix \
|
||||
$(I_PIECES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
|
||||
$(I_FILES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/posix:
|
||||
@$(mkinstalldirs) $@
|
||||
@@ -20,9 +20,9 @@ $(PROJECT_INCLUDE)/rtems/posix/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST = intr.inl
|
||||
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if MACROS
|
||||
I_PIECES =
|
||||
I_FILES =
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/posix \
|
||||
$(I_PIECES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
|
||||
$(I_FILES:%=$(PROJECT_INCLUDE)/rtems/posix/%)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/posix:
|
||||
@$(mkinstalldirs) $@
|
||||
@@ -19,8 +19,8 @@ $(PROJECT_INCLUDE)/rtems/posix/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = rtems.h
|
||||
H_FILES = rtems.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE) \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||
|
||||
@@ -17,9 +17,9 @@ $(PROJECT_INCLUDE):
|
||||
$(PROJECT_INCLUDE)/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
SUBDIRS = rtems
|
||||
|
||||
|
||||
@@ -5,17 +5,18 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
## We only build multiprocessing related files if HAS_MP was defined
|
||||
MP_H_PIECES_yes_V = eventmp.h mp.h msgmp.h partmp.h regionmp.h semmp.h \
|
||||
if HAS_MP
|
||||
MP_H_FILES = eventmp.h mp.h msgmp.h partmp.h regionmp.h semmp.h \
|
||||
signalmp.h taskmp.h
|
||||
MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V)
|
||||
endif
|
||||
|
||||
H_PIECES = asr.h attr.h clock.h config.h dpmem.h event.h eventset.h intr.h \
|
||||
H_FILES = asr.h attr.h clock.h config.h dpmem.h event.h eventset.h intr.h \
|
||||
message.h modes.h options.h part.h ratemon.h region.h rtemsapi.h sem.h \
|
||||
signal.h status.h support.h tasks.h timer.h types.h $(MP_H_PIECES)
|
||||
signal.h status.h support.h tasks.h timer.h types.h $(MP_H_FILES)
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%)
|
||||
|
||||
@@ -24,8 +25,8 @@ $(PROJECT_INCLUDE)/rtems/rtems:
|
||||
$(PROJECT_INCLUDE)/rtems/rtems/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if INLINE
|
||||
I_PIECES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \
|
||||
I_FILES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \
|
||||
modes.inl options.inl part.inl ratemon.inl \
|
||||
region.inl sem.inl status.inl support.inl tasks.inl timer.inl
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%)
|
||||
|
||||
@@ -21,8 +21,8 @@ $(PROJECT_INCLUDE)/rtems/rtems/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if MACROS
|
||||
I_PIECES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \
|
||||
I_FILES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \
|
||||
modes.inl options.inl part.inl ratemon.inl \
|
||||
region.inl sem.inl status.inl support.inl tasks.inl timer.inl
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%)
|
||||
|
||||
@@ -21,8 +21,8 @@ $(PROJECT_INCLUDE)/rtems/rtems/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = confdefs.h
|
||||
H_FILES = confdefs.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE) \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||
|
||||
@@ -17,9 +17,9 @@ $(PROJECT_INCLUDE):
|
||||
$(PROJECT_INCLUDE)/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
SUBDIRS = rtems
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = config.h directives.h extension.h fatal.h init.h io.h mptables.h \
|
||||
H_FILES = config.h directives.h extension.h fatal.h init.h io.h mptables.h \
|
||||
sptables.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
|
||||
|
||||
@@ -20,8 +20,8 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
|
||||
|
||||
EXTRA_DIST = README
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if INLINE
|
||||
I_PIECES = extension.inl
|
||||
I_FILES = extension.inl
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
|
||||
|
||||
@@ -19,8 +19,8 @@ $(PROJECT_INCLUDE)/rtems/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
if MACROS
|
||||
I_PIECES = extension.inl
|
||||
I_FILES = extension.inl
|
||||
|
||||
noinst_HEADERS = $(I_PIECES)
|
||||
noinst_HEADERS = $(I_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
|
||||
|
||||
@@ -19,8 +19,8 @@ $(PROJECT_INCLUDE)/rtems/%.inl: %.inl
|
||||
$(INSTALL_DATA) $< $@
|
||||
endif
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -17,7 +17,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = $(RTEMS_CPU)
|
||||
SUBDIRS = $(RTEMS_CPU)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -26,7 +26,7 @@ else
|
||||
CPUDIR = other_cpu
|
||||
endif
|
||||
|
||||
SUB_DIRS = $(CPUDIR) $(SHARED_LIB)
|
||||
SUBDIRS = $(CPUDIR) $(SHARED_LIB)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = rtems wrap
|
||||
SUBDIRS = rtems wrap
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
|
||||
SUB_DIRS = score
|
||||
SUBDIRS = score
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
H_PIECES = debug.h system.h
|
||||
H_FILES = debug.h system.h
|
||||
|
||||
noinst_HEADERS = $(H_PIECES)
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
TMPINSTALL_FILES = \
|
||||
PREINSTALL_FILES = \
|
||||
$(PROJECT_INCLUDE)/rtems \
|
||||
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
|
||||
|
||||
@@ -17,9 +17,9 @@ $(PROJECT_INCLUDE)/rtems:
|
||||
$(PROJECT_INCLUDE)/rtems/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
all-am: $(TMPINSTALL_FILES)
|
||||
debug-am: $(TMPINSTALL_FILES)
|
||||
profile-am: $(TMPINSTALL_FILES)
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
debug-am: $(PREINSTALL_FILES)
|
||||
profile-am: $(PREINSTALL_FILES)
|
||||
|
||||
SUBDIRS = score
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user