]>
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 | |
32083aa0 RD |
65 | STCCFG = stc.cfg |
66 | STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG) | |
5d525ad9 | 67 | |
32083aa0 | 68 | default: $(STCCFG) $(LIBTARGET) |
5d525ad9 | 69 | |
5d525ad9 JS |
70 | |
71 | {$(S)}.cxx.obj: | |
32083aa0 RD |
72 | bcc32 $(STCCPPFLAGS) -P -c {$< } |
73 | ||
5d525ad9 | 74 | |
32083aa0 RD |
75 | |
76 | $(STCCFG): makefile.b32 | |
5d525ad9 JS |
77 | copy &&! |
78 | -H=$(WXDIR)\src\msw\wx32.csm | |
79 | -3 | |
80 | -d | |
81 | -a1 # byte alignment | |
82 | -R- | |
83 | -X | |
84 | -w-par | |
85 | -w-aus | |
86 | -w-hid # virtual function A hides virtual function B | |
87 | -WE | |
88 | -tWM | |
89 | ||
90 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff | |
91 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
92 | ||
93 | -L$(BCCDIR)\lib | |
94 | -D__WXWIN__ | |
95 | -D__WXMSW__ | |
96 | -D__WINDOWS__ | |
97 | -DWIN32 | |
98 | $(OPT) | |
99 | $(DEBUG_FLAGS) | |
100 | $(WIN95FLAG) | |
101 | $(STCEXTRACPPFLAGS) | |
32083aa0 RD |
102 | ! $(STCCFG) |
103 | ||
104 | ||
105 | !include $(WXDIR)\src\makelib.b32 | |
106 | ||
107 | {$(S)}.cpp.obj: | |
108 | bcc32 $(STCCPPFLAGS) -P -c {$< } | |
109 | ||
110 | .$(SRCSUFF).obj: | |
111 | bcc32 $(STCCPPFLAGS) -c {$< } | |
5d525ad9 | 112 |