]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/makefile.b32
Commited latest SciTech changes into CVS. This includes updates to the
[wxWidgets.git] / contrib / 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 S=$(SCINTILLA)\src
18
19 STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
20
21 LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
22
23 OBJECTS = \
24 Accessor.obj \
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 LexCPP.obj \
36 LexHTML.obj \
37 LexLua.obj \
38 LexOthers.obj \
39 LexPerl.obj \
40 LexPython.obj \
41 LexSQL.obj \
42 LexVB.obj \
43 LineMarker.obj \
44 PropSet.obj \
45 PosRegExp.obj \
46 ScintillaBase.obj \
47 Style.obj \
48 UniConversion.obj \
49 ViewStyle.obj \
50 WindowAccessor.obj \
51 \
52 PlatWX.obj \
53 ScintillaWX.obj \
54 stc.obj \
55
56
57 !include $(WXDIR)\src\makelib.b32
58
59 CFG = stc.cfg
60 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
61
62 {$(S)}.cxx.obj:
63 bcc32 $(CPPFLAGS) -P -c {$< }
64
65 $(CFG): makefile.b32
66 copy &&!
67 -H=$(WXDIR)\src\msw\wx32.csm
68 -3
69 -d
70 -a1 # byte alignment
71 -R-
72 -X
73 -w-par
74 -w-aus
75 -w-hid # virtual function A hides virtual function B
76 -WE
77 -tWM
78
79 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
80 -I$(WXDIR)\include\wx\msw\gnuwin32
81
82 -L$(BCCDIR)\lib
83 -D__WXWIN__
84 -D__WXMSW__
85 -D__WINDOWS__
86 -DWIN32
87 $(OPT)
88 $(DEBUG_FLAGS)
89 $(WIN95FLAG)
90 $(STCEXTRACPPFLAGS)
91 ! $(CFG)
92