]>
Commit | Line | Data |
---|---|---|
5d525ad9 JS |
1 | # |
2 | # File: makefile.b32 | |
3 | # Author: Julian Smart | |
4 | # Created: 1999 | |
f6bcfd97 | 5 | # Updated: |
5d525ad9 JS |
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 = \ | |
f6bcfd97 | 24 | Accessor.obj \ |
5d525ad9 | 25 | AutoComplete.obj \ |
f6bcfd97 BP |
26 | CallTip.obj \ |
27 | CellBuffer.obj \ | |
28 | ContractionState.obj \ | |
29 | Document.obj \ | |
30 | DocumentAccessor.obj \ | |
5d525ad9 | 31 | Editor.obj \ |
f6bcfd97 | 32 | Indicator.obj \ |
5d525ad9 | 33 | KeyMap.obj \ |
f6bcfd97 BP |
34 | KeyWords.obj \ |
35 | LexCPP.obj \ | |
36 | LexHTML.obj \ | |
d134f170 | 37 | LexLua.obj \ |
f6bcfd97 BP |
38 | LexOthers.obj \ |
39 | LexPerl.obj \ | |
40 | LexPython.obj \ | |
41 | LexSQL.obj \ | |
42 | LexVB.obj \ | |
43 | LineMarker.obj \ | |
44 | PropSet.obj \ | |
d134f170 | 45 | PosRegExp.obj \ |
5d525ad9 JS |
46 | ScintillaBase.obj \ |
47 | Style.obj \ | |
f6bcfd97 BP |
48 | UniConversion.obj \ |
49 | ViewStyle.obj \ | |
50 | WindowAccessor.obj \ | |
5d525ad9 JS |
51 | \ |
52 | PlatWX.obj \ | |
f6bcfd97 BP |
53 | ScintillaWX.obj \ |
54 | stc.obj \ | |
55 | ||
5d525ad9 JS |
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 |