2 # qmake configuration for win32-borland
4 # Written for Borland C++
7 MAKEFILE_GENERATOR = BMAKE
9 CONFIG += qt warn_on release link_prl copy_dir_files no_empty_targets cd_change_global debug_and_release debug_and_release_target
13 QMAKE_COMPILER_DEFINES += __BORLANDC__ WIN32
20 QMAKE_CFLAGS = -tWR -tWM
21 QMAKE_CFLAGS_WARN_ON = -w -w-hid
22 QMAKE_CFLAGS_WARN_OFF = -w-
23 QMAKE_CFLAGS_RELEASE = -O2
24 QMAKE_CFLAGS_DEBUG = -v
26 QMAKE_CFLAGS_CONSOLE = -tWC
28 QMAKE_CXX = $$QMAKE_CC
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
30 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
33 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_CONSOLE = $$QMAKE_CFLAGS_CONSOLE
36 QMAKE_CXXFLAGS_STL_ON =
37 QMAKE_CXXFLAGS_STL_OFF =
38 QMAKE_CXXFLAGS_RTTI_ON =
39 QMAKE_CXXFLAGS_RTTI_OFF = -RT-
40 QMAKE_CXXFLAGS_EXCEPTIONS_ON =
41 QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -x-
44 QMAKE_LIBDIR = $(BCB)\lib
45 QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
46 QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
48 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o$obj $src
49 QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o$@ $<
50 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o$obj $src
51 QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o$@ $<
54 QMAKE_LFLAGS = -c -x -Gn
55 QMAKE_LFLAGS_RELEASE =
56 QMAKE_LFLAGS_DEBUG = -v
57 QMAKE_LFLAGS_CONSOLE = -ap -Tpe c0x32.obj
58 QMAKE_LFLAGS_WINDOWS = -aa -Tpe c0w32.obj
59 QMAKE_LFLAGS_DLL= -Gi -aa -Tpd c0d32.obj
61 QMAKE_LIBS = import32.lib cw32mti.lib
64 QMAKE_LIBS_NETWORK = ws2_32.lib
67 QMAKE_LIBS_QT_ENTRY = -lqtmain
70 #QMAKE_LFLAGS_OPENGL = /dopengl32.dll
72 QMAKE_MOC = $$[QT_INSTALL_BINS]\moc.exe
73 QMAKE_UIC = $$[QT_INSTALL_BINS]\uic.exe
74 QMAKE_IDC = $$[QT_INSTALL_BINS]\idc.exe
77 QMAKE_LIB = tlib /C /P256
78 QMAKE_RC = brcc32 -dQ_CC_BOR
83 QMAKE_COPY_DIR = xcopy /s /q /y /i
87 QMAKE_CHK_DIR_EXISTS = if not exist