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