]> git.saurik.com Git - wxWidgets.git/blame - samples/html/test/Makefile.in
fixed modal dialogs after event loop change
[wxWidgets.git] / samples / html / test / Makefile.in
CommitLineData
b1169abb
VS
1# =========================================================================
2# This makefile was generated by
bdc408c4 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
b1169abb
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
b1683d38 6
b1683d38 7
b1169abb 8@MAKE_SET@
b1683d38 9
b1169abb
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
b328fad3 16EXEEXT = @EXEEXT@
b1169abb 17EXTRALIBS = @EXTRALIBS@
6c974d0b 18EXTRALIBS_GUI = @EXTRALIBS_GUI@
250700e4 19HOST_SUFFIX = @HOST_SUFFIX@
b1169abb
VS
20LDFLAGS = @LDFLAGS@
21LDFLAGS_GUI = @LDFLAGS_GUI@
ec08d395 22NM = @NM@
b1169abb
VS
23RESCOMP = @RESCOMP@
24SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 25SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
b1169abb 26SETFILE = @SETFILE@
250700e4 27TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
b1169abb
VS
28TOOLKIT = @TOOLKIT@
29TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30TOOLKIT_VERSION = @TOOLKIT_VERSION@
31srcdir = @srcdir@
32top_builddir = @top_builddir@
33top_srcdir = @top_srcdir@
b1683d38 34
b1169abb 35### Variables: ###
b1683d38 36
e9877ed3 37LIBDIRNAME = $(top_builddir)lib
250700e4 38TEST_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
39 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
40 -I$(srcdir)/../../../samples $(CXXFLAGS)
e9877ed3
VS
41TEST_OBJECTS = \
42 test_test.o \
43 $(__test___win32rc)
ec08d395 44WX_VERSION = 2.5.1
b1683d38 45
b1169abb
VS
46### Conditionally set variables: ###
47
b328fad3
VS
48@COND_DEPS_TRACKING_0@CXXC = $(CXX)
49@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
b1169abb
VS
50@COND_USE_GUI_0@PORTNAME = base
51@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
52@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
076f10e0
VS
53@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
54@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
b1169abb
VS
55@COND_UNICODE_1@WXUNICODEFLAG = u
56@COND_WXUNIV_1@WXUNIVNAME = univ
57@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
58@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
59@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
bdc408c4
VS
60@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
61@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
e9877ed3
VS
62@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
63@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
64@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
65@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
66@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
e9877ed3
VS
67@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
68@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
69@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
70@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
71@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
e9877ed3
VS
72@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
73@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
74@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
75@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
76@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
e9877ed3 77COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 78 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
b328fad3 79 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -o test$(EXEEXT) Carbon.r \
ec08d395 80 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
e9877ed3 81@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
250700e4
RD
82@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
83@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
e9877ed3
VS
84COND_MONOLITHIC_0___WXLIB_CORE_p = \
85 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
86@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
87COND_MONOLITHIC_0___WXLIB_HTML_p = \
88 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
89@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
90COND_MONOLITHIC_1___WXLIB_MONO_p = \
91 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
92@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
93@COND_MONOLITHIC_0@__WXLIB_NET_p = \
94@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net-2.5$(HOST_SUFFIX)
b1169abb
VS
95@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
96@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
97@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
98@COND_PLATFORM_MAC_1@__test___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
b328fad3
VS
99@COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \
100@COND_PLATFORM_MAC_1@ $(SETFILE) -a C test$(EXEEXT)
ec08d395
JS
101COND_PLATFORM_OS2_1___test___os2_emxbindcmd = $(NM) test$(EXEEXT) | if grep -q \
102 pmwin.763 ; then emxbind -ep test$(EXEEXT) ; fi
103@COND_PLATFORM_OS2_1@__test___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___test___os2_emxbindcmd)
b1169abb 104@COND_PLATFORM_WIN32_1@__test___win32rc = test_test_rc.o
ab892b95 105@COND_PLATFORM_MACOSX_1@__test_bundle___depname = test_bundle
b1169abb
VS
106
107### Targets: ###
108
b328fad3 109all: test$(EXEEXT) $(__test_bundle___depname) data
b1169abb
VS
110
111clean:
ab892b95 112 rm -rf ./.deps ./.pch
e9877ed3 113 rm -f ./*.o
b328fad3 114 rm -f test$(EXEEXT)
ab892b95 115 rm -rf test.app
b1169abb
VS
116
117data:
118 @mkdir -p .
119 @for f in f.html fft.html imagemap.htm imagemap.png pic.png pic2.bmp tables.htm test.htm i18n.gif 8859_2.htm cp1250.htm regres.htm; do \
120 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
121 cp -pRf $(srcdir)/$$f . ; \
122 fi; \
123 done
124
125distclean: clean
ab892b95 126 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
b1169abb
VS
127
128install: all
129
130install-strip: install
131
b328fad3 132test$(EXEEXT): $(TEST_OBJECTS) $(__test___win32rc)
ec08d395 133 $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_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)
b1169abb
VS
134 $(__test___mac_rezcmd)
135 $(__test___mac_setfilecmd)
ec08d395 136 $(__test___os2_emxbindcmd)
ab892b95
VS
137 $(SAMPLES_RPATH_POSTLINK)
138
ec08d395 139test.app/Contents/PkgInfo: test$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
ab892b95
VS
140 mkdir -p test.app/Contents
141 mkdir -p test.app/Contents/MacOS
142 mkdir -p test.app/Contents/Resources
143
144
145 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
146 -e "s/EXECUTABLE/test/" \
75a0a7b7 147 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
148 $(top_srcdir)/src/mac/Info.plist.in >test.app/Contents/Info.plist
149
150
151 echo -n "APPL????" >test.app/Contents/PkgInfo
152
153
b328fad3 154 ln -f test$(EXEEXT) test.app/Contents/MacOS/test
ab892b95
VS
155
156
ec08d395 157 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc test.app/Contents/Resources/test.rsrc
ab892b95
VS
158 ln -f $(top_srcdir)/src/mac/wxmac.icns test.app/Contents/Resources/wxmac.icns
159
1c3a6972 160@COND_PLATFORM_MACOSX_1@test_bundle: test.app/Contents/PkgInfo
b1169abb
VS
161
162test_test.o: $(srcdir)/test.cpp
b328fad3 163 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
b1169abb
VS
164
165test_test_rc.o: $(srcdir)/test.rc
ec08d395 166 $(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
b1169abb
VS
167
168uninstall:
169
170
171# Include dependency info, if present:
172@IF_GNU_MAKE@-include .deps/*.d
173
ab892b95 174.PHONY: all clean data distclean install test_bundle uninstall