forked from Imagelibrary/rtems
40 lines
639 B
Makefile
40 lines
639 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
SAMPLE = loopback
|
|
PGM = ${ARCH}/$(SAMPLE).exe
|
|
|
|
MANAGERS = io event
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
lib_a_SOURCES = init.c
|
|
|
|
DOCTYPES = scn
|
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
|
|
|
SRCS = $(DOCS)
|
|
OBJS = $(lib_a_OBJECTS)
|
|
|
|
PRINT_SRCS = $(DOCS)
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/amcompile.am
|
|
include $(top_srcdir)/../automake/leaf.am
|
|
include $(top_srcdir)/sample.am
|
|
|
|
#
|
|
# (OPTIONAL) Add local stuff here using +=
|
|
#
|
|
|
|
all-local: $(TMPINSTALL_FILES)
|
|
|
|
${PGM}: $(OBJS) $(LINK_FILES)
|
|
$(make-exe)
|
|
|
|
EXTRA_DIST = $(DOCS)
|
|
|
|
CLEANFILES = $(TMPINSTALL_FILES)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|