summaryrefslogtreecommitdiff
path: root/vc
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
committerYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
commitbba777d6da91eba55eb0ef6b4d2a1a2cf215fec9 (patch)
treea41857c5993eabd518e305b9160dfef9ebdcbf4f /vc
parentcd6a0a68b86d5d862291de1583fb55fc65e1b5d7 (diff)
downloadc-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.tar.gz
c-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.tar.bz2
c-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.zip
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
Diffstat (limited to 'vc')
-rw-r--r--vc/adig/adig.dsp8
-rw-r--r--vc/ahost/ahost.dsp30
-rw-r--r--vc/areslib/areslib.dsp4
3 files changed, 27 insertions, 15 deletions
diff --git a/vc/adig/adig.dsp b/vc/adig/adig.dsp
index 38d6d7d..21cabd5 100644
--- a/vc/adig/adig.dsp
+++ b/vc/adig/adig.dsp
@@ -89,10 +89,18 @@ LINK32=link.exe
SOURCE=..\..\adig.c
# End Source File
+# Begin Source File
+
+SOURCE=..\..\ares_getopt.c
+# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\..\ares_getopt.h
+# End Source File
# End Group
# Begin Group "Resource Files"
diff --git a/vc/ahost/ahost.dsp b/vc/ahost/ahost.dsp
index 772c476..cefccc2 100644
--- a/vc/ahost/ahost.dsp
+++ b/vc/ahost/ahost.dsp
@@ -7,19 +7,19 @@
CFG=ahost - 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
!MESSAGE NMAKE /f "ahost.mak".
-!MESSAGE
+!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
+!MESSAGE
!MESSAGE NMAKE /f "ahost.mak" CFG="ahost - Win32 Debug"
-!MESSAGE
+!MESSAGE
!MESSAGE Possible choices for configuration are:
-!MESSAGE
+!MESSAGE
!MESSAGE "ahost - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "ahost - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
+!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
@@ -48,7 +48,7 @@ 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 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 wsock32.lib areslib.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 /libpath:"..\areslib\Release"
!ELSEIF "$(CFG)" == "ahost - Win32 Debug"
@@ -63,18 +63,18 @@ LINK32=link.exe
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# 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 /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c
# 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 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 wsock32.lib areslib.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 /libpath:"..\areslib\Debug"
-!ENDIF
+!ENDIF
# Begin Target
@@ -87,10 +87,18 @@ LINK32=link.exe
SOURCE=..\..\ahost.c
# End Source File
+# Begin Source File
+
+SOURCE=..\..\ares_getopt.c
+# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\..\ares_getopt.h
+# End Source File
# End Group
# Begin Group "Resource Files"
diff --git a/vc/areslib/areslib.dsp b/vc/areslib/areslib.dsp
index 9e9d9bd..05061af 100644
--- a/vc/areslib/areslib.dsp
+++ b/vc/areslib/areslib.dsp
@@ -129,10 +129,6 @@ SOURCE=..\..\ares_gethostbyname.c
# End Source File
# Begin Source File
-SOURCE=..\..\ares_getopt.c
-# End Source File
-# Begin Source File
-
SOURCE=..\..\ares_getsock.c
# End Source File
# Begin Source File