]>
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 | ||
3f1802b5 | 21 | LIBTARGET=$(WXDIR)\lib\stc.lib |
5d525ad9 JS |
22 | |
23 | OBJECTS = \ | |
5d525ad9 | 24 | AutoComplete.obj \ |
f6bcfd97 BP |
25 | CallTip.obj \ |
26 | CellBuffer.obj \ | |
27 | ContractionState.obj \ | |
28 | Document.obj \ | |
29 | DocumentAccessor.obj \ | |
5d525ad9 | 30 | Editor.obj \ |
f6bcfd97 | 31 | Indicator.obj \ |
5d525ad9 | 32 | KeyMap.obj \ |
f6bcfd97 BP |
33 | KeyWords.obj \ |
34 | LexCPP.obj \ | |
35 | LexHTML.obj \ | |
d134f170 | 36 | LexLua.obj \ |
f6bcfd97 BP |
37 | LexOthers.obj \ |
38 | LexPerl.obj \ | |
39 | LexPython.obj \ | |
40 | LexSQL.obj \ | |
41 | LexVB.obj \ | |
42 | LineMarker.obj \ | |
43 | PropSet.obj \ | |
d134f170 | 44 | PosRegExp.obj \ |
5d525ad9 JS |
45 | ScintillaBase.obj \ |
46 | Style.obj \ | |
f6bcfd97 BP |
47 | UniConversion.obj \ |
48 | ViewStyle.obj \ | |
49 | WindowAccessor.obj \ | |
5d525ad9 JS |
50 | \ |
51 | PlatWX.obj \ | |
f6bcfd97 BP |
52 | ScintillaWX.obj \ |
53 | stc.obj \ | |
54 | ||
5d525ad9 JS |
55 | |
56 | !include $(WXDIR)\src\makelib.b32 | |
57 | ||
3f1802b5 JS |
58 | all: stc.cfg $(LIBTARGET) |
59 | ||
5d525ad9 JS |
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 |