renamed SAX.lib/libSAX to Arabica.lib/libArabica

This commit is contained in:
jez_higgins 2003-08-25 15:13:47 +00:00
parent 91b590ad66
commit 21a9defd91
8 changed files with 25 additions and 22 deletions

View file

@ -35,7 +35,7 @@ else
CXXFLAGS = -Wall
endif
LDFLAGS = -shared -Wl,"-hlibSAX.so.1"
LDFLAGS = -shared -Wl,"-hlibArabica.so.1"
CCDEPFLAGS = -E -M
# Uncomment for optimisations
@ -43,7 +43,7 @@ CXXFLAGS += -O2
LDFLAGS += -O2
# edit for your parser choice - may include more than one
PARSER_CONFIG = -DUSE_LIBXML2
PARSER_CONFIG = -DUSE_GARDEN
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
# Includes and library directories
@ -78,18 +78,18 @@ OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SRCS)))
# High level rules
all : libSAX.so.1 libSAX.a
all : libArabica.so.1 libArabica.a
libSAX.so.1 : $(OBJS)
libArabica.so.1 : $(OBJS)
$(LINK.cc) -o $@ $(OBJS)
cp -f libSAX.so.1 ../bin
(cd ../bin; rm -f libSAX.so; ln -s libSAX.so.1 libSAX.so)
cp -f libArabica.so.1 ../bin
(cd ../bin; rm -f libArabica.so; ln -s libArabica.so.1 libArabica.so)
# $(LINK) $@ libSAX.so
# $(LINK) $@ libArabica.so
libSAX.a : $(OBJS)
libArabica.a : $(OBJS)
ar r $@ $(OBJS)
cp -f libSAX.a ../bin
cp -f libArabica.a ../bin
#/////////////////////////////////////////////////////////////////////////
#//////////////////////////////////////////////
@ -122,7 +122,7 @@ depend : .depend
# Cleaning up
clean :
$(REMOVE) .depend *.o helpers/*.o wrappers/*.o ../Utils/*.o libSAX* *~ helpers/*~ core ../bin/libSAX* saxlib.cpp ParserConfig.h
$(REMOVE) .depend *.o helpers/*.o wrappers/*.o ../Utils/*.o libArabica* *~ helpers/*~ core ../bin/libArabica* saxlib.cpp ParserConfig.h

View file

@ -39,7 +39,7 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile=".\..\lib\SAX.lib"
OutputFile=".\..\lib\Arabica.lib"
SuppressStartupBanner="TRUE"/>
<Tool
Name="VCMIDLTool"/>
@ -84,7 +84,7 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile=".\Release\SAX.lib"
OutputFile=".\..\lib\Arabica.lib"
SuppressStartupBanner="TRUE"/>
<Tool
Name="VCMIDLTool"/>

View file

@ -40,7 +40,7 @@ CCDEPFLAGS = -E -M
# Uncomment for optimisations
CXXFLAGS += -O2
LDFLAGS += -O2 -lSAX -lArabicaUtils
LDFLAGS += -O2 -lArabica
# Uncomment for debug version
# CXXFLAGS += -g -D__DEBUG__
@ -53,7 +53,7 @@ INCS_DIRS = -I../..
LIBS_DIRS =
STATIC_LIBS =
DYNAMIC_LIBS = -L../../bin -lSAX -lxml2
DYNAMIC_LIBS = -L../../bin -lArabica -lxml2
CXXFLAGS += ${INCS_DIRS}
LDFLAGS += ${DYNAMIC_LIBS}

View file

@ -134,7 +134,7 @@
Name="Libs"
Filter="lib">
<File
RelativePath="..\..\lib\SAX.lib">
RelativePath="..\..\lib\Arabica.lib">
</File>
</Filter>
</Files>

View file

@ -135,7 +135,7 @@
Name="Libs"
Filter="lib">
<File
RelativePath="..\..\lib\SAX.lib">
RelativePath="..\..\lib\Arabica.lib">
</File>
</Filter>
</Files>

View file

@ -130,7 +130,7 @@
Name="Libs"
Filter="">
<File
RelativePath="..\..\lib\SAX.lib">
RelativePath="..\..\lib\Arabica.lib">
</File>
</Filter>
</Files>

View file

@ -40,7 +40,7 @@ CCDEPFLAGS = -E -M
# Uncomment for optimisations
CXXFLAGS += -O2
LDFLAGS += -O2 -L../../bin -lSAX -lArabicaUtils
LDFLAGS += -O2 -L../../bin -lArabica
# Uncomment for debug version
CXXFLAGS += -g -D__DEBUG__
@ -53,7 +53,7 @@ INCS_DIRS = -I../..
LIBS_DIRS =
STATIC_LIBS =
DYNAMIC_LIBS = -L../../bin -lSAX -lxml
DYNAMIC_LIBS = -L../../bin -lArabica -lxml
CXXFLAGS += ${INCS_DIRS}
LDFLAGS += ${DYNAMIC_LIBS}

View file

@ -236,9 +236,12 @@
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
</Filter>
<File
RelativePath="..\..\lib\SAX.lib">
</File>
<Filter
Name="Libs">
<File
RelativePath="..\..\lib\Arabica.lib">
</File>
</Filter>
</Files>
<Globals>
</Globals>