~thopiekar/+junk/sip4

« back to all changes in this revision

Viewing changes to specs/win32-borland

  • Committer: Thomas Karl Pietrowski
  • Date: 2016-06-16 15:19:28 UTC
  • Revision ID: thopiekar@googlemail.com-20160616151928-mce8dzxk8kus2nsn
* Copy taken from Debian stretch
* Switched to source format 3.0 (native)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# qmake configuration for win32-borland
 
3
#
 
4
# Written for Borland C++
 
5
#
 
6
 
 
7
MAKEFILE_GENERATOR      = BMAKE
 
8
TEMPLATE                = app
 
9
CONFIG                  += qt warn_on release link_prl copy_dir_files no_empty_targets cd_change_global debug_and_release debug_and_release_target
 
10
QT                      += core gui
 
11
DEFINES                 += UNICODE
 
12
QMAKE_NOFORCE           = 1
 
13
QMAKE_COMPILER_DEFINES  += __BORLANDC__ WIN32
 
14
 
 
15
QMAKE_CC                = bcc32
 
16
QMAKE_LEX               = flex
 
17
QMAKE_LEXFLAGS          =
 
18
QMAKE_YACC              = byacc
 
19
QMAKE_YACCFLAGS         = -d
 
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
 
25
QMAKE_CFLAGS_YACC       =
 
26
QMAKE_CFLAGS_CONSOLE    = -tWC
 
27
 
 
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-
 
42
 
 
43
QMAKE_INCDIR            =
 
44
QMAKE_LIBDIR            = $(BCB)\lib
 
45
QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
 
46
QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
 
47
 
 
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$@ $<
 
52
 
 
53
QMAKE_LINK              = ilink32
 
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
 
60
 
 
61
QMAKE_LIBS              = import32.lib cw32mti.lib
 
62
QMAKE_LIBS_CORE         =
 
63
QMAKE_LIBS_GUI          =
 
64
QMAKE_LIBS_NETWORK      = ws2_32.lib 
 
65
QMAKE_LIBS_OPENGL       =
 
66
QMAKE_LIBS_COMPAT       =
 
67
QMAKE_LIBS_QT_ENTRY     = -lqtmain
 
68
 
 
69
#QMAKE_LIBS_OPENGL      =
 
70
#QMAKE_LFLAGS_OPENGL    = /dopengl32.dll
 
71
 
 
72
QMAKE_MOC               = $$[QT_INSTALL_BINS]\moc.exe
 
73
QMAKE_UIC               = $$[QT_INSTALL_BINS]\uic.exe
 
74
QMAKE_IDC               = $$[QT_INSTALL_BINS]\idc.exe
 
75
 
 
76
QMAKE_IDL               = midl
 
77
QMAKE_LIB               = tlib /C /P256
 
78
QMAKE_RC                = brcc32 -dQ_CC_BOR
 
79
 
 
80
QMAKE_ZIP               = zip -r -9
 
81
 
 
82
QMAKE_COPY              = copy /y
 
83
QMAKE_COPY_DIR          = xcopy /s /q /y /i
 
84
QMAKE_MOVE              = move
 
85
QMAKE_DEL_FILE          = del
 
86
QMAKE_DEL_DIR           = rmdir
 
87
QMAKE_CHK_DIR_EXISTS    = if not exist
 
88
QMAKE_MKDIR             = mkdir
 
89
 
 
90
load(qt_config)