summaryrefslogtreecommitdiffstats
path: root/utils/regtools/qeditor/qeditor.pro
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/qeditor/qeditor.pro')
-rw-r--r--utils/regtools/qeditor/qeditor.pro10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/regtools/qeditor/qeditor.pro b/utils/regtools/qeditor/qeditor.pro
index 771b60b61c..39b6c76cc9 100644
--- a/utils/regtools/qeditor/qeditor.pro
+++ b/utils/regtools/qeditor/qeditor.pro
@@ -6,6 +6,11 @@ SOURCES += main.cpp mainwindow.cpp regtab.cpp backend.cpp analyser.cpp \
std_analysers.cpp settings.cpp utils.cpp regdisplaypanel.cpp regedit.cpp
LIBS += -L../lib/ -lsocdesc -lxml2
INCLUDEPATH += ../lib/ ../../hwstub/lib
+DEPENDPATH += ../
+
+libsocdesc.commands = cd ../lib && make
+QMAKE_EXTRA_TARGETS += libsocdesc
+PRE_TARGETDEPS += libsocdesc
VERSION = 2.0.3
@@ -14,7 +19,12 @@ DEFINES += APP_VERSION=\\\"$$VERSION\\\"
unix {
!nohwstub {
message("Use 'qmake -config nohwstub' if you want to disable hwstub support")
+ libhwstub.commands = cd ../../hwstub/lib && make
+ QMAKE_EXTRA_TARGETS += libhwstub
+ PRE_TARGETDEPS += libhwstub
+
LIBS += -L../../hwstub/lib -lhwstub
+ DEPENDPATH += ../../hwstub
DEFINES += HAVE_HWSTUB
CONFIG += link_pkgconfig
PKGCONFIG += libusb-1.0