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

4.104.114.84.95
Last change on this file since 8fbdf07 was 8fbdf07, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:22:23

Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@…>
that contains cosmetical changes to the Makefile.ams below tests (removes
old, now invalid comments from these Makefile.ams).

  • Property mode set to 100644
File size: 870 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
29PGM = ${ARCH}/$(SAMPLE).exe
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/leaf.cfg
33include $(top_srcdir)/sample.am
34
35#
36# (OPTIONAL) Add local stuff here using +=
37#
38
39if HAS_CXX
40LD_LIBS += $(CPLUS_LD_LIBS)
41
42${PGM}: $(OBJS) $(LINK_FILES)
43        $(make-exe)
44
45all-local: ${ARCH} $(TMPINSTALL_FILES)
46else
47all-local:
48endif
49
50EXTRA_DIST = $(C_FILES) $(CC_FILES) $(DOCS)
51
52include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.