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