1###################################################################### 2# 3# !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 4# 5# Edit only tray-monitor.pro.mingw32.in -- tray-monitor.pro.mingw32 is built by the ./configure program 6# 7# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 8# 9# CONFIG options for Windows are pulled from win32/qmake.conf 10# 11# Copyright (C) 2000-2020 Kern Sibbald 12# License: BSD 2-Clause; see file LICENSE-FOSS 13# 14 15CONFIG += qt cross-win32 16#CONFIG += qt debug 17 18greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 19 20cross-win32 { 21 LIBS += ../../win32/lib/obj32/ini.o -mwindows -L../../win32/release32 -lbacula -lpthread 22 INCLUDEPATH += ../../win32/compat 23} 24!cross-win32 { 25 LIBS += -L../../lib -lbaccfg -lbac -L../../findlib -lbacfind @OPENSSL_LIBS@ 26} 27 28 29bins.path = /$(DESTDIR)@sbindir@ 30bins.files = bacula-tray-monitor 31confs.path = /$(DESTDIR)@sysconfdir@ 32confs.commands = ./install_conf_file 33 34TEMPLATE = app 35TARGET = bacula-tray-monitor 36QMAKE_EXTRA_TARGETS += depend 37DEPENDPATH += . 38INCLUDEPATH += ../.. . 39LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link 40LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install 41QMAKE_LINK = $${LIBTOOL_LINK} $(CXX) 42QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p 43QMAKE_CLEAN += .libs/* bacula-tray-monitor release/bacula-tray-monitor 44QMAKE_CXXFLAGS += -DTRAY_MONITOR 45QMAKE_CFLAGS += -DTRAY_MONITOR 46 47 48RESOURCES = ../main.qrc 49MOC_DIR = moc32 50OBJECTS_DIR = obj32 51UI_DIR = ui32 52QMAKE_CC = i686-w64-mingw32-gcc 53QMAKE_CXX = i686-w64-mingw32-g++ 54QMAKE_INCDIR = $(DEPKGS)/depkgs-mingw32/include/pthreads $(DEPKGS)/depkgs-mingw32/include/ ../win32/compat 55QMAKE_INCDIR_QT = $(DEPKGS)/depkgs-mingw32/include/qt 56QMAKE_LIBDIR_QT = $(DEPKGS)/depkgs-mingw32/lib/qt 57QMAKE_LINK = i686-w64-mingw32-g++ 58QMAKE_LFLAGS = -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -m32 -fno-strict-aliasing -Wl,-enable-runtime-pseudo-reloc 59QMAKE_LIB = i686-w64-mingw32-ar -ru 60QMAKE_RC = i686-w64-mingw32-windres 61 62# Main directory 63HEADERS += tray-monitor.h tray_conf.h tray-ui.h fdstatus.h task.h ../util/fmtwidgetitem.h dirstatus.h conf.h sdstatus.h runjob.h status.h restorewizard.h filesmodel.h clientselectwizardpage.h jobselectwizardpage.h fileselectwizardpage.h restoreoptionswizardpage.h pluginwizardpage.h 64SOURCES += tray-monitor.cpp tray_conf.cpp fdstatus.cpp task.cpp authenticate.cpp ../util/fmtwidgetitem.cpp dirstatus.cpp sdstatus.cpp conf.cpp runjob.cpp status.cpp restorewizard.cpp clientselectwizardpage.cpp jobselectwizardpage.cpp fileselectwizardpage.cpp restoreoptionswizardpage.cpp pluginwizardpage.cpp 65FORMS += fd-monitor.ui dir-monitor.ui sd-monitor.ui main-conf.ui res-conf.ui run.ui restorewizard.ui clientselectwizardpage.ui jobselectwizardpage.ui fileselectwizardpage.ui restoreoptionswizardpage.ui pluginwizardpage.ui 66 67TRANSLATIONS += ts/tm_fr.ts ts/tm_de.ts ts/tm_ja.ts 68