]> git.saurik.com Git - wxWidgets.git/blob - samples/sockets/Makefile.in
added *_WITH_DECL macros so that it is possible to export hashes from
[wxWidgets.git] / samples / sockets / Makefile.in
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 HOST_SUFFIX = @HOST_SUFFIX@
20 LDFLAGS = @LDFLAGS@
21 LDFLAGS_GUI = @LDFLAGS_GUI@
22 RESCOMP = @RESCOMP@
23 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
24 SETFILE = @SETFILE@
25 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
26 TOOLKIT = @TOOLKIT@
27 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28 TOOLKIT_VERSION = @TOOLKIT_VERSION@
29 srcdir = @srcdir@
30 top_builddir = @top_builddir@
31 top_srcdir = @top_srcdir@
32
33 ### Variables: ###
34
35 CLIENT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
36 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
37 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
38 -I$(srcdir) $(__DLLFLAG_p) $(CXXFLAGS)
39 SERVER_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
40 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
41 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
42 -I$(srcdir) $(__DLLFLAG_p) $(CXXFLAGS)
43
44 ### Conditionally set variables: ###
45
46 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
47 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
48 @COND_USE_GUI_0@PORTNAME = base
49 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
50 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
51 @COND_BUILD_DEBUG@WXDEBUGFLAG = d
52 @COND_UNICODE_1@WXUNICODEFLAG = u
53 @COND_WXUNIV_1@WXUNIVNAME = univ
54 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
55 @COND_SHARED_1@__DLLFLAG_p_0 = --define WXUSINGDLL
56 @COND_SHARED_1@__DLLFLAG_p_6 = -d WXUSINGDLL
57 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib
58 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_0 = \
59 @COND_WXUSE_EXPAT_BUILTIN@ --include-dir $(top_srcdir)/src/expat/lib
60 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_6 = -i $(top_srcdir)/src/expat/lib
61 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
62 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_0 = \
63 @COND_WXUSE_LIBJPEG_BUILTIN@ --include-dir $(top_srcdir)/src/jpeg
64 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_6 = -i $(top_srcdir)/src/jpeg
65 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
66 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_0 = -i $(top_srcdir)/src/odbc
67 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_6 = \
68 @COND_WXUSE_ODBC_BUILTIN@ --include-dir $(top_srcdir)/src/odbc
69 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png
70 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_0 = \
71 @COND_WXUSE_LIBPNG_BUILTIN@ --include-dir $(top_srcdir)/src/png
72 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_6 = -i $(top_srcdir)/src/png
73 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex
74 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_0 = -i $(top_srcdir)/src/regex
75 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_6 = \
76 @COND_WXUSE_REGEX_BUILTIN@ --include-dir $(top_srcdir)/src/regex
77 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
78 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_0 = -i $(top_srcdir)/src/tiff
79 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_6 = \
80 @COND_WXUSE_LIBTIFF_BUILTIN@ --include-dir $(top_srcdir)/src/tiff
81 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
82 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_0 = -i $(top_srcdir)/src/zlib
83 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_6 = \
84 @COND_WXUSE_ZLIB_BUILTIN@ --include-dir $(top_srcdir)/src/zlib
85 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
86 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
87 @COND_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p = \
88 @COND_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
89 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
90 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
91 @COND_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p = \
92 @COND_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
93 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
94 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
95 @COND_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p = \
96 @COND_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
97 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
98 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
99 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(RESCOMP) -d \
100 @COND_TOOLKIT_MAC@ __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ \
101 @COND_TOOLKIT_MAC@ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include \
102 @COND_TOOLKIT_MAC@ $(__INC_TIFF_p_0) $(__INC_JPEG_p_6) $(__INC_PNG_p_6) \
103 @COND_TOOLKIT_MAC@ $(__INC_ZLIB_p_0) $(__INC_ODBC_p_0) $(__INC_REGEX_p_0) \
104 @COND_TOOLKIT_MAC@ $(__INC_EXPAT_p_6) -i $(srcdir) $(__DLLFLAG_p_6) -o \
105 @COND_TOOLKIT_MAC@ client$(EXEEXT) Carbon.r \
106 @COND_TOOLKIT_MAC@ $(top_builddir)lib/libwx_$(TOOLCHAIN_NAME).0.r
107 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(RESCOMP) -d \
108 @COND_TOOLKIT_MAC@ __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ \
109 @COND_TOOLKIT_MAC@ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include \
110 @COND_TOOLKIT_MAC@ $(__INC_TIFF_p_0) $(__INC_JPEG_p_6) $(__INC_PNG_p_6) \
111 @COND_TOOLKIT_MAC@ $(__INC_ZLIB_p_0) $(__INC_ODBC_p_0) $(__INC_REGEX_p_0) \
112 @COND_TOOLKIT_MAC@ $(__INC_EXPAT_p_6) -i $(srcdir) $(__DLLFLAG_p_6) -o \
113 @COND_TOOLKIT_MAC@ server$(EXEEXT) Carbon.r \
114 @COND_TOOLKIT_MAC@ $(top_builddir)lib/libwx_$(TOOLCHAIN_NAME).0.r
115 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
116 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
117 @COND_MONOLITHIC_0@__WXLIB_CORE_p = \
118 @COND_MONOLITHIC_0@ -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
119 @COND_MONOLITHIC_1@__WXLIB_MONO_p = \
120 @COND_MONOLITHIC_1@ -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
121 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
122 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = -d __WXUNIVERSAL__
123 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_6 = --define __WXUNIVERSAL__
124 @COND_PLATFORM_MAC_1@__client___mac_rezcmd = $(__MACOSX_RESOURCES_p_2)
125 @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \
126 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C client$(EXEEXT)
127 @COND_PLATFORM_WIN32_1@__client___win32rc = client_client_rc.o
128 @COND_PLATFORM_MAC_1@__server___mac_rezcmd = $(__MACOSX_RESOURCES_p_3)
129 @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \
130 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C server$(EXEEXT)
131 @COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o
132
133 ### Targets: ###
134
135 all: client$(EXEEXT) server$(EXEEXT)
136
137 clean:
138 rm -rf ./.deps
139 rm -f -f ./*.o
140 rm -f client$(EXEEXT)
141 rm -f server$(EXEEXT)
142
143 client$(EXEEXT): client_client.o $(__client___win32rc)
144 $(CXX) -o $@ client_client.o $(__client___win32rc) $(LDFLAGS) -L$(top_builddir)lib $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_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)
145 $(__client___mac_rezcmd)
146 $(__client___mac_setfilecmd)
147
148 client_client.o: $(srcdir)/client.cpp
149 $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $<
150
151 client_client_rc.o: $(srcdir)/client.rc
152 $(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)
153
154 distclean: clean
155 rm -f configure config.cache config.log config.status
156 rm -f bk-deps shared-ld-sh
157
158 install: all
159
160 install-strip: install
161
162 server$(EXEEXT): server_server.o $(__server___win32rc)
163 $(CXX) -o $@ server_server.o $(__server___win32rc) $(LDFLAGS) -L$(top_builddir)lib $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_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)
164 $(__server___mac_rezcmd)
165 $(__server___mac_setfilecmd)
166
167 server_server.o: $(srcdir)/server.cpp
168 $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $<
169
170 server_server_rc.o: $(srcdir)/server.rc
171 $(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)
172
173 uninstall:
174
175
176 # Include dependency info, if present:
177 @IF_GNU_MAKE@-include .deps/*.d
178
179 .PHONY: all clean distclean install uninstall