]> git.saurik.com Git - wxWidgets.git/blame - samples/dll/Makefile.in
Disable Unity global menu while native modal dialogs are shown in wxGTK.
[wxWidgets.git] / samples / dll / Makefile.in
CommitLineData
61aba460
VS
1# =========================================================================
2# This makefile was generated by
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)
61aba460
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12datarootdir = @datarootdir@
13INSTALL = @INSTALL@
14SHARED_LD_CXX = @SHARED_LD_CXX@
15LIBPREFIX = @LIBPREFIX@
16SO_SUFFIX = @SO_SUFFIX@
17DLLIMP_SUFFIX = @DLLIMP_SUFFIX@
18EXEEXT = @EXEEXT@
19WINDRES = @WINDRES@
20SETFILE = @SETFILE@
21PIC_FLAG = @PIC_FLAG@
22NM = @NM@
23BK_DEPS = @BK_DEPS@
24srcdir = @srcdir@
25top_srcdir = @top_srcdir@
26DLLPREFIX = @DLLPREFIX@
27LIBS = @LIBS@
28LDFLAGS_GUI = @LDFLAGS_GUI@
29CXX = @CXX@
30CXXFLAGS = @CXXFLAGS@
31CPPFLAGS = @CPPFLAGS@
32LDFLAGS = @LDFLAGS@
33WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
34TOOLKIT = @TOOLKIT@
35TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
36TOOLKIT_VERSION = @TOOLKIT_VERSION@
37TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
38EXTRALIBS = @EXTRALIBS@
51ec29ea 39EXTRALIBS_XML = @EXTRALIBS_XML@
61aba460
VS
40EXTRALIBS_GUI = @EXTRALIBS_GUI@
41CXXWARNINGS = @CXXWARNINGS@
42HOST_SUFFIX = @HOST_SUFFIX@
43SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
44wx_top_builddir = @wx_top_builddir@
45
46### Variables: ###
47
48DESTDIR =
49WX_RELEASE = 2.9
14b682f7 50WX_VERSION = $(WX_RELEASE).5
61aba460
VS
51LIBDIRNAME = $(wx_top_builddir)/lib
52MY_DLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
53 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
9f38fe4b
VZ
54 $(__DLLFLAG_p) -DMY_DLL_BUILDING -I$(srcdir) $(PIC_FLAG) $(CXXWARNINGS) \
55 $(CPPFLAGS) $(CXXFLAGS)
61aba460
VS
56MY_DLL_OBJECTS = \
57 my_dll_my_dll.o
58WX_EXE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
59 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
60 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
61 $(CPPFLAGS) $(CXXFLAGS)
62WX_EXE_OBJECTS = \
63 $(__wx_exe___win32rc) \
64 $(__wx_exe_os2_lib_res) \
1ffe64ef 65 wx_exe_wx_exe.o
4b59c898
VZ
66SDK_EXE_CXXFLAGS = $(CPPFLAGS) $(CXXFLAGS)
67SDK_EXE_OBJECTS = \
68 sdk_exe_sdk_exe.o
61aba460
VS
69
70### Conditionally set variables: ###
71
72@COND_DEPS_TRACKING_0@CXXC = $(CXX)
73@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
74@COND_USE_GUI_0@PORTNAME = base
75@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
76@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
77@COND_BUILD_debug@WXDEBUGFLAG = d
78@COND_UNICODE_1@WXUNICODEFLAG = u
79@COND_WXUNIV_1@WXUNIVNAME = univ
80@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
51ec29ea
VZ
81@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
82@COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
61aba460
VS
83@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
84@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
85@COND_PLATFORM_WIN32_1@__my_dll___depname = $(DLLPREFIX)my_dll.$(SO_SUFFIX)
86@COND_PLATFORM_OS2_1@__my_dll___importlib = -import \
87@COND_PLATFORM_OS2_1@ $(LIBPREFIX)my_dll.$(DLLIMP_SUFFIX)
88@COND_WINDOWS_IMPLIB_1@__my_dll___importlib = \
89@COND_WINDOWS_IMPLIB_1@ -Wl,--out-implib=$(LIBPREFIX)my_dll.$(DLLIMP_SUFFIX)
90@COND_PLATFORM_WIN32_1_SHARED_0@__wx_exe___depname = wx_exe$(EXEEXT)
91@COND_PLATFORM_MAC_0@__wx_exe___mac_setfilecmd = @true
92@COND_PLATFORM_MAC_1@__wx_exe___mac_setfilecmd = \
93@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL wx_exe$(EXEEXT)
94@COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = --define __WXUNIVERSAL__
95@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_4 = --define wxDEBUG_LEVEL=0
96@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_4 = --define wxNO_EXCEPTIONS
97@COND_USE_RTTI_0@__RTTI_DEFINE_p_4 = --define wxNO_RTTI
98@COND_USE_THREADS_0@__THREAD_DEFINE_p_4 = --define wxNO_THREADS
99@COND_SHARED_1@__DLLFLAG_p_4 = --define WXUSINGDLL
100COND_PLATFORM_OS2_1___wx_exe___os2_emxbindcmd = $(NM) wx_exe$(EXEEXT) | if grep \
101 -q pmwin.763 ; then emxbind -ep wx_exe$(EXEEXT) ; fi
102@COND_PLATFORM_OS2_1@__wx_exe___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wx_exe___os2_emxbindcmd)
103@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
104@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
105@COND_PLATFORM_WIN32_1@__wx_exe___win32rc = wx_exe_sample_rc.o
106@COND_PLATFORM_OS2_1@__wx_exe_os2_lib_res = \
107@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
108@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@__wx_exe_app_Contents_PkgInfo___depname \
109@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ = \
110@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ wx_exe.app/Contents/PkgInfo
111@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@__wx_exe_bundle___depname \
112@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ = wx_exe_bundle
113@COND_TOOLKIT_MAC@____wx_exe_BUNDLE_TGT_REF_DEP = \
114@COND_TOOLKIT_MAC@ $(__wx_exe_app_Contents_PkgInfo___depname)
115@COND_TOOLKIT_OSX_CARBON@____wx_exe_BUNDLE_TGT_REF_DEP \
116@COND_TOOLKIT_OSX_CARBON@ = $(__wx_exe_app_Contents_PkgInfo___depname)
117@COND_TOOLKIT_OSX_COCOA@____wx_exe_BUNDLE_TGT_REF_DEP \
118@COND_TOOLKIT_OSX_COCOA@ = $(__wx_exe_app_Contents_PkgInfo___depname)
119@COND_TOOLKIT_OSX_IPHONE@____wx_exe_BUNDLE_TGT_REF_DEP \
120@COND_TOOLKIT_OSX_IPHONE@ = $(__wx_exe_app_Contents_PkgInfo___depname)
121@COND_TOOLKIT_COCOA@____wx_exe_BUNDLE_TGT_REF_DEP = \
122@COND_TOOLKIT_COCOA@ $(__wx_exe_app_Contents_PkgInfo___depname)
4b59c898
VZ
123@COND_PLATFORM_WIN32_1@__sdk_exe___depname = sdk_exe$(EXEEXT)
124@COND_PLATFORM_MAC_0@__sdk_exe___mac_setfilecmd = @true
125@COND_PLATFORM_MAC_1@__sdk_exe___mac_setfilecmd = \
126@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL sdk_exe$(EXEEXT)
127COND_PLATFORM_OS2_1___sdk_exe___os2_emxbindcmd = $(NM) sdk_exe$(EXEEXT) | if \
128 grep -q pmwin.763 ; then emxbind -ep sdk_exe$(EXEEXT) ; fi
129@COND_PLATFORM_OS2_1@__sdk_exe___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___sdk_exe___os2_emxbindcmd)
61aba460
VS
130@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
131@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
132@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
133@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
134@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
135@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
136COND_MONOLITHIC_0___WXLIB_CORE_p = \
137 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
138@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
139COND_MONOLITHIC_0___WXLIB_BASE_p = \
140 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
141@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
142COND_MONOLITHIC_1___WXLIB_MONO_p = \
143 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
144@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
145@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
146@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
147@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
148@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
149@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
150@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
151@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
152@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
153@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
154@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
155@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
156COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
157 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
158@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
159@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
160@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
161
162### Targets: ###
163
4b59c898 164all: $(__my_dll___depname) $(__wx_exe___depname) $(__wx_exe_bundle___depname) $(__sdk_exe___depname)
61aba460
VS
165
166install:
167
168uninstall:
169
170install-strip: install
171
172clean:
173 rm -rf ./.deps ./.pch
174 rm -f ./*.o
175 rm -f $(DLLPREFIX)my_dll.$(SO_SUFFIX)
176 rm -f $(LIBPREFIX)my_dll.$(DLLIMP_SUFFIX)
177 rm -f wx_exe$(EXEEXT)
178 rm -rf wx_exe.app
4b59c898 179 rm -f sdk_exe$(EXEEXT)
61aba460
VS
180
181distclean: clean
182 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
183
184@COND_PLATFORM_WIN32_1@$(DLLPREFIX)my_dll.$(SO_SUFFIX): $(MY_DLL_OBJECTS)
22a3b6e4 185@COND_PLATFORM_WIN32_1@ $(SHARED_LD_CXX) $@ $(MY_DLL_OBJECTS) $(__my_dll___importlib) -L$(LIBDIRNAME) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
61aba460
VS
186
187@COND_PLATFORM_WIN32_1_SHARED_0@wx_exe$(EXEEXT): $(WX_EXE_OBJECTS) $(__wx_exe___win32rc) $(__my_dll___depname)
22a3b6e4 188@COND_PLATFORM_WIN32_1_SHARED_0@ $(CXX) -o $@ $(WX_EXE_OBJECTS) -L. -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) -lmy_dll $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
61aba460
VS
189@COND_PLATFORM_WIN32_1_SHARED_0@
190@COND_PLATFORM_WIN32_1_SHARED_0@ $(__wx_exe___mac_setfilecmd)
191@COND_PLATFORM_WIN32_1_SHARED_0@ $(__wx_exe___os2_emxbindcmd)
192
193@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@wx_exe.app/Contents/PkgInfo: $(__wx_exe___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
194@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ mkdir -p wx_exe.app/Contents
195@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ mkdir -p wx_exe.app/Contents/MacOS
196@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ mkdir -p wx_exe.app/Contents/Resources
197@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
198@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
199@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
200@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ -e "s/EXECUTABLE/wx_exe/" \
201@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ -e "s/VERSION/$(WX_VERSION)/" \
202@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ $(top_srcdir)/src/osx/carbon/Info.plist.in >wx_exe.app/Contents/Info.plist
203@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
204@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
b02dd122 205@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ /bin/echo "APPL????" >wx_exe.app/Contents/PkgInfo
61aba460
VS
206@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
207@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
208@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ ln -f wx_exe$(EXEEXT) wx_exe.app/Contents/MacOS/wx_exe
209@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
210@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@
211@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns wx_exe.app/Contents/Resources/wxmac.icns
212
213@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@wx_exe_bundle: $(____wx_exe_BUNDLE_TGT_REF_DEP)
214
4b59c898 215@COND_PLATFORM_WIN32_1@sdk_exe$(EXEEXT): $(SDK_EXE_OBJECTS) $(__my_dll___depname)
da8b1d4b
KO
216@COND_PLATFORM_WIN32_1@ $(CXX) -o $@ $(SDK_EXE_OBJECTS) -L. $(LDFLAGS_GUI) $(LDFLAGS) -lmy_dll -luser32 $(LIBS)
217@COND_PLATFORM_WIN32_1@
4b59c898
VZ
218@COND_PLATFORM_WIN32_1@ $(__sdk_exe___mac_setfilecmd)
219@COND_PLATFORM_WIN32_1@ $(__sdk_exe___os2_emxbindcmd)
220
61aba460
VS
221my_dll_my_dll.o: $(srcdir)/my_dll.cpp
222 $(CXXC) -c -o $@ $(MY_DLL_CXXFLAGS) $(srcdir)/my_dll.cpp
223
224wx_exe_sample_rc.o: $(srcdir)/../../samples/sample.rc
da8b1d4b 225 $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) $(__DEBUG_DEFINE_p_4) $(__EXCEPTIONS_DEFINE_p_4) $(__RTTI_DEFINE_p_4) $(__THREAD_DEFINE_p_4) --include-dir $(srcdir) $(__DLLFLAG_p_4) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
61aba460 226
1ffe64ef
VZ
227wx_exe_wx_exe.o: $(srcdir)/wx_exe.cpp
228 $(CXXC) -c -o $@ $(WX_EXE_CXXFLAGS) $(srcdir)/wx_exe.cpp
61aba460 229
4b59c898
VZ
230sdk_exe_sdk_exe.o: $(srcdir)/sdk_exe.cpp
231 $(CXXC) -c -o $@ $(SDK_EXE_CXXFLAGS) $(srcdir)/sdk_exe.cpp
232
61aba460
VS
233
234# Include dependency info, if present:
235@IF_GNU_MAKE@-include ./.deps/*.d
236
237.PHONY: all install uninstall clean distclean wx_exe_bundle