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