From c5f6e86422a951c5c6db6e0cb65f95b29e30f797 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Fri, 22 Aug 2003 15:50:38 +0000 Subject: [PATCH] libArabicaXML folded into libSAX --- XML/Makefile | 120 -------------------------------------- XML/XML.dsp | 104 --------------------------------- XML/XML.mak | 153 ------------------------------------------------- XML/XML.vcproj | 122 --------------------------------------- 4 files changed, 499 deletions(-) delete mode 100644 XML/Makefile delete mode 100644 XML/XML.dsp delete mode 100644 XML/XML.mak delete mode 100644 XML/XML.vcproj diff --git a/XML/Makefile b/XML/Makefile deleted file mode 100644 index 787fac1f..00000000 --- a/XML/Makefile +++ /dev/null @@ -1,120 +0,0 @@ -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# Utilities - -REMOVE = rm -rf -LINK = ln -sf - -# For GNU make: -OS_VER := $(shell uname -s | sed -e s/\[\.\ \]/_/g) -# For other make (like Sun's) you can try: -# OS_VER:sh =uname -sr | sed -e s/\[\.\ \]/_/g - -# C/C++ shortcuts -CXX = c++ - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// -# Compile and link flags... -# -# -c Produce object code. -# -Wall Max warning level. -# -Werror Treat warnings as errors. -# -O2 Turn on medium optimisations. -# -g Add debug information. -# -D Define symbolic constant. -# -fPIC Generate position independent code. -# -shared Produce a sharable object. -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -ifeq ($(OS_VER),SunOS) -CXXFLAGS = -Wall -pthreads -fpic -else -CXXFLAGS = -Wall -pthread -fpic -endif - -LDFLAGS = -shared -Wl,"-hlibArabicaUtils.so.1" -CCDEPFLAGS = -E -M - -# Uncomment for optimisations -CXXFLAGS += -O2 -LDFLAGS += -O2 - -# Uncomment for debug version -# CXXFLAGS += -g -D__DEBUG__ - - -# Includes and library directories -INCS_DIRS = -I.. -#INCS_DIRS = -I.. - -LIBS_DIRS = - -STATIC_LIBS = -DYNAMIC_LIBS = -lstdc++ - -CXXFLAGS += ${INCS_DIRS} -LDFLAGS += ${DYNAMIC_LIBS} - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -SRCS = XMLCharacterClasses.cpp - -HDRS = $(patsubst %.c,%.h,$(patsubst %.cpp,%.h,$(SRCS))) -OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SRCS))) - - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# High level rules - -all : libArabicaXML.so.1 libArabicaXML.a - -libArabicaXML.so.1 : $(OBJS) - $(LINK.cc) -o $@ $(OBJS) - cp -f libArabicaXML.so.1 ../bin - (cd ../bin; ln -fs libArabicaXML.so.1 libArabicaXML.so) - -libArabicaXML.a : $(OBJS) - ar r $@ $(OBJS) - cp -f libArabicaXML.a ../bin - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# Compile rules - -%.o : %.cpp - $(COMPILE.cc) -o $@ $< - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# Dependencies - -depend : .depend - -.depend :: - $(COMPILE.cc) $(CCDEPFLAGS) $(SRCS) > .depend - --include .depend - - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# Cleaning up - -clean : - $(REMOVE) .depend *.o lib* *~ core ../bin/libArabicaXML* - - - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# End of File diff --git a/XML/XML.dsp b/XML/XML.dsp deleted file mode 100644 index 6490ae9e..00000000 --- a/XML/XML.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="XML" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=XML - 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 "XML.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 "XML.mak" CFG="XML - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "XML - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "XML - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "XML - 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 Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD BASE RSC /l 0x809 /d "NDEBUG" -# ADD RSC /l 0x809 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ELSEIF "$(CFG)" == "XML - 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 "..\lib" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD BASE RSC /l 0x809 /d "_DEBUG" -# ADD RSC /l 0x809 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ENDIF - -# Begin Target - -# Name "XML - Win32 Release" -# Name "XML - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\XMLCharacterClasses.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\UnicodeCharacters.h -# End Source File -# Begin Source File - -SOURCE=.\XMLCharacterClasses.h -# End Source File -# End Group -# End Target -# End Project diff --git a/XML/XML.mak b/XML/XML.mak deleted file mode 100644 index 7af27986..00000000 --- a/XML/XML.mak +++ /dev/null @@ -1,153 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on XML.dsp -!IF "$(CFG)" == "" -CFG=XML - Win32 Debug -!MESSAGE No configuration specified. Defaulting to XML - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "XML - Win32 Release" && "$(CFG)" != "XML - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "XML.mak" CFG="XML - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "XML - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "XML - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "XML - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -ALL : "$(OUTDIR)\XML.lib" - - -CLEAN : - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\XMLCharacterClasses.obj" - -@erase "$(OUTDIR)\XML.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR)\XML.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\XML.bsc" -BSC32_SBRS= \ - -LIB32=link.exe -lib -LIB32_FLAGS=/nologo /out:"$(OUTDIR)\XML.lib" -LIB32_OBJS= \ - "$(INTDIR)\XMLCharacterClasses.obj" - -"$(OUTDIR)\XML.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS) - $(LIB32) @<< - $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS) -<< - -!ELSEIF "$(CFG)" == "XML - Win32 Debug" - -OUTDIR=.\..\lib -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\..\lib -# End Custom Macros - -ALL : "$(OUTDIR)\XML.lib" - - -CLEAN : - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(INTDIR)\XMLCharacterClasses.obj" - -@erase "$(OUTDIR)\XML.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP_PROJ=/nologo /MLd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR)\XML.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\XML.bsc" -BSC32_SBRS= \ - -LIB32=link.exe -lib -LIB32_FLAGS=/nologo /out:"$(OUTDIR)\XML.lib" -LIB32_OBJS= \ - "$(INTDIR)\XMLCharacterClasses.obj" - -"$(OUTDIR)\XML.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS) - $(LIB32) @<< - $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS) -<< - -!ENDIF - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("XML.dep") -!INCLUDE "XML.dep" -!ELSE -!MESSAGE Warning: cannot find "XML.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "XML - Win32 Release" || "$(CFG)" == "XML - Win32 Debug" -SOURCE=.\XMLCharacterClasses.cpp - -"$(INTDIR)\XMLCharacterClasses.obj" : $(SOURCE) "$(INTDIR)" - - - -!ENDIF - diff --git a/XML/XML.vcproj b/XML/XML.vcproj deleted file mode 100644 index f85bf784..00000000 --- a/XML/XML.vcproj +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -