* Chas Woodfield, Fretwell Downing Datasystem.
*
* $Log: statserv.c,v $
- * Revision 1.38 1997-09-04 14:19:14 adam
+ * Revision 1.39 1997-09-09 10:10:19 adam
+ * Another MSV5.0 port. Changed projects to include proper
+ * library/include paths.
+ * Server starts server in test-mode when no options are given.
+ *
+ * Revision 1.38 1997/09/04 14:19:14 adam
* Added credits.
*
* Revision 1.37 1997/09/01 08:53:01 adam
*
*/
-/*
- * Simple, static server. I wouldn't advise a static server unless you
- * really have to, but it's great for debugging memory management. :)
- */
-
#include <yconfig.h>
#include <stdio.h>
#ifdef WINDOWS
int iHandles = 0;
HANDLE *pThreadHandles = NULL;
- /* We need to stop threads adding and removing while we start the closedown process */
+ /* We need to stop threads adding and removing while we */
+ /* start the closedown process */
EnterCriticalSection(&Thread_CritSect);
{
{
if ((res = cs_listen(line, 0, 0)) < 0)
{
- logf(LOG_FATAL, "cs_listen failed.");
+ logf(LOG_FATAL, "cs_listen failed.");
return;
}
else if (res == 1)
- return;
+ return;
logf(LOG_DEBUG, "listen ok");
iochan_setevent(h, EVENT_OUTPUT);
iochan_setflags(h, EVENT_OUTPUT | EVENT_EXCEPT); /* set up for acpt */
{
COMSTACK new_line;
IOCHAN new_chan;
- char *a;
+ char *a = NULL;
DWORD ThreadId;
- if (!(new_line = cs_accept(line)))
- {
- logf(LOG_FATAL, "Accept failed.");
- iochan_setflags(h, EVENT_INPUT | EVENT_EXCEPT); /* reset listener */
- return;
- }
- logf(LOG_DEBUG, "accept ok");
+ if (!(new_line = cs_accept(line)))
+ {
+ logf(LOG_FATAL, "Accept failed.");
+ iochan_setflags(h, EVENT_INPUT | EVENT_EXCEPT); /* reset listener */
+ return;
+ }
+ logf(LOG_DEBUG, "accept ok");
- if (!(new_chan = iochan_create(cs_fileno(new_line), ir_session, EVENT_INPUT)))
- {
- logf(LOG_FATAL, "Failed to create iochan");
+ if (!(new_chan = iochan_create(cs_fileno(new_line), ir_session, EVENT_INPUT)))
+ {
+ logf(LOG_FATAL, "Failed to create iochan");
iochan_destroy(h);
return;
- }
- if (!(newas = create_association(new_chan, new_line)))
- {
- logf(LOG_FATAL, "Failed to create new assoc.");
+ }
+
+ logf(LOG_DEBUG, "accept ok 2");
+ if (!(newas = create_association(new_chan, new_line)))
+ {
+ logf(LOG_FATAL, "Failed to create new assoc.");
iochan_destroy(h);
return;
- }
- iochan_setdata(new_chan, newas);
- iochan_settimeout(new_chan, control_block.idle_timeout * 60);
- a = cs_addrstr(new_line);
- logf(LOG_LOG, "Accepted connection from %s", a ? a : "[Unknown]");
-
- /* Now what we need todo is create a new thread with this iochan as the parameter */
-/* if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)event_loop, new_chan, 0, &ThreadId) == NULL)
-*/
- /* Somehow, somewhere we need to store this thread id, otherwise we won't be able to close cleanly */
+ }
+ logf(LOG_DEBUG, "accept ok 3");
+ iochan_setdata(new_chan, newas);
+ iochan_settimeout(new_chan, control_block.idle_timeout * 60);
+ a = cs_addrstr(new_line);
+ logf(LOG_LOG, "Accepted connection from %s", a ? a : "[Unknown]");
+ /* Now what we need todo is create a new thread with this iochan as
+ the parameter */
+ /* if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)event_loop, new_chan,
+ 0, &ThreadId) == NULL) */
+ /* Somehow, somewhere we need to store this thread id, otherwise we won't be
+ able to close cleanly */
NewHandle = (HANDLE)_beginthreadex(NULL, 0, event_loop, new_chan, 0, &ThreadId);
if (NewHandle == (HANDLE)-1)
- {
- logf(LOG_FATAL, "Failed to create new thread.");
+ {
+
+ logf(LOG_FATAL|LOG_ERRNO, "Failed to create new thread.");
iochan_destroy(h);
return;
- }
-
+ }
/* We successfully created the thread, so add it to the list */
statserv_add(NewHandle, new_chan);
}
}
-#ifdef WINDOWS
+#if 0
log_init(control_block.loglevel, NULL, control_block.logfile);
#endif /* WINDOWS */
# PROP Ignore_Export_Lib 0\r
# PROP Target_Dir ""\r
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINDOWS=1 /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINDOWS=1 /FD /c\r
# SUBTRACT CPP /YX\r
# ADD BASE MTL /nologo /D "NDEBUG" /win32\r
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
SOURCE=$(InputPath)\r
PostBuild_Desc=Copy Lib and Dll\r
PostBuild_Cmds=copy $(OutDir)\$(TargetName).lib $(ProjDir)\lib copy\\r
- $(OutDir)\$(TargetName).dll $(ProjDir)\lib\r
+ $(OutDir)\$(TargetName).dll $(ProjDir)\lib\r
# End Special Build Tool\r
\r
!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
SOURCE=$(InputPath)\r
PostBuild_Desc=Copy Lib and Dll\r
PostBuild_Cmds=copy $(OutDir)\$(TargetName).lib $(ProjDir)\lib copy\\r
- $(OutDir)\$(TargetName).dll $(ProjDir)\lib\r
+ $(OutDir)\$(TargetName).dll $(ProjDir)\lib\r
# End Special Build Tool\r
\r
!ENDIF \r
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"\r
# Begin Source File\r
\r
+SOURCE=.\Util\atoin.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\odr\ber_any.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_bit.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_bool.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_int.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_len.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_null.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_oct.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_oid.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\ber_tag.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\cclerrms.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\cclfind.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\cclptree.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\cclqfile.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\cclqual.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\cclstr.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\ccl\ccltoken.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\comstack\comstack.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_absyn.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_attset.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_doespec.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_espec.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_expout.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_grs.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_map.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_marc.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_read.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_soif.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_sumout.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_sutrs.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_tagset.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_varset.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\retrieval\d1_write.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\asn\diagbib1.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\dmalloc.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\dumpber.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\log.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\marcdisp.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\nmem.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_any.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_bit.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_bool.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_choice.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_cons.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_int.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_mem.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_null.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_oct.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_oid.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_priv.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_seq.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_tag.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_use.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\odr\odr_util.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\oid.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\options.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\pquery.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\asn\proto.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-acc.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-add.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-arc.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-dia.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-esp.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-exd.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-exp.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-ext.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-grs.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\asn\prt-rsc.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\query.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\readconf.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\comstack\tcpip.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\tpath.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\comstack\waislen.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\wrbuf.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\util\xmalloc.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\util\yaz-ccl.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=".\util\yaz-util.c"\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=.\asn\zget.c\r
+\r
+!IF "$(CFG)" == "yaz - Win32 Release"\r
+\r
+!ELSEIF "$(CFG)" == "yaz - Win32 Debug"\r
+\r
+# ADD CPP /I "include"\r
+\r
+!ENDIF \r
+\r
# End Source File\r
# End Group\r
# Begin Group "Header Files"\r