diff options
author | shmuz <shmuz> | 2007-01-02 18:09:16 +0000 |
---|---|---|
committer | shmuz <shmuz> | 2007-01-02 18:09:16 +0000 |
commit | 62fc7aae9452568b246d3d89c59b77f4eefe6bae (patch) | |
tree | 952a5763ab7baad546ce345b488d9033789781e9 /windows | |
parent | 73453b1b1cba35e2d84691aca559503ae217bcf6 (diff) | |
download | lrexlib-62fc7aae9452568b246d3d89c59b77f4eefe6bae.tar.gz |
files removed since Borland C++ 5.5.1 does not support "long long"
Diffstat (limited to 'windows')
-rwxr-xr-x | windows/bcc32/config.mak | 37 | ||||
-rwxr-xr-x | windows/bcc32/make_bcc.mak | 105 | ||||
-rwxr-xr-x | windows/bcc32/makedef.lua | 8 | ||||
-rwxr-xr-x | windows/bcc32/readme.txt | 21 |
4 files changed, 0 insertions, 171 deletions
diff --git a/windows/bcc32/config.mak b/windows/bcc32/config.mak deleted file mode 100755 index 94ff749..0000000 --- a/windows/bcc32/config.mak +++ /dev/null @@ -1,37 +0,0 @@ -# Configuration file. - -#========================================================================== -# POSIX1 --> the library by: Henry Spencer -# POSIX2 --> the library by: John Maddock -# PCRE, PCRE_NR --> the library by: Philip Hazel -#========================================================================== - -# Definitions common for all the targets -#========================================================================== -DIR_LUA = \progr\lib\lua\lua_5.1 -LIB_LUA = lua5.1.lib -DIR_BCB = "C:\Program Files\Borland\CBuilder5" - -# 1. PCRE -#========================================================================== -DIR_PCRE = \progr\lib\pcre\pcre_6.7 -LIB_PCRE = pcre.lib -TARG_PCRE = rex_pcre - -# 2. PCRE with recursion disabled -#========================================================================== -LIB_PCRE_NR = pcre_nr.lib -TARG_PCRE_NR = rex_pcre_nr - -# 3. POSIX1 -#========================================================================== -DIR_POSIX1 = \progr\lib\henry_spencer -LIB_POSIX1 = libregex-bcc.lib -TARG_POSIX1 = rex_posix1 - -# 4. POSIX2 -#========================================================================== -DIR_POSIX2 = E:\boost_1_31_0 -LIB_POSIX2 = libboost_regex-bcb-mt-s-1_31.lib -TARG_POSIX2 = rex_posix2 - diff --git a/windows/bcc32/make_bcc.mak b/windows/bcc32/make_bcc.mak deleted file mode 100755 index b1d0329..0000000 --- a/windows/bcc32/make_bcc.mak +++ /dev/null @@ -1,105 +0,0 @@ -# Makefile for LuaPcre.dll, LuaPcre_nr.dll, LuaPosix1.dll and LuaPosix2.dll - -# using Borland tools under Windows (make.exe, bcc32.exe, ilink32.exe) -# -# author: Shmuel Zeigerman (shmuz@actcom.co.il) -# - -#========================================================================== -# POSIX1 --> the library by: Henry Spencer -# POSIX2 --> the library by: John Maddock -# PCRE, PCRE_NR --> the library by: Philip Hazel -#========================================================================== - -# Definitions common for all the targets -#========================================================================== -!include .\config.mak - -SRCDIR = ..\..\src -SRCS_POSIX = $(SRCDIR)\lposix.c $(SRCDIR)\common.c -OBJS_POSIX = lposix.obj common.obj -SRCS_PCRE = $(SRCDIR)\lpcre.c $(SRCDIR)\lpcre_f.c $(SRCDIR)\common.c -OBJS_PCRE = lpcre.obj lpcre_f.obj common.obj -STARTUP = c0d32.obj -LFLAGS = -aa -Gi -Gn -Tpd -x - -# PCRE, multi-threaded build -#========================================================================== -DEF_PCRE = -DREX_OPENLIB=luaopen_$(TARG_PCRE) \ - -DREX_LIBNAME=\"$(TARG_PCRE)\" -D$(CMDLINE) -DEFFILE_PCRE = $(TARG_PCRE).def -INC_PCRE = $(DIR_LUA);$(DIR_PCRE) -LIBS_PCRE = $(LIB_LUA) $(LIB_PCRE) import32.lib cw32mt.lib -LIBD_PCRE = $(DIR_BCB)\LIB;$(DIR_LUA);$(DIR_PCRE) -FLAGS_PCRE = -A -tWD -tWM - -# PCRE with recursion disabled, multi-threaded build -#========================================================================== -DEF_PCRE_NR = -DREX_OPENLIB=luaopen_$(TARG_PCRE_NR) \ - -DREX_LIBNAME=\"$(TARG_PCRE_NR)\" -D$(CMDLINE) -DEFFILE_PCRE_NR = $(TARG_PCRE_NR).def -LIBS_PCRE_NR = $(LIB_LUA) $(LIB_PCRE_NR) import32.lib cw32mt.lib - -# POSIX1, single-threaded build -#========================================================================== -DEF_POSIX1 = -DREX_OPENLIB=luaopen_$(TARG_POSIX1) \ - -DREX_LIBNAME=\"$(TARG_POSIX1)\" -D$(CMDLINE) -DEFFILE_POSIX1 = $(TARG_POSIX1).def -INC_POSIX1 = $(DIR_LUA);$(DIR_POSIX1) -LIBS_POSIX1 = $(LIB_LUA) $(LIB_POSIX1) import32.lib cw32.lib -LIBD_POSIX1 = $(DIR_BCB)\LIB;$(DIR_LUA);$(DIR_POSIX1) -FLAGS_POSIX1 = -A -tWD - - -# POSIX2, multi-threaded build -#========================================================================== -# -# File regex.hpp was copied from $(DIR_POSIX2)/boost to $(DIR_POSIX2) -# -DEF_POSIX2 = -DREX_OPENLIB=luaopen_$(TARG_POSIX2) \ - -DREX_LIBNAME=\"$(TARG_POSIX2)\" -D$(CMDLINE) -DEFFILE_POSIX2 = $(TARG_POSIX2).def -INC_POSIX2 = $(DIR_LUA);$(DIR_POSIX2);$(DIR_POSIX2)/boost -LIBS_POSIX2 = $(LIB_LUA) $(LIB_POSIX2) import32.lib cw32mt.lib -LIBD_POSIX2 = $(DIR_BCB)\LIB;$(DIR_LUA);$(DIR_POSIX2)\libs\regex\build\bcb -FLAGS_POSIX2 = -tWD -tWM -DREX_POSIX_EXT - -# ------------------------------------------------------------------------- -# TARGETS -# ------------------------------------------------------------------------- -all : posix1 posix2 pcre pcre_nr -posix1 : $(TARG_POSIX1).dll -posix2 : $(TARG_POSIX2).dll -pcre : $(TARG_PCRE).dll -pcre_nr : $(TARG_PCRE_NR).dll - -$(TARG_PCRE).dll : $(SRCS_PCRE) - lua makedef.lua $(TARG_PCRE) - bcc32 -c $(FLAGS_PCRE) -I$(INC_PCRE) $(DEF_PCRE) $(SRCS_PCRE) - ilink32 -L$(LIBD_PCRE) $(LFLAGS) $(STARTUP) $(OBJS_PCRE), $(TARG_PCRE),, \ - $(LIBS_PCRE), $(DEFFILE_PCRE), - -$(TARG_PCRE_NR).dll : $(SRCS_PCRE) - lua makedef.lua $(TARG_PCRE_NR) - bcc32 -c $(FLAGS_PCRE) -I$(INC_PCRE) $(DEF_PCRE_NR) $(SRCS_PCRE) - ilink32 -L$(LIBD_PCRE) $(LFLAGS) $(STARTUP) $(OBJS_PCRE), $(TARG_PCRE_NR),, \ - $(LIBS_PCRE_NR), $(DEFFILE_PCRE_NR), - -$(TARG_POSIX1).dll : $(SRCS_POSIX) - lua makedef.lua $(TARG_POSIX1) - bcc32 -c $(FLAGS_POSIX1) -I$(INC_POSIX1) $(DEF_POSIX1) $(SRCS_POSIX) - ilink32 -L$(LIBD_POSIX1) $(LFLAGS) $(STARTUP) $(OBJS_POSIX), \ - $(TARG_POSIX1),, $(LIBS_POSIX1), $(DEFFILE_POSIX1), - -$(TARG_POSIX2).dll : $(SRCS_POSIX) - lua makedef.lua $(TARG_POSIX2) - bcc32 -c $(FLAGS_POSIX2) -I$(INC_POSIX2) $(DEF_POSIX2) $(SRCS_POSIX) - ilink32 -L$(LIBD_POSIX2) $(LFLAGS) $(STARTUP) $(OBJS_POSIX), \ - $(TARG_POSIX2),, $(LIBS_POSIX2), $(DEFFILE_POSIX2), - - -clean : - del *.obj - del *.tds - del *.lib - del *.def - diff --git a/windows/bcc32/makedef.lua b/windows/bcc32/makedef.lua deleted file mode 100755 index 815c7e5..0000000 --- a/windows/bcc32/makedef.lua +++ /dev/null @@ -1,8 +0,0 @@ --- This script creates definition (.def) files. --- arg[1] is target name w/o extension. - -local target = assert(arg[1]) -local f = assert(io.open(target .. ".def", "w")) -f:write("EXPORTS\n") -f:write(" luaopen_" .. target .. " = _luaopen_" .. target .. "\n") -f:close() diff --git a/windows/bcc32/readme.txt b/windows/bcc32/readme.txt deleted file mode 100755 index 5b8aec6..0000000 --- a/windows/bcc32/readme.txt +++ /dev/null @@ -1,21 +0,0 @@ -Introduction ------------- - This directory contains files for building Lrexlib libraries for Windows - using Borland development tools. - - The makefile was tested with: - bcc32.exe - version 5.5.1 - ilink32.exe - version 5.00 - make.exe - version 5.2 - -Build instructions ------------------- - 1. Edit config.mak to adjust the directory names, library names - and target names to your system configuration and personal preferences. - - 2. Run "make.exe -fmake_bcc.mak" - -- to build all the available targets; - Run "make.exe -fmake_bcc.mak <target_name> [<target_name> ...]", - for example: make.exe -fmake_bcc.mak posix1 pcre - -- to build only specified targets. - |