summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog/piklab-prog.pro
blob: bd70cb2007e44a5119af4b82d967919c66013c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
STOPDIR = ../..
include($${STOPDIR}/app.pro)

TARGET   = piklab-prog
HEADERS += cli_prog_manager.h cli_debug_manager.h cli_interactive.h cmdline.h
SOURCES += cli_prog_manager.cpp cli_debug_manager.cpp cli_interactive.cpp cmdline.cpp
LIBS    += ../progs/manager/libprogmanager.a ../progs/list/libprogslist.a \
           ../progs/picdem_bootloader/base/libpicdem_bootloader.a ../progs/pickit2_bootloader/base/libpickit2_bootloader.a \
           ../progs/tbl_bootloader/base/libtbl_bootloader.a ../progs/bootloader/base/libbootloader.a \
           ../progs/pickit2v2/base/libpickit2v2.a \
           ../progs/gpsim/base/libgpsim.a \
           ../progs/psp/base/libpsp.a ../progs/pickit1/base/libpickit1.a \
           ../progs/pickit2/base/libpickit2.a ../progs/icd1/base/libicd1.a \
           ../progs/icd2/base/libicd2.a \
           ../progs/icd2/icd2_data/libicd2data.a ../progs/direct/base/libdirectprog.a \
           ../devices/pic/prog/libpicprog.a ../devices/mem24/prog/libmem24prog.a \
           ../progs/base/libprogbase.a ../common/port/libport.a ../coff/base/libcoff.a \
           ../devices/list/libdevicelist.a \
           ../devices/mem24/mem24/libmem24.a ../devices/mem24/xml_data/libmem24xml.a \
           ../devices/mem24/base/libmem24base.a \
           ../devices/pic/pic/libpic.a ../devices/pic/xml_data/libpicxml.a \
           ../devices/pic/base/libpicbase.a \
           ../devices/base/libdevicebase.a \
           ../common/cli/libcli.a ../common/global/libglobal.a \
           ../common/nokde/libnokde.a ../common/common/libcommon.a
contains(DEFINES, HAVE_USB) {
  unix:LIBS += -lusb
  win32:LIBS += $${LIBUSB_PATH}\lib\gcc\libusb.a
}
contains(DEFINES, HAVE_READLINE) {
  unix:LIBS += -lhistory -lreadline -lcurses
}