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