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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
TEMPLATE = app
CONFIG += release \
warn_on
TARGET = qtsmbstatusl
MOC_DIR = ./build/moc
OBJECTS_DIR = ./build
DESTDIR = ./bin
UI_DIR = ./build/ui
RCC_DIR = ./build/rcc
SOURCES += main.cpp \
../client/mainwindows.cpp \
lmain_windows.cpp \
../client/server.cpp \
../client/machine.cpp \
../client/service.cpp \
../client/user.cpp \
../client/smbstatus.cpp \
configure_windowsl.cpp \
../client/linecore.cpp \
../common/common.cpp \
../client/log.cpp \
../client/mysortfilterproxymodel.cpp \
../client/instances_dlg.cpp \
../server/smbmanager.cpp \
../server/process_smbd_exist.cpp \
../server/sendmessage_manager.cpp \
../server/disconnect_manager.cpp
HEADERS += ../client/mainwindows.h \
lmain_windows.h \
../client/server.h \
../client/machine.h \
../client/service.h \
../client/user.h \
../client/smbstatus.h \
../client/linecore.h \
../common/core_syntax.h \
configure_windowsl.h \
../client/log.h \
../client/mysortfilterproxymodel.h \
../client/instances_dlg.h \
../server/smbmanager.h \
../server/process_smbd_exist.h \
../server/sendmessage_manager.h \
../server/disconnect_manager.h
RESOURCES = ../client/client.qrc
RC_FILE = ../client/qtsmbstatus.rc
FORMS += ../client/form_smbstatus.ui \
../client/configure.ui \
../client/log.ui
# install
unix {
# Translation
TRANSDIR = /usr/local/share/qtsmbstatus
TRANSFILES = ../client/tr/*.qm
trans.path = $$TRANSDIR
trans.files = $$TRANSFILES
# Documentation
DOCDIR = /usr/local/share/doc/qtsmbstatusl
DOCFILES = ../README \
../README-FR \
../INSTALL \
../COPYING
doc.path = $$DOCDIR
doc.files = $$DOCFILES
#icons
ICONSDIR = /usr/share/pixmaps
ICONSFILES = qtsmbstatusl.xpm
icons.path = $$ICONSDIR
icons.files = $$ICONSFILES
#menu
MENUDIR = /usr/share/applications
MENUFILES = qtsmbstatusl.desktop
menu.path = $$MENUDIR
menu.files = $$MENUFILES
#manpage
MANDIR = /usr/local/share/man/man7
MANFILES = qtsmbstatusl.7.gz
manpage.path = $$MANDIR
manpage.files = $$MANFILES
target.path = /usr/local/bin
INSTALLS += trans \
target \
doc \
icons \
menu \
manpage
}
QT += network
|