Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
include($$PWD/vendor.pri) |
| 2 |
|
| 3 |
QT += network |
| 4 |
QT -= gui |
| 5 |
|
| 6 |
TARGET = libdbm |
| 7 |
TEMPLATE = lib |
| 8 |
CONFIG += staticlib c++11 link_pkgconfig |
| 9 |
|
| 10 |
#添加安全编译参数 |
| 11 |
QMAKE_LFLAGS += -z noexecstack -pie -fPIC -z relro -z now |
| 12 |
QMAKE_CFLAGS += -fstack-protector-all |
| 13 |
QMAKE_CXXFLAGS += -fstack-protector-all |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
SOURCES += \ |
| 18 |
backend/bootmaker.cpp \ |
| 19 |
backend/diskutil.cpp \ |
| 20 |
backend/syslinux.cpp \ |
| 21 |
util/devicemonitor.cpp \ |
| 22 |
util/sevenzip.cpp \ |
| 23 |
util/utils.cpp \ |
| 24 |
bminterface.cpp \ |
| 25 |
backend/bmhandler.cpp \ |
| 26 |
installer/qtbaseinstaller.cpp \ |
| 27 |
installer/qtinstallerfactory.cpp \ |
| 28 |
installer/qtX86Installer.cpp \ |
| 29 |
installer/qtmipsinstaller.cpp |
| 30 |
|
| 31 |
HEADERS += \ |
| 32 |
backend/bmhandler.h \ |
| 33 |
backend/bootmaker.h \ |
| 34 |
backend/diskutil.h \ |
| 35 |
backend/syslinux.h \ |
| 36 |
util/deviceinfo.h \ |
| 37 |
util/devicemonitor.h \ |
| 38 |
util/sevenzip.h \ |
| 39 |
util/utils.h \ |
| 40 |
bminterface.h \ |
| 41 |
installer/qtbaseinstaller.h \ |
| 42 |
installer/qtinstallerfactory.h \ |
| 43 |
installer/qtX86Installer.h \ |
| 44 |
installer/qtmipsinstaller.h \ |
| 45 |
installer/qtarminstaller.h \ |
| 46 |
installer/qtswinstaller.h |
| 47 |
|
| 48 |
linux { |
| 49 |
HEADERS += \ |
| 50 |
backend/bmdbusinterface.h \ |
| 51 |
backend/bmdbushandler.h |
| 52 |
|
| 53 |
SOURCES += \ |
| 54 |
backend/bmdbusinterface.cpp |
| 55 |
} |
| 56 |
|
| 57 |
unix { |
| 58 |
target.path = /usr/lib |
| 59 |
# INSTALLS += target |
| 60 |
} |
| 61 |
|
| 62 |
linux { |
| 63 |
isEqual(ARCH, i386) | isEqual(ARCH, x86_64){ |
| 64 |
linux { |
| 65 |
binary.path = $${PREFIX}/bin |
| 66 |
INSTALLS += binary desktop hicolor |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
|