Commit 414f269a authored by Eric Zurcher's avatar Eric Zurcher Committed by Daniel Veillard
Browse files

Basic changes for Win32 builds of release 2.9.0: compile buf.c

Makes builds on Windows (whether by MSVC, BCB, or MinGW) to compile buf.c
parent 1f972e9f
......@@ -11,11 +11,13 @@
#include <stdio.h>
#include <string.h>
#ifndef STDOUT_FILENO
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
#define STDOUT_FILENO fileno(stdout)
#endif /* HAVE_UNISTD_H */
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
......
......@@ -119,7 +119,8 @@ LDFLAGS = $(LDFLAGS)
!endif
# Libxml object files.
XML_OBJS = $(XML_INTDIR)\c14n.obj\
XML_OBJS = $(XML_INTDIR)\buf.obj\
$(XML_INTDIR)\c14n.obj\
$(XML_INTDIR)\catalog.obj\
$(XML_INTDIR)\chvalid.obj\
$(XML_INTDIR)\debugXML.obj\
......@@ -164,7 +165,8 @@ XML_OBJS = $(XML_INTDIR)\c14n.obj\
$(XML_INTDIR)\xmlstring.obj
# Static libxml object files.
XML_OBJS_A = $(XML_INTDIR_A)\c14n.obj\
XML_OBJS_A = $(XML_INTDIR_A)\buf.obj\
$(XML_INTDIR_A)\c14n.obj\
$(XML_INTDIR_A)\catalog.obj\
$(XML_INTDIR_A)\chvalid.obj\
$(XML_INTDIR_A)\debugXML.obj\
......@@ -225,7 +227,8 @@ UTILS = $(BINDIR)\xmllint.exe\
$(BINDIR)\testXPath.exe\
$(BINDIR)\runtest.exe\
$(BINDIR)\runsuite.exe\
$(BINDIR)\testapi.exe
$(BINDIR)\testapi.exe\
$(BINDIR)\testlimits.exe
!if "$(WITH_THREADS)" == "yes" || "$(WITH_THREADS)" == "ctls" || "$(WITH_THREADS)" == "native"
......
......@@ -113,7 +113,8 @@ endif
# Libxml object files.
XML_OBJS = $(XML_INTDIR)/c14n.o\
XML_OBJS = $(XML_INTDIR)/buf.o\
$(XML_INTDIR)/c14n.o\
$(XML_INTDIR)/catalog.o\
$(XML_INTDIR)/chvalid.o\
$(XML_INTDIR)/debugXML.o\
......@@ -160,7 +161,8 @@ XML_OBJS = $(XML_INTDIR)/c14n.o\
XML_SRCS = $(subst .o,.c,$(subst $(XML_INTDIR)/,$(XML_SRCDIR)/,$(XML_OBJS)))
# Static libxml object files.
XML_OBJS_A = $(XML_INTDIR_A)/c14n.o\
XML_OBJS_A = $(XML_INTDIR_A)/buf.o\
$(XML_INTDIR_A)/c14n.o\
$(XML_INTDIR_A)/catalog.o\
$(XML_INTDIR_A)/chvalid.o\
$(XML_INTDIR_A)/debugXML.o\
......@@ -223,7 +225,8 @@ UTILS = $(BINDIR)/xmllint.exe\
$(BINDIR)/testXPath.exe\
$(BINDIR)/runtest.exe\
$(BINDIR)/runsuite.exe\
$(BINDIR)/testapi.exe
$(BINDIR)/testapi.exe\
$(BINDIR)/testlimits.exe
ifeq ($(WITH_THREADS),yes)
UTILS += $(BINDIR)/testThreadsWin32.exe
......
......@@ -108,7 +108,8 @@ LDFLAGS = $(LDFLAGS)
!endif
# Libxml object files.
XML_OBJS = $(XML_INTDIR)\c14n.obj\
XML_OBJS = $(XML_INTDIR)\buf.obj\
$(XML_INTDIR)\c14n.obj\
$(XML_INTDIR)\catalog.obj\
$(XML_INTDIR)\chvalid.obj\
$(XML_INTDIR)\debugXML.obj\
......@@ -153,7 +154,8 @@ XML_OBJS = $(XML_INTDIR)\c14n.obj\
$(XML_INTDIR)\xmlstring.obj
# Static libxml object files.
XML_OBJS_A = $(XML_INTDIR_A)\c14n.obj\
XML_OBJS_A = $(XML_INTDIR_A)\buf.obj\
$(XML_INTDIR_A)\c14n.obj\
$(XML_INTDIR_A)\catalog.obj\
$(XML_INTDIR_A)\chvalid.obj\
$(XML_INTDIR_A)\debugXML.obj\
......@@ -198,7 +200,8 @@ XML_OBJS_A = $(XML_INTDIR_A)\c14n.obj\
$(XML_INTDIR_A)\xmlstring.obj
# Static libxml object files.
XML_OBJS_A_DLL = $(XML_INTDIR_A_DLL)\c14n.obj\
XML_OBJS_A_DLL = $(XML_INTDIR_A_DLL)\buf.obj\
$(XML_INTDIR_A_DLL)\c14n.obj\
$(XML_INTDIR_A_DLL)\catalog.obj\
$(XML_INTDIR_A_DLL)\chvalid.obj\
$(XML_INTDIR_A_DLL)\debugXML.obj\
......
......@@ -69,6 +69,7 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\buf.c" />
<ClCompile Include="..\..\c14n.c" />
<ClCompile Include="..\..\catalog.c" />
<ClCompile Include="..\..\chvalid.c" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment