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

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [tags/] [ADS_RELEASE_1_1_0/] [Software/] [adv_jtag_bridge/] [Makefile] - Diff between revs 13 and 14

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 13 Rev 14
Line 1... Line 1...
prefix = /usr/local
prefix = /usr/local
 
 
# These are for native Linux.  You may need to put the path to libusb.a into the LIBS variable
# These are for native Linux.  You may need to put the path to libusb.a into the LIBS variable
# with the -L command.  You may also need to add the path to usb.h in INCLUDEDIRS -
# with the -L command.
# the default install location is already listed.
 
#CFLAGS = -g -O2 -Wall
#CFLAGS = -g -O2 -Wall
#CC = gcc
#CC = gcc
#LIBS = -lusb -lpthread
#LIBS = -lusb -lpthread
#INCLUDEDIRS = -I/usr/local/include/libusb-1.0/ -I/usr/local/include/
#INCLUDEDIRS = -I/usr/local/include/libusb-1.0/ -I/usr/local/include/
 
 
# These are for cygwin.  It assumes libusb.a  and usb.h are in the current directory.
# These are for cygwin.  It assumes libusb.a is in the current directory.
CFLAGS = -g -O2 -Wall
CFLAGS = -g -O2 -Wall
CC = gcc
CC = gcc
LIBS = -L. -lioperm -lusb -lpthread
LIBS = -L. -lioperm -lusb -lpthread
INCLUDEDIRS = -I/usr/local/include/
INCLUDEDIRS = -I/usr/local/include/
 
 
 
# Uncomment the following line if you want to build for the legacy debug unit ('debug_if' core),
 
# leave commented out if you are building for the Advanced Debug Unit.
 
#CFLAGS +=  -D__LEGACY__
 
 
 
 
PROGRAMS = adv_jtag_bridge
PROGRAMS = adv_jtag_bridge
 
 
HEADERS = adv_jtag_bridge.h adv_debug_module.h chain_commands.h opencores_tap.h \
HEADERS = adv_jtag_bridge.h chain_commands.h opencores_tap.h \
        altera_virtual_jtag.h rsp-server.h bsdl.h or32_selftest.c cable_common.h \
        altera_virtual_jtag.h rsp-server.h bsdl.h or32_selftest.c cable_common.h \
        cable_parallel.h cable_sim.h cable_usbblaster.h cable_xpc_dlc9.h \
        cable_parallel.h cable_sim.h cable_usbblaster.h cable_xpc_dlc9.h \
        bsdl_parse.h errcodes.h spr-defs.h except.h
        bsdl_parse.h errcodes.h spr-defs.h except.h adv_dbg_commands.h dbg_api.h \
 
        legacy_dbg_commands.h
 
 
SOURCES = adv_jtag_bridge.c rsp-server.c chain_commands.c cable_common.c bsdl.c \
SOURCES = adv_jtag_bridge.c rsp-server.c chain_commands.c cable_common.c bsdl.c \
        or32_selftest.c cable_parallel.c cable_sim.c cable_usbblaster.c cable_xpc_dlc9.c \
        or32_selftest.c cable_parallel.c cable_sim.c cable_usbblaster.c cable_xpc_dlc9.c \
        bsdl_parse.c errcodes.c
        bsdl_parse.c errcodes.c adv_dbg_commands.c dbg_api.c legacy_dbg_commands.c
 
 
OBJECTS = adv_jtag_bridge.o rsp-server.o chain_commands.o cable_common.o bsdl.o \
OBJECTS = adv_jtag_bridge.o rsp-server.o chain_commands.o cable_common.o bsdl.o \
        or32_selftest.o cable_parallel.o cable_sim.o cable_usbblaster.o cable_xpc_dlc9.o \
        or32_selftest.o cable_parallel.o cable_sim.o cable_usbblaster.o cable_xpc_dlc9.o \
        bsdl_parse.o errcodes.o
        bsdl_parse.o errcodes.o adv_dbg_commands.o dbg_api.o legacy_dbg_commands.o
 
 
all: $(PROGRAMS)
all: $(PROGRAMS)
 
 
default: $(PROGRAMS)
default: $(PROGRAMS)
 
 

powered by: WebSVN 2.1.0

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