~ubuntu-branches/ubuntu/raring/wxwidgets2.8/raring

« back to all changes in this revision

Viewing changes to samples/keyboard/makefile.wat

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-01-07 13:59:25 UTC
  • mfrom: (1.1.9) (5.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120107135925-2601miy9ullcon9j
Tags: 2.8.12.1-6ubuntu1
* Resync from Debian, changes that were kept:
  - debian/rules: re-enable mediactrl. This allows libwx_gtk2u_media-2.8 to be
    built, as this is required by some applications (LP: #632984)
  - debian/control: Build-dep on libxt-dev for mediactrl.
  - Patches
    + fix-bashism-in-example
* Add conflict on python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) to python-wxversion
  to guarantee upgrade ordering when moving from pycentral to dh_python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# =========================================================================
2
2
#     This makefile was generated by
3
 
#     Bakefile 0.2.8 (http://www.bakefile.org)
 
3
#     Bakefile 0.2.9 (http://www.bakefile.org)
4
4
#     Do not modify, all changes will be overwritten!
5
5
# =========================================================================
6
6
 
7
 
!include ../../build/os2/config.wat
 
7
!include ../../build/msw/config.wat
8
8
 
9
9
# -------------------------------------------------------------------------
10
10
# Do not modify the rest of this file!
36
36
PORTNAME = base
37
37
!endif
38
38
!ifeq USE_GUI 1
39
 
PORTNAME = pm
 
39
PORTNAME = msw
40
40
!endif
41
41
WXDEBUGFLAG =
42
42
!ifeq BUILD debug
61
61
!endif
62
62
LIBTYPE_SUFFIX =
63
63
!ifeq SHARED 0
64
 
LIBTYPE_SUFFIX = pm_lib
 
64
LIBTYPE_SUFFIX = lib
65
65
!endif
66
66
!ifeq SHARED 1
67
 
LIBTYPE_SUFFIX = pm_dll
 
67
LIBTYPE_SUFFIX = dll
68
68
!endif
69
69
EXTRALIBS_FOR_BASE =
70
70
!ifeq MONOLITHIC 0
142
142
!ifeq USE_EXCEPTIONS 1
143
143
__EXCEPTIONSFLAG_8 = -xs
144
144
!endif
 
145
__WXLIB_CORE_p =
 
146
!ifeq MONOLITHIC 0
 
147
__WXLIB_CORE_p = &
 
148
        wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
 
149
!endif
 
150
__WXLIB_BASE_p =
 
151
!ifeq MONOLITHIC 0
 
152
__WXLIB_BASE_p = &
 
153
        wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
 
154
!endif
 
155
__WXLIB_MONO_p =
 
156
!ifeq MONOLITHIC 1
 
157
__WXLIB_MONO_p = &
 
158
        wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
 
159
!endif
 
160
__LIB_TIFF_p =
 
161
!ifeq USE_GUI 1
 
162
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
 
163
!endif
 
164
__LIB_JPEG_p =
 
165
!ifeq USE_GUI 1
 
166
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
 
167
!endif
 
168
__LIB_PNG_p =
 
169
!ifeq USE_GUI 1
 
170
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
 
171
!endif
 
172
__GDIPLUS_LIB_p =
 
173
!ifeq USE_GDIPLUS 1
 
174
__GDIPLUS_LIB_p = gdiplus.lib
 
175
!endif
 
176
__CAIRO_LIB_p =
 
177
!ifeq USE_CAIRO 1
 
178
__CAIRO_LIB_p = cairo.lib
 
179
!endif
 
180
____CAIRO_LIBDIR_FILENAMES_p =
 
181
!ifeq USE_CAIRO 1
 
182
____CAIRO_LIBDIR_FILENAMES_p = libpath $(CAIRO_ROOT)\lib
 
183
!endif
145
184
__WXUNIV_DEFINE_p =
146
185
!ifeq WXUNIV 1
147
186
__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
179
218
!ifeq USE_GDIPLUS 1
180
219
__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
181
220
!endif
182
 
____CAIRO_INCLUDEDIR_FILENAMES_p =
 
221
____CAIRO_INCLUDEDIR_FILENAMES =
183
222
!ifeq USE_CAIRO 1
184
 
____CAIRO_INCLUDEDIR_FILENAMES_p = -i=$(CAIRO_ROOT)\include\cairo
 
223
____CAIRO_INCLUDEDIR_FILENAMES = -i=$(CAIRO_ROOT)\include\cairo
185
224
!endif
186
225
__DLLFLAG_p =
187
226
!ifeq SHARED 1
188
227
__DLLFLAG_p = -dWXUSINGDLL
189
228
!endif
190
 
__WXLIB_CORE_p =
191
 
!ifeq MONOLITHIC 0
192
 
__WXLIB_CORE_p = &
193
 
        wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
194
 
!endif
195
 
__WXLIB_BASE_p =
196
 
!ifeq MONOLITHIC 0
197
 
__WXLIB_BASE_p = &
198
 
        wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
199
 
!endif
200
 
__WXLIB_MONO_p =
201
 
!ifeq MONOLITHIC 1
202
 
__WXLIB_MONO_p = &
203
 
        wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
204
 
!endif
205
 
__LIB_TIFF_p =
206
 
!ifeq USE_GUI 1
207
 
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
208
 
!endif
209
 
__LIB_JPEG_p =
210
 
!ifeq USE_GUI 1
211
 
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
212
 
!endif
213
 
__LIB_PNG_p =
214
 
!ifeq USE_GUI 1
215
 
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
216
 
!endif
217
229
 
218
230
### Variables: ###
219
231
 
224
236
SETUPHDIR = &
225
237
        $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
226
238
KEYBOARD_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) &
227
 
        $(__RUNTIME_LIBS_6) -d__WXPM__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
 
239
        $(__RUNTIME_LIBS_6) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
228
240
        $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
229
241
        $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) &
230
 
        -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) -wx &
 
242
        -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx &
231
243
        -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples &
232
244
        -dNOPCH $(__RTTIFLAG_7) $(__EXCEPTIONSFLAG_8) $(CPPFLAGS) $(CXXFLAGS)
233
245
KEYBOARD_OBJECTS =  &
248
260
        -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
249
261
        -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
250
262
        -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
251
 
        -del $(OBJS)\keyboard.exe
 
263
        -if exist $(OBJS)\keyboard.exe del $(OBJS)\keyboard.exe
252
264
 
253
 
$(OBJS)\keyboard.exe :  $(KEYBOARD_OBJECTS)
 
265
$(OBJS)\keyboard.exe :  $(KEYBOARD_OBJECTS) $(OBJS)\keyboard_keyboard.res
254
266
        @%create $(OBJS)\keyboard.lbc
255
267
        @%append $(OBJS)\keyboard.lbc option quiet
256
268
        @%append $(OBJS)\keyboard.lbc name $^@
257
269
        @%append $(OBJS)\keyboard.lbc option caseexact
258
 
        @%append $(OBJS)\keyboard.lbc  $(__DEBUGINFO_1)  libpath $(LIBDIRNAME) system os2v2_pm $(LDFLAGS)
 
270
        @%append $(OBJS)\keyboard.lbc  $(__DEBUGINFO_1)  libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS)
259
271
        @for %i in ($(KEYBOARD_OBJECTS)) do @%append $(OBJS)\keyboard.lbc file %i
260
 
        @for %i in ( $(__WXLIB_CORE_p)  $(__WXLIB_BASE_p)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  wxzlib$(WXDEBUGFLAG).lib  wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) upm32.lib) do @%append $(OBJS)\keyboard.lbc library %i
261
 
        @%append $(OBJS)\keyboard.lbc
 
272
        @for %i in ( $(__WXLIB_CORE_p)  $(__WXLIB_BASE_p)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  wxzlib$(WXDEBUGFLAG).lib  wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE)  $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\keyboard.lbc library %i
 
273
        @%append $(OBJS)\keyboard.lbc option resource=$(OBJS)\keyboard_keyboard.res
262
274
        @for %i in () do @%append $(OBJS)\keyboard.lbc option stack=%i
263
275
        wlink @$(OBJS)\keyboard.lbc
264
276
 
265
277
$(OBJS)\keyboard_keyboard.obj :  .AUTODEPEND .\keyboard.cpp
266
 
        $(CXX) -bt=os2 -zq -fo=$^@ $(KEYBOARD_CXXFLAGS) $<
 
278
        $(CXX) -bt=nt -zq -fo=$^@ $(KEYBOARD_CXXFLAGS) $<
 
279
 
 
280
$(OBJS)\keyboard_keyboard.res :  .AUTODEPEND .\keyboard.rc
 
281
        wrc -q -ad -bt=nt -r -fo=$^@    -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p)  $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $<
267
282