PageRenderTime 17ms CodeModel.GetById 6ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 1ms

/testbed/Makefile.am

http://rtems-atapi.googlecode.com/
Makefile | 74 lines | 31 code | 16 blank | 27 comment | 1 complexity | 4c2881b22e67917ec86b43469b8c095c MD5 | raw file
 1#
 2#  $Id: Makefile,v 1.3 2006/09/12 13:51:55 joel Exp $
 3#
 4
 5#
 6# Used by bootstrap to handle this.
 7#
 8ACLOCAL_AMFLAGS = -I aclocal
 9
10#
11# Access the BSP configuration.
12#
13include $(srcdir)/automake/bsp-compile.am
14
15#
16# List the programs we want to build.
17#
18bin_PROGRAMS = \
19	filesystem-test
20
21#
22# Include the PC586 GDB remote stub support.
23#
24if PC586
25PC586_GDB = pc386-gdb.c
26PC586_SRC = \
27	$(PC586_GDB)
28LIBBSDPORT = -lif_re -lif_fxp -lbsdport
29endif
30
31#
32# BSD Source
33#
34bsd_SOURCE = \
35	src/systm.c
36
37#
38# ATAPI Source
39#
40atapi_SOURCE = \
41	atapi/ata.c
42
43
44#
45# List the C Application sources, cflags and linker options.
46#
47filesystem_test_CFLAGS = -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes \
48                         -Wnested-externs -fasm 
49
50filesystem_test_SOURCES = \
51	init.c \
52	main.c \
53	$(atapi_SOURCE) \
54	$(bsd_SOURCE) \
55	$(PC586_SRC)
56
57filesystem_test_LDADD = \
58	$(LIBBSDPORT) -lrtemsbsp -lrtemscpu -lnfs
59
60
61all-local: \
62	filesystem-test.ralf
63
64
65all-local: \
66	.gdbinit
67
68.gdbinit: $(srcdir)/@RTEMS_BSP@-gdbinit-script
69	cp $(srcdir)/@RTEMS_BSP@-gdbinit-script .gdbinit
70
71#
72# Access the BSP post link commands.
73#
74include $(srcdir)/automake/bsp-post-link.am