|
@@
-1,106
+1,111
|
|
1
|
SOCEXPLORER_ROOT = \"$${PWD}/../..\"
|
|
1
|
SOCEXPLORER_ROOT = \"$${PWD}/../..\"
|
|
2
|
include($${PWD}/../../build_cfg/socexplorer.pri)
|
|
2
|
include($${PWD}/../../build_cfg/socexplorer.pri)
|
|
3
|
|
|
3
|
|
|
4
|
|
|
4
|
|
|
5
|
TEMPLATE = lib
|
|
5
|
TEMPLATE = lib
|
|
6
|
TARGET = socexplorercommon$${DEBUG_EXT}
|
|
6
|
TARGET = socexplorercommon$${DEBUG_EXT}
|
|
7
|
|
|
7
|
|
|
8
|
win32:CONFIG += dll
|
|
8
|
win32:CONFIG += dll
|
|
9
|
win32:CONFIG -= static
|
|
9
|
win32:CONFIG -= static
|
|
10
|
|
|
10
|
|
|
11
|
win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include
|
|
11
|
win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include
|
|
12
|
win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include/libelf
|
|
12
|
win32:INCLUDEPATH += $${PWD}/elf/libelfWin32/include/libelf
|
|
13
|
win32:DEFINES+=_ELF_WINDOWS_
|
|
13
|
win32:DEFINES+=_ELF_WINDOWS_
|
|
|
|
|
14
|
DEFINES+=RS232_debug
|
|
14
|
|
|
15
|
|
|
15
|
win32:LIBS += $${PWD}/elf/libelfWin32/bin/libelf.a
|
|
16
|
win32:LIBS += $${PWD}/elf/libelfWin32/bin/libelf.a
|
|
16
|
unix:LIBS += -lelf
|
|
17
|
unix:LIBS += -lelf
|
|
17
|
|
|
18
|
|
|
18
|
QMAKE_LFLAGS_RELEASE += --enable-auto-import
|
|
19
|
QMAKE_LFLAGS_RELEASE += --enable-auto-import
|
|
19
|
QMAKE_LFLAGS_DEBUG += --enable-auto-import
|
|
20
|
QMAKE_LFLAGS_DEBUG += --enable-auto-import
|
|
20
|
|
|
21
|
|
|
21
|
target.path = $$[QT_INSTALL_LIBS]
|
|
22
|
target.path = $$[QT_INSTALL_LIBS]
|
|
22
|
isEmpty(target.path) {
|
|
23
|
isEmpty(target.path) {
|
|
23
|
error(can\'t get QT_INSTALL_LIBS)
|
|
24
|
error(can\'t get QT_INSTALL_LIBS)
|
|
24
|
}
|
|
25
|
}
|
|
25
|
|
|
26
|
|
|
26
|
header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
|
|
27
|
header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
|
|
27
|
header.files = \
|
|
28
|
header.files = \
|
|
28
|
memsizewdgt.h \
|
|
29
|
memsizewdgt.h \
|
|
29
|
qhexspinbox.h \
|
|
30
|
qhexspinbox.h \
|
|
30
|
qsvgicon.h \
|
|
31
|
qsvgicon.h \
|
|
31
|
qhexedit/qhexedit_p.h \
|
|
32
|
qhexedit/qhexedit_p.h \
|
|
32
|
qhexedit/qhexedit.h \
|
|
33
|
qhexedit/qhexedit.h \
|
|
33
|
qhexedit/xbytearray.h \
|
|
34
|
qhexedit/xbytearray.h \
|
|
34
|
QCustomPlot/qcustomplot.h \
|
|
35
|
QCustomPlot/qcustomplot.h \
|
|
35
|
SocExplorerPlot.h \
|
|
36
|
SocExplorerPlot.h \
|
|
36
|
tcp_terminal_client.h \
|
|
37
|
tcp_terminal_client.h \
|
|
37
|
elf/elfinfowdgt.h \
|
|
38
|
elf/elfinfowdgt.h \
|
|
38
|
elf/elfparser.h \
|
|
39
|
elf/elfparser.h \
|
|
39
|
elf/elffile.h \
|
|
40
|
elf/elffile.h \
|
|
40
|
qipdialogbox.h
|
|
41
|
qipdialogbox.h \
|
|
41
|
|
|
42
|
lppserial/src/RS232.h
|
|
42
|
|
|
43
|
|
|
43
|
win32{
|
|
44
|
win32{
|
|
44
|
elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
|
|
45
|
elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
|
|
45
|
elfheader.files += \
|
|
46
|
elfheader.files += \
|
|
46
|
elf/libelfWin32/include/libelf/byteswap.h \
|
|
47
|
elf/libelfWin32/include/libelf/byteswap.h \
|
|
47
|
elf/libelfWin32/include/libelf/errors.h \
|
|
48
|
elf/libelfWin32/include/libelf/errors.h \
|
|
48
|
elf/libelfWin32/include/libelf/gelf.h \
|
|
49
|
elf/libelfWin32/include/libelf/gelf.h \
|
|
49
|
elf/libelfWin32/include/libelf/nlist.h \
|
|
50
|
elf/libelfWin32/include/libelf/nlist.h \
|
|
50
|
elf/libelfWin32/include/libelf/sys_elf.h \
|
|
51
|
elf/libelfWin32/include/libelf/sys_elf.h \
|
|
51
|
elf/libelfWin32/include/libelf/verneed.h \
|
|
52
|
elf/libelfWin32/include/libelf/verneed.h \
|
|
52
|
elf/libelfWin32/include/libelf/elf_repl.h \
|
|
53
|
elf/libelfWin32/include/libelf/elf_repl.h \
|
|
53
|
elf/libelfWin32/include/libelf/ext_types.h \
|
|
54
|
elf/libelfWin32/include/libelf/ext_types.h \
|
|
54
|
elf/libelfWin32/include/libelf/libelf.h \
|
|
55
|
elf/libelfWin32/include/libelf/libelf.h \
|
|
55
|
elf/libelfWin32/include/libelf/private.h \
|
|
56
|
elf/libelfWin32/include/libelf/private.h \
|
|
56
|
elf/libelfWin32/include/libelf/verdef.h
|
|
57
|
elf/libelfWin32/include/libelf/verdef.h
|
|
57
|
INSTALLS += elfheader
|
|
58
|
INSTALLS += elfheader
|
|
58
|
}
|
|
59
|
}
|
|
59
|
|
|
60
|
|
|
60
|
|
|
61
|
|
|
61
|
isEmpty(header.path) {
|
|
62
|
isEmpty(header.path) {
|
|
62
|
error(can\'t get QT_INSTALL_HEADERS)
|
|
63
|
error(can\'t get QT_INSTALL_HEADERS)
|
|
63
|
}
|
|
64
|
}
|
|
64
|
|
|
65
|
|
|
65
|
INSTALLS += target header
|
|
66
|
INSTALLS += target header
|
|
66
|
|
|
67
|
|
|
67
|
INCLUDEPATH += QCustomPlot qhexedit
|
|
68
|
INCLUDEPATH += QCustomPlot qhexedit
|
|
68
|
|
|
69
|
|
|
69
|
HEADERS += \
|
|
70
|
HEADERS += \
|
|
70
|
memsizewdgt.h \
|
|
71
|
memsizewdgt.h \
|
|
71
|
qhexspinbox.h \
|
|
72
|
qhexspinbox.h \
|
|
72
|
qsvgicon.h \
|
|
73
|
qsvgicon.h \
|
|
73
|
qhexedit/qhexedit_p.h \
|
|
74
|
qhexedit/qhexedit_p.h \
|
|
74
|
qhexedit/qhexedit.h \
|
|
75
|
qhexedit/qhexedit.h \
|
|
75
|
qhexedit/xbytearray.h \
|
|
76
|
qhexedit/xbytearray.h \
|
|
76
|
qhexedit/commands.h \
|
|
77
|
qhexedit/commands.h \
|
|
77
|
QCustomPlot/qcustomplot.h \
|
|
78
|
QCustomPlot/qcustomplot.h \
|
|
78
|
tcp_terminal_client.h \
|
|
79
|
tcp_terminal_client.h \
|
|
79
|
elf/elfinfowdgt.h \
|
|
80
|
elf/elfinfowdgt.h \
|
|
80
|
elf/elfparser.h \
|
|
81
|
elf/elfparser.h \
|
|
81
|
abstractexecfile.h \
|
|
82
|
abstractexecfile.h \
|
|
82
|
elf/elffile.h \
|
|
83
|
elf/elffile.h \
|
|
83
|
qipdialogbox.h \
|
|
84
|
qipdialogbox.h \
|
|
84
|
PySocExplorer.h \
|
|
85
|
PySocExplorer.h \
|
|
85
|
SocExplorerPlot.h
|
|
86
|
SocExplorerPlot.h \
|
|
|
|
|
87
|
lppserial/src/RS232.h
|
|
86
|
|
|
88
|
|
|
87
|
|
|
89
|
|
|
88
|
SOURCES += \
|
|
90
|
SOURCES += \
|
|
89
|
memsizewdgt.cpp \
|
|
91
|
memsizewdgt.cpp \
|
|
90
|
qhexspinbox.cpp \
|
|
92
|
qhexspinbox.cpp \
|
|
91
|
qsvgicon.cpp \
|
|
93
|
qsvgicon.cpp \
|
|
92
|
qhexedit/qhexedit_p.cpp \
|
|
94
|
qhexedit/qhexedit_p.cpp \
|
|
93
|
qhexedit/qhexedit.cpp \
|
|
95
|
qhexedit/qhexedit.cpp \
|
|
94
|
qhexedit/xbytearray.cpp \
|
|
96
|
qhexedit/xbytearray.cpp \
|
|
95
|
qhexedit/commands.cpp \
|
|
97
|
qhexedit/commands.cpp \
|
|
96
|
QCustomPlot/qcustomplot.cpp \
|
|
98
|
QCustomPlot/qcustomplot.cpp \
|
|
97
|
tcp_terminal_client.cpp \
|
|
99
|
tcp_terminal_client.cpp \
|
|
98
|
elf/elfinfowdgt.cpp \
|
|
100
|
elf/elfinfowdgt.cpp \
|
|
99
|
elf/elfparser.cpp \
|
|
101
|
elf/elfparser.cpp \
|
|
100
|
abstractexecfile.cpp \
|
|
102
|
abstractexecfile.cpp \
|
|
101
|
elf/elffile.cpp \
|
|
103
|
elf/elffile.cpp \
|
|
102
|
qipdialogbox.cpp \
|
|
104
|
qipdialogbox.cpp \
|
|
103
|
SocExplorerPlot.cpp
|
|
105
|
SocExplorerPlot.cpp
|
|
104
|
|
|
106
|
|
|
|
|
|
107
|
unix:SOURCES += lppserial/src/RS232_unix.c
|
|
|
|
|
108
|
win32:SOURCES += lppserial/src/RS232_win.c
|
|
105
|
|
|
109
|
|
|
106
|
|
|
110
|
|
|
|
|
|
111
|
|