]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.b32
Reordered the slow-click test, otherwise it would never
[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 LexAsm.obj \
38 LexBaan.obj \
39 LexBullant.obj \
40 LexMatlab.obj \
41 LexCPP.obj \
42 LexConf.obj \
43 LexCrontab.obj \
44 LexCSS.obj \
45 LexEiffel.obj \
46 LexFortran.obj \
47 LexHTML.obj \
48 LexLisp.obj \
49 LexLua.obj \
50 LexOthers.obj \
51 LexPOV.obj \
52 LexPascal.obj \
53 LexPerl.obj \
54 LexPython.obj \
55 LexRuby.obj \
56 LexSQL.obj \
57 LexVB.obj \
58 LineMarker.obj \
59 PropSet.obj \
60 RESearch.obj \
61 ScintillaBase.obj \
62 Style.obj \
63 StyleContext.obj \
64 UniConversion.obj \
65 ViewStyle.obj \
66 WindowAccessor.obj \
67 XPM.obj \
68 \
69 PlatWX.obj \
70 ScintillaWX.obj \
71 stc.obj \
72
73
74 STCCFG = stc.cfg
75 STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
76
77 default: $(STCCFG) $(LIBTARGET)
78
79 cleancfg:
80 del $(STCCFG)
81
82 {$(S)}.cxx.obj:
83 bcc32 $(STCCPPFLAGS) -P -c {$< }
84
85
86
87 $(STCCFG): makefile.b32
88 copy &&!
89 -H=$(WXDIR)\src\msw\wx32.csm
90 -3
91 -d
92 -a1 # byte alignment
93 -R-
94 -X
95 -w-par
96 -w-aus
97 -w-hid # virtual function A hides virtual function B
98 -tWM
99
100 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
101 -I$(WXDIR)\include\wx\msw\gnuwin32;$(ARCHINCDIR)
102
103
104 -L$(BCCDIR)\lib
105 -D__WXWIN__
106 -D__WXMSW__
107 -D__WINDOWS__
108 -DWIN32
109 $(OPT)
110 $(DEBUG_FLAGS)
111 $(WIN95FLAG)
112 $(STCEXTRACPPFLAGS)
113 ! $(STCCFG)
114
115
116 !include $(WXDIR)\src\makelib.b32
117
118 {$(S)}.cpp.obj:
119 bcc32 $(STCCPPFLAGS) -P -c {$< }
120
121 .$(SRCSUFF).obj:
122 bcc32 $(STCCPPFLAGS) -c {$< }
123