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