]>
Commit | Line | Data |
---|---|---|
c74caa09 MB |
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 | EXEEXT = @EXEEXT@ | |
17 | EXTRALIBS = @EXTRALIBS@ | |
18 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
19 | EXTRALIBS_XML = @EXTRALIBS_XML@ | |
20 | HOST_SUFFIX = @HOST_SUFFIX@ | |
21 | INSTALL_DIR = @INSTALL_DIR@ | |
22 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
23 | LDFLAGS = @LDFLAGS@ | |
24 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
25 | RESCOMP = @RESCOMP@ | |
26 | SETFILE = @SETFILE@ | |
27 | STRIP = @STRIP@ | |
28 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ | |
29 | TOOLKIT = @TOOLKIT@ | |
30 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
31 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
32 | bindir = @bindir@ | |
33 | srcdir = @srcdir@ | |
34 | top_builddir = @top_builddir@ | |
35 | top_srcdir = @top_srcdir@ | |
36 | ||
37 | ### Variables: ### | |
38 | ||
39 | LIBDIRNAME = $(top_builddir)lib | |
40 | WXRCEDIT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
41 | -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \ | |
42 | -I$(srcdir)/../../../samples -I$(srcdir)/../../include $(CXXFLAGS) | |
43 | WXRCEDIT_OBJECTS = \ | |
44 | wxrcedit_edapp.o \ | |
45 | wxrcedit_editor.o \ | |
46 | wxrcedit_nodehnd.o \ | |
47 | wxrcedit_nodesdb.o \ | |
48 | wxrcedit_pe_adv.o \ | |
49 | wxrcedit_pe_basic.o \ | |
50 | wxrcedit_preview.o \ | |
51 | wxrcedit_propedit.o \ | |
52 | wxrcedit_propframe.o \ | |
53 | wxrcedit_splittree.o \ | |
54 | wxrcedit_xmlhelpr.o \ | |
55 | $(__wxrcedit___win32rc) | |
56 | ||
57 | ### Conditionally set variables: ### | |
58 | ||
59 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
60 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
61 | @COND_USE_GUI_0@PORTNAME = base | |
62 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
63 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
64 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
65 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
66 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
67 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
68 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
69 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
70 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
71 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
72 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
73 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ | |
74 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
75 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
76 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ | |
77 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
78 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ | |
79 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
80 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
81 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ | |
82 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
83 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
84 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
85 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
86 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
87 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
88 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
89 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \ | |
90 | $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -o \ | |
91 | wxrcedit$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r \ | |
92 | sample.r | |
93 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) | |
94 | COND_MONOLITHIC_0___WXLIB_ADV_p = \ | |
95 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv-2.5$(HOST_SUFFIX) | |
96 | @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p) | |
97 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ | |
98 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
99 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
100 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX) | |
101 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
102 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
103 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX) | |
104 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) | |
105 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
106 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
107 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
108 | @COND_MONOLITHIC_0@__WXLIB_XML_p = \ | |
109 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml-2.5$(HOST_SUFFIX) | |
110 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
111 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
112 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
113 | @COND_PLATFORM_MAC_1@__wxrcedit___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
114 | @COND_PLATFORM_MAC_1@__wxrcedit___mac_setfilecmd = \ | |
115 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C wxrcedit$(EXEEXT) | |
116 | @COND_PLATFORM_WIN32_1@__wxrcedit___win32rc = wxrcedit_wxrcedit_rc.o | |
117 | ||
118 | ### Targets: ### | |
119 | ||
120 | all: wxrcedit$(EXEEXT) | |
121 | ||
122 | clean: | |
123 | rm -rf ./.deps ./.pch | |
124 | rm -f ./*.o | |
125 | rm -f wxrcedit$(EXEEXT) | |
126 | ||
127 | distclean: clean | |
128 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
129 | ||
130 | install: all install_wxrcedit | |
131 | ||
132 | install-strip: install | |
133 | $(STRIP) $(bindir)/wxrcedit$(EXEEXT) | |
134 | ||
135 | install_wxrcedit: | |
136 | $(INSTALL_DIR) $(bindir) | |
137 | $(INSTALL_PROGRAM) wxrcedit$(EXEEXT) $(bindir) | |
138 | ||
139 | uninstall: | |
140 | ||
141 | wxrcedit$(EXEEXT): $(WXRCEDIT_OBJECTS) $(__wxrcedit___win32rc) | |
142 | $(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) $(__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) | |
143 | $(__wxrcedit___mac_rezcmd) | |
144 | $(__wxrcedit___mac_setfilecmd) | |
145 | ||
146 | wxrcedit_edapp.o: $(srcdir)/edapp.cpp | |
147 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
148 | ||
149 | wxrcedit_editor.o: $(srcdir)/editor.cpp | |
150 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
151 | ||
152 | wxrcedit_nodehnd.o: $(srcdir)/nodehnd.cpp | |
153 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
154 | ||
155 | wxrcedit_nodesdb.o: $(srcdir)/nodesdb.cpp | |
156 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
157 | ||
158 | wxrcedit_pe_adv.o: $(srcdir)/pe_adv.cpp | |
159 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
160 | ||
161 | wxrcedit_pe_basic.o: $(srcdir)/pe_basic.cpp | |
162 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
163 | ||
164 | wxrcedit_preview.o: $(srcdir)/preview.cpp | |
165 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
166 | ||
167 | wxrcedit_propedit.o: $(srcdir)/propedit.cpp | |
168 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
169 | ||
170 | wxrcedit_propframe.o: $(srcdir)/propframe.cpp | |
171 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
172 | ||
173 | wxrcedit_splittree.o: $(srcdir)/splittree.cpp | |
174 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
175 | ||
176 | wxrcedit_wxrcedit_rc.o: $(srcdir)/wxrcedit.rc | |
177 | $(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 --include-dir $(srcdir)/../../include | |
178 | ||
179 | wxrcedit_xmlhelpr.o: $(srcdir)/xmlhelpr.cpp | |
180 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
181 | ||
182 | ||
183 | # Include dependency info, if present: | |
184 | @IF_GNU_MAKE@-include .deps/*.d | |
185 | ||
186 | .PHONY: all clean distclean install install_wxrcedit uninstall |