File: eidlibTest.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 (83 lines) | stat: -rw-r--r-- 1,861 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
80
81
82
83
######################################################################
# Automatically generated by qmake (2.01a) Mon Jan 7 17:44:09 2008
######################################################################

QMAKE_CXXFLAGS += -g

include(../_Builds/eidcommon.mak)

TEMPLATE = app
TARGET =  $${EIDLIBTEST}
VERSION = $${EIDLIBTEST_MAJ}.$${EIDLIBTEST_MIN}.$${EIDLIBTEST_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

DEFINES+= EIDLIB_EXPORTS

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


LIBS += -L../lib  \
        -l$${CARDLAYEREMULIB}  \
        -l$${APPLAYEREMULIB} \
        -l$${COMMONLIB} \
        -l$${DLGLIB}

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

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

## for these tests we always use the cardlayer emulator
EMULATE_CARDLAYER=yes

## flag recommended by ld for this exe
macx: QMAKE_LFLAGS +=  -bind_at_load

# Input

SOURCES += eidlibCardTest.cpp \
           eidlibCryptoTest.cpp \
           eidlibDocTest.cpp \
           eidlibOldTest.cpp \
           eidlibReaderTest.cpp \
           eidlibTest.cpp \
	   ../eidlib/eidlibCard.cpp \
	   ../eidlib/eidlibCrypto.cpp \
	   ../eidlib/eidlibDoc.cpp \
	   ../eidlibC/eidlibOld.cpp \
	   ../eidlib/eidlibReader.cpp \
           ../eidlib/eidlibException.cpp \
           ../eidlib/InternalUtil.cpp


HEADERS += ../eidlib/eidlib.h \
   ../eidlibC/eidlibC.h     \  
   ../eidlibC/eidlibCdefines.h \
   ../eidlib/eidlibdefines.h \
   ../eidlib/eidlibException.h \
   ../eidlib/InternalUtil.h