]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.b32
Added wxTB_NODIVIDER and wxTB_NOALIGN so native Windows toolbar can
[wxWidgets.git] / src / stc / makefile.b32
1 #
2 # File: makefile.b32
3 # Author: Julian Smart
4 # Created: 1999
5 # Updated:
6 # Copyright:
7 #
8 # Makefile : Builds wxMMedia library for 32-bit BC++
9
10 # N.B. use:
11 # make -f makefile.b32 stc.cfg
12 # make -f makefile.b32
13
14 WXDIR = $(WXWIN)
15
16 SCINTILLA=.\scintilla
17
18 S=$(SCINTILLA)\src
19
20 STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S)
21
22 LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
23
24 OBJECTS = \
25 AutoComplete.obj \
26 CallTip.obj \
27 CellBuffer.obj \
28 ContractionState.obj \
29 Document.obj \
30 DocumentAccessor.obj \
31 Editor.obj \
32 Indicator.obj \
33 KeyMap.obj \
34 KeyWords.obj \
35 LexAVE.obj \
36 LexAda.obj \
37 LexBaan.obj \
38 LexBullant.obj \
39 LexMatlab.obj \
40 LexCPP.obj \
41 LexConf.obj \
42 LexCrontab.obj \
43 LexEiffel.obj \
44 LexHTML.obj \
45 LexLisp.obj \
46 LexLua.obj \
47 LexOthers.obj \
48 LexPascal.obj \
49 LexPerl.obj \
50 LexPython.obj \
51 LexRuby.obj \
52 LexSQL.obj \
53 LexVB.obj \
54 LineMarker.obj \
55 PropSet.obj \
56 RESearch.obj \
57 ScintillaBase.obj \
58 Style.obj \
59 StyleContext.obj \
60 UniConversion.obj \
61 ViewStyle.obj \
62 WindowAccessor.obj \
63 \
64 PlatWX.obj \
65 ScintillaWX.obj \
66 stc.obj \
67
68 STCCFG = stc.cfg
69 STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
70
71 default: $(STCCFG) $(LIBTARGET)
72
73
74 {$(S)}.cxx.obj:
75 bcc32 $(STCCPPFLAGS) -P -c {$< }
76
77
78
79 $(STCCFG): makefile.b32
80 copy &&!
81 -H=$(WXDIR)\src\msw\wx32.csm
82 -3
83 -d
84 -a1 # byte alignment
85 -R-
86 -X
87 -w-par
88 -w-aus
89 -w-hid # virtual function A hides virtual function B
90 -WE
91 -tWM
92
93 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
94 -I$(WXDIR)\include\wx\msw\gnuwin32
95
96 -L$(BCCDIR)\lib
97 -D__WXWIN__
98 -D__WXMSW__
99 -D__WINDOWS__
100 -DWIN32
101 $(OPT)
102 $(DEBUG_FLAGS)
103 $(WIN95FLAG)
104 $(STCEXTRACPPFLAGS)
105 ! $(STCCFG)
106
107
108 !include $(WXDIR)\src\makelib.b32
109
110 {$(S)}.cpp.obj:
111 bcc32 $(STCCPPFLAGS) -P -c {$< }
112
113 .$(SRCSUFF).obj:
114 bcc32 $(STCCPPFLAGS) -c {$< }
115