]>
Commit | Line | Data |
---|---|---|
6f628073 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
bdc408c4 | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
6f628073 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
62448488 | 6 | |
0706fb23 VS |
7 | !ifndef BCCDIR |
8 | BCCDIR = $(MAKEDIR)\.. | |
9 | !endif | |
6f628073 | 10 | |
250700e4 | 11 | !include ../../build/config.bcc |
6f628073 VS |
12 | |
13 | # ------------------------------------------------------------------------- | |
14 | # Do not modify the rest of this file! | |
15 | # ------------------------------------------------------------------------- | |
16 | ||
6f628073 VS |
17 | !if "$(BCCDIR)" == "\.." |
18 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
19 | !endif | |
20 | ||
21 | ### Variables: ### | |
22 | ||
250700e4 RD |
23 | DIALOGS_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGFLAG) \ |
24 | $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
25 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include \ | |
26 | -I.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \ | |
27 | -I.\..\..\src\tiff -I.\..\..\src\jpeg -I.\..\..\src\png -I.\..\..\src\zlib \ | |
bdc408c4 | 28 | -I.\..\..\src\regex -I.\..\..\src\expat\lib -I. $(__DLLFLAG_p) $(CXXFLAGS) |
250700e4 RD |
29 | OBJS = \ |
30 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
6f628073 VS |
31 | |
32 | ### Conditionally set variables: ### | |
33 | ||
34 | !if "$(USE_GUI)" == "0" | |
35 | PORTNAME = base | |
62448488 | 36 | !endif |
6f628073 VS |
37 | !if "$(USE_GUI)" == "1" |
38 | PORTNAME = msw | |
39 | !endif | |
40 | !if "$(BUILD)" == "debug" | |
41 | WXDEBUGFLAG = d | |
42 | !endif | |
43 | !if "$(SHARED)" == "1" | |
44 | WXDLLFLAG = dll | |
45 | !endif | |
46 | !if "$(UNICODE)" == "1" | |
47 | WXUNICODEFLAG = u | |
48 | !endif | |
49 | !if "$(WXUNIV)" == "1" | |
50 | WXUNIVNAME = univ | |
51 | !endif | |
52 | !if "$(BUILD)" == "debug" | |
ee5749a6 VS |
53 | __DEBUGFLAG = -v |
54 | !endif | |
55 | !if "$(BUILD)" == "release" | |
56 | __DEBUGFLAG = -v- | |
57 | !endif | |
58 | !if "$(BUILD)" == "debug" | |
6f628073 VS |
59 | __DEBUG_DEFINE_p = -D__WXDEBUG__ |
60 | !endif | |
61 | !if "$(BUILD)" == "debug" | |
62 | __DEBUG_DEFINE_p_1 = -d__WXDEBUG__ | |
63 | !endif | |
64 | !if "$(SHARED)" == "1" | |
65 | __DLLFLAG_p = -DWXUSINGDLL | |
66 | !endif | |
67 | !if "$(SHARED)" == "1" | |
68 | __DLLFLAG_p_1 = -dWXUSINGDLL | |
69 | !endif | |
ee5749a6 VS |
70 | !if "$(BUILD)" == "debug" |
71 | __OPTIMIZEFLAG_2 = -Od | |
72 | !endif | |
73 | !if "$(BUILD)" == "release" | |
74 | __OPTIMIZEFLAG_2 = -O2 | |
75 | !endif | |
250700e4 RD |
76 | !if "$(RUNTIME_LIBS)" == "dynamic" |
77 | __RUNTIME_LIBS_6 = -tWR | |
78 | !endif | |
79 | !if "$(RUNTIME_LIBS)" == "static" | |
80 | __RUNTIME_LIBS_6 = | |
81 | !endif | |
82 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
83 | __RUNTIME_LIBS_7 = i | |
84 | !endif | |
85 | !if "$(RUNTIME_LIBS)" == "static" | |
86 | __RUNTIME_LIBS_7 = | |
87 | !endif | |
6f628073 VS |
88 | !if "$(UNICODE)" == "1" |
89 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
90 | !endif | |
91 | !if "$(UNICODE)" == "1" | |
92 | __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1 | |
93 | !endif | |
94 | !if "$(MONOLITHIC)" == "0" | |
0706fb23 VS |
95 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib |
96 | !endif | |
97 | !if "$(MONOLITHIC)" == "0" | |
250700e4 RD |
98 | __WXLIB_CORE_p = \ |
99 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
6f628073 VS |
100 | !endif |
101 | !if "$(MONOLITHIC)" == "1" | |
250700e4 RD |
102 | __WXLIB_MONO_p = \ |
103 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
6f628073 VS |
104 | !endif |
105 | !if "$(WXUNIV)" == "1" | |
106 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
107 | !endif | |
108 | !if "$(WXUNIV)" == "1" | |
109 | __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__ | |
110 | !endif | |
111 | ||
112 | ||
113 | all: $(OBJS) | |
114 | $(OBJS): | |
115 | -if not exist $(OBJS) mkdir $(OBJS) | |
116 | ||
117 | ### Targets: ### | |
118 | ||
119 | all: $(OBJS)\dialogs.exe data | |
120 | ||
121 | $(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp | |
0706fb23 | 122 | $(CXX) -q -c -P -o$@ $(DIALOGS_CXXFLAGS) $** |
6f628073 VS |
123 | |
124 | $(OBJS)\dialogs_dialogs.res: .\dialogs.rc | |
bdc408c4 | 125 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\include -i.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i.\..\..\src\tiff -i.\..\..\src\jpeg -i.\..\..\src\png -i.\..\..\src\zlib -i.\..\..\src\regex -i.\..\..\src\expat\lib -i. $(__DLLFLAG_p_1) $** |
6f628073 VS |
126 | |
127 | clean: | |
128 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
129 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
130 | -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe | |
62448488 | 131 | |
6f628073 | 132 | data: |
0706fb23 VS |
133 | if not exist $(OBJS) mkdir $(OBJS) |
134 | for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
62448488 | 135 | |
6f628073 | 136 | $(OBJS)\dialogs.exe: $(OBJS)\dialogs_dialogs.obj $(OBJS)\dialogs_dialogs.res |
bdc408c4 VS |
137 | ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&| |
138 | c0w32.obj $(OBJS)\dialogs_dialogs.obj,$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\dialogs_dialogs.res | |
6f628073 | 139 | | |