]> git.saurik.com Git - wxWidgets.git/blob - samples/richedit/Makefile.in
184f3cb62e834bc17f3b36bea9d76d51bab0f8e4
[wxWidgets.git] / samples / richedit / Makefile.in
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 # =========================================================================
6
7
8 @MAKE_SET@
9
10 prefix = @prefix@
11 exec_prefix = @exec_prefix@
12 INSTALL = @INSTALL@
13 CPPFLAGS = @CPPFLAGS@
14 CXX = @CXX@
15 CXXFLAGS = @CXXFLAGS@
16 EXTRALIBS = @EXTRALIBS@
17 EXTRALIBS_GUI = @EXTRALIBS_GUI@
18 HOST_SUFFIX = @HOST_SUFFIX@
19 LDFLAGS = @LDFLAGS@
20 LDFLAGS_GUI = @LDFLAGS_GUI@
21 RESCOMP = @RESCOMP@
22 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
23 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
24 SETFILE = @SETFILE@
25 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
26 TOOLKIT = @TOOLKIT@
27 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28 TOOLKIT_VERSION = @TOOLKIT_VERSION@
29 srcdir = @srcdir@
30 top_builddir = @top_builddir@
31 top_srcdir = @top_srcdir@
32
33 ### Variables: ###
34
35 LIBDIRNAME = $(top_builddir)lib
36 RICHEDIT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
37 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
38 -I$(srcdir)/../../samples $(CXXFLAGS)
39 RICHEDIT_OBJECTS = \
40 $(__richedit___win32rc) \
41 richedit_wxLayout.o \
42 richedit_kbList.o \
43 richedit_wxllist.o \
44 richedit_wxlparser.o \
45 richedit_wxlwindow.o
46 WX_VERSION = 2.5.0
47
48 ### Conditionally set variables: ###
49
50 @COND_USE_GUI_0@PORTNAME = base
51 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
52 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
53 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
54 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
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
60 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
61 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
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)
65 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
66 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
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)
70 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
71 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
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)
75 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
76 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
77 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
78 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
79 $(__DLLFLAG_p_1) -i $(srcdir)/../../samples -o richedit Carbon.r \
80 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
81 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
82 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
83 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
84 COND_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)
87 COND_MONOLITHIC_1___WXLIB_MONO_p = \
88 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
89 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
90 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
91 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
92 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
93 @COND_PLATFORM_MAC_1@__richedit___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
94 @COND_PLATFORM_MAC_1@__richedit___mac_setfilecmd = $(SETFILE) -a C richedit
95 @COND_PLATFORM_WIN32_1@__richedit___win32rc = richedit_sample_rc.o
96 @COND_PLATFORM_MACOSX_1@__richedit_bundle___depname = richedit_bundle
97
98 ### Targets: ###
99
100 all: richedit $(__richedit_bundle___depname)
101
102 clean:
103 rm -rf ./.deps ./.pch
104 rm -f ./*.o
105 rm -f richedit
106 rm -rf richedit.app
107
108 distclean: clean
109 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
110
111 install: all
112
113 install-strip: install
114
115 richedit: $(RICHEDIT_OBJECTS) $(__richedit___win32rc)
116 $(CXX) -o $@ $(RICHEDIT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__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)
117 $(__richedit___mac_rezcmd)
118 $(__richedit___mac_setfilecmd)
119 $(SAMPLES_RPATH_POSTLINK)
120
121 richedit.app/Contents: richedit $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
122 mkdir -p richedit.app/Contents
123 mkdir -p richedit.app/Contents/MacOS
124 mkdir -p richedit.app/Contents/Resources
125
126
127 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
128 -e "s/EXECUTABLE/richedit/" \
129 -e "s/VERSION/$(WX_VERSION)/" \
130 $(top_srcdir)/src/mac/Info.plist.in >richedit.app/Contents/Info.plist
131
132
133 echo -n "APPL????" >richedit.app/Contents/PkgInfo
134
135
136 ln -f richedit richedit.app/Contents/MacOS/richedit
137
138
139 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc richedit.app/Contents/Resources/richedit.rsrc
140 ln -f $(top_srcdir)/src/mac/wxmac.icns richedit.app/Contents/Resources/wxmac.icns
141
142 @COND_PLATFORM_MACOSX_1@richedit_bundle: richedit.app/Contents
143
144 richedit_kbList.o: $(srcdir)/kbList.cpp
145 $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $<
146
147 richedit_sample_rc.o: $(srcdir)/../../samples/sample.rc
148 $(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
149
150 richedit_wxLayout.o: $(srcdir)/wxLayout.cpp
151 $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $<
152
153 richedit_wxllist.o: $(srcdir)/wxllist.cpp
154 $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $<
155
156 richedit_wxlparser.o: $(srcdir)/wxlparser.cpp
157 $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $<
158
159 richedit_wxlwindow.o: $(srcdir)/wxlwindow.cpp
160 $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $<
161
162 uninstall:
163
164
165 # Include dependency info, if present:
166 @IF_GNU_MAKE@-include .deps/*.d
167
168 .PHONY: all clean distclean install richedit_bundle uninstall