Debian Codegraph @

src/gui/gui.pro.in

raw
1 # Copyright (C) 2008, Bertrand Mesot <http://www.objectif-securite.ch>
2 # 2008, Cedric Tissieres <http://www.objectif-securite.ch>
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13, USA
17
18 TEMPLATE = app
19 CONFIG += c++11 warn_on release @HAVE_DEBUG_TRUE@debug
20 QT += widgets charts
21
22 TARGET = ophcrack
23 DESTDIR = ..
24
25 INCLUDEPATH += ../core ../samdump2 ../ntproba
26
27 ARCHIVES = \
28 ../core/libophcrack.a \
29 ../samdump2/libsamdump2.a \
30 ../ntproba/libntproba.a
31
32 PRE_TARGETDEPS += $$ARCHIVES
33 LIBS += $$ARCHIVES @LDFLAGS@ @LIBS@
34
35 QMAKE_CC = @CC@
36 QMAKE_CXX = @CXX@
37 QMAKE_LINK = @CXX@
38
39 QMAKE_CFLAGS += @CPPFLAGS@ @CFLAGS@
40 QMAKE_CXXFLAGS += @CPPFLAGS@ @CXXFLAGS@
41
42 # Input
43
44 HEADERS += ui_ophcrackgui.h \
45 ophcrackgui.h \
46 hashmodel.h \
47 tablemodel.h \
48 progdelegate.h \
49 ui_tabledialog.h \
50 tabledialog.h \
51 singlehashdialog.h \
52 hashview.h \
53 aboutdialog.h \
54 helpdialog.h \
55 graphdialog.h \
56 exportdialog.h
57
58 FORMS += ophcrackgui.ui \
59 tabledialog.ui \
60 singlehashdialog.ui \
61 aboutdialog.ui \
62 helpdialog.ui \
63 graphdialog.ui \
64 exportdialog.ui
65
66 SOURCES += main.cpp \
67 ophcrackgui.cpp \
68 hashmodel.cpp \
69 tablemodel.cpp \
70 progdelegate.cpp \
71 tabledialog.cpp \
72 singlehashdialog.cpp \
73 hashview.cpp \
74 aboutdialog.cpp \
75 helpdialog.cpp \
76 graphdialog.cpp \
77 exportdialog.cpp
78
79 RESOURCES += gui.qrc
80
81 RC_FILE += ophcrack_win32.rc
82
83 mac {
84 ICON = ophcrack.icns
85 QMAKE_INFO_PLIST = Info.plist
86 }
87
88 win32:QMAKE_LFLAGS += -Wl,--allow-multiple-definition