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