diff options
author | Marc Laukien <marc@zeroc.com> | 2001-11-30 19:17:29 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-11-30 19:17:29 +0000 |
commit | f9eda6f68a8251fb312e715f5eda443b56925657 (patch) | |
tree | 0ad697d27e22eeb42804ef7fd2b6b7cb53f36a34 /cpp/src | |
parent | Added DBCursor to the Freeze module. (diff) | |
download | ice-f9eda6f68a8251fb312e715f5eda443b56925657.tar.bz2 ice-f9eda6f68a8251fb312e715f5eda443b56925657.tar.xz ice-f9eda6f68a8251fb312e715f5eda443b56925657.zip |
converted some stuff to use Application.h
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IcePack/Client.cpp | 84 | ||||
-rw-r--r-- | cpp/src/IcePack/Server.cpp | 78 | ||||
-rw-r--r-- | cpp/src/IceStorm/Admin.cpp | 84 | ||||
-rw-r--r-- | cpp/src/IceStorm/Server.cpp | 74 | ||||
-rw-r--r-- | cpp/src/IceWall/.depend | 0 | ||||
-rw-r--r-- | cpp/src/IceWall/Makefile | 30 | ||||
-rw-r--r-- | cpp/src/IceWall/icewallS.dsp | 112 |
7 files changed, 267 insertions, 195 deletions
diff --git a/cpp/src/IcePack/Client.cpp b/cpp/src/IcePack/Client.cpp index f084c800e57..eeaf74e3001 100644 --- a/cpp/src/IcePack/Client.cpp +++ b/cpp/src/IcePack/Client.cpp @@ -8,7 +8,7 @@ // // ********************************************************************** -#include <Ice/Ice.h> +#include <Ice/Application.h> #include <IcePack/Parser.h> #include <fstream> @@ -16,10 +16,25 @@ using namespace std; using namespace Ice; using namespace IcePack; +class Client : public Application +{ +public: + + void usage(); + virtual int run(int, char*[]); +}; + +int +main(int argc, char* argv[]) +{ + Client app; + return app.main(argc, argv); +} + void -usage(const char* n) +Client::usage() { - cerr << "Usage: " << n << " [options] [file...]\n"; + cerr << "Usage: " << appName() << " [options] [file...]\n"; cerr << "Options:\n" "-h, --help Show this message.\n" @@ -34,7 +49,7 @@ usage(const char* n) } int -run(int argc, char* argv[], const CommunicatorPtr& communicator) +Client::run(int argc, char* argv[]) { string cpp("cpp"); string commands; @@ -67,7 +82,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) } else if (strcmp(argv[idx], "-h") == 0 || strcmp(argv[idx], "--help") == 0) { - usage(argv[0]); + usage(); return EXIT_SUCCESS; } else if (strcmp(argv[idx], "-v") == 0 || strcmp(argv[idx], "--version") == 0) @@ -79,8 +94,8 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) { if (idx + 1 >= argc) { - cerr << argv[0] << ": argument expected for`" << argv[idx] << "'" << endl; - usage(argv[0]); + cerr << appName() << ": argument expected for`" << argv[idx] << "'" << endl; + usage(); return EXIT_FAILURE; } @@ -104,8 +119,8 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) } else if (argv[idx][0] == '-') { - cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; - usage(argv[0]); + cerr << appName() << ": unknown option `" << argv[idx] << "'" << endl; + usage(); return EXIT_FAILURE; } else @@ -116,17 +131,17 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) if (argc >= 2 && !commands.empty()) { - cerr << argv[0] << ": `-e' option cannot be used if input files are given" << endl; - usage(argv[0]); + cerr << appName() << ": `-e' option cannot be used if input files are given" << endl; + usage(); return EXIT_FAILURE; } - PropertiesPtr properties = communicator->getProperties(); + PropertiesPtr properties = communicator()->getProperties(); const char* adminEndpointsProperty = "Ice.Adapter.Admin.Endpoints"; string adminEndpoints = properties->getProperty(adminEndpointsProperty); if (adminEndpoints.empty()) { - cerr << argv[0] << ": property `" << adminEndpointsProperty << "' is not set" << endl; + cerr << appName() << ": property `" << adminEndpointsProperty << "' is not set" << endl; return EXIT_FAILURE; } @@ -137,15 +152,15 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) secureFlag = " -s "; } - Ice::ObjectPrx base = communicator->stringToProxy("admin" + secureFlag + ":" + adminEndpoints); + Ice::ObjectPrx base = communicator()->stringToProxy("admin" + secureFlag + ":" + adminEndpoints); AdminPrx admin = AdminPrx::checkedCast(base); if (!admin) { - cerr << argv[0] << ": `" << adminEndpoints << "' are no valid administrative endpoints" << endl; + cerr << appName() << ": `" << adminEndpoints << "' are no valid administrative endpoints" << endl; return EXIT_FAILURE; } - ParserPtr parser = Parser::createParser(communicator, admin); + ParserPtr parser = Parser::createParser(communicator(), admin); int status = EXIT_SUCCESS; if (argc < 2) // No files given @@ -174,7 +189,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) ifstream test(argv[idx]); if (!test) { - cerr << argv[0] << ": can't open `" << argv[idx] << "' for reading: " << strerror(errno) << endl; + cerr << appName() << ": can't open `" << argv[idx] << "' for reading: " << strerror(errno) << endl; return EXIT_FAILURE; } test.close(); @@ -187,7 +202,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) #endif if (cppHandle == NULL) { - cerr << argv[0] << ": can't run C++ preprocessor: " << strerror(errno) << endl; + cerr << appName() << ": can't run C++ preprocessor: " << strerror(errno) << endl; return EXIT_FAILURE; } @@ -208,36 +223,3 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) return status; } - -int -main(int argc, char* argv[]) -{ - int status; - CommunicatorPtr communicator; - - try - { - communicator = initialize(argc, argv); - status = run(argc, argv, communicator); - } - catch(const Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - - if (communicator) - { - try - { - communicator->destroy(); - } - catch(const Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - } - - return status; -} diff --git a/cpp/src/IcePack/Server.cpp b/cpp/src/IcePack/Server.cpp index c973c9ff8e8..1048b8e6249 100644 --- a/cpp/src/IcePack/Server.cpp +++ b/cpp/src/IcePack/Server.cpp @@ -8,7 +8,7 @@ // // ********************************************************************** -#include <Ice/Ice.h> +#include <Ice/Application.h> #include <IcePack/AdminI.h> #include <IcePack/Forward.h> @@ -16,10 +16,25 @@ using namespace std; using namespace Ice; using namespace IcePack; +class Server : public Application +{ +public: + + void usage(); + virtual int run(int, char*[]); +}; + +int +main(int argc, char* argv[]) +{ + Server app; + return app.main(argc, argv); +} + void -usage(const char* n) +Server::usage() { - cerr << "Usage: " << n << " [options]\n"; + cerr << "Usage: " << appName() << " [options]\n"; cerr << "Options:\n" "-h, --help Show this message.\n" @@ -29,14 +44,14 @@ usage(const char* n) } int -run(int argc, char* argv[], const CommunicatorPtr& communicator) +Server::run(int argc, char* argv[]) { bool nowarn = false; for (int i = 1; i < argc; ++i) { if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) { - usage(argv[0]); + usage(); return EXIT_SUCCESS; } else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--version") == 0) @@ -50,19 +65,19 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) } else { - cerr << argv[0] << ": unknown option `" << argv[i] << "'" << endl; - usage(argv[0]); + cerr << appName() << ": unknown option `" << argv[i] << "'" << endl; + usage(); return EXIT_FAILURE; } } - PropertiesPtr properties = communicator->getProperties(); + PropertiesPtr properties = communicator()->getProperties(); const char* adminEndpointsProperty = "Ice.Adapter.Admin.Endpoints"; string adminEndpoints = properties->getProperty(adminEndpointsProperty); if (!adminEndpoints.empty() && !nowarn) { - cerr << argv[0] << ": warning: administrative endpoints property `" << adminEndpointsProperty << "' enabled" + cerr << appName() << ": warning: administrative endpoints property `" << adminEndpointsProperty << "' enabled" << endl; } @@ -70,57 +85,24 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) string forwardEndpoints = properties->getProperty(forwardEndpointsProperty); if (forwardEndpoints.empty()) { - cerr << argv[0] << ": property `" << forwardEndpointsProperty << "' is not set" << endl; + cerr << appName() << ": property `" << forwardEndpointsProperty << "' is not set" << endl; return EXIT_FAILURE; } - AdminPtr admin = new AdminI(communicator); - ServantLocatorPtr forward = new Forward(communicator, admin); + AdminPtr admin = new AdminI(communicator()); + ServantLocatorPtr forward = new Forward(communicator(), admin); if (adminEndpoints.length() != 0) { - ObjectAdapterPtr adminAdapter = communicator->createObjectAdapter("Admin"); + ObjectAdapterPtr adminAdapter = communicator()->createObjectAdapter("Admin"); adminAdapter->add(admin, "admin"); adminAdapter->activate(); } - ObjectAdapterPtr forwardAdapter = communicator->createObjectAdapter("Forward"); + ObjectAdapterPtr forwardAdapter = communicator()->createObjectAdapter("Forward"); forwardAdapter->addServantLocator(forward, ""); forwardAdapter->activate(); - communicator->waitForShutdown(); + communicator()->waitForShutdown(); return EXIT_SUCCESS; } - -int -main(int argc, char* argv[]) -{ - int status; - CommunicatorPtr communicator; - - try - { - communicator = initialize(argc, argv); - status = run(argc, argv, communicator); - } - catch(const Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - - if (communicator) - { - try - { - communicator->destroy(); - } - catch(const Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - } - - return status; -} diff --git a/cpp/src/IceStorm/Admin.cpp b/cpp/src/IceStorm/Admin.cpp index d47f8a7cd8a..e5251da975e 100644 --- a/cpp/src/IceStorm/Admin.cpp +++ b/cpp/src/IceStorm/Admin.cpp @@ -8,7 +8,7 @@ // // ********************************************************************** -#include <Ice/Ice.h> +#include <Ice/Application.h> #include <IceStorm/Parser.h> #include <fstream> @@ -16,10 +16,25 @@ using namespace std; using namespace Ice; using namespace IceStorm; +class Client : public Application +{ +public: + + void usage(); + virtual int run(int, char*[]); +}; + +int +main(int argc, char* argv[]) +{ + Client app; + return app.main(argc, argv); +} + void -usage(const char* n) +Client::usage() { - cerr << "Usage: " << n << " [options] [file...]\n"; + cerr << "Usage: " << appName() << " [options] [file...]\n"; cerr << "Options:\n" "-h, --help Show this message.\n" @@ -34,7 +49,7 @@ usage(const char* n) } int -run(int argc, char* argv[], const CommunicatorPtr& communicator) +Client::run(int argc, char* argv[]) { string cpp("cpp"); string commands; @@ -67,7 +82,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) } else if (strcmp(argv[idx], "-h") == 0 || strcmp(argv[idx], "--help") == 0) { - usage(argv[0]); + usage(); return EXIT_SUCCESS; } else if (strcmp(argv[idx], "-v") == 0 || strcmp(argv[idx], "--version") == 0) @@ -79,8 +94,8 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) { if (idx + 1 >= argc) { - cerr << argv[0] << ": argument expected for`" << argv[idx] << "'" << endl; - usage(argv[0]); + cerr << appName() << ": argument expected for`" << argv[idx] << "'" << endl; + usage(); return EXIT_FAILURE; } @@ -104,8 +119,8 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) } else if (argv[idx][0] == '-') { - cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; - usage(argv[0]); + cerr << appName() << ": unknown option `" << argv[idx] << "'" << endl; + usage(); return EXIT_FAILURE; } else @@ -116,29 +131,29 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) if (argc >= 2 && !commands.empty()) { - cerr << argv[0] << ": `-e' option cannot be used if input files are given" << endl; - usage(argv[0]); + cerr << appName() << ": `-e' option cannot be used if input files are given" << endl; + usage(); return EXIT_FAILURE; } - PropertiesPtr properties = communicator->getProperties(); + PropertiesPtr properties = communicator()->getProperties(); const char* managerProperty = "IceStorm.TopicManager"; string managerRef = properties->getProperty(managerProperty); if (managerRef.empty()) { - cerr << argv[0] << ": " << managerProperty << " is not set" << endl; + cerr << appName() << ": " << managerProperty << " is not set" << endl; return EXIT_FAILURE; } - ObjectPrx base = communicator->stringToProxy(managerRef); + ObjectPrx base = communicator()->stringToProxy(managerRef); IceStorm::TopicManagerPrx manager = IceStorm::TopicManagerPrx::checkedCast(base); if (!manager) { - cerr << argv[0] << ": `" << managerProperty << "' is not running" << endl; + cerr << appName() << ": `" << managerProperty << "' is not running" << endl; return EXIT_FAILURE; } - ParserPtr parser = Parser::createParser(communicator, manager); + ParserPtr parser = Parser::createParser(communicator(), manager); int status = EXIT_SUCCESS; if (argc < 2) // No files given @@ -167,7 +182,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) ifstream test(argv[idx]); if (!test) { - cerr << argv[0] << ": can't open `" << argv[idx] << "' for reading: " << strerror(errno) << endl; + cerr << appName() << ": can't open `" << argv[idx] << "' for reading: " << strerror(errno) << endl; return EXIT_FAILURE; } test.close(); @@ -180,7 +195,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) #endif if (cppHandle == NULL) { - cerr << argv[0] << ": can't run C++ preprocessor: " << strerror(errno) << endl; + cerr << appName() << ": can't run C++ preprocessor: " << strerror(errno) << endl; return EXIT_FAILURE; } @@ -201,36 +216,3 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) return status; } - -int -main(int argc, char* argv[]) -{ - int status; - CommunicatorPtr communicator; - - try - { - communicator = initialize(argc, argv); - status = run(argc, argv, communicator); - } - catch(const Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - - if (communicator) - { - try - { - communicator->destroy(); - } - catch(const Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - } - - return status; -} diff --git a/cpp/src/IceStorm/Server.cpp b/cpp/src/IceStorm/Server.cpp index e43b48ced91..649d51ad3bb 100644 --- a/cpp/src/IceStorm/Server.cpp +++ b/cpp/src/IceStorm/Server.cpp @@ -8,16 +8,33 @@ // // ********************************************************************** -#include <Ice/Ice.h> +#include <Ice/Application.h> #include <IceStorm/TopicManagerI.h> #include <IceStorm/TraceLevels.h> using namespace std; +using namespace Ice; +using namespace IceStorm; + +class Server : public Application +{ +public: + + void usage(); + virtual int run(int, char*[]); +}; + +int +main(int argc, char* argv[]) +{ + Server app; + return app.main(argc, argv); +} void -usage(const char* n) +Server::usage() { - cerr << "Usage: " << n << " [options]\n"; + cerr << "Usage: " << appName() << " [options]\n"; cerr << "Options:\n" "-h, --help Show this message.\n" @@ -26,13 +43,13 @@ usage(const char* n) } int -run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) +Server::run(int argc, char* argv[]) { for (int i = 1; i < argc; ++i) { if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) { - usage(argv[0]); + usage(); return EXIT_SUCCESS; } else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--version") == 0) @@ -42,52 +59,19 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } else { - cerr << argv[0] << ": unknown option `" << argv[i] << "'" << endl; - usage(argv[0]); + cerr << appName() << ": unknown option `" << argv[i] << "'" << endl; + usage(); return EXIT_FAILURE; } } - //PropertiesPtr properties = communicator->getProperties(); + //PropertiesPtr properties = communicator()->getProperties(); - IceStorm::TraceLevelsPtr traceLevels = new IceStorm::TraceLevels(communicator->getProperties()); - Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TopicManager"); - Ice::ObjectPtr object = new IceStorm::TopicManagerI(communicator, adapter, traceLevels); + TraceLevelsPtr traceLevels = new TraceLevels(communicator()->getProperties()); + ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TopicManager"); + ObjectPtr object = new TopicManagerI(communicator(), adapter, traceLevels); adapter->add(object, "TopicManager"); adapter->activate(); - communicator->waitForShutdown(); + communicator()->waitForShutdown(); return EXIT_SUCCESS; } - -int -main(int argc, char* argv[]) -{ - int status; - Ice::CommunicatorPtr communicator; - - try - { - communicator = Ice::initialize(argc, argv); - status = run(argc, argv, communicator); - } - catch(const Ice::Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - - if (communicator) - { - try - { - communicator->destroy(); - } - catch(const Ice::Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } - } - - return status; -} diff --git a/cpp/src/IceWall/.depend b/cpp/src/IceWall/.depend new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/cpp/src/IceWall/.depend diff --git a/cpp/src/IceWall/Makefile b/cpp/src/IceWall/Makefile new file mode 100644 index 00000000000..eba9c2b7d00 --- /dev/null +++ b/cpp/src/IceWall/Makefile @@ -0,0 +1,30 @@ +# ********************************************************************** +# +# Copyright (c) 2001 +# MutableRealms, Inc. +# Huntsville, AL, USA +# +# All Rights Reserved +# +# ********************************************************************** + +top_srcdir = ../.. + +SERVER = $(top_srcdir)/bin/icewall + +TARGETS = $(SERVER) + +SOBJS = Router.o \ + Server.o + +SRCS = $(SOBJS:.o=.cpp) + +include $(top_srcdir)/config/Make.rules + +CPPFLAGS := -I.. $(CPPFLAGS) + +$(SERVER): $(SOBJS) + rm -f $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(SOBJS) $(LIBS) + +include .depend diff --git a/cpp/src/IceWall/icewallS.dsp b/cpp/src/IceWall/icewallS.dsp new file mode 100644 index 00000000000..a9ec73dca55 --- /dev/null +++ b/cpp/src/IceWall/icewallS.dsp @@ -0,0 +1,112 @@ +# Microsoft Developer Studio Project File - Name="IceWallS" - Wallage Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=IceWallS - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "IceWallS.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "IceWallS.mak" CFG="IceWallS - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "IceWallS - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceWallS - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "IceWallS - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I ".." /I "../../include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_UNICODE" /YX /FD /c
+# SUBTRACT CPP /WX /Fr
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 ws2_32.lib jtc.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/icewall.exe" /libpath:"../../../lib"
+
+!ELSEIF "$(CFG)" == "IceWallS - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I ".." /I "../../include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_UNICODE" /YX /FD /GZ /c
+# SUBTRACT CPP /WX /Fr
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 ws2_32.lib jtcd.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/icewall.exe" /pdbtype:sept /libpath:"../../../lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "IceWallS - Win32 Release"
+# Name "IceWallS - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\Router.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\Server.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\Router.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
|