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