aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/qmmpui.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/qmmpui.pro')
-rw-r--r--src/qmmpui/qmmpui.pro32
1 files changed, 12 insertions, 20 deletions
diff --git a/src/qmmpui/qmmpui.pro b/src/qmmpui/qmmpui.pro
index 79f1d285b..db64c7198 100644
--- a/src/qmmpui/qmmpui.pro
+++ b/src/qmmpui/qmmpui.pro
@@ -4,37 +4,29 @@ TARGET = ../../lib/qmmpui
CONFIG += release \
warn_on \
qt \
-thread
+thread
TEMPLATE = lib
-isEmpty(LIB_DIR){
+unix:isEmpty(LIB_DIR){
LIB_DIR = /lib
}
-unix {
- LINE1 = $$sprintf(echo \"%1ifndef CONFIG_H\" > ./config.h, $$LITERAL_HASH)
- LINE2 = $$sprintf(echo \"%1define CONFIG_H\" >> ./config.h, $$LITERAL_HASH)
- LINE3 = $$sprintf(echo \"%1define LIB_DIR \\\"%2\\\"\" >> ./config.h, $$LITERAL_HASH, $$LIB_DIR)
- LINE4 = $$sprintf(echo \"%1endif\" >> ./config.h, $$LITERAL_HASH)
- system($$LINE1)
- system($$LINE2)
- system($$LINE3)
- system($$LINE4)
- QMAKE_CLEAN = ./config.h
-}
+unix:DEFINES += LIB_DIR=\\\"$$LIB_DIR\\\"
target.path = $$LIB_DIR
INSTALLS += target
HEADERS += general.h \
-generalfactory.h \
- generalhandler.h \
- songinfo.h \
- control.h
+ generalfactory.h \
+ generalhandler.h \
+ songinfo.h \
+ control.h
SOURCES += general.cpp \
- generalhandler.cpp \
- songinfo.cpp \
- control.cpp
+ generalhandler.cpp \
+ songinfo.cpp \
+ control.cpp
+
+DESTDIR = .