forked from Imagelibrary/rtems
Partial conversion to automake.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user