|
1 # |
|
2 # qmake configuration for freebsd-icc |
|
3 # |
|
4 # Written for Intel C++ 7.1 and 8.0 on FreeBSD |
|
5 # |
|
6 # Note: Some of the remarks from the Intel compiler are disabled (even |
|
7 # with 'warn_on' specified): |
|
8 # |
|
9 # remark #171: invalid type conversion: "int" to "void *" |
|
10 # remark #193: zero used for undefined preprocessing identifier |
|
11 # remark #279: controlling expression is constant |
|
12 # remark #304: access control not specified ("public" by default) |
|
13 # remark #310: old-style parameter list (anachronism) |
|
14 # remark #383: value copied to temporary, reference to temporary used |
|
15 # remark #424: extra ";" ignored |
|
16 # remark #444: destructor for base class "Class" is not virtual |
|
17 # remark #488: template parameter "T" is not used in declaring the parameter |
|
18 # types of function template "function" |
|
19 # remark #810: conversion from "type1" to "type2" may loose significant bits |
|
20 # remark #858: type qualifier on return type is meaningless |
|
21 # remark #967: conversion from "type1" to "type2"; sizes do not match |
|
22 # remark #981: operands are evaluated in unspecified order |
|
23 # remark #1418: external definition with no prior declaration |
|
24 # remark #1419: external declaration in primary source file |
|
25 # warning #1476: field uses tail padding of a base class |
|
26 # warning #1477: GNU C++ compilers may use bit field padding |
|
27 # warning #1572: floating-point equality and inequality comparisons are unreliable |
|
28 # |
|
29 |
|
30 MAKEFILE_GENERATOR = UNIX |
|
31 TEMPLATE = app |
|
32 CONFIG += qt warn_on release link_prl |
|
33 QT += core gui |
|
34 |
|
35 QMAKE_CC = icc |
|
36 QMAKE_LEX = flex |
|
37 QMAKE_LEXFLAGS = |
|
38 QMAKE_YACC = yacc |
|
39 QMAKE_YACCFLAGS = -d |
|
40 QMAKE_CFLAGS = -wd858,1572 |
|
41 QMAKE_CFLAGS_DEPS = -M |
|
42 QMAKE_CFLAGS_WARN_ON = -w2 -wd171,193,279,304,310,383,424,444,488,810,967,981,1418,1419,1476,1477 |
|
43 QMAKE_CFLAGS_WARN_OFF = -w |
|
44 QMAKE_CFLAGS_RELEASE = |
|
45 QMAKE_CFLAGS_DEBUG = -g |
|
46 QMAKE_CFLAGS_SHLIB = -fpic |
|
47 QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB |
|
48 QMAKE_CFLAGS_YACC = |
|
49 QMAKE_CFLAGS_THREAD = -D_THREAD_SAFE |
|
50 |
|
51 QMAKE_CXX = icpc |
|
52 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS |
|
53 QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS |
|
54 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON |
|
55 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF |
|
56 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE |
|
57 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG |
|
58 QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB |
|
59 QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB |
|
60 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
61 QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD |
|
62 |
|
63 # Addon software goes into /usr/local on the BSDs, by default we will look there |
|
64 QMAKE_INCDIR = /usr/local/include |
|
65 QMAKE_LIBDIR = /usr/local/lib |
|
66 QMAKE_INCDIR_X11 = /usr/X11R6/include |
|
67 QMAKE_LIBDIR_X11 = /usr/X11R6/lib |
|
68 QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
69 QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] |
|
70 QMAKE_INCDIR_OPENGL = /usr/X11R6/include |
|
71 QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib |
|
72 |
|
73 QMAKE_LINK = icpc |
|
74 QMAKE_LINK_SHLIB = icpc |
|
75 QMAKE_LFLAGS = |
|
76 QMAKE_LFLAGS_RELEASE = |
|
77 QMAKE_LFLAGS_DEBUG = |
|
78 QMAKE_LFLAGS_SHLIB = -shared |
|
79 QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
|
80 QMAKE_LFLAGS_SONAME = -Qoption,ld,-soname, |
|
81 QMAKE_LFLAGS_THREAD = -mt |
|
82 QMAKE_RPATH = -Qoption,ld,-rpath, |
|
83 |
|
84 QMAKE_LIBS = |
|
85 QMAKE_LIBS_DYNLOAD = |
|
86 QMAKE_LIBS_X11 = -lXext -lX11 -lm |
|
87 QMAKE_LIBS_X11SM = -lSM -lICE |
|
88 QMAKE_LIBS_OPENGL = -lGLU -lGL |
|
89 QMAKE_LIBS_OPENGL_QT = -lGL |
|
90 QMAKE_LIBS_THREAD = |
|
91 |
|
92 QMAKE_MOC = $$[QT_INSTALL_BINS]/moc |
|
93 QMAKE_UIC = $$[QT_INSTALL_BINS]/uic |
|
94 |
|
95 QMAKE_AR = ar cqs |
|
96 QMAKE_OBJCOPY = objcopy |
|
97 QMAKE_RANLIB = |
|
98 |
|
99 QMAKE_TAR = tar -cf |
|
100 QMAKE_GZIP = gzip -9f |
|
101 |
|
102 QMAKE_COPY = cp -f |
|
103 QMAKE_MOVE = mv -f |
|
104 QMAKE_DEL_FILE = rm -f |
|
105 QMAKE_DEL_DIR = rmdir |
|
106 QMAKE_CHK_DIR_EXISTS = test -d |
|
107 QMAKE_MKDIR = mkdir -p |
|
108 include(../common/unix.conf) |
|
109 load(qt_config) |