]>
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 | |
c19d0121 | 17 | |
5d525ad9 JS |
18 | S=$(SCINTILLA)\src |
19 | ||
20 | STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) | |
21 | ||
c19d0121 | 22 | LIBTARGET=$(WXDIR)\contrib\lib\stc.lib |
5d525ad9 JS |
23 | |
24 | OBJECTS = \ | |
b8b0e402 RD |
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 | LexAVE.obj \ | |
36 | LexAda.obj \ | |
37 | LexCPP.obj \ | |
38 | LexConf.obj \ | |
39 | LexCrontab.obj \ | |
40 | LexEiffel.obj \ | |
41 | LexHTML.obj \ | |
42 | LexLisp.obj \ | |
43 | LexLua.obj \ | |
44 | LexOthers.obj \ | |
45 | LexPascal.obj \ | |
46 | LexPerl.obj \ | |
47 | LexPython.obj \ | |
48 | LexRuby.obj \ | |
49 | LexSQL.obj \ | |
50 | LexVB.obj \ | |
51 | LineMarker.obj \ | |
52 | PropSet.obj \ | |
53 | RESearch.obj \ | |
54 | ScintillaBase.obj \ | |
55 | Style.obj \ | |
56 | StyleContext.obj \ | |
57 | UniConversion.obj \ | |
58 | ViewStyle.obj \ | |
59 | WindowAccessor.obj \ | |
60 | \ | |
61 | PlatWX.obj \ | |
62 | ScintillaWX.obj \ | |
63 | stc.obj \ | |
f6bcfd97 | 64 | |
5d525ad9 JS |
65 | |
66 | !include $(WXDIR)\src\makelib.b32 | |
67 | ||
68 | CFG = stc.cfg | |
69 | CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG) | |
70 | ||
71 | {$(S)}.cxx.obj: | |
72 | bcc32 $(CPPFLAGS) -P -c {$< } | |
73 | ||
74 | $(CFG): makefile.b32 | |
75 | copy &&! | |
76 | -H=$(WXDIR)\src\msw\wx32.csm | |
77 | -3 | |
78 | -d | |
79 | -a1 # byte alignment | |
80 | -R- | |
81 | -X | |
82 | -w-par | |
83 | -w-aus | |
84 | -w-hid # virtual function A hides virtual function B | |
85 | -WE | |
86 | -tWM | |
87 | ||
88 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff | |
89 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
90 | ||
91 | -L$(BCCDIR)\lib | |
92 | -D__WXWIN__ | |
93 | -D__WXMSW__ | |
94 | -D__WINDOWS__ | |
95 | -DWIN32 | |
96 | $(OPT) | |
97 | $(DEBUG_FLAGS) | |
98 | $(WIN95FLAG) | |
99 | $(STCEXTRACPPFLAGS) | |
100 | ! $(CFG) | |
101 |