diff --git a/Utils/Makefile b/Utils/Makefile deleted file mode 100644 index 57fa2562..00000000 --- a/Utils/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 = utf16utf8_codecvt.cpp iso8859_1utf8_codecvt.cpp - -HDRS = $(patsubst %.c,%.h,$(patsubst %.cpp,%.h,$(SRCS))) -OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SRCS))) - - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# High level rules - -all : libArabicaUtils.so.1 libArabicaUtils.a - -libArabicaUtils.so.1 : $(OBJS) - $(LINK.cc) -o $@ $(OBJS) - cp -f libArabicaUtils.so.1 ../bin - (cd ../bin; ln -fs libArabicaUtils.so.1 libArabicaUtils.so) - -libArabicaUtils.a : $(OBJS) - ar r $@ $(OBJS) - cp -f libArabicaUtils.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/libArabicaUtils* - - - -#///////////////////////////////////////////////////////////////////////// -#////////////////////////////////////////////// - -# End of File diff --git a/Utils/Utilities.dsp b/Utils/Utilities.dsp deleted file mode 100644 index 4d84f9a3..00000000 --- a/Utils/Utilities.dsp +++ /dev/null @@ -1,128 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Utilities" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=Utilities - 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 "Utilities.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 "Utilities.mak" CFG="Utilities - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Utilities - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "Utilities - 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)" == "Utilities - 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)" == "Utilities - 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 "Utilities - Win32 Release" -# Name "Utilities - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\base64_codecvt.cpp -# End Source File -# Begin Source File - -SOURCE=.\iso8859_1utf8_codecvt.cpp -# End Source File -# Begin Source File - -SOURCE=.\utf16utf8_codecvt.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\base64_codecvt.h -# End Source File -# Begin Source File - -SOURCE=.\convert_adaptor.h -# End Source File -# Begin Source File - -SOURCE=.\convertstream.h -# End Source File -# Begin Source File - -SOURCE=.\iso8859_1utf8_codecvt.h -# End Source File -# Begin Source File - -SOURCE=.\socket_stream.h -# End Source File -# Begin Source File - -SOURCE=.\utf16utf8_codecvt.h -# End Source File -# End Group -# End Target -# End Project diff --git a/Utils/Utilities.mak b/Utils/Utilities.mak deleted file mode 100644 index 4943ea2b..00000000 --- a/Utils/Utilities.mak +++ /dev/null @@ -1,171 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on Utilities.dsp -!IF "$(CFG)" == "" -CFG=Utilities - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Utilities - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Utilities - Win32 Release" && "$(CFG)" != "Utilities - 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 "Utilities.mak" CFG="Utilities - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Utilities - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "Utilities - 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)" == "Utilities - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -ALL : "$(OUTDIR)\Utilities.lib" - - -CLEAN : - -@erase "$(INTDIR)\base64_codecvt.obj" - -@erase "$(INTDIR)\iso8859_1utf8_codecvt.obj" - -@erase "$(INTDIR)\utf16utf8_codecvt.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\Utilities.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)\Utilities.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Utilities.bsc" -BSC32_SBRS= \ - -LIB32=link.exe -lib -LIB32_FLAGS=/nologo /out:"$(OUTDIR)\Utilities.lib" -LIB32_OBJS= \ - "$(INTDIR)\iso8859_1utf8_codecvt.obj" \ - "$(INTDIR)\utf16utf8_codecvt.obj" \ - "$(INTDIR)\base64_codecvt.obj" - -"$(OUTDIR)\Utilities.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS) - $(LIB32) @<< - $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS) -<< - -!ELSEIF "$(CFG)" == "Utilities - Win32 Debug" - -OUTDIR=.\..\lib -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\..\lib -# End Custom Macros - -ALL : "$(OUTDIR)\Utilities.lib" - - -CLEAN : - -@erase "$(INTDIR)\base64_codecvt.obj" - -@erase "$(INTDIR)\iso8859_1utf8_codecvt.obj" - -@erase "$(INTDIR)\utf16utf8_codecvt.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\Utilities.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)\Utilities.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Utilities.bsc" -BSC32_SBRS= \ - -LIB32=link.exe -lib -LIB32_FLAGS=/nologo /out:"$(OUTDIR)\Utilities.lib" -LIB32_OBJS= \ - "$(INTDIR)\iso8859_1utf8_codecvt.obj" \ - "$(INTDIR)\utf16utf8_codecvt.obj" \ - "$(INTDIR)\base64_codecvt.obj" - -"$(OUTDIR)\Utilities.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("Utilities.dep") -!INCLUDE "Utilities.dep" -!ELSE -!MESSAGE Warning: cannot find "Utilities.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "Utilities - Win32 Release" || "$(CFG)" == "Utilities - Win32 Debug" -SOURCE=.\base64_codecvt.cpp - -"$(INTDIR)\base64_codecvt.obj" : $(SOURCE) "$(INTDIR)" - - -SOURCE=.\iso8859_1utf8_codecvt.cpp - -"$(INTDIR)\iso8859_1utf8_codecvt.obj" : $(SOURCE) "$(INTDIR)" - - -SOURCE=.\utf16utf8_codecvt.cpp - -"$(INTDIR)\utf16utf8_codecvt.obj" : $(SOURCE) "$(INTDIR)" - - - -!ENDIF - diff --git a/Utils/Utilities.vcproj b/Utils/Utilities.vcproj deleted file mode 100644 index 052c5850..00000000 --- a/Utils/Utilities.vcproj +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -