/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. # Used by bootstrap to handle this.
  6. #
  7. ACLOCAL_AMFLAGS = -I aclocal
  8. #
  9. # Access the BSP configuration.
  10. #
  11. include $(srcdir)/automake/bsp-compile.am
  12. #
  13. # List the programs we want to build.
  14. #
  15. bin_PROGRAMS = \
  16. filesystem-test
  17. #
  18. # Include the PC586 GDB remote stub support.
  19. #
  20. if PC586
  21. PC586_GDB = pc386-gdb.c
  22. PC586_SRC = \
  23. $(PC586_GDB)
  24. LIBBSDPORT = -lif_re -lif_fxp -lbsdport
  25. endif
  26. #
  27. # BSD Source
  28. #
  29. bsd_SOURCE = \
  30. src/systm.c
  31. #
  32. # ATAPI Source
  33. #
  34. atapi_SOURCE = \
  35. atapi/ata.c
  36. #
  37. # List the C Application sources, cflags and linker options.
  38. #
  39. filesystem_test_CFLAGS = -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes \
  40. -Wnested-externs -fasm
  41. filesystem_test_SOURCES = \
  42. init.c \
  43. main.c \
  44. $(atapi_SOURCE) \
  45. $(bsd_SOURCE) \
  46. $(PC586_SRC)
  47. filesystem_test_LDADD = \
  48. $(LIBBSDPORT) -lrtemsbsp -lrtemscpu -lnfs
  49. all-local: \
  50. filesystem-test.ralf
  51. all-local: \
  52. .gdbinit
  53. .gdbinit: $(srcdir)/@RTEMS_BSP@-gdbinit-script
  54. cp $(srcdir)/@RTEMS_BSP@-gdbinit-script .gdbinit
  55. #
  56. # Access the BSP post link commands.
  57. #
  58. include $(srcdir)/automake/bsp-post-link.am