0
|
1 |
#
|
|
2 |
# qmake configuration for vxworks-simpentium-dcc
|
|
3 |
#
|
|
4 |
|
|
5 |
MAKEFILE_GENERATOR = UNIX
|
|
6 |
TEMPLATE = app
|
|
7 |
CONFIG += qt warn_on release incremental link_prl vxworks
|
|
8 |
QT += core gui network
|
|
9 |
QMAKE_INCREMENTAL_STYLE = sublib
|
|
10 |
|
|
11 |
VXWORKS_ARCH = simlinux
|
|
12 |
VXWORKS_CPU = SIMLINUX
|
|
13 |
VXWORKS_DIAB_SPEC = -tX86LH:vxworks66
|
|
14 |
VXWORKS_ARCH_MUNCH = pentium
|
|
15 |
|
|
16 |
QMAKE_CC = dcc
|
|
17 |
QMAKE_CFLAGS += $$VXWORKS_DIAB_SPEC -Xkeywords=0x0 -Xcode-absolute-far -Xansi -Xforce-declarations -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip -DCPU=$$upper($$VXWORKS_ARCH) -DVX_CPU_FAMILY=$$VXWORKS_ARCH -DTOOL_FAMILY=diab -DTOOL=diab -D_WRS_KERNEL -DVXWORKS -D_VSB_CONFIG_FILE=\'<../lib/h/config/vsbConfig.h>\'
|
|
18 |
QMAKE_CFLAGS_DEPS +=
|
|
19 |
QMAKE_CFLAGS_WARN_ON +=
|
|
20 |
QMAKE_CFLAGS_WARN_OFF += -Xsuppress-warnings
|
|
21 |
QMAKE_CFLAGS_RELEASE +=
|
|
22 |
QMAKE_CFLAGS_DEBUG += -g
|
|
23 |
QMAKE_CFLAGS_SHLIB +=
|
|
24 |
QMAKE_CFLAGS_STATIC_LIB +=
|
|
25 |
QMAKE_CFLAGS_YACC +=
|
|
26 |
QMAKE_CFLAGS_HIDESYMS +=
|
|
27 |
QMAKE_CFLAGS_PRECOMPILE +=
|
|
28 |
QMAKE_CFLAGS_USE_PRECOMPILE +=
|
|
29 |
|
|
30 |
QMAKE_CXX = dcc
|
|
31 |
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
|
32 |
QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS
|
|
33 |
QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
|
|
34 |
QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF
|
|
35 |
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
|
|
36 |
QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_DEBUG
|
|
37 |
QMAKE_CXXFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB
|
|
38 |
QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
|
|
39 |
QMAKE_CXXFLAGS_YACC += $$QMAKE_CFLAGS_YACC
|
|
40 |
QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS
|
|
41 |
QMAKE_CXXFLAGS_PRECOMPILE +=
|
|
42 |
QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
|
|
43 |
|
|
44 |
QMAKE_LINK = dld
|
|
45 |
QMAKE_LINK_SHLIB = dld
|
|
46 |
QMAKE_LFLAGS += $$VXWORKS_DIAB_SPEC -L $(WIND_BASE)/target/lib/$$VXWORKS_ARCH/$$VXWORKS_CPU/common
|
|
47 |
QMAKE_LFLAGS_RELEASE +=
|
|
48 |
QMAKE_LFLAGS_DEBUG +=
|
|
49 |
QMAKE_LFLAGS_APP += -r5
|
|
50 |
QMAKE_LFLAGS_SHLIB +=
|
|
51 |
QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
|
|
52 |
QMAKE_LFLAGS_SONAME +=
|
|
53 |
QMAKE_LFLAGS_THREAD +=
|
|
54 |
QMAKE_LFLAGS_NOUNDEF +=
|
|
55 |
QMAKE_RPATH =
|
|
56 |
|
|
57 |
QMAKE_PCH_OUTPUT_EXT = .gch
|
|
58 |
|
|
59 |
# -Bsymbolic-functions (ld) support
|
|
60 |
QMAKE_LFLAGS_BSYMBOLIC_FUNC =
|
|
61 |
QMAKE_LFLAGS_DYNAMIC_LIST =
|
|
62 |
|
|
63 |
QMAKE_CFLAGS_THREAD += -D_REENTRANT
|
|
64 |
QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD
|
|
65 |
|
|
66 |
QMAKE_INCDIR =
|
|
67 |
QMAKE_LIBDIR =
|
|
68 |
QMAKE_INCDIR_X11 = $(WIND_HOME)/GSS/include
|
|
69 |
QMAKE_LIBDIR_X11 = $(WIND_HOME)/GSS/lib
|
|
70 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
|
|
71 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
|
|
72 |
QMAKE_INCDIR_OPENGL = $$QMAKE_INCDIR_X11
|
|
73 |
QMAKE_LIBDIR_OPENGL = $$QMAKE_LIBDIR_X11
|
|
74 |
|
|
75 |
QMAKE_LIBS =
|
|
76 |
QMAKE_LIBS_DYNLOAD =
|
|
77 |
QMAKE_LIBS_X11 = -lXext -lX11
|
|
78 |
QMAKE_LIBS_X11SM = -lSM -lICE
|
|
79 |
QMAKE_LIBS_NIS = -lnsl
|
|
80 |
QMAKE_LIBS_OPENGL = -lGLU -lGL
|
|
81 |
QMAKE_LIBS_OPENGL_QT = -lGL
|
|
82 |
QMAKE_LIBS_THREAD =
|
|
83 |
QMAKE_LIBS_NETWORK = # -lnet # only needed if kernel is missing gethostbyname and friends
|
|
84 |
|
|
85 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
|
|
86 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
|
|
87 |
|
|
88 |
QMAKE_AR = ar cqs
|
|
89 |
QMAKE_OBJCOPY = objcopy
|
|
90 |
QMAKE_RANLIB =
|
|
91 |
|
|
92 |
QMAKE_TAR = tar -cf
|
|
93 |
QMAKE_GZIP = gzip -9f
|
|
94 |
|
|
95 |
QMAKE_COPY = cp -f
|
|
96 |
QMAKE_COPY_FILE = $(COPY)
|
|
97 |
QMAKE_COPY_DIR = $(COPY) -r
|
|
98 |
QMAKE_MOVE = mv -f
|
|
99 |
QMAKE_DEL_FILE = rm -f
|
|
100 |
QMAKE_DEL_DIR = rmdir
|
|
101 |
QMAKE_STRIP = strip
|
|
102 |
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
|
103 |
QMAKE_CHK_DIR_EXISTS = test -d
|
|
104 |
QMAKE_MKDIR = mkdir -p
|
|
105 |
QMAKE_INSTALL_FILE = install -m 644 -p
|
|
106 |
QMAKE_INSTALL_PROGRAM = install -m 755 -p
|
|
107 |
|
|
108 |
include(../../common/unix.conf)
|
|
109 |
load(qt_config)
|
|
110 |
|