File: applayerTest.pro

package info (click to toggle)
beid 3.5.2.dfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 147,240 kB
  • ctags: 34,507
  • sloc: cpp: 149,944; ansic: 41,577; java: 8,927; cs: 6,528; sh: 2,426; perl: 1,866; xml: 805; python: 463; makefile: 263; lex: 92
file content (79 lines) | stat: -rw-r--r-- 1,885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
######################################################################
# Automatically generated by qmake (2.01a) Mon Jan 7 12:59:30 2008
######################################################################

QMAKE_CXXFLAGS += -g

include(../_Builds/eidcommon.mak)

TEMPLATE = app
TARGET = $${APPLAYERTEST}
VERSION = $${APPLAYERTEST_MAJ}.$${APPLAYERTEST_MIN}.$${APPLAYERTEST_REV}

message("Compile $$TARGET")

###
### Installation setup
###
target.path = $${INSTALL_DIR_BIN}
INSTALLS += target

###
### Compiler setup
###

CONFIG += debug
CONFIG -= warn_on qt

## destination directory for the compiler
DESTDIR = ../bin

DEPENDPATH += .
INCLUDEPATH += . \
	       ../eidlib \
               ../applayer \
               ../cardlayer \
               ../common \
	       ../dialogs \
               $${PCSC_INCLUDE_DIR}


LIBS += -L../lib  \
        -l$${CARDLAYEREMULIB}  \
        -l$${APPLAYEREMULIB}  \
	-l$${COMMONLIB} \
	-l$${DLGLIB} \
	-lcrypto \
	-lssl \
	-lpthread \
	-lxerces-c

unix:!macx:LIBS += -Wl,-R,"'\$\$ORIGIN/$${LINK_RELATIVE_PATH}'"

macx: LIBS += -L../../ThirdParty/Xerces/Xerces-2.8.0-mac/lib
macx: INCLUDEPATH += ../../ThirdParty/Xerces/Xerces-2.8.0-mac/include

BUILD_TESTS=yes ## needed by ../_Builds/eidtests.mak
include(../_Builds/eidtests.mak)

macx: QMAKE_LFLAGS +=  -bind_at_load

SOURCES += APLCertifTest.cpp \
           APLCryptoTest.cpp \
           APLReaderTest.cpp \
           CardFileTest.cpp \
           CertStatusCacheTest.cpp \
           CRLServiceTest.cpp \
           applayertest.cpp


## sources specific to a country

## do not define a conditional block with contains(PKG_NAME,beid)
## otherwise the script which prepares the tarball will not
## be able to parse the project file correctly!
contains(PKG_NAME,beid): SOURCES +=  APLCardBeidTest.cpp     \
				     APLCardSISTest.cpp     \
           			     cryptoFwkBeidTest.cpp  \