1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 exec_prefix = @exec_prefix@
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@
19 INSTALL_DIR = @INSTALL_DIR@
21 top_srcdir = @top_srcdir@
22 top_builddir = @top_builddir@
24 LDFLAGS_GUI = @LDFLAGS_GUI@
30 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
31 TOOLKIT_VERSION = @TOOLKIT_VERSION@
32 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
33 EXTRALIBS = @EXTRALIBS@
34 EXTRALIBS_XML = @EXTRALIBS_XML@
35 EXTRALIBS_HTML = @EXTRALIBS_HTML@
36 EXTRALIBS_GUI = @EXTRALIBS_GUI@
37 EXTRALIBS_SDL = @EXTRALIBS_SDL@
38 HOST_SUFFIX = @HOST_SUFFIX@
43 LIBDIRNAME = $(top_builddir)lib
44 WXRCEDIT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
45 $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \
46 $(CPPFLAGS) $(CXXFLAGS)
48 $(__wxrcedit_os2_lib_res) \
57 wxrcedit_propframe.o \
58 wxrcedit_splittree.o \
60 $(__wxrcedit___win32rc)
62 ### Conditionally set variables: ###
64 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
65 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
66 @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
67 @COND_USE_GUI_0@PORTNAME = base
68 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
69 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
70 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
71 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
72 @COND_UNICODE_1@WXUNICODEFLAG = u
73 @COND_WXUNIV_1@WXUNIVNAME = univ
74 @COND_PLATFORM_MAC_1@__wxrcedit___mac_setfilecmd = \
75 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C wxrcedit$(EXEEXT)
76 @COND_PLATFORM_MAC_1@__wxrcedit___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
77 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
78 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
79 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
80 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
81 @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
82 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
83 COND_PLATFORM_OS2_1___wxrcedit___os2_emxbindcmd = $(NM) wxrcedit$(EXEEXT) | if \
84 grep -q pmwin.763 ; then emxbind -ep wxrcedit$(EXEEXT) ; fi
85 @COND_PLATFORM_OS2_1@__wxrcedit___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wxrcedit___os2_emxbindcmd)
86 @COND_PLATFORM_OS2_1@__wxrcedit_os2_lib_res = \
87 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
88 COND_MONOLITHIC_0___WXLIB_ADV_p = \
89 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv-2.5$(HOST_SUFFIX)
90 @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
91 COND_MONOLITHIC_0___WXLIB_HTML_p = \
92 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
93 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
94 COND_MONOLITHIC_0___WXLIB_CORE_p = \
95 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
96 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
97 @COND_MONOLITHIC_0@__WXLIB_XML_p = \
98 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml-2.5$(HOST_SUFFIX)
99 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
100 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
101 @COND_PLATFORM_WIN32_1@__wxrcedit___win32rc = wxrcedit_wxrcedit_rc.o
102 COND_MONOLITHIC_1___WXLIB_MONO_p = \
103 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
104 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
105 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
106 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
107 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
108 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
109 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
110 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
111 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
112 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
113 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
114 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
115 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
116 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
117 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
118 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
119 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
120 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
121 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
122 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
123 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
124 $(srcdir)/../../../samples -i $(top_srcdir)/include -i \
125 $(srcdir)/../../include -o wxrcedit$(EXEEXT) Carbon.r \
126 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
127 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
131 all: wxrcedit$(EXEEXT)
133 install: all install_wxrcedit
137 install-strip: install
138 $(STRIP) $(DESTDIR)$(bindir)/wxrcedit$(EXEEXT)
141 rm -rf ./.deps ./.pch
143 rm -f wxrcedit$(EXEEXT)
146 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
148 wxrcedit$(EXEEXT): $(WXRCEDIT_OBJECTS) $(__wxrcedit___win32rc)
149 $(CXX) -o $@ $(WXRCEDIT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_BASE_p) $(EXTRALIBS_XML) $(__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)
150 $(__wxrcedit___mac_rezcmd)
151 $(__wxrcedit___mac_setfilecmd)
152 $(__wxrcedit___os2_emxbindcmd)
155 $(INSTALL_DIR) $(DESTDIR)$(bindir)
156 $(INSTALL_PROGRAM) wxrcedit$(EXEEXT) $(DESTDIR)$(bindir)
158 wxrcedit_edapp.o: $(srcdir)/edapp.cpp
159 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
161 wxrcedit_editor.o: $(srcdir)/editor.cpp
162 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
164 wxrcedit_nodehnd.o: $(srcdir)/nodehnd.cpp
165 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
167 wxrcedit_nodesdb.o: $(srcdir)/nodesdb.cpp
168 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
170 wxrcedit_pe_adv.o: $(srcdir)/pe_adv.cpp
171 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
173 wxrcedit_pe_basic.o: $(srcdir)/pe_basic.cpp
174 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
176 wxrcedit_preview.o: $(srcdir)/preview.cpp
177 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
179 wxrcedit_propedit.o: $(srcdir)/propedit.cpp
180 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
182 wxrcedit_propframe.o: $(srcdir)/propframe.cpp
183 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
185 wxrcedit_splittree.o: $(srcdir)/splittree.cpp
186 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
188 wxrcedit_xmlhelpr.o: $(srcdir)/xmlhelpr.cpp
189 $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
191 wxrcedit_wxrcedit_rc.o: $(srcdir)/wxrcedit.rc
192 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples --include-dir $(top_srcdir)/include --include-dir $(srcdir)/../../include
195 # Include dependency info, if present:
196 @IF_GNU_MAKE@-include .deps/*.d
198 .PHONY: all install uninstall clean distclean install_wxrcedit