source: rtems/c/src/tests/samples/cdtest/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 841 bytes
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7SAMPLE = cdtest
8PGM = ${ARCH}/$(SAMPLE).exe
9
10MANAGERS = all
11
12C_FILES = init.c
13C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
14
15CC_FILES = main.cc
16CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
17
18H_FILES = system.h
19noinst_HEADERS = $(H_FILES)
20
21DOCTYPES = scn
22DOCS = $(DOCTYPES:%=$(SAMPLE).%)
23
24SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES)
25OBJS = $(C_O_FILES) $(CC_O_FILES)
26
27PRINT_SRCS = $(DOCS)
28
29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
30include $(RTEMS_ROOT)/make/leaf.cfg
31include $(top_srcdir)/sample.am
32
33#
34# (OPTIONAL) Add local stuff here using +=
35#
36
37if HAS_CXX
38LD_LIBS += $(CPLUS_LD_LIBS)
39
40${PGM}: $(OBJS) $(LINK_FILES)
41        $(make-exe)
42
43all-local: ${ARCH} $(TMPINSTALL_FILES)
44else
45all-local:
46endif
47
48EXTRA_DIST = $(C_FILES) $(CC_FILES) $(DOCS)
49
50include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.