diff options
Diffstat (limited to 'c/src/exec/sapi/src')
-rw-r--r-- | c/src/exec/sapi/src/Makefile.am | 28 | ||||
-rw-r--r-- | c/src/exec/sapi/src/Makefile.in | 51 |
2 files changed, 28 insertions, 51 deletions
diff --git a/c/src/exec/sapi/src/Makefile.am b/c/src/exec/sapi/src/Makefile.am new file mode 100644 index 0000000000..d4c32b0ee7 --- /dev/null +++ b/c/src/exec/sapi/src/Makefile.am @@ -0,0 +1,28 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +C_FILES = debug.c entrytable.c extension.c fatal.c exinit.c io.c itronapi.c \ + posixapi.c rtemsapi.c +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) + +SRCS = $(C_FILES) +OBJS = $(C_O_FILES) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +# +# Add local stuff here using += +# + +AM_CPPFLAGS += -D__RTEMS_INSIDE__ +AM_CFLAGS += $(CFLAGS_OS_V) + +all: ${ARCH} ${OBJS} + +EXTRA_DIST = $(C_FILES) + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/sapi/src/Makefile.in b/c/src/exec/sapi/src/Makefile.in deleted file mode 100644 index 102c7cd24a..0000000000 --- a/c/src/exec/sapi/src/Makefile.in +++ /dev/null @@ -1,51 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sapi/src - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -C_PIECES = debug entrytable extension fatal exinit io \ - itronapi posixapi rtemsapi -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -SRCS = $(C_FILES) -OBJS = $(C_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/lib.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -# -# 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 |