]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | !include ../../../build/config.wat | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | # Speed up compilation a bit: | |
14 | !ifdef __LOADDLL__ | |
15 | ! loaddll wcc wccd | |
16 | ! loaddll wccaxp wccdaxp | |
17 | ! loaddll wcc386 wccd386 | |
18 | ! loaddll wpp wppdi86 | |
19 | ! loaddll wppaxp wppdaxp | |
20 | ! loaddll wpp386 wppd386 | |
21 | ! loaddll wlink wlink | |
22 | ! loaddll wlib wlibd | |
23 | !endif | |
24 | ||
25 | # We need these variables in some bakefile-made rules: | |
26 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- | |
27 | ||
28 | ### Conditionally set variables: ### | |
29 | ||
30 | PORTNAME = | |
31 | !ifeq USE_GUI 0 | |
32 | PORTNAME = base | |
33 | !endif | |
34 | !ifeq USE_GUI 1 | |
35 | PORTNAME = msw | |
36 | !endif | |
37 | VENDORTAG = | |
38 | !ifeq OFFICIAL_BUILD 0 | |
39 | VENDORTAG = _$(VENDOR) | |
40 | !endif | |
41 | !ifeq OFFICIAL_BUILD 1 | |
42 | VENDORTAG = | |
43 | !endif | |
44 | WXDEBUGFLAG = | |
45 | !ifeq BUILD debug | |
46 | WXDEBUGFLAG = d | |
47 | !endif | |
48 | WXDLLFLAG = | |
49 | !ifeq SHARED 1 | |
50 | WXDLLFLAG = dll | |
51 | !endif | |
52 | WXUNICODEFLAG = | |
53 | !ifeq UNICODE 1 | |
54 | WXUNICODEFLAG = u | |
55 | !endif | |
56 | WXUNIVNAME = | |
57 | !ifeq WXUNIV 1 | |
58 | WXUNIVNAME = univ | |
59 | !endif | |
60 | __DEBUGFLAG = | |
61 | !ifeq BUILD debug | |
62 | __DEBUGFLAG = -d2 | |
63 | !endif | |
64 | !ifeq BUILD release | |
65 | __DEBUGFLAG = -d0 | |
66 | !endif | |
67 | __DEBUGFLAG_1 = | |
68 | !ifeq BUILD debug | |
69 | __DEBUGFLAG_1 = debug all | |
70 | !endif | |
71 | !ifeq BUILD release | |
72 | __DEBUGFLAG_1 = | |
73 | !endif | |
74 | __DEBUG_DEFINE_p = | |
75 | !ifeq BUILD debug | |
76 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
77 | !endif | |
78 | __OPTIMIZEFLAG = | |
79 | !ifeq BUILD debug | |
80 | __OPTIMIZEFLAG = -od | |
81 | !endif | |
82 | !ifeq BUILD release | |
83 | __OPTIMIZEFLAG = -ot -ox | |
84 | !endif | |
85 | __RUNTIME_LIBS = | |
86 | !ifeq RUNTIME_LIBS dynamic | |
87 | __RUNTIME_LIBS = -br | |
88 | !endif | |
89 | !ifeq RUNTIME_LIBS static | |
90 | __RUNTIME_LIBS = | |
91 | !endif | |
92 | __UNICODE_DEFINE_p = | |
93 | !ifeq UNICODE 1 | |
94 | __UNICODE_DEFINE_p = -dwxUSE_UNICODE=1 | |
95 | !endif | |
96 | __WXLIB_BASE_p = | |
97 | !ifeq MONOLITHIC 0 | |
98 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
99 | !endif | |
100 | __WXLIB_CORE_p = | |
101 | !ifeq MONOLITHIC 0 | |
102 | __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
103 | !endif | |
104 | __WXLIB_MONO_p = | |
105 | !ifeq MONOLITHIC 1 | |
106 | __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
107 | !endif | |
108 | __WXUNIV_DEFINE_p = | |
109 | !ifeq WXUNIV 1 | |
110 | __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ | |
111 | !endif | |
112 | __animatedll___depname = | |
113 | !ifeq SHARED 1 | |
114 | __animatedll___depname = ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll | |
115 | !endif | |
116 | __animatelib___depname = | |
117 | !ifeq SHARED 0 | |
118 | __animatelib___depname = ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib | |
119 | !endif | |
120 | ||
121 | ### Variables: ### | |
122 | ||
123 | ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_animatedll.pch -bd $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\animate\..\..\..\include -i=..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\animate\..\..\..\src\tiff -i=..\..\src\animate\..\..\..\src\jpeg -i=..\..\src\animate\..\..\..\src\png -i=..\..\src\animate\..\..\..\src\zlib -i=..\..\src\animate\..\..\..\src\regex -i=..\..\src\animate\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_ANIMATE $(CXXFLAGS) | |
124 | ANIMATELIB_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_animatelib.pch $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\animate\..\..\..\include -i=..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\animate\..\..\..\src\tiff -i=..\..\src\animate\..\..\..\src\jpeg -i=..\..\src\animate\..\..\..\src\png -i=..\..\src\animate\..\..\..\src\zlib -i=..\..\src\animate\..\..\..\src\regex -i=..\..\src\animate\..\..\include $(CXXFLAGS) | |
125 | OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
126 | ||
127 | ||
128 | ||
129 | all : $(OBJS) | |
130 | $(OBJS) : | |
131 | -if not exist $(OBJS) mkdir $(OBJS) | |
132 | ||
133 | ### Targets: ### | |
134 | ||
135 | all : .SYMBOLIC $(__animatedll___depname) $(__animatelib___depname) | |
136 | ||
137 | $(OBJS)\animatedll_animate.obj : .AUTODEPEND ../../src/animate\animate.cpp | |
138 | $(CXX) -zq -fo=$^@ $(ANIMATEDLL_CXXFLAGS) $< | |
139 | ||
140 | $(OBJS)\animatedll_dummy.obj : .AUTODEPEND ../../src/animate\..\..\..\src\msw\dummy.cpp | |
141 | $(CXX) -zq -fo=$^@ $(ANIMATEDLL_CXXFLAGS) $< | |
142 | ||
143 | $(OBJS)\animatelib_animate.obj : .AUTODEPEND ../../src/animate\animate.cpp | |
144 | $(CXX) -zq -fo=$^@ $(ANIMATELIB_CXXFLAGS) $< | |
145 | ||
146 | $(OBJS)\animatelib_dummy.obj : .AUTODEPEND ../../src/animate\..\..\..\src\msw\dummy.cpp | |
147 | $(CXX) -zq -fo=$^@ $(ANIMATELIB_CXXFLAGS) $< | |
148 | ||
149 | !ifeq SHARED 1 | |
150 | ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll : $(OBJS)\animatedll_dummy.obj $(OBJS)\animatedll_animate.obj | |
151 | @%create $(OBJS)\animatedll.lbc | |
152 | @%append $(OBJS)\animatedll.lbc option quiet | |
153 | @%append $(OBJS)\animatedll.lbc name $^@ | |
154 | @%append $(OBJS)\animatedll.lbc option incremental | |
155 | @%append $(OBJS)\animatedll.lbc $(LDFLAGS) $(__DEBUGFLAG_1) libpath ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
156 | @for %i in ( $(OBJS)\animatedll_dummy.obj $(OBJS)\animatedll_animate.obj) do @%append $(OBJS)\animatedll.lbc file %i | |
157 | @for %i in ( $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)) do @%append $(OBJS)\animatedll.lbc library %i | |
158 | @%append $(OBJS)\animatedll.lbc | |
159 | @%append $(OBJS)\animatedll.lbc system nt_dll | |
160 | wlink @$(OBJS)\animatedll.lbc | |
161 | wlib -q -n -b ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib +$^@ | |
162 | !endif | |
163 | ||
164 | !ifeq SHARED 0 | |
165 | ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib : $(OBJS)\animatelib_dummy.obj $(OBJS)\animatelib_animate.obj | |
166 | @%create $(OBJS)\animatelib.lbc | |
167 | @for %i in ( $(OBJS)\animatelib_dummy.obj $(OBJS)\animatelib_animate.obj) do @%append $(OBJS)\animatelib.lbc +%i | |
168 | wlib -q -p2048 -n -b $^@ @$(OBJS)\animatelib.lbc | |
169 | !endif | |
170 | ||
171 | clean : .SYMBOLIC | |
172 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
173 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
174 | -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc | |
175 | -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk | |
176 | -if exist ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll del ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll | |
177 | -if exist ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib | |
178 | -if exist ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib |