]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/makefile.b32
Fixed GetLongPath bug -- should use GetFullName and not GetName
[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)\lib\stc.lib
22
23 OBJECTS = \
24 AutoComplete.obj \
25 CallTip.obj \
26 CellBuffer.obj \
27 ContractionState.obj \
28 Document.obj \
29 DocumentAccessor.obj \
30 Editor.obj \
31 Indicator.obj \
32 KeyMap.obj \
33 KeyWords.obj \
34 LexCPP.obj \
35 LexHTML.obj \
36 LexLua.obj \
37 LexOthers.obj \
38 LexPerl.obj \
39 LexPython.obj \
40 LexSQL.obj \
41 LexVB.obj \
42 LineMarker.obj \
43 PropSet.obj \
44 PosRegExp.obj \
45 ScintillaBase.obj \
46 Style.obj \
47 UniConversion.obj \
48 ViewStyle.obj \
49 WindowAccessor.obj \
50 \
51 PlatWX.obj \
52 ScintillaWX.obj \
53 stc.obj \
54
55
56 !include $(WXDIR)\src\makelib.b32
57
58 all: stc.cfg $(LIBTARGET)
59
60 CFG = stc.cfg
61 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
62
63 {$(S)}.cxx.obj:
64 bcc32 $(CPPFLAGS) -P -c {$< }
65
66 $(CFG): makefile.b32
67 copy &&!
68 -H=$(WXDIR)\src\msw\wx32.csm
69 -3
70 -d
71 -a1 # byte alignment
72 -R-
73 -X
74 -w-par
75 -w-aus
76 -w-hid # virtual function A hides virtual function B
77 -WE
78 -tWM
79
80 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
81 -I$(WXDIR)\include\wx\msw\gnuwin32
82
83 -L$(BCCDIR)\lib
84 -D__WXWIN__
85 -D__WXMSW__
86 -D__WINDOWS__
87 -DWIN32
88 $(OPT)
89 $(DEBUG_FLAGS)
90 $(WIN95FLAG)
91 $(STCEXTRACPPFLAGS)
92 ! $(CFG)
93