blob: 642b30e45894c8f32664ba62aee8fb5368aa7c88 (
plain)
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
|
CONFIG += qt
TEMPLATE = lib
TARGET = qt-mimetypes
DESTDIR = ../../lib
# QtCore/qlist.h uses /usr/include/limits.h which uses does not compile with -pedantic.
#MAKE_CXXFLAGS += -W -Wall -Wextra -Werror -ansi -pedantic -Wshadow -Wno-long-long -Wnon-virtual-dtor -Wc++0x-compat
QMAKE_CXXFLAGS += -W -Wall -Wextra -Werror -ansi -Wshadow -Wno-long-long -Wnon-virtual-dtor -Wc++0x-compat
# dependency management
QMAKE_CXXFLAGS += -MMD
include_dependencies.target = include_dependencies
include_dependencies.commands = @if grep \"^-include \\*.d\" Makefile >/dev/null 2>&1; then echo \"Dependency files are already included.\"; else echo \"-include *.d\" >> Makefile; echo \"Please rerun make because dependency files will be included next time.\"; fi
QMAKE_EXTRA_TARGETS += include_dependencies
POST_TARGETDEPS += include_dependencies
API_DIR = ../..
INCLUDEPATH += $$API_DIR
SOURCES += $$API_DIR/src/mimetypes/qmimetype.cpp \
$$API_DIR/src/mimetypes/qmimetyperegistry.cpp \
qmimetyperegistry_empty.cpp \
$$API_DIR/src/mimetypes/qserviceaction.cpp
HEADERS += $$API_DIR/src/mimetypes/qmimetypesfwd.h \
$$API_DIR/src/mimetypes/qmimetype.h \
$$API_DIR/src/mimetypes/qmimetype_p.h \
$$API_DIR/src/mimetypes/qmimetyperegistry.h \
$$API_DIR/src/mimetypes/qserviceaction.h \
$$API_DIR/src/mimetypes/qserviceaction_p.h
|