-CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
-CLIENT_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
-CLIENT_OBJECTS = \
- client_client.o
-SERVER_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
-SERVER_OBJECTS = \
- server_server.o
+CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD -MP
+WX_VERSION_MAJOR = $(shell echo $(WX_VERSION) | cut -c1,1)
+WX_VERSION_MINOR = $(shell echo $(WX_VERSION) | cut -c2,2)
+WX_CONFIG_FLAGS = $(WX_CONFIG_UNICODE_FLAG) $(WX_CONFIG_SHARED_FLAG) \
+ --toolkit=$(WX_PORT) --version=$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
+IPCCLIENT_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` \
+ $(CPPFLAGS) $(CXXFLAGS)
+IPCCLIENT_OBJECTS = \
+ ipcclient_client.o
+IPCSERVER_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` \
+ $(CPPFLAGS) $(CXXFLAGS)
+IPCSERVER_OBJECTS = \
+ ipcserver_server.o
+BASEIPCCLIENT_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` \
+ $(CPPFLAGS) $(CXXFLAGS)
+BASEIPCCLIENT_OBJECTS = \
+ baseipcclient_baseclient.o
+BASEIPCSERVER_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` \
+ $(CPPFLAGS) $(CXXFLAGS)
+BASEIPCSERVER_OBJECTS = \
+ baseipcserver_baseserver.o