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/cpu/Makefile.in | 19 ++++ c/src/exec/score/cpu/a29k/Makefile.in | 25 ----- c/src/exec/score/cpu/a29k/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/a29k/rtems/score/Makefile.in | 74 ------------- c/src/exec/score/cpu/a29k/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/i386/Makefile.in | 25 ----- c/src/exec/score/cpu/i386/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/i386/rtems/score/Makefile.in | 74 ------------- c/src/exec/score/cpu/i386/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/i960/Makefile.in | 25 ----- c/src/exec/score/cpu/i960/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/i960/rtems/score/Makefile.in | 74 ------------- c/src/exec/score/cpu/i960/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/m68k/Makefile.in | 25 ----- c/src/exec/score/cpu/m68k/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/m68k/rtems/score/Makefile.in | 74 ------------- c/src/exec/score/cpu/m68k/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/mips64orion/Makefile.in | 25 ----- c/src/exec/score/cpu/mips64orion/rtems/Makefile.in | 25 ----- .../score/cpu/mips64orion/rtems/score/Makefile.in | 74 ------------- c/src/exec/score/cpu/mips64orion/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/no_cpu/Makefile.in | 25 ----- c/src/exec/score/cpu/no_cpu/rtems/Makefile.in | 25 ----- .../exec/score/cpu/no_cpu/rtems/score/Makefile.in | 75 -------------- c/src/exec/score/cpu/no_cpu/wrap/Makefile.in | 91 ---------------- c/src/exec/score/cpu/powerpc/Makefile.in | 33 ------ c/src/exec/score/cpu/powerpc/mpc750/Makefile.in | 90 ---------------- c/src/exec/score/cpu/powerpc/other_cpu/Makefile.in | 90 ---------------- c/src/exec/score/cpu/powerpc/shared/Makefile.in | 83 --------------- c/src/exec/score/cpu/powerpc/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/sh/Makefile.in | 25 ----- c/src/exec/score/cpu/sh/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/sh/rtems/score/Makefile.in | 75 -------------- c/src/exec/score/cpu/sh/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/sparc/Makefile.in | 25 ----- c/src/exec/score/cpu/sparc/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/sparc/rtems/score/Makefile.in | 74 ------------- c/src/exec/score/cpu/sparc/wrap/Makefile.in | 90 ---------------- c/src/exec/score/cpu/unix/Makefile.in | 25 ----- c/src/exec/score/cpu/unix/rtems/Makefile.in | 25 ----- c/src/exec/score/cpu/unix/rtems/score/Makefile.in | 82 --------------- c/src/exec/score/cpu/unix/wrap/Makefile.in | 89 ---------------- c/src/exec/score/include/rtems/score/Makefile.am | 103 ++++++++++++++++++ c/src/exec/score/include/rtems/score/Makefile.in | 115 --------------------- c/src/exec/score/inline/rtems/score/Makefile.am | 18 ++-- c/src/exec/score/macros/rtems/score/Makefile.am | 23 +++-- c/src/exec/score/src/Makefile.am | 81 +++++++++++++++ c/src/exec/score/src/Makefile.in | 96 ----------------- 48 files changed, 226 insertions(+), 2551 deletions(-) delete mode 100644 c/src/exec/score/cpu/a29k/Makefile.in delete mode 100644 c/src/exec/score/cpu/a29k/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/a29k/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/a29k/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/i386/Makefile.in delete mode 100644 c/src/exec/score/cpu/i386/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/i386/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/i386/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/i960/Makefile.in delete mode 100644 c/src/exec/score/cpu/i960/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/i960/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/i960/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/m68k/Makefile.in delete mode 100644 c/src/exec/score/cpu/m68k/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/m68k/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/m68k/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/mips64orion/Makefile.in delete mode 100644 c/src/exec/score/cpu/mips64orion/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/mips64orion/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/mips64orion/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/no_cpu/Makefile.in delete mode 100644 c/src/exec/score/cpu/no_cpu/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/no_cpu/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/no_cpu/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/powerpc/Makefile.in delete mode 100644 c/src/exec/score/cpu/powerpc/mpc750/Makefile.in delete mode 100644 c/src/exec/score/cpu/powerpc/other_cpu/Makefile.in delete mode 100644 c/src/exec/score/cpu/powerpc/shared/Makefile.in delete mode 100644 c/src/exec/score/cpu/powerpc/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/sh/Makefile.in delete mode 100644 c/src/exec/score/cpu/sh/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/sh/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/sh/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/sparc/Makefile.in delete mode 100644 c/src/exec/score/cpu/sparc/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/sparc/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/sparc/wrap/Makefile.in delete mode 100644 c/src/exec/score/cpu/unix/Makefile.in delete mode 100644 c/src/exec/score/cpu/unix/rtems/Makefile.in delete mode 100644 c/src/exec/score/cpu/unix/rtems/score/Makefile.in delete mode 100644 c/src/exec/score/cpu/unix/wrap/Makefile.in create mode 100644 c/src/exec/score/include/rtems/score/Makefile.am delete mode 100644 c/src/exec/score/include/rtems/score/Makefile.in create mode 100644 c/src/exec/score/src/Makefile.am delete mode 100644 c/src/exec/score/src/Makefile.in (limited to 'c/src/exec/score') diff --git a/c/src/exec/score/cpu/Makefile.in b/c/src/exec/score/cpu/Makefile.in index 1471cb849f..8dee6c701e 100644 --- a/c/src/exec/score/cpu/Makefile.in +++ b/c/src/exec/score/cpu/Makefile.in @@ -7,6 +7,11 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = . +ACLOCAL = aclocal +AUTOCONF = autoconf +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +ACLOCAL_AMFLAGS = -I @RTEMS_TOPdir@/aclocal + RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -19,6 +24,20 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ SUBDIRS = $(RTEMS_CPU) +# HACK: Don't let them fail here +dist: +distdir: + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) + cd $(srcdir) && $(AUTOCONF) + diff --git a/c/src/exec/score/cpu/a29k/Makefile.in b/c/src/exec/score/cpu/a29k/Makefile.in deleted file mode 100644 index 9d25ef141f..0000000000 --- a/c/src/exec/score/cpu/a29k/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = a29k - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/a29k/rtems/Makefile.in b/c/src/exec/score/cpu/a29k/rtems/Makefile.in deleted file mode 100644 index 7de8275a43..0000000000 --- a/c/src/exec/score/cpu/a29k/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = a29k/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/a29k/rtems/score/Makefile.in b/c/src/exec/score/cpu/a29k/rtems/score/Makefile.in deleted file mode 100644 index ce414bf93f..0000000000 --- a/c/src/exec/score/cpu/a29k/rtems/score/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = a29k/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = a29k.h a29ktypes.h cpu.h cpu_asm.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/a29k/wrap/Makefile.in b/c/src/exec/score/cpu/a29k/wrap/Makefile.in deleted file mode 100644 index dcdfd1d500..0000000000 --- a/c/src/exec/score/cpu/a29k/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = a29k/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = amd.ah asm.h cpu_asm.h pswmacro.ah register.ah -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm sig -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i386/Makefile.in b/c/src/exec/score/cpu/i386/Makefile.in deleted file mode 100644 index 301ceb8459..0000000000 --- a/c/src/exec/score/cpu/i386/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = i386 - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i386/rtems/Makefile.in b/c/src/exec/score/cpu/i386/rtems/Makefile.in deleted file mode 100644 index 202c740086..0000000000 --- a/c/src/exec/score/cpu/i386/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = i386/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i386/rtems/score/Makefile.in b/c/src/exec/score/cpu/i386/rtems/score/Makefile.in deleted file mode 100644 index 1547a8544d..0000000000 --- a/c/src/exec/score/cpu/i386/rtems/score/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = i386/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h i386.h i386types.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i386/wrap/Makefile.in b/c/src/exec/score/cpu/i386/wrap/Makefile.in deleted file mode 100644 index a63ec140f8..0000000000 --- a/c/src/exec/score/cpu/i386/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = i386/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i960/Makefile.in b/c/src/exec/score/cpu/i960/Makefile.in deleted file mode 100644 index a7d8e221d0..0000000000 --- a/c/src/exec/score/cpu/i960/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = i960 - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i960/rtems/Makefile.in b/c/src/exec/score/cpu/i960/rtems/Makefile.in deleted file mode 100644 index e16f379a56..0000000000 --- a/c/src/exec/score/cpu/i960/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = i960/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i960/rtems/score/Makefile.in b/c/src/exec/score/cpu/i960/rtems/score/Makefile.in deleted file mode 100644 index fcc6c532e6..0000000000 --- a/c/src/exec/score/cpu/i960/rtems/score/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = i960/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h i960.h i960types.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/i960/wrap/Makefile.in b/c/src/exec/score/cpu/i960/wrap/Makefile.in deleted file mode 100644 index 2b84329a97..0000000000 --- a/c/src/exec/score/cpu/i960/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = i960/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h i960RP.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm rtems -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/m68k/Makefile.in b/c/src/exec/score/cpu/m68k/Makefile.in deleted file mode 100644 index 13ba612f57..0000000000 --- a/c/src/exec/score/cpu/m68k/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = m68k - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/m68k/rtems/Makefile.in b/c/src/exec/score/cpu/m68k/rtems/Makefile.in deleted file mode 100644 index 5cc6fcd10c..0000000000 --- a/c/src/exec/score/cpu/m68k/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = m68k/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/m68k/rtems/score/Makefile.in b/c/src/exec/score/cpu/m68k/rtems/score/Makefile.in deleted file mode 100644 index 868e0af8cd..0000000000 --- a/c/src/exec/score/cpu/m68k/rtems/score/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = m68k/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h m68k.h m68ktypes.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/m68k/wrap/Makefile.in b/c/src/exec/score/cpu/m68k/wrap/Makefile.in deleted file mode 100644 index 481a198aa5..0000000000 --- a/c/src/exec/score/cpu/m68k/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = m68k/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu memcpy -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h m68302.h m68360.h qsm.h sim.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/mips64orion/Makefile.in b/c/src/exec/score/cpu/mips64orion/Makefile.in deleted file mode 100644 index f40d528e50..0000000000 --- a/c/src/exec/score/cpu/mips64orion/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = mips64orion - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/mips64orion/rtems/Makefile.in b/c/src/exec/score/cpu/mips64orion/rtems/Makefile.in deleted file mode 100644 index 2ee69101d6..0000000000 --- a/c/src/exec/score/cpu/mips64orion/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mips64orion/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/mips64orion/rtems/score/Makefile.in b/c/src/exec/score/cpu/mips64orion/rtems/score/Makefile.in deleted file mode 100644 index 570858e460..0000000000 --- a/c/src/exec/score/cpu/mips64orion/rtems/score/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mips64orion/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h mips64orion.h mipstypes.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/mips64orion/wrap/Makefile.in b/c/src/exec/score/cpu/mips64orion/wrap/Makefile.in deleted file mode 100644 index 81327eb287..0000000000 --- a/c/src/exec/score/cpu/mips64orion/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mips64orion/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h cpu_asm.h idtcpu.h idtmon.h iregdef.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/no_cpu/Makefile.in b/c/src/exec/score/cpu/no_cpu/Makefile.in deleted file mode 100644 index 7a9a785b50..0000000000 --- a/c/src/exec/score/cpu/no_cpu/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = no_cpu - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/no_cpu/rtems/Makefile.in b/c/src/exec/score/cpu/no_cpu/rtems/Makefile.in deleted file mode 100644 index aff4d23703..0000000000 --- a/c/src/exec/score/cpu/no_cpu/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = no_cpu/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/no_cpu/rtems/score/Makefile.in b/c/src/exec/score/cpu/no_cpu/rtems/score/Makefile.in deleted file mode 100644 index 86ce179e40..0000000000 --- a/c/src/exec/score/cpu/no_cpu/rtems/score/Makefile.in +++ /dev/null @@ -1,75 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = no_cpu/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h no_cpu.h no_cputypes.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) - -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/no_cpu/wrap/Makefile.in b/c/src/exec/score/cpu/no_cpu/wrap/Makefile.in deleted file mode 100644 index 9889b8daa7..0000000000 --- a/c/src/exec/score/cpu/no_cpu/wrap/Makefile.in +++ /dev/null @@ -1,91 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = no_cpu/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu cpu_asm -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) $(OBJS) $(ARCH)/rtems.o $(RELS) - -$(ARCH)/rtems.o: rtems.c - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/powerpc/Makefile.in b/c/src/exec/score/cpu/powerpc/Makefile.in deleted file mode 100644 index 73f5c47a02..0000000000 --- a/c/src/exec/score/cpu/powerpc/Makefile.in +++ /dev/null @@ -1,33 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = powerpc - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SHARED_LIB = shared - -ifeq ($(RTEMS_CPU_MODEL),mpc750) -CPUDIR = mpc750 -else -CPUDIR = other_cpu -endif - -SUBDIRS = $(CPUDIR) $(SHARED_LIB) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/powerpc/mpc750/Makefile.in b/c/src/exec/score/cpu/powerpc/mpc750/Makefile.in deleted file mode 100644 index b50fbdc3d4..0000000000 --- a/c/src/exec/score/cpu/powerpc/mpc750/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = powerpc/mpc750 - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -ROOT_H_PIECES = -ROOT_H_FILES = $(ROOT_H_PIECES:%=$(srcdir)/%) -RTEMS_SCORE_H_PIECES = cpu.h -RTEMS_SCORE_H_FILES = $(RTEMS_SCORE_H_PIECES:%=$(srcdir)/%) -H_PIECES = $(ROOT_H_PIECES) $(RTEMS_SCORE_H_PIECES) -H_FILES = $(H_PIECES%=$(srcdir)/%) -I_PIECES = c_isr -I_FILES = $(I_PIECES:%=$(srcdir)/%.inl) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) \ - $(I_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(RTEMS_SCORE_H_FILES) $(I_FILES) $(PROJECT_INCLUDE)/rtems/score - @$(INSTALL_CHANGE) -m 644 $(ROOT_H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/powerpc/other_cpu/Makefile.in b/c/src/exec/score/cpu/powerpc/other_cpu/Makefile.in deleted file mode 100644 index 9e6f49591a..0000000000 --- a/c/src/exec/score/cpu/powerpc/other_cpu/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = powerpc/other_cpu - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu ppccache -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -ROOT_H_PIECES = -ROOT_H_FILES = $(ROOT_H_PIECES:%=$(srcdir)/%) -RTEMS_SCORE_H_PIECES = cpu.h -RTEMS_SCORE_H_FILES = $(RTEMS_SCORE_H_PIECES:%=$(srcdir)/%) -H_PIECES = $(ROOT_H_PIECES) $(RTEMS_SCORE_H_PIECES) -H_FILES = $(H_PIECES%=$(srcdir)/%) -I_PIECES = c_isr -I_FILES = $(I_PIECES:%=$(srcdir)/%.inl) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm rtems # irq_stub -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) \ - $(I_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(RTEMS_SCORE_H_FILES) $(I_FILES) $(PROJECT_INCLUDE)/rtems/score - @$(INSTALL_CHANGE) -m 644 $(ROOT_H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/powerpc/shared/Makefile.in b/c/src/exec/score/cpu/powerpc/shared/Makefile.in deleted file mode 100644 index 549777e59a..0000000000 --- a/c/src/exec/score/cpu/powerpc/shared/Makefile.in +++ /dev/null @@ -1,83 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = powerpc/shared - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -RELS = - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -ROOT_H_PIECES = asm.h -ROOT_H_FILES = $(ROOT_H_PIECES:%=$(srcdir)/%) -RTEMS_SCORE_H_PIECES = ppc.h ppctypes.h -RTEMS_SCORE_H_FILES = $(RTEMS_SCORE_H_PIECES:%=$(srcdir)/%) -H_PIECES = $(ROOT_H_PIECES) $(RTEMS_SCORE_H_PIECES) -H_FILES = $(H_PIECES%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -all: $(SRCS) preinstall - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(RTEMS_SCORE_H_FILES) $(PROJECT_INCLUDE)/rtems/score - @$(INSTALL_CHANGE) -m 644 $(ROOT_H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/powerpc/wrap/Makefile.in b/c/src/exec/score/cpu/powerpc/wrap/Makefile.in deleted file mode 100644 index bb51eb394f..0000000000 --- a/c/src/exec/score/cpu/powerpc/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = powerpc/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu ppccache -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h mpc860.h mpc821.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm rtems # irq_stub -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sh/Makefile.in b/c/src/exec/score/cpu/sh/Makefile.in deleted file mode 100644 index 820f1dcfc6..0000000000 --- a/c/src/exec/score/cpu/sh/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = sh - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sh/rtems/Makefile.in b/c/src/exec/score/cpu/sh/rtems/Makefile.in deleted file mode 100644 index 0ce0681963..0000000000 --- a/c/src/exec/score/cpu/sh/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sh/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sh/rtems/score/Makefile.in b/c/src/exec/score/cpu/sh/rtems/score/Makefile.in deleted file mode 100644 index 72b3471072..0000000000 --- a/c/src/exec/score/cpu/sh/rtems/score/Makefile.in +++ /dev/null @@ -1,75 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = sh/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h shtypes.h sh.h sh_io.h isp$(RTEMS_CPU_MODEL).h \ - io$(RTEMS_CPU_MODEL).h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sh/wrap/Makefile.in b/c/src/exec/score/cpu/sh/wrap/Makefile.in deleted file mode 100644 index 12fe6d5d06..0000000000 --- a/c/src/exec/score/cpu/sh/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sh/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu cpu_asm isp$(RTEMS_CPU_MODEL) -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sparc/Makefile.in b/c/src/exec/score/cpu/sparc/Makefile.in deleted file mode 100644 index 0d89a0f51b..0000000000 --- a/c/src/exec/score/cpu/sparc/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = sparc - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sparc/rtems/Makefile.in b/c/src/exec/score/cpu/sparc/rtems/Makefile.in deleted file mode 100644 index 0cd9e3af8b..0000000000 --- a/c/src/exec/score/cpu/sparc/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sparc/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sparc/rtems/score/Makefile.in b/c/src/exec/score/cpu/sparc/rtems/score/Makefile.in deleted file mode 100644 index 8ab5f8f199..0000000000 --- a/c/src/exec/score/cpu/sparc/rtems/score/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = sparc/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h sparctypes.h sparc.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/sparc/wrap/Makefile.in b/c/src/exec/score/cpu/sparc/wrap/Makefile.in deleted file mode 100644 index 80fab41feb..0000000000 --- a/c/src/exec/score/cpu/sparc/wrap/Makefile.in +++ /dev/null @@ -1,90 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sparc/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = asm.h erc32.h -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = cpu_asm -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS) - $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/unix/Makefile.in b/c/src/exec/score/cpu/unix/Makefile.in deleted file mode 100644 index efef7da8aa..0000000000 --- a/c/src/exec/score/cpu/unix/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = unix - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = rtems wrap - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/unix/rtems/Makefile.in b/c/src/exec/score/cpu/unix/rtems/Makefile.in deleted file mode 100644 index 8cc26059bd..0000000000 --- a/c/src/exec/score/cpu/unix/rtems/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = unix/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SUBDIRS = score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/unix/rtems/score/Makefile.in b/c/src/exec/score/cpu/unix/rtems/score/Makefile.in deleted file mode 100644 index 6e5eae9723..0000000000 --- a/c/src/exec/score/cpu/unix/rtems/score/Makefile.in +++ /dev/null @@ -1,82 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = unix/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -GENSIZE = $(PROJECT_ROOT)/tools/cpu/unix/gensize - -BUILT_SOURCES = unixsize.h - -# C source names, if any, go here -- minus the .c -C_PIECES = -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = cpu.h unixtypes.h unix.h -H_FILES = $(H_PIECES:%=$(srcdir)/%) unixsize.h - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -unixsize.h: $(GENSIZE) cpu.h - $(RM) $@ - $(GENSIZE) > $@ - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += $(BUILT_SOURCES) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/cpu/unix/wrap/Makefile.in b/c/src/exec/score/cpu/unix/wrap/Makefile.in deleted file mode 100644 index 70048cc925..0000000000 --- a/c/src/exec/score/cpu/unix/wrap/Makefile.in +++ /dev/null @@ -1,89 +0,0 @@ -# -# $Id$ -# -# *** NOTE *** This Makefile violates RTEMS Makefile standards. -# This Makefile picks up sources from outside this directory -# and installs relocatible objects outside of this directory. -# This behavior is a work-around for RTEMS Makefile's missing -# ability to compile inside of directories containing subdirectories. -# This directory will disapear once automake will be introduced. -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = unix/wrap - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@/.. - -RELS = ../$(ARCH)/rtems-cpu.rel - -# C source names, if any, go here -- minus the .c -C_PIECES = cpu -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_PIECES = -H_FILES = $(H_PIECES:%=$(srcdir)/../%) - -# Assembly source names, if any, go here -- minus the .S -S_PIECES = -S_FILES = $(S_PIECES:%=%.S) -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) -OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE) - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -DCPU_SYNC_IO $(LIBC_DEFINES) @DEFS@ -CPPFLAGS += -I$(srcdir)/.. -CFLAGS += $(CFLAGS_OS_V) - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += ../$(ARCH) -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) - -../$(ARCH)/rtems-cpu.rel: $(OBJS) - test -d ../$(ARCH) || mkdir ../$(ARCH) - $(make-rel) - -# Install the program(s), appending _g or _p as appropriate. -# for include files, just use $(INSTALL_CHANGE) -install: all - -preinstall: ${ARCH} - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/score/include/rtems/score/Makefile.am b/c/src/exec/score/include/rtems/score/Makefile.am new file mode 100644 index 0000000000..995cd3a01d --- /dev/null +++ b/c/src/exec/score/include/rtems/score/Makefile.am @@ -0,0 +1,103 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(RTEMS_ROOT)/make/leaf.cfg + +# We only build multiprocessing related files if HAS_MP was defined +MP_H_FILES = mpci.h mppkt.h objectmp.h threadmp.h + +# H_FILES that get installed in the rtems/score subdirectoy +STD_H_FILES = address.h apiext.h bitfield.h chain.h context.h copyrt.h coremsg.h \ + coremutex.h coresem.h heap.h interr.h isr.h object.h priority.h stack.h \ + states.h sysstate.h thread.h threadq.h tod.h tqdata.h userext.h \ + watchdog.h wkspace.h +TARGOPTS = targopts.h + +if HAS_MP +H_FILES = $(STD_H_FILES) $(TARGOPTS) $(MP_H_FILES) +else +H_FILES = $(STD_H_FILES) $(TARGOPTS) +endif + +PREINSTALL_FILES = \ +$(PROJECT_INCLUDE)/rtems/score \ +$(H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%) + +$(PROJECT_INCLUDE)/rtems/score: + @$(mkinstalldirs) $@ + +$(PROJECT_INCLUDE)/rtems/score/%.h: %.h + $(INSTALL_DATA) $< $@ + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEANFILES += $(TARGOPTS) + +# Until RTEMS_CPU is removed from all the make configuration files, +# this will need to be here to transform hppa1.1 into hppa1_1 to +# make it a valid cpp symbol. At some point in the near future, +# targopts.h should not define RTEMS_CPU. As best I can tell, +# gcc cpp predefines eliminate the need for RTEMS_CPU_MODEL +# on some families but not on others. For example, the i386 +# family does not give us enough information from the predefines. +RTEMS_CPU_DEFINED = $(subst .,_,$(RTEMS_CPU)) + +# make the target dependent options file +$(TARGOPTS): + @echo "/* target board dependent options file */" >$@ + @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@ + @echo >>$@ + @echo "#ifndef __TARGET_OPTIONS_h" >>$@ + @echo "#define __TARGET_OPTIONS_h" >>$@ + @echo >>$@ + @echo "#ifdef $(RTEMS_CPU_DEFINED)" >>$@ + @echo "#undef $(RTEMS_CPU_DEFINED)" >>$@ + @echo "#endif" >>$@ + @echo "#define $(RTEMS_CPU_DEFINED) 1" >>$@ + @echo >>$@ + @echo "#ifdef $(RTEMS_CPU_MODEL)" >>$@ + @echo "#undef $(RTEMS_CPU_MODEL)" >>$@ + @echo "#endif" >>$@ + @echo "#define $(RTEMS_CPU_MODEL) 1" >>$@ + @echo >>$@ + @echo "#ifdef @RTEMS_BSP@" >>$@ + @echo "#undef @RTEMS_BSP@" >>$@ + @echo "#endif" >>$@ + @echo "#define @RTEMS_BSP@ 1" >>$@ + @echo >>$@ + @$(make-target-options) + @if test "$(RTEMS_USE_MACROS)" = "yes"; then \ + echo "#define USE_MACROS 1" >>$@; \ + else \ + echo "#define USE_INLINES 1" >>$@; \ + fi + @if test "$(HAS_MP)" = "yes"; then \ + echo "#define RTEMS_MULTIPROCESSING 1" >>$@; \ + fi + @if test "$(HAS_POSIX_API)" = "yes"; then \ + echo "#define RTEMS_POSIX_API 1" >>$@; \ + fi + @if test "$(HAS_ITRON_API)" = "yes"; then \ + echo "#define RTEMS_ITRON_API 1" >>$@; \ + fi + @if test "$(RTEMS_USE_NEWLIB)" = "yes"; then \ + echo "#define RTEMS_NEWLIB 1" >>$@; \ + echo "#define MALLOC_PROVIDED 1" >>$@; \ + fi + @echo >>$@ + @echo "#endif" >>$@ + +all: $(PREINSTALL_FILES) + +EXTRA_DIST = $(STD_H_FILES) $(MP_H_FILES) + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/score/include/rtems/score/Makefile.in b/c/src/exec/score/include/rtems/score/Makefile.in deleted file mode 100644 index 9bcf5b808b..0000000000 --- a/c/src/exec/score/include/rtems/score/Makefile.in +++ /dev/null @@ -1,115 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../../.. -subdir = score/include/rtems/score - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs - -INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score - -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) - -# We only build multiprocessing related files if HAS_MP was defined -MP_H_PIECES_yes_V = mpci mppkt objectmp threadmp -MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V) - -# H_FILES that get installed in the rtems/score subdirectoy -H_PIECES = address apiext bitfield chain context copyrt coremsg coremutex \ - coresem heap interr isr object priority stack states sysstate thread \ - threadq tod tqdata userext watchdog wkspace $(MP_H_PIECES) -H_FILES = $(H_PIECES:%=$(srcdir)/%.h) -TARGOPTS = targopts.h - -SRCS = $(H_FILES) $(TARGOPTS) - -RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@ -HAS_ITRON_API = @HAS_ITRON_API@ - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += $(TARGOPTS) -CLOBBER_ADDITIONS += - -# Until RTEMS_CPU is removed from all the make configuration files, -# this will need to be here to transform hppa1.1 into hppa1_1 to -# make it a valid cpp symbol. At some point in the near future, -# targopts.h should not define RTEMS_CPU. As best I can tell, -# gcc cpp predefines eliminate the need for RTEMS_CPU_MODEL -# on some families but not on others. For example, the i386 -# family does not give us enough information from the predefines. -RTEMS_CPU_DEFINED = $(subst .,_,$(RTEMS_CPU)) - -# make the target dependent options file -$(TARGOPTS): - @echo "/* target board dependent options file */" >$@ - @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@ - @echo >>$@ - @echo "#ifndef __TARGET_OPTIONS_h" >>$@ - @echo "#define __TARGET_OPTIONS_h" >>$@ - @echo >>$@ - @echo "#ifdef $(RTEMS_CPU_DEFINED)" >>$@ - @echo "#undef $(RTEMS_CPU_DEFINED)" >>$@ - @echo "#endif" >>$@ - @echo "#define $(RTEMS_CPU_DEFINED) 1" >>$@ - @echo >>$@ - @echo "#ifdef $(RTEMS_CPU_MODEL)" >>$@ - @echo "#undef $(RTEMS_CPU_MODEL)" >>$@ - @echo "#endif" >>$@ - @echo "#define $(RTEMS_CPU_MODEL) 1" >>$@ - @echo >>$@ - @echo "#ifdef @RTEMS_BSP@" >>$@ - @echo "#undef @RTEMS_BSP@" >>$@ - @echo "#endif" >>$@ - @echo "#define @RTEMS_BSP@ 1" >>$@ - @echo >>$@ - @$(make-target-options) - @if test "$(RTEMS_USE_MACROS)" = "yes"; then \ - echo "#define USE_MACROS 1" >>$@; \ - else \ - echo "#define USE_INLINES 1" >>$@; \ - fi - @if test "$(HAS_MP)" = "yes"; then \ - echo "#define RTEMS_MULTIPROCESSING 1" >>$@; \ - fi - @if test "$(HAS_POSIX_API)" = "yes"; then \ - echo "#define RTEMS_POSIX_API 1" >>$@; \ - fi - @if test "$(HAS_ITRON_API)" = "yes"; then \ - echo "#define RTEMS_ITRON_API 1" >>$@; \ - fi - @if test "$(RTEMS_USE_NEWLIB)" = "yes"; then \ - echo "#define RTEMS_NEWLIB 1" >>$@; \ - echo "#define MALLOC_PROVIDED 1" >>$@; \ - fi - @echo >>$@ - @echo "#endif" >>$@ - -all: preinstall - -preinstall: $(INSTALLDIRS) $(H_FILES) $(TARGOPTS) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/score - @$(INSTALL_CHANGE) -m 644 $(TARGOPTS) $(PROJECT_INCLUDE)/rtems/score - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 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) $@ diff --git a/c/src/exec/score/macros/rtems/score/Makefile.am b/c/src/exec/score/macros/rtems/score/Makefile.am index 05cc4ea5a1..0ac48e0386 100644 --- a/c/src/exec/score/macros/rtems/score/Makefile.am +++ b/c/src/exec/score/macros/rtems/score/Makefile.am @@ -4,24 +4,25 @@ AUTOMAKE_OPTIONS = foreign 1.4 -EXTRA_DIST = README - -if MACROS -if HAS_MP ## We only build multiprocessing related files if HAS_MP was defined MP_I_FILES = mppkt.inl objectmp.inl threadmp.inl -endif -I_FILES = address.inl chain.inl coremsg.inl coremutex.inl coresem.inl heap.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) + thread.inl tod.inl tqdata.inl userext.inl watchdog.inl wkspace.inl -noinst_HEADERS = $(I_FILES) +noinst_HEADERS = $(STD_I_FILES) $(MP_I_FILES) + +if MACROS +if HAS_MP +I_FILES = $(STD_I_FILES) $(MP_I_FILES) +else +I_FILES = $(STD_I_FILES +endif PREINSTALL_FILES = \ -$(PROJECT_INCLUDE) \ -$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%) +$(PROJECT_INCLUDE)/rtems/score \ +$(I_FILES:%=$(PROJECT_INCLUDE)/rtems/score%) $(PROJECT_INCLUDE)/rtems/score: @$(mkinstalldirs) $@ diff --git a/c/src/exec/score/src/Makefile.am b/c/src/exec/score/src/Makefile.am new file mode 100644 index 0000000000..04947cec47 --- /dev/null +++ b/c/src/exec/score/src/Makefile.am @@ -0,0 +1,81 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +# We only build multiprocessing related files if HAS_MP was defined +MP_C_FILES = mpci.c objectmp.c threadmp.c + +CORE_MESSAGE_QUEUE_C_FILES = coremsg.c coremsgbroadcast.c coremsgclose.c \ + coremsgflush.c coremsgflushsupp.c coremsgseize.c coremsgsubmit.c + +CORE_MUTEX_C_FILES = coremutex.c coremutexflush.c coremutexseize.c \ + coremutexsurrender.c + +CORE_SEMAPHORE_C_FILES = coresem.c coresemflush.c coresemseize.c \ + coresemsurrender.c + +HEAP_C_FILES = heap.c heapallocate.c heapextend.c heapfree.c \ + heapsizeofuserarea.c heapwalk.c + +OBJECT_C_FILES = object.c objectallocate.c objectallocatebyindex.c \ + objectclearname.c objectcomparenameraw.c objectcomparenamestring.c \ + objectcopynameraw.c objectcopynamestring.c objectextendinformation.c \ + objectfree.c objectget.c objectgetbyindex.c objectgetnext.c \ + objectinitializeinformation.c objectnametoid.c objectshrinkinformation.c + +THREAD_C_FILES = thread.c threadchangepriority.c threadclearstate.c \ + threadclose.c threadcreateidle.c threaddelayended.c threaddispatch.c \ + threadevaluatemode.c threadget.c threadhandler.c threadidlebody.c \ + threadinitialize.c threadloadenv.c threadready.c threadresettimeslice.c \ + threadreset.c threadrestart.c threadresume.c threadrotatequeue.c \ + threadsetpriority.c threadsetstate.c threadsettransient.c \ + threadstackallocate.c threadstackfree.c threadstart.c \ + threadstartmultitasking.c threadsuspend.c threadtickletimeslice.c \ + threadyieldprocessor.c + +THREADQ_C_FILES = threadq.c threadqdequeue.c threadqdequeuefifo.c \ + threadqdequeuepriority.c threadqenqueue.c threadqenqueuefifo.c \ + threadqenqueuepriority.c threadqextract.c threadqextractfifo.c \ + threadqextractpriority.c threadqextractwithproxy.c threadqfirst.c \ + threadqfirstfifo.c threadqfirstpriority.c threadqflush.c \ + threadqtimeout.c + +TOD_C_FILES = coretod.c coretodset.c coretodtickle.c coretodtoseconds.c \ + coretodvalidate.c + +WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \ + watchdogremove.c watchdogtickle.c + +# C and C++ source names, if any, go here -- minus the .c or .cc +STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \ + $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \ + isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \ + $(TOD_C_FILES) userext.c $(WATCHDOG_C_FILES) wkspace.c + +if HAS_MP +C_FILES = $(STD_C_FILES) $(MP_C_FILES) +else +C_FILES = $(STD_C_FILES) +endif +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) + +SRCS = $(C_FILES) +OBJS = $(C_O_FILES) + +# +# Add local stuff here using += +# + +AM_CPPFLAGS += -D__RTEMS_INSIDE__ +AM_CFLAGS += $(CFLAGS_OS_V) + +all: ${ARCH} ${OBJS} + +EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/score/src/Makefile.in b/c/src/exec/score/src/Makefile.in deleted file mode 100644 index f92f3c9577..0000000000 --- a/c/src/exec/score/src/Makefile.in +++ /dev/null @@ -1,96 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = score/src - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/lib.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -# We only build multiprocessing related files if HAS_MP was defined -MP_C_PIECES_yes_V = mpci objectmp threadmp -MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V) - -CORE_MESSAGE_QUEUE_C_PIECES= coremsg coremsgbroadcast coremsgclose \ - coremsgflush coremsgflushsupp coremsgseize coremsgsubmit - -CORE_MUTEX_C_PIECES= coremutex coremutexflush coremutexseize \ - coremutexsurrender - -CORE_SEMAPHORE_C_PIECES= coresem coresemflush coresemseize coresemsurrender - -HEAP_C_PIECES = heap heapallocate heapextend heapfree \ - heapsizeofuserarea heapwalk - -OBJECT_C_PIECES = object objectallocate objectallocatebyindex \ - objectclearname objectcomparenameraw objectcomparenamestring \ - objectcopynameraw objectcopynamestring objectextendinformation \ - objectfree objectget objectgetbyindex objectgetnext \ - objectinitializeinformation objectnametoid objectshrinkinformation - -THREAD_C_PIECES = thread threadchangepriority threadclearstate threadclose \ - threadcreateidle threaddelayended threaddispatch threadevaluatemode \ - threadget threadhandler threadidlebody threadinitialize threadloadenv \ - threadready threadresettimeslice threadreset threadrestart threadresume \ - threadrotatequeue threadsetpriority threadsetstate threadsettransient \ - threadstackallocate threadstackfree threadstart threadstartmultitasking \ - threadsuspend threadtickletimeslice threadyieldprocessor - -THREADQ_C_PIECES= threadq threadqdequeue threadqdequeuefifo \ - threadqdequeuepriority threadqenqueue threadqenqueuefifo \ - threadqenqueuepriority threadqextract threadqextractfifo \ - threadqextractpriority threadqextractwithproxy threadqfirst \ - threadqfirstfifo threadqfirstpriority threadqflush threadqtimeout - -TOD_C_PIECES= coretod coretodset coretodtickle coretodtoseconds \ - coretodvalidate - -WATCHDOG_C_PIECES= watchdog watchdogadjust watchdoginsert watchdogremove \ - watchdogtickle - -# C and C++ source names, if any, go here -- minus the .c or .cc -C_PIECES = apiext chain $(CORE_MESSAGE_QUEUE_C_PIECES) $(CORE_MUTEX_C_PIECES) \ - $(CORE_SEMAPHORE_C_PIECES) $(HEAP_C_PIECES) interr isr \ - $(OBJECT_C_PIECES) $(THREAD_C_PIECES) $(THREADQ_C_PIECES) \ - $(TOD_C_PIECES) userext \ - $(WATCHDOG_C_PIECES) wkspace $(MP_C_PIECES) -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -SRCS = $(C_FILES) -OBJS = $(C_O_FILES) - -# -# Add local stuff here using += -# - -DEFINES += -D__RTEMS_INSIDE__ -CPPFLAGS += -CFLAGS += $(CFLAGS_OS_V) - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) ${OBJS} - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status -- cgit v1.2.3