]>
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 | ||
1a2fb4cd | 20 | STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S) |
5d525ad9 | 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 \ | |
9e730a78 | 37 | LexAsm.obj \ |
1a2fb4cd RD |
38 | LexBaan.obj \ |
39 | LexBullant.obj \ | |
40 | LexMatlab.obj \ | |
b8b0e402 RD |
41 | LexCPP.obj \ |
42 | LexConf.obj \ | |
43 | LexCrontab.obj \ | |
9e730a78 | 44 | LexCSS.obj \ |
b8b0e402 | 45 | LexEiffel.obj \ |
9e730a78 | 46 | LexFortran.obj \ |
b8b0e402 RD |
47 | LexHTML.obj \ |
48 | LexLisp.obj \ | |
49 | LexLua.obj \ | |
50 | LexOthers.obj \ | |
9e730a78 | 51 | LexPOV.obj \ |
b8b0e402 RD |
52 | LexPascal.obj \ |
53 | LexPerl.obj \ | |
54 | LexPython.obj \ | |
55 | LexRuby.obj \ | |
56 | LexSQL.obj \ | |
57 | LexVB.obj \ | |
58 | LineMarker.obj \ | |
59 | PropSet.obj \ | |
60 | RESearch.obj \ | |
61 | ScintillaBase.obj \ | |
62 | Style.obj \ | |
63 | StyleContext.obj \ | |
64 | UniConversion.obj \ | |
65 | ViewStyle.obj \ | |
66 | WindowAccessor.obj \ | |
9e730a78 | 67 | XPM.obj \ |
b8b0e402 RD |
68 | \ |
69 | PlatWX.obj \ | |
70 | ScintillaWX.obj \ | |
71 | stc.obj \ | |
f6bcfd97 | 72 | |
9e730a78 | 73 | |
32083aa0 RD |
74 | STCCFG = stc.cfg |
75 | STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG) | |
5d525ad9 | 76 | |
32083aa0 | 77 | default: $(STCCFG) $(LIBTARGET) |
5d525ad9 | 78 | |
9e730a78 | 79 | cleancfg: |
4deae7a0 | 80 | del $(STCCFG) |
5d525ad9 JS |
81 | |
82 | {$(S)}.cxx.obj: | |
32083aa0 RD |
83 | bcc32 $(STCCPPFLAGS) -P -c {$< } |
84 | ||
5d525ad9 | 85 | |
32083aa0 RD |
86 | |
87 | $(STCCFG): makefile.b32 | |
5d525ad9 JS |
88 | copy &&! |
89 | -H=$(WXDIR)\src\msw\wx32.csm | |
90 | -3 | |
91 | -d | |
92 | -a1 # byte alignment | |
93 | -R- | |
94 | -X | |
95 | -w-par | |
96 | -w-aus | |
97 | -w-hid # virtual function A hides virtual function B | |
5d525ad9 JS |
98 | -tWM |
99 | ||
100 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff | |
4deae7a0 VZ |
101 | -I$(WXDIR)\include\wx\msw\gnuwin32;$(ARCHINCDIR) |
102 | ||
5d525ad9 JS |
103 | |
104 | -L$(BCCDIR)\lib | |
105 | -D__WXWIN__ | |
106 | -D__WXMSW__ | |
107 | -D__WINDOWS__ | |
108 | -DWIN32 | |
109 | $(OPT) | |
110 | $(DEBUG_FLAGS) | |
111 | $(WIN95FLAG) | |
112 | $(STCEXTRACPPFLAGS) | |
32083aa0 RD |
113 | ! $(STCCFG) |
114 | ||
115 | ||
116 | !include $(WXDIR)\src\makelib.b32 | |
117 | ||
118 | {$(S)}.cpp.obj: | |
119 | bcc32 $(STCCPPFLAGS) -P -c {$< } | |
120 | ||
121 | .$(SRCSUFF).obj: | |
122 | bcc32 $(STCCPPFLAGS) -c {$< } | |
5d525ad9 | 123 |