]> git.saurik.com Git - wxWidgets.git/blame - samples/image/Makefile.in
quick fix for Unix build (upper cased builtin, this should be done in bakefiles,...
[wxWidgets.git] / samples / image / Makefile.in
CommitLineData
cbd63f42
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# =========================================================================
ee4c6942 6
a8efa9e3 7
cbd63f42 8@MAKE_SET@
549c6f67 9
3af038c0
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
cbd63f42 12CPPFLAGS = @CPPFLAGS@
3af038c0 13CXX = @CXX@
cbd63f42 14CXXFLAGS = @CXXFLAGS@
cbd63f42 15EXEEXT = @EXEEXT@
cbd63f42 16EXTRALIBS = @EXTRALIBS@
fcf61db4 17LDFLAGS = @LDFLAGS@
fcf61db4 18LDFLAGS_GUI = @LDFLAGS_GUI@
3af038c0
VS
19RESCOMP = @RESCOMP@
20SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
21SETFILE = @SETFILE@
22TOOLKIT = @TOOLKIT@
cbd63f42 23TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
fcf61db4 24TOOLKIT_VERSION = @TOOLKIT_VERSION@
3af038c0 25srcdir = @srcdir@
cbd63f42 26top_builddir = @top_builddir@
3af038c0 27top_srcdir = @top_srcdir@
ee4c6942 28
fcf61db4
VS
29### Variables: ###
30
3af038c0 31IMAGE_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) -I$(srcdir) $(__DLLFLAG_p) $(CXXFLAGS)
fcf61db4 32
cbd63f42 33### Conditionally set variables: ###
ee4c6942 34
fcf61db4 35@COND_DEPS_TRACKING_0@CXXC = $(CXX)
3af038c0
VS
36@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
37@COND_USE_GUI_0@PORTNAME = base
38@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
0706fb23 39@COND_BUILD_debug@WXDEBUGFLAG = d
3af038c0 40@COND_UNICODE_1@WXUNICODEFLAG = u
fcf61db4 41@COND_WXUNIV_1@WXUNIVNAME = univ
3af038c0 42@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
fcf61db4 43@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
fcf61db4 44@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
0706fb23
VS
45@COND_WXUSE_LIBJPEG_builtin@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
46@COND_WXUSE_LIBJPEG_builtin@__INC_JPEG_p_1 = -i $(top_srcdir)/src/jpeg
47@COND_WXUSE_LIBJPEG_builtin@__INC_JPEG_p_2 = --include-dir $(top_srcdir)/src/jpeg
48@COND_WXUSE_ODBC_builtin@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
49@COND_WXUSE_ODBC_builtin@__INC_ODBC_p_1 = -i $(top_srcdir)/src/odbc
50@COND_WXUSE_ODBC_builtin@__INC_ODBC_p_2 = --include-dir $(top_srcdir)/src/odbc
51@COND_WXUSE_LIBPNG_builtin@__INC_PNG_p = -I$(top_srcdir)/src/png
52@COND_WXUSE_LIBPNG_builtin@__INC_PNG_p_1 = -i $(top_srcdir)/src/png
53@COND_WXUSE_LIBPNG_builtin@__INC_PNG_p_2 = --include-dir $(top_srcdir)/src/png
54@COND_WXUSE_REGEX_builtin@__INC_REGEX_p = -I$(top_srcdir)/src/regex
55@COND_WXUSE_REGEX_builtin@__INC_REGEX_p_1 = -i $(top_srcdir)/src/regex
56@COND_WXUSE_REGEX_builtin@__INC_REGEX_p_2 = --include-dir $(top_srcdir)/src/regex
57@COND_WXUSE_LIBTIFF_builtin@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
58@COND_WXUSE_LIBTIFF_builtin@__INC_TIFF_p_1 = -i $(top_srcdir)/src/tiff
59@COND_WXUSE_LIBTIFF_builtin@__INC_TIFF_p_2 = --include-dir $(top_srcdir)/src/tiff
60@COND_WXUSE_ZLIB_builtin@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
61@COND_WXUSE_ZLIB_builtin@__INC_ZLIB_p_1 = -i $(top_srcdir)/src/zlib
62@COND_WXUSE_ZLIB_builtin@__INC_ZLIB_p_2 = --include-dir $(top_srcdir)/src/zlib
63@COND_WXUSE_LIBJPEG_builtin@__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
64@COND_WXUSE_ODBC_builtin@__LIB_ODBC_p = -lwxodbc$(WXDEBUGFLAG)
65@COND_WXUSE_LIBPNG_builtin@__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
66@COND_WXUSE_REGEX_builtin@__LIB_REGEX_p = -lwxregex$(WXDEBUGFLAG)
67@COND_WXUSE_LIBTIFF_builtin@__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
68@COND_WXUSE_ZLIB_builtin@__LIB_ZLIB_p = -lwxzlib$(WXDEBUGFLAG)
3af038c0 69@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include $(__INC_TIFF_p_1) $(__INC_JPEG_p_1) $(__INC_PNG_p_1) $(__INC_ZLIB_p_1) $(__INC_ODBC_p_1) $(__INC_REGEX_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -o image$(EXEEXT) Carbon.r $(top_builddir)lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r
0706fb23 70@COND_MONOLITHIC_0@__WXLIB_BASE_p = -lwx_base$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5
3af038c0
VS
71@COND_MONOLITHIC_0@__WXLIB_CORE_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5
72@COND_MONOLITHIC_1@__WXLIB_MONO_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5
73@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
9747f85d 74@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
fcf61db4 75@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
3af038c0
VS
76@COND_PLATFORM_MAC_1@__image___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
77@COND_PLATFORM_MAC_1@__image___mac_setfilecmd = $(SETFILE) -a C image$(EXEEXT)
78@COND_PLATFORM_WIN32_1@__image___win32rc = image_image_rc.o
ee4c6942 79
cbd63f42
VS
80### Targets: ###
81
82all: image$(EXEEXT) data
83
cbd63f42 84clean:
fcf61db4
VS
85 rm -rf ./.deps
86 rm -f -f ./*.o
cbd63f42
VS
87 rm -f image$(EXEEXT)
88 rm -f ./horse.png ./horse.jpg ./horse.bmp ./horse.gif ./horse.pcx ./horse.pnm ./horse.tif ./horse.xpm ./horse.cur ./horse.ico ./horse3.ani ./smile.xbm
89
cbd63f42
VS
90data:
91 @mkdir -p .
92 @for f in horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse.tif horse.xpm horse.cur horse.ico horse3.ani smile.xbm; do \
93 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
94 cp -pRf $(srcdir)/$$f . ; \
95 fi; \
96 done
97
3af038c0
VS
98distclean: clean
99 rm -f configure config.cache config.log config.status
100 rm -f bk-deps shared-ld-sh
fcf61db4 101
3af038c0
VS
102image$(EXEEXT): image_image.o $(__image___win32rc)
103 $(CXX) -o $@ image_image.o $(__image___win32rc) $(LDFLAGS) -L$(top_builddir)lib $(SAMPLES_RPATH_FLAG) $(LDFLAGS_GUI) $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(EXTRALIBS)
49b0a3aa
VS
104 $(__image___mac_rezcmd)
105 $(__image___mac_setfilecmd)
106
3af038c0
VS
107image_image.o: $(srcdir)/image.cpp
108 $(CXXC) -c -o $@ $(IMAGE_CXXFLAGS) $<
109
110image_image_rc.o: $(srcdir)/image.rc
111 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_2) $(__INC_JPEG_p_2) $(__INC_PNG_p_2) $(__INC_ZLIB_p_2) $(__INC_ODBC_p_2) $(__INC_REGEX_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2)
112
113install: all
114
115install-strip: install
116
117uninstall:
118
cbd63f42
VS
119
120# Include dependency info, if present:
49b0a3aa 121@IF_GNU_MAKE@-include .deps/*.d
cbd63f42
VS
122
123.PHONY: all