root/middleware-offline/trunk/_src/eidmw/cardlayer/cardlayer-scap.pro @ 289

Revision 289, 2.7 KB (checked in by vsilva, 5 years ago)

First official release

Line 
1######################################################################
2# Automatically generated by qmake (2.01a) Thu Dec 13 13:25:01 2007
3######################################################################
4
5
6include(../_Builds/eidcommon.mak)
7
8TEMPLATE = lib
9TARGET = pteid-scap-cardlayer
10VERSION = $${CARDLAYERLIB_MAJ}.$${CARDLAYERLIB_MIN}.$${CARDLAYERLIB_REV}
11
12message("Compile $$TARGET")
13
14###
15### Installation setup
16###
17target.path = $${INSTALL_DIR_LIB}
18INSTALLS += target
19
20
21CONFIG -= warn_on qt
22
23## destination directory
24OBJECTS_DIR = scap-obj
25DESTDIR = ../lib
26DEPENDPATH += .
27macx: LIBS += -L../lib -l$${COMMONLIB}
28macx: LIBS += -l$${DLGLIB} \
29              -Wl,-framework -Wl,PCSC   
30
31unix:LIBS += -L../lib -l$${COMMONLIB}
32unix:LIBS += -l$${DLGLIB}
33!macx:LIBS += -lpcsclite
34
35INCLUDEPATH += . ../common
36INCLUDEPATH += $${PCSC_INCLUDE_DIR}
37
38QMAKE_CXXFLAGS += -O2
39
40DEFINES += PTEID_SCAP \
41           EIDMW_CAL_EXPORT \
42           CARDPLUGIN_IN_CAL CAL_PTEID
43unix:!macx:  DEFINES += __UNIX__
44#macx:  DEFINES += __OLD_PCSC_API__
45#Support Fat binaries on Mac with both x86 and x86_64 architectures
46macx: CONFIG += x86
47
48
49# Input
50HEADERS += \
51           Cache.h \
52           Card.h \
53           CardFactory.h \
54           CardLayer.h \
55           CardLayerConst.h \
56           Context.h \
57           InternalConst.h \
58           P15Correction.h \
59           P15Objects.h \
60           PCSC.h \
61           GenericPinpad.h \
62           Pinpad.h \
63           PKCS15.h \
64           PKCS15Parser.h \
65           PkiCard.h \
66           Reader.h \
67           ReadersInfo.h \
68           ThreadPool.h \
69           UnknownCard.h \
70           pinpad2.h \
71           GempcPinpad.h \
72           ACR83Pinpad.h \
73           CardReaderInfo.h
74
75SOURCES += \
76           Cache.cpp \
77           Card.cpp \
78           CardFactory.cpp \
79           CardLayer.cpp \
80           CardReaderInfo.cpp \
81           Context.cpp \
82           PCSC.cpp \
83           Pinpad.cpp \
84           GenericPinpad.cpp \
85           P15Correction.cpp \
86           PKCS15.cpp \
87           PKCS15Parser.cpp \
88           PkiCard.cpp \
89           Reader.cpp \
90           ReadersInfo.cpp \
91           ThreadPool.cpp \
92           GempcPinpad.cpp \
93           ACR83Pinpad.cpp \
94           UnknownCard.cpp
95
96
97##
98## Headers and sources specific to a country
99##
100
101## do not define a conditional block with contains(PKG_NAME,pteid)
102## otherwise the script which prepares the tarball will not
103## be able to parse the project file correctly!
104contains(PKG_NAME,pteid): HEADERS += cardpluginPteid/PteidCard.h \
105                                cardpluginPteid/PteidP15Correction.h
106
107contains(PKG_NAME,pteid): SOURCES +=  cardpluginPteid/PteidCard.cpp \
108                                cardpluginPteid/PteidP15Correction.cpp
109
110contains(PKG_NAME,pteid): INCLUDEPATH += cardpluginPteid
Note: See TracBrowser for help on using the browser.