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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [samples/] [cdtest/] [Makefile.am] - Rev 389

Go to most recent revision | Compare with Previous | Blame | View Log

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

AUTOMAKE_OPTIONS = foreign 1.4

SAMPLE = cdtest
PGM = ${ARCH}/$(SAMPLE).exe

MANAGERS = all

C_FILES = init.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)

CC_FILES = main.cc
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)

H_FILES = system.h
noinst_HEADERS = $(H_FILES)

DOCTYPES = scn
DOCS = $(DOCTYPES:%=$(SAMPLE).%)

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

PRINT_SRCS = $(DOCS)

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

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

if HAS_CXX
LD_LIBS += $(CPLUS_LD_LIBS)

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

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

EXTRA_DIST = $(C_FILES) $(CC_FILES) $(DOCS)

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

Go to most recent revision | 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.