Encrypt communication with plugins
[accounts-sso:signon.git] / src / remotepluginprocess / remotepluginprocess.pro
1 include( ../../common-project-config.pri )
2 include( ../../common-vars.pri )
3 TEMPLATE = app
4 TARGET = signonpluginprocess
5 QT += core network
6 QT -= gui
7
8 HEADERS += \
9     debug.h \
10     remotepluginprocess.h
11
12 SOURCES += \
13     debug.cpp \
14     main.cpp \
15     remotepluginprocess.cpp
16
17 INCLUDEPATH += . \
18                $$TOP_SRC_DIR/src \
19                $$TOP_SRC_DIR/src/plugins \
20                $$TOP_SRC_DIR/src/signond \
21                $$TOP_SRC_DIR/lib/plugins/signon-plugins-common \
22                $$TOP_SRC_DIR/lib/plugins
23
24 LIBS += -lcrypto
25
26 PKGCONFIG += libsignoncrypto-qt
27
28 CONFIG += \
29     build_all \
30     link_pkgconfig
31
32 system(pkg-config --exists gq-gconf) {
33     PKGCONFIG += gq-gconf
34     DEFINES += HAVE_GCONF
35 }
36
37 QMAKE_LIBDIR += \
38     $${TOP_BUILD_DIR}/lib/plugins/signon-plugins-common
39
40 LIBS += -lsignon-plugins-common
41
42 PKGCONFIG += signon-plugins-common
43
44 QMAKE_CXXFLAGS += -fno-exceptions \
45                   -fno-rtti
46
47 #DEFINES += QT_NO_CAST_TO_ASCII \
48 #    QT_NO_CAST_FROM_ASCII
49 DEFINES += SIGNON_PLUGIN_TRACE
50
51 include( ../../common-installs-config.pri )