]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/mmedia/Makefile.in
IsDialogMessage fix
[wxWidgets.git] / contrib / samples / mmedia / Makefile.in
CommitLineData
592cae95
VS
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
e8482f24 6
e8482f24 7
592cae95 8@MAKE_SET@
e8482f24 9
592cae95
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
b328fad3 16EXEEXT = @EXEEXT@
592cae95 17EXTRALIBS = @EXTRALIBS@
9fd04dde 18EXTRALIBS_ESD = @EXTRALIBS_ESD@
592cae95
VS
19EXTRALIBS_GUI = @EXTRALIBS_GUI@
20HOST_SUFFIX = @HOST_SUFFIX@
21LDFLAGS = @LDFLAGS@
22LDFLAGS_GUI = @LDFLAGS_GUI@
23RESCOMP = @RESCOMP@
24SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 25SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
592cae95
VS
26SETFILE = @SETFILE@
27TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
28TOOLKIT = @TOOLKIT@
29TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30TOOLKIT_VERSION = @TOOLKIT_VERSION@
31srcdir = @srcdir@
32top_builddir = @top_builddir@
33top_srcdir = @top_srcdir@
e8482f24 34
592cae95 35### Variables: ###
3711412e 36
592cae95
VS
37LIBDIRNAME = $(top_builddir)lib
38MMBOARD_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
39 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
40 -I$(srcdir)/../../../samples -I$(srcdir)/../../include $(CXXFLAGS)
592cae95 41MMBOARD_OBJECTS = \
592cae95
VS
42 mmboard_mmboard.o \
43 mmboard_mmbman.o \
44 $(__mmboard___win32rc)
75a0a7b7 45WX_VERSION = 2.5.0
e8482f24 46
592cae95
VS
47### Conditionally set variables: ###
48
b328fad3
VS
49@COND_DEPS_TRACKING_0@CXXC = $(CXX)
50@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
592cae95
VS
51@COND_USE_GUI_0@PORTNAME = base
52@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
53@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
54@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
55@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
56@COND_UNICODE_1@WXUNICODEFLAG = u
57@COND_WXUNIV_1@WXUNIVNAME = univ
58@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
59@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
60@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
592cae95
VS
61@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
62@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
63@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
64@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
65@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
66@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
67@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
68@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
69@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
70@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
71@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
72@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
73@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
74@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
75@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
76@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
77@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
78COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 79 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
ab892b95 80 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -o \
b328fad3
VS
81 mmboard$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r \
82 sample.r
592cae95
VS
83@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
84@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
85@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
86COND_MONOLITHIC_0___WXLIB_CORE_p = \
87 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
88@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
89COND_MONOLITHIC_1___WXLIB_MONO_p = \
90 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
91@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
92@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
93@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
94@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
95@COND_PLATFORM_MAC_1@__mmboard___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
b328fad3
VS
96@COND_PLATFORM_MAC_1@__mmboard___mac_setfilecmd = \
97@COND_PLATFORM_MAC_1@ $(SETFILE) -a C mmboard$(EXEEXT)
592cae95 98@COND_PLATFORM_WIN32_1@__mmboard___win32rc = mmboard_mmboard_rc.o
ab892b95 99@COND_PLATFORM_MACOSX_1@__mmboard_bundle___depname = mmboard_bundle
592cae95
VS
100
101### Targets: ###
102
b328fad3 103all: mmboard$(EXEEXT) $(__mmboard_bundle___depname)
592cae95
VS
104
105clean:
ab892b95 106 rm -rf ./.deps ./.pch
592cae95 107 rm -f ./*.o
b328fad3 108 rm -f mmboard$(EXEEXT)
ab892b95 109 rm -rf mmboard.app
592cae95
VS
110
111distclean: clean
ab892b95 112 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
592cae95
VS
113
114install: all
115
116install-strip: install
117
b328fad3 118mmboard$(EXEEXT): $(MMBOARD_OBJECTS) $(__mmboard___win32rc)
9fd04dde 119 $(CXX) -o $@ $(MMBOARD_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia-2.5$(HOST_SUFFIX) $(EXTRALIBS_ESD) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI)
592cae95
VS
120 $(__mmboard___mac_rezcmd)
121 $(__mmboard___mac_setfilecmd)
ab892b95
VS
122 $(SAMPLES_RPATH_POSTLINK)
123
1c3a6972 124mmboard.app/Contents/PkgInfo: mmboard$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
ab892b95
VS
125 mkdir -p mmboard.app/Contents
126 mkdir -p mmboard.app/Contents/MacOS
127 mkdir -p mmboard.app/Contents/Resources
128
129
130 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
131 -e "s/EXECUTABLE/mmboard/" \
75a0a7b7 132 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
133 $(top_srcdir)/src/mac/Info.plist.in >mmboard.app/Contents/Info.plist
134
135
136 echo -n "APPL????" >mmboard.app/Contents/PkgInfo
137
138
b328fad3 139 ln -f mmboard$(EXEEXT) mmboard.app/Contents/MacOS/mmboard
ab892b95
VS
140
141
142 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc mmboard.app/Contents/Resources/mmboard.rsrc
143 ln -f $(top_srcdir)/src/mac/wxmac.icns mmboard.app/Contents/Resources/wxmac.icns
144
1c3a6972 145@COND_PLATFORM_MACOSX_1@mmboard_bundle: mmboard.app/Contents/PkgInfo
592cae95
VS
146
147mmboard_mmbman.o: $(srcdir)/mmbman.cpp
b328fad3 148 $(CXXC) -c -o $@ $(MMBOARD_CXXFLAGS) $<
592cae95
VS
149
150mmboard_mmboard.o: $(srcdir)/mmboard.cpp
b328fad3 151 $(CXXC) -c -o $@ $(MMBOARD_CXXFLAGS) $<
592cae95
VS
152
153mmboard_mmboard_rc.o: $(srcdir)/mmboard.rc
75a0a7b7 154 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include
592cae95 155
592cae95
VS
156uninstall:
157
158
159# Include dependency info, if present:
160@IF_GNU_MAKE@-include .deps/*.d
161
ab892b95 162.PHONY: all clean distclean install mmboard_bundle uninstall