]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
bdc408c4 | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
cbd63f42 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
3af038c0 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
b1169abb | 12 | INSTALL = @INSTALL@ |
cbd63f42 | 13 | CPPFLAGS = @CPPFLAGS@ |
3af038c0 | 14 | CXX = @CXX@ |
cbd63f42 | 15 | CXXFLAGS = @CXXFLAGS@ |
cbd63f42 | 16 | EXEEXT = @EXEEXT@ |
cbd63f42 | 17 | EXTRALIBS = @EXTRALIBS@ |
6c974d0b | 18 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
250700e4 | 19 | HOST_SUFFIX = @HOST_SUFFIX@ |
fcf61db4 | 20 | LDFLAGS = @LDFLAGS@ |
fcf61db4 | 21 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
3af038c0 VS |
22 | RESCOMP = @RESCOMP@ |
23 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
24 | SETFILE = @SETFILE@ | |
250700e4 | 25 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
3af038c0 | 26 | TOOLKIT = @TOOLKIT@ |
cbd63f42 | 27 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ |
fcf61db4 | 28 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ |
3af038c0 | 29 | srcdir = @srcdir@ |
cbd63f42 | 30 | top_builddir = @top_builddir@ |
3af038c0 | 31 | top_srcdir = @top_srcdir@ |
cbd63f42 | 32 | |
fcf61db4 VS |
33 | ### Variables: ### |
34 | ||
d179e30b | 35 | CLIENT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
250700e4 | 36 | -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \ |
bdc408c4 | 37 | $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \ |
4e209a20 | 38 | -I$(srcdir) $(__DLLFLAG_p) -I../../samples $(CXXFLAGS) |
d179e30b VS |
39 | CLIENT_OBJECTS = \ |
40 | $(__client___win32rc) \ | |
41 | client_client.o | |
076f10e0 | 42 | LIBDIRNAME = $(top_builddir)lib |
d179e30b VS |
43 | SERVER_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
44 | -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \ | |
45 | $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \ | |
4e209a20 | 46 | -I$(srcdir) $(__DLLFLAG_p) -I../../samples $(CXXFLAGS) |
d179e30b VS |
47 | SERVER_OBJECTS = \ |
48 | $(__server___win32rc) \ | |
49 | server_server.o | |
fcf61db4 | 50 | |
cbd63f42 VS |
51 | ### Conditionally set variables: ### |
52 | ||
fcf61db4 | 53 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
3af038c0 VS |
54 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) |
55 | @COND_USE_GUI_0@PORTNAME = base | |
56 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb | 57 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
076f10e0 VS |
58 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d |
59 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
3af038c0 | 60 | @COND_UNICODE_1@WXUNICODEFLAG = u |
fcf61db4 | 61 | @COND_WXUNIV_1@WXUNIVNAME = univ |
3af038c0 | 62 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
d179e30b VS |
63 | @COND_SHARED_1@__DLLFLAG_p_0 = --define WXUSINGDLL |
64 | @COND_SHARED_1@__DLLFLAG_p_6 = -d WXUSINGDLL | |
bdc408c4 | 65 | @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib |
d179e30b | 66 | @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_0 = \ |
bdc408c4 | 67 | @COND_WXUSE_EXPAT_BUILTIN@ --include-dir $(top_srcdir)/src/expat/lib |
d179e30b | 68 | @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_6 = -i $(top_srcdir)/src/expat/lib |
b1169abb | 69 | @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg |
d179e30b | 70 | @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_0 = \ |
250700e4 | 71 | @COND_WXUSE_LIBJPEG_BUILTIN@ --include-dir $(top_srcdir)/src/jpeg |
d179e30b | 72 | @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_6 = -i $(top_srcdir)/src/jpeg |
b1169abb | 73 | @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc |
d179e30b VS |
74 | @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_0 = -i $(top_srcdir)/src/odbc |
75 | @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_6 = \ | |
250700e4 | 76 | @COND_WXUSE_ODBC_BUILTIN@ --include-dir $(top_srcdir)/src/odbc |
b1169abb | 77 | @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png |
d179e30b | 78 | @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_0 = \ |
250700e4 | 79 | @COND_WXUSE_LIBPNG_BUILTIN@ --include-dir $(top_srcdir)/src/png |
d179e30b | 80 | @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_6 = -i $(top_srcdir)/src/png |
b1169abb | 81 | @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex |
d179e30b VS |
82 | @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_0 = -i $(top_srcdir)/src/regex |
83 | @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_6 = \ | |
250700e4 | 84 | @COND_WXUSE_REGEX_BUILTIN@ --include-dir $(top_srcdir)/src/regex |
b1169abb | 85 | @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff |
d179e30b VS |
86 | @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_0 = -i $(top_srcdir)/src/tiff |
87 | @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_6 = \ | |
250700e4 | 88 | @COND_WXUSE_LIBTIFF_BUILTIN@ --include-dir $(top_srcdir)/src/tiff |
b1169abb | 89 | @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib |
d179e30b VS |
90 | @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_0 = -i $(top_srcdir)/src/zlib |
91 | @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_6 = \ | |
250700e4 | 92 | @COND_WXUSE_ZLIB_BUILTIN@ --include-dir $(top_srcdir)/src/zlib |
bdc408c4 VS |
93 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
94 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 VS |
95 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
96 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
97 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
98 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
99 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 VS |
100 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
101 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
102 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
103 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ |
104 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 VS |
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) | |
250700e4 RD |
108 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
109 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
d179e30b VS |
110 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
111 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include \ | |
112 | $(__INC_TIFF_p_0) $(__INC_JPEG_p_6) $(__INC_PNG_p_6) $(__INC_ZLIB_p_0) \ | |
113 | $(__INC_ODBC_p_0) $(__INC_REGEX_p_0) $(__INC_EXPAT_p_6) -i $(srcdir) \ | |
4e209a20 | 114 | $(__DLLFLAG_p_6) -i ../../samples -o client$(EXEEXT) Carbon.r \ |
d179e30b VS |
115 | $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r ../../samples/sample.r |
116 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2) | |
117 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
118 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include \ | |
119 | $(__INC_TIFF_p_0) $(__INC_JPEG_p_6) $(__INC_PNG_p_6) $(__INC_ZLIB_p_0) \ | |
120 | $(__INC_ODBC_p_0) $(__INC_REGEX_p_0) $(__INC_EXPAT_p_6) -i $(srcdir) \ | |
4e209a20 | 121 | $(__DLLFLAG_p_6) -i ../../samples -o server$(EXEEXT) Carbon.r \ |
fd9f42b6 | 122 | $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r ../../samples/sample.r |
d179e30b | 123 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3) |
250700e4 RD |
124 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ |
125 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
076f10e0 VS |
126 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
127 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX) | |
128 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
129 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
130 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
131 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
d179e30b VS |
132 | @COND_MONOLITHIC_0@__WXLIB_NET_p = \ |
133 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net-2.5$(HOST_SUFFIX) | |
3af038c0 | 134 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
d179e30b VS |
135 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = -d __WXUNIVERSAL__ |
136 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_6 = --define __WXUNIVERSAL__ | |
137 | @COND_PLATFORM_MAC_1@__client___mac_rezcmd = $(__MACOSX_RESOURCES_p_2) | |
138 | @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \ | |
139 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C client$(EXEEXT) | |
140 | @COND_PLATFORM_WIN32_1@__client___win32rc = client_sample_rc.o | |
141 | @COND_PLATFORM_MAC_1@__server___mac_rezcmd = $(__MACOSX_RESOURCES_p_3) | |
142 | @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \ | |
143 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C server$(EXEEXT) | |
144 | @COND_PLATFORM_WIN32_1@__server___win32rc = server_sample_rc.o | |
cbd63f42 VS |
145 | |
146 | ### Targets: ### | |
147 | ||
d179e30b | 148 | all: client$(EXEEXT) server$(EXEEXT) |
cbd63f42 | 149 | |
cbd63f42 | 150 | clean: |
fcf61db4 | 151 | rm -rf ./.deps |
076f10e0 | 152 | rm -f ./*.o |
d179e30b VS |
153 | rm -f client$(EXEEXT) |
154 | rm -f server$(EXEEXT) | |
155 | ||
156 | client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc) | |
157 | $(CXX) -o $@ $(CLIENT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__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) | |
158 | $(__client___mac_rezcmd) | |
159 | $(__client___mac_setfilecmd) | |
160 | ||
161 | client_client.o: $(srcdir)/client.cpp | |
162 | $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $< | |
163 | ||
164 | client_sample_rc.o: $(srcdir)/../../samples/sample.rc | |
4e209a20 | 165 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_6) $(__INC_JPEG_p_0) $(__INC_PNG_p_0) $(__INC_ZLIB_p_6) $(__INC_ODBC_p_6) $(__INC_REGEX_p_6) $(__INC_EXPAT_p_0) --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir ../../samples |
cbd63f42 | 166 | |
3af038c0 VS |
167 | distclean: clean |
168 | rm -f configure config.cache config.log config.status | |
169 | rm -f bk-deps shared-ld-sh | |
170 | ||
cbd63f42 VS |
171 | install: all |
172 | ||
3af038c0 VS |
173 | install-strip: install |
174 | ||
d179e30b VS |
175 | server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc) |
176 | $(CXX) -o $@ $(SERVER_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__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) | |
177 | $(__server___mac_rezcmd) | |
178 | $(__server___mac_setfilecmd) | |
cbd63f42 | 179 | |
d179e30b | 180 | server_sample_rc.o: $(srcdir)/../../samples/sample.rc |
4e209a20 | 181 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_6) $(__INC_JPEG_p_0) $(__INC_PNG_p_0) $(__INC_ZLIB_p_6) $(__INC_ODBC_p_6) $(__INC_REGEX_p_6) $(__INC_EXPAT_p_0) --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir ../../samples |
cbd63f42 | 182 | |
d179e30b VS |
183 | server_server.o: $(srcdir)/server.cpp |
184 | $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $< | |
cbd63f42 | 185 | |
fcf61db4 | 186 | uninstall: |
cbd63f42 VS |
187 | |
188 | ||
189 | # Include dependency info, if present: | |
49b0a3aa | 190 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 | 191 | |
b1169abb | 192 | .PHONY: all clean distclean install uninstall |