mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
Partial conversion to automake.
This commit is contained in:
@@ -8,24 +8,24 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io mp
|
MANAGERS = io mp
|
||||||
|
|
||||||
C_FILES = ../init.c ../apptask.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:../%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = ../init.c ../apptask.c
|
||||||
|
|
||||||
$(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
|
$(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
|
||||||
${COMPILE} -o $@ -c $<
|
${COMPILE} -o $@ -c $<
|
||||||
|
|
||||||
H_FILES = system.h
|
lib_a_SOURCES += system.h
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=base_mp.%)
|
DOCS = $(DOCTYPES:%=base_mp.%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
|
|||||||
@@ -8,24 +8,24 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io mp
|
MANAGERS = io mp
|
||||||
|
|
||||||
C_FILES = ../init.c ../apptask.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:../%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = ../init.c ../apptask.c
|
||||||
|
|
||||||
$(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
|
$(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
|
||||||
${COMPILE} -o $@ -c $<
|
${COMPILE} -o $@ -c $<
|
||||||
|
|
||||||
H_FILES = system.h
|
lib_a_SOURCES += system.h
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=base_mp.%)
|
DOCS = $(DOCTYPES:%=base_mp.%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io
|
MANAGERS = io
|
||||||
|
|
||||||
C_FILES = init.c apptask.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c apptask.c system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -35,7 +32,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,25 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = all
|
MANAGERS = all
|
||||||
|
|
||||||
C_FILES = init.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c main.cc system.h
|
||||||
|
|
||||||
CC_FILES = main.cc
|
|
||||||
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
DOCTYPES = scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES) $(CC_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -40,7 +34,7 @@ ${PGM}: $(OBJS) $(LINK_FILES)
|
|||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(CC_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io message semaphore
|
MANAGERS = io message semaphore
|
||||||
|
|
||||||
C_FILES = init.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc
|
DOCTYPES = doc
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -37,7 +34,7 @@ ${PGM}: $(OBJS) $(LINK_FILES)
|
|||||||
$(make-exe)
|
$(make-exe)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io
|
MANAGERS = io
|
||||||
|
|
||||||
C_FILES = init.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -35,7 +32,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io
|
MANAGERS = io
|
||||||
|
|
||||||
CC_FILES = init.cc
|
noinst_LIBRARIES = lib.a
|
||||||
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.cc system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(CC_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(CC_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -35,7 +32,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-cxx-exe)
|
$(make-cxx-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io event
|
MANAGERS = io event
|
||||||
|
|
||||||
C_FILES = init.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c
|
||||||
|
|
||||||
DOCTYPES = scn
|
DOCTYPES = scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = all
|
MANAGERS = all
|
||||||
|
|
||||||
C_FILES = init.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = all
|
MANAGERS = all
|
||||||
|
|
||||||
C_FILES = init.c paranoia.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c paranoia.c system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc
|
DOCTYPES = doc
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -41,7 +38,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,18 +7,15 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io event semaphore
|
MANAGERS = io event semaphore
|
||||||
|
|
||||||
C_FILES = init.c pppdapp.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c pppdapp.c netconfig.h system.h
|
||||||
|
|
||||||
H_FILES = netconfig.h system.h
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
SRCS = $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -33,8 +30,6 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(H_FILES)
|
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
include $(top_srcdir)/../automake/local.am
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io
|
MANAGERS = io
|
||||||
|
|
||||||
C_FILES = init.c tasks.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c tasks.c system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -35,7 +32,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -7,22 +7,19 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io event
|
MANAGERS = io event
|
||||||
|
|
||||||
C_FILES = init.c test1.c test2.c test3.c
|
noinst_LIBRARIES = lib.a
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
lib_a_SOURCES = init.c test1.c test2.c test3.c system.h
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
noinst_HEADERS = $(H_FILES)
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
DOCTYPES = doc scn
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
SRCS = $(DOCS)
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/amcompile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
include $(top_srcdir)/sample.am
|
include $(top_srcdir)/sample.am
|
||||||
|
|
||||||
@@ -35,7 +32,7 @@ all-local: $(TMPINSTALL_FILES)
|
|||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user