OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [libtests/] [rtems++/] [Makefile.am] - Rev 173

Compare with Previous | Blame | View Log

##
## $Id: Makefile.am,v 1.2 2001-09-27 12:02:13 chris Exp $
##

AUTOMAKE_OPTIONS = foreign 1.4

TEST = rtems++

MANAGERS = event io msg sem signal timer rate_monotonic

CC_FILES = Init.cc Task1.cc Task2.cc Task3.cc
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)

H_FILES = System.h
noinst_HEADERS = $(H_FILES)

DOCTYPES = scn doc
DOCS = $(DOCTYPES:%=$(TEST).%)

SRCS = $(DOCS) $(C_FILES) $(H_FILES)
OBJS = $(CC_O_FILES)

PRINT_SRCS = $(DOCS)

PGM = ${ARCH}/$(TEST).exe

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/leaf.cfg
include $(top_srcdir)/libtests.am

#
# (OPTIONAL) Add local stuff here using +=
#

LD_LIBS += $(CPLUS_LD_LIBS)

if HAS_CXX
${PGM}: $(OBJS) $(LINK_FILES)
        $(make-exe)

all-local: $(ARCH) $(TMPINSTALL_FILES)
else
all-local:
endif

EXTRA_DIST = $(CC_FILES) $(DOCS)

include $(top_srcdir)/../../../../automake/local.am

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.