OpenCores
URL https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [trunk/] [Software/] [adv_jtag_bridge/] [Makefile.am] - Blame information for rev 59

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 59 nyawn
AUTOMAKE_OPTIONS = foreign
2
 
3
# Without the ACLOCAL_AMFLAGS line below, you get this warning:
4
#   libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
5
# However, with it, autoreconf does not work if you don't manually create
6
# the m4 subdirectory beforehand, even if you add the --install flag here.
7
# I have tested with autoconf 2.65 and automake 1.11.1 .
8
#   ACLOCAL_AMFLAGS = -I m4
9
 
10
bin_PROGRAMS = adv_jtag_bridge
11
 
12
adv_jtag_bridge_CPPFLAGS =
13
 
14
my_headers = \
15
  adv_dbg_commands.h  \
16
  cable_common.h \
17
  cable_usbblaster.h \
18
  except.h \
19
  opencores_tap.h \
20
  adv_jtag_bridge.h \
21
  cable_xpc_dlc9.h \
22
  hardware_monitor.h \
23
  or32_selftest.h \
24
  altera_virtual_jtag.h \
25
  chain_commands.h \
26
  hwp_server.h \
27
  rsp-server.h \
28
  bsdl.h \
29
  dbg_api.h \
30
  jsp_server.h \
31
  spr-defs.h \
32
  bsdl_parse.h \
33
  cable_sim.h \
34
  errcodes.h \
35
  legacy_dbg_commands.h \
36
  utilities.h
37
 
38
adv_jtag_bridge_SOURCES = \
39
  $(my_headers) \
40
  adv_jtag_bridge.c \
41
  rsp-server.c \
42
  chain_commands.c \
43
  cable_common.c bsdl.c \
44
  or32_selftest.c \
45
  cable_sim.c \
46
  utilities.c \
47
  bsdl_parse.c \
48
  errcodes.c \
49
  adv_dbg_commands.c \
50
  dbg_api.c \
51
  legacy_dbg_commands.c \
52
  hardware_monitor.c \
53
  hwp_server.c
54
 
55
adv_jtag_bridge_LDFLAGS = -lpthread -lrt
56
 
57
 
58
if SUPPORT_PARALLEL_CABLES
59
  adv_jtag_bridge_CPPFLAGS += -D__SUPPORT_PARALLEL_CABLES__
60
  adv_jtag_bridge_SOURCES  += cable_parallel.h cable_parallel.c
61
endif
62
 
63
if SUPPORT_FTDI_CABLES
64
  adv_jtag_bridge_CPPFLAGS += -D__SUPPORT_FTDI_CABLES__
65
  adv_jtag_bridge_LDFLAGS  += -lftdi
66
  adv_jtag_bridge_SOURCES  += cable_ft2232.h cable_ft245.h cable_ft2232.c cable_ft245.c
67
endif
68
 
69
# Must come after SUPPORT_FTDI_CABLES, see below.
70
if SUPPORT_USB_CABLES
71
  adv_jtag_bridge_CPPFLAGS += -D__SUPPORT_USB_CABLES__
72
  adv_jtag_bridge_SOURCES  += cable_xpc_dlc9.h cable_usbblaster.h cable_xpc_dlc9.c cable_usbblaster.c
73
  # libusb must follow libftdi in the list of libraries
74
  adv_jtag_bridge_LDFLAGS  += -lusb
75
endif
76
 
77
if INCLUDE_JSP_SERVER
78
  adv_jtag_bridge_CPPFLAGS += -DENABLE_JSP
79
  adv_jtag_bridge_SOURCES  += jsp_server.h jsp_server.c
80
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.