SVN checkout 11/12/2010
[monav:monav.git] / routingdaemon / qtservice-2.6_1-opensource / src / qtservice.pri
1 include(../common.pri)
2 INCLUDEPATH += $$PWD
3 DEPENDPATH += $$PWD
4 !win32:QT += network
5 win32:LIBS += -luser32
6
7 qtservice-uselib:!qtservice-buildlib {
8     LIBS += -L$$QTSERVICE_LIBDIR -l$$QTSERVICE_LIBNAME
9 } else {
10     HEADERS       += $$PWD/qtservice.h \
11                      $$PWD/qtservice_p.h
12     SOURCES       += $$PWD/qtservice.cpp
13     win32:SOURCES += $$PWD/qtservice_win.cpp
14     unix:HEADERS  += $$PWD/qtunixsocket.h $$PWD/qtunixserversocket.h
15     unix:SOURCES  += $$PWD/qtservice_unix.cpp $$PWD/qtunixsocket.cpp $$PWD/qtunixserversocket.cpp
16 }
17
18 win32 {
19     contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSERVICE_EXPORT
20     else:qtservice-uselib:DEFINES += QT_QTSERVICE_IMPORT
21 }