]>
Commit | Line | Data |
---|---|---|
c74caa09 MB |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c3255f5f | 3 | # Bakefile 0.1.3 (http://bakefile.sourceforge.net) |
c74caa09 MB |
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@ | |
c74caa09 | 13 | EXEEXT = @EXEEXT@ |
c74caa09 MB |
14 | RESCOMP = @RESCOMP@ |
15 | SETFILE = @SETFILE@ | |
16 | STRIP = @STRIP@ | |
b17c1746 DE |
17 | NM = @NM@ |
18 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
19 | INSTALL_DIR = @INSTALL_DIR@ | |
20 | srcdir = @srcdir@ | |
21 | top_srcdir = @top_srcdir@ | |
22 | top_builddir = @top_builddir@ | |
23 | bindir = @bindir@ | |
24 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
25 | CXX = @CXX@ | |
26 | CXXFLAGS = @CXXFLAGS@ | |
27 | CPPFLAGS = @CPPFLAGS@ | |
28 | LDFLAGS = @LDFLAGS@ | |
c74caa09 MB |
29 | TOOLKIT = @TOOLKIT@ |
30 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
31 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
b17c1746 DE |
32 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
33 | EXTRALIBS = @EXTRALIBS@ | |
34 | EXTRALIBS_XML = @EXTRALIBS_XML@ | |
35 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
36 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
078c7a59 | 37 | EXTRALIBS_SDL = @EXTRALIBS_SDL@ |
b17c1746 | 38 | HOST_SUFFIX = @HOST_SUFFIX@ |
c74caa09 MB |
39 | |
40 | ### Variables: ### | |
41 | ||
a4ad36cd | 42 | DESTDIR = |
c74caa09 | 43 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
44 | WXRCEDIT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
45 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
46 | $(CPPFLAGS) $(CXXFLAGS) | |
c74caa09 | 47 | WXRCEDIT_OBJECTS = \ |
a4ad36cd | 48 | $(__wxrcedit_os2_lib_res) \ |
c74caa09 MB |
49 | wxrcedit_edapp.o \ |
50 | wxrcedit_editor.o \ | |
51 | wxrcedit_nodehnd.o \ | |
52 | wxrcedit_nodesdb.o \ | |
53 | wxrcedit_pe_adv.o \ | |
54 | wxrcedit_pe_basic.o \ | |
55 | wxrcedit_preview.o \ | |
56 | wxrcedit_propedit.o \ | |
57 | wxrcedit_propframe.o \ | |
58 | wxrcedit_splittree.o \ | |
59 | wxrcedit_xmlhelpr.o \ | |
60 | $(__wxrcedit___win32rc) | |
61 | ||
62 | ### Conditionally set variables: ### | |
63 | ||
64 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
65 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
078c7a59 | 66 | @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) |
c74caa09 MB |
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 | |
b17c1746 DE |
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__ | |
c74caa09 MB |
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 | |
b17c1746 DE |
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) | |
c74caa09 MB |
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) | |
c74caa09 MB |
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) | |
c74caa09 MB |
114 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
115 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
b17c1746 DE |
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) | |
c74caa09 | 122 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
9bfe7ad9 | 123 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ |
c3255f5f DE |
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 | |
c74caa09 | 127 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
c74caa09 MB |
128 | |
129 | ### Targets: ### | |
130 | ||
131 | all: wxrcedit$(EXEEXT) | |
132 | ||
b17c1746 DE |
133 | install: all install_wxrcedit |
134 | ||
135 | uninstall: | |
136 | ||
137 | install-strip: install | |
138 | $(STRIP) $(DESTDIR)$(bindir)/wxrcedit$(EXEEXT) | |
139 | ||
c74caa09 MB |
140 | clean: |
141 | rm -rf ./.deps ./.pch | |
142 | rm -f ./*.o | |
143 | rm -f wxrcedit$(EXEEXT) | |
144 | ||
145 | distclean: clean | |
146 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
147 | ||
c74caa09 | 148 | wxrcedit$(EXEEXT): $(WXRCEDIT_OBJECTS) $(__wxrcedit___win32rc) |
078c7a59 | 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) |
c74caa09 MB |
150 | $(__wxrcedit___mac_rezcmd) |
151 | $(__wxrcedit___mac_setfilecmd) | |
ec08d395 | 152 | $(__wxrcedit___os2_emxbindcmd) |
c74caa09 | 153 | |
b17c1746 DE |
154 | install_wxrcedit: |
155 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
156 | $(INSTALL_PROGRAM) wxrcedit$(EXEEXT) $(DESTDIR)$(bindir) | |
157 | ||
c74caa09 MB |
158 | wxrcedit_edapp.o: $(srcdir)/edapp.cpp |
159 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
160 | ||
161 | wxrcedit_editor.o: $(srcdir)/editor.cpp | |
162 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
163 | ||
164 | wxrcedit_nodehnd.o: $(srcdir)/nodehnd.cpp | |
165 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
166 | ||
167 | wxrcedit_nodesdb.o: $(srcdir)/nodesdb.cpp | |
168 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
169 | ||
170 | wxrcedit_pe_adv.o: $(srcdir)/pe_adv.cpp | |
171 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
172 | ||
173 | wxrcedit_pe_basic.o: $(srcdir)/pe_basic.cpp | |
174 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
175 | ||
176 | wxrcedit_preview.o: $(srcdir)/preview.cpp | |
177 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
178 | ||
179 | wxrcedit_propedit.o: $(srcdir)/propedit.cpp | |
180 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
181 | ||
182 | wxrcedit_propframe.o: $(srcdir)/propframe.cpp | |
183 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
184 | ||
185 | wxrcedit_splittree.o: $(srcdir)/splittree.cpp | |
186 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
187 | ||
c74caa09 MB |
188 | wxrcedit_xmlhelpr.o: $(srcdir)/xmlhelpr.cpp |
189 | $(CXXC) -c -o $@ $(WXRCEDIT_CXXFLAGS) $< | |
190 | ||
b17c1746 | 191 | wxrcedit_wxrcedit_rc.o: $(srcdir)/wxrcedit.rc |
c3255f5f | 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 |
b17c1746 | 193 | |
c74caa09 MB |
194 | |
195 | # Include dependency info, if present: | |
196 | @IF_GNU_MAKE@-include .deps/*.d | |
197 | ||
b17c1746 | 198 | .PHONY: all install uninstall clean distclean install_wxrcedit |