source: rtems/testsuites/samples/cdtest/Makefile.am @ e31c63e5

4.104.114.84.95
Last change on this file since e31c63e5 was e31c63e5, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 19:21:38

Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@…>
to convert the sample tests to automake.

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