# Copyright (C) 2008, Bertrand Mesot # 2008, Cedric Tissieres # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13, USA TEMPLATE = app CONFIG += c++11 warn_on release @HAVE_DEBUG_TRUE@debug QT += widgets charts TARGET = ophcrack DESTDIR = .. INCLUDEPATH += ../core ../samdump2 ../ntproba ARCHIVES = \ ../core/libophcrack.a \ ../samdump2/libsamdump2.a \ ../ntproba/libntproba.a PRE_TARGETDEPS += $$ARCHIVES LIBS += $$ARCHIVES @LDFLAGS@ @LIBS@ QMAKE_CC = @CC@ QMAKE_CXX = @CXX@ QMAKE_LINK = @CXX@ QMAKE_CFLAGS += @CPPFLAGS@ @CFLAGS@ QMAKE_CXXFLAGS += @CPPFLAGS@ @CXXFLAGS@ # Input HEADERS += ui_ophcrackgui.h \ ophcrackgui.h \ hashmodel.h \ tablemodel.h \ progdelegate.h \ ui_tabledialog.h \ tabledialog.h \ singlehashdialog.h \ hashview.h \ aboutdialog.h \ helpdialog.h \ graphdialog.h \ exportdialog.h FORMS += ophcrackgui.ui \ tabledialog.ui \ singlehashdialog.ui \ aboutdialog.ui \ helpdialog.ui \ graphdialog.ui \ exportdialog.ui SOURCES += main.cpp \ ophcrackgui.cpp \ hashmodel.cpp \ tablemodel.cpp \ progdelegate.cpp \ tabledialog.cpp \ singlehashdialog.cpp \ hashview.cpp \ aboutdialog.cpp \ helpdialog.cpp \ graphdialog.cpp \ exportdialog.cpp RESOURCES += gui.qrc RC_FILE += ophcrack_win32.rc mac { ICON = ophcrack.icns QMAKE_INFO_PLIST = Info.plist } win32:QMAKE_LFLAGS += -Wl,--allow-multiple-definition