Partial conversion to automake.

This commit is contained in:
Ralf Corsepius
2005-11-07 07:30:36 +00:00
parent fd35059cea
commit b98d0013c1
13 changed files with 76 additions and 108 deletions
+6 -6
View File
@@ -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