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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [samples/] [cdtest/] [Makefile.am] - Blame information for rev 602

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

Line No. Rev Author Line
1 30 unneback
##
2
##  $Id: Makefile.am,v 1.2 2001-09-27 12:02:28 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
SAMPLE = cdtest
8
PGM = ${ARCH}/$(SAMPLE).exe
9
 
10
MANAGERS = all
11
 
12
C_FILES = init.c
13
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
14
 
15
CC_FILES = main.cc
16
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
17
 
18
H_FILES = system.h
19
noinst_HEADERS = $(H_FILES)
20
 
21
DOCTYPES = scn
22
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
23
 
24
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES)
25
OBJS = $(C_O_FILES) $(CC_O_FILES)
26
 
27
PRINT_SRCS = $(DOCS)
28
 
29
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
30
include $(RTEMS_ROOT)/make/leaf.cfg
31
include $(top_srcdir)/sample.am
32
 
33
#
34
# (OPTIONAL) Add local stuff here using +=
35
#
36
 
37
if HAS_CXX
38
LD_LIBS += $(CPLUS_LD_LIBS)
39
 
40
${PGM}: $(OBJS) $(LINK_FILES)
41
        $(make-exe)
42
 
43
all-local: ${ARCH} $(TMPINSTALL_FILES)
44
else
45
all-local:
46
endif
47
 
48
EXTRA_DIST = $(C_FILES) $(CC_FILES) $(DOCS)
49
 
50
include $(top_srcdir)/../../../../automake/local.am

powered by: WebSVN 2.1.0

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