summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/build.bat21
-rwxr-xr-xnetware/buildext.bat18
-rwxr-xr-xnetware/buildsapi.bat18
-rw-r--r--netware/common.mif73
-rw-r--r--netware/mktemp.h1
-rw-r--r--netware/php4apache.mak161
-rw-r--r--netware/pwd.h49
-rw-r--r--netware/sys/stat.h138
-rw-r--r--netware/tsrm.mak108
-rw-r--r--netware/zend.mak163
10 files changed, 0 insertions, 750 deletions
diff --git a/netware/build.bat b/netware/build.bat
deleted file mode 100755
index 5c8e310a53..0000000000
--- a/netware/build.bat
+++ /dev/null
@@ -1,21 +0,0 @@
-@echo off
-
-cd ..\%1
-
-if "%2" == "clean" make -f ..\netware\%1.mak clean
-if "%2" == "/?" goto USAGE
-
-if "%1" == "zend" call ..\netware\BisonFlexZend
-if "%1" == "ZendEngine2" call ..\netware\BisonFlexZend
-
-REM Build command
-make -f ..\netware\%1.mak
-goto EXIT
-
-:USAGE
- @echo on
- @echo Usage: build moduleName [clean]
- @echo clean - delete all object files and binaries before building
-
-:EXIT
-cd ..\netware \ No newline at end of file
diff --git a/netware/buildext.bat b/netware/buildext.bat
deleted file mode 100755
index 6cea5530cc..0000000000
--- a/netware/buildext.bat
+++ /dev/null
@@ -1,18 +0,0 @@
-@echo off
-
-cd ..\ext\%1
-
-if "%2" == "clean" make -f %1.mak clean
-if "%2" == "/?" goto USAGE
-
-REM Build command
-make -f %1.mak
-goto EXIT
-
-:USAGE
- @echo on
- @echo Usage: buildext extension_name [clean]
- @echo clean - delete all object files and binaries before building
-
-:EXIT
-cd ..\..\netware
diff --git a/netware/buildsapi.bat b/netware/buildsapi.bat
deleted file mode 100755
index 57498cbf89..0000000000
--- a/netware/buildsapi.bat
+++ /dev/null
@@ -1,18 +0,0 @@
-@echo off
-
-cd ..\sapi\%1
-
-if "%2" == "clean" make -f ..\..\netware\php4%1.mak clean
-if "%2" == "/?" goto USAGE
-
-REM Build command
-make -f ..\..\netware\php4%1.mak
-goto EXIT
-
-:USAGE
- @echo on
- @echo Usage: buildsapi SAPI_Module_Name [clean]
- @echo clean - delete all object files and binaries before building
-
-:EXIT
-cd ..\..\netware
diff --git a/netware/common.mif b/netware/common.mif
deleted file mode 100644
index d09026fd21..0000000000
--- a/netware/common.mif
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# common include file for PHP build
-# include this in every make file
-#
-
-# Set following directories based on your setting
-
-# Path to CodeWarrior installation
-CW_PATH = P:/APPS/SCRIPT/SW/CW71-4
-
-# NWSDK directories
-ifndef SDK_DIR
-SDK_DIR = R:/script/common/libc
-endif
-
-# MPK related directory
-ifndef MPK_DIR
-MPK_DIR = p:/apps/script/mpk
-endif
-
-#ifndef CLIB_DIR
-#CLIB_DIR = p:/apps/ndk0601/nwsdk
-#endif
-
-# Winsock stuff
-WINSOCK_DIR = P:/APPS/script/sw/Winsock2
-
-# LDAP stuff
-LDAP_DIR = P:/APPS/script/sw/cldapsdk
-
-# Apache directory
-ifndef APACHE_DIR
-APACHE_DIR = P:/APPS/script/sw/Apache1.3.xSource
-endif
-
-
-# CW includes, libraries and tools
-export MWCIncludes=$(CW_PATH)/include
-export MWLibraries=$(CW_PATH)/lib
-
-# Compiler and linker tools
-CC = mwccnlm
-LINK = mwldnlm
-
-# Build type defaults to 'release'
-ifndef BUILD
-BUILD = release
-endif
-#BUILD = debug
-
-OBJ_DIR = $(BUILD)
-FINAL_DIR = $(BUILD)
-MAP_FILE = $(FINAL_DIR)\$(MODULE_NAME).map
-
-ifndef STACK_SIZE
-STACK_SIZE=65536
-endif
-
-ifndef COPYRIGHT
-#COPYRIGHT = "Copyright (c) 1997-2002 The PHP Group. All Rights Reserved."
-COPYRIGHT = "Copyright (c) 1999\, 2000 The PHP Group. All rights reserved."
-endif
-
-# Link flags
-LD_FLAGS = -stacksize $(STACK_SIZE) -type generic -zerobss
-LD_FLAGS += -o $(BINARY) -map $(MAP_FILE) -nlmversion $(VMAJ),$(VMIN),$(VREV)
-
-# Module details
-LD_FLAGS += -desc $(MODULE_DESC)
-LD_FLAGS += -copy $(COPYRIGHT)
-LD_FLAGS += -screenname Default
-LD_FLAGS += -threadname $(MODULE_NAME)__p
-
diff --git a/netware/mktemp.h b/netware/mktemp.h
deleted file mode 100644
index b370438246..0000000000
--- a/netware/mktemp.h
+++ /dev/null
@@ -1 +0,0 @@
-char* mktemp(char* templateStr);
diff --git a/netware/php4apache.mak b/netware/php4apache.mak
deleted file mode 100644
index 0fb977841d..0000000000
--- a/netware/php4apache.mak
+++ /dev/null
@@ -1,161 +0,0 @@
-# Temporarily here -- later may go into some batch file
-# which will set this as an environment variable
-PROJECT_ROOT = ../..
-
-# Module details
-MODULE_NAME = mod_php
-MODULE_DESC = "PHP 4.x.x for NetWare - mod_php"
-VMAJ = 0
-VMIN = 90
-VREV = 0
-
-#include the common settings
-include $(PROJECT_ROOT)/netware/common.mif
-
-# Extensions of all input and output files
-.SUFFIXES:
-.SUFFIXES: .nlm .lib .obj .cpp .c .msg .mlc .mdb .xdc .d
-
-# Source files
-C_SRC = mod_php4.c \
- php_apache.c \
- sapi_apache.c
-
-# Destination directories and files
-OBJ_DIR = $(BUILD)
-FINAL_DIR = $(BUILD)
-MAP_FILE = $(FINAL_DIR)\$(MODULE_NAME).map
-OBJECTS = $(addprefix $(OBJ_DIR)/,$(CPP_SRC:.cpp=.obj) $(C_SRC:.c=.obj))
-DEPDS = $(addprefix $(OBJ_DIR)/,$(CPP_SRC:.cpp=.d) $(C_SRC:.c=.d))
-
-# Binary file
-ifndef BINARY
-BINARY=$(FINAL_DIR)\$(MODULE_NAME).nlm
-endif
-
-
-# Compile flags
-C_FLAGS = -c -maxerrors 25 -msgstyle gcc
-C_FLAGS += -wchar_t on -bool on
-C_FLAGS += -processor Pentium -align 1
-C_FLAGS += -w nounusedarg -msext on
-C_FLAGS += -nostdinc
-C_FLAGS += -DNETWARE -D__GNUC__
-C_FLAGS += -DZTS
-C_FLAGS += -DNLM_PLATFORM
-C_FLAGS += -DN_PLAT_NLM -DNLM=1 -D__NO_MATH_OPS
-C_FLAGS += -D__C9X_CMATH_INLINES_DEFINED -DAPACHE_OS_H -DNO_USE_SIGACTION -DMULTITHREAD
-C_FLAGS += -DCLIB_STAT_PATCH
-C_FLAGS += -DNEW_LIBC
-#C_FLAGS += -DUSE_WINSOCK_DIRECTLY=1
-C_FLAGS += -I. -I- -I. -I../../netware -I$(SDK_DIR)/include # ../../netware added for special SYS/STAT.H
-C_FLAGS += -I$(MWCIncludes)
-C_FLAGS += -I$(APACHE_DIR)/include -I$(APACHE_DIR)/os/netware
-C_FLAGS += -I- -I../../main -I../../Zend -I../../TSRM -I../../ext/standard
-C_FLAGS += -I../../ -I../../netware -I$(PROJECT_ROOT)/regex
-C_FLAGS += -I$(WINSOCK_DIR)/include/nlm -I$(WINSOCK_DIR)/include
-
-
-# Extra stuff based on debug / release builds
-ifeq '$(BUILD)' 'debug'
- SYM_FILE = $(FINAL_DIR)\$(MODULE_NAME).sym
- C_FLAGS += -inline smart -sym on -sym codeview4 -opt off -opt intrinsics -sym internal -DDEBUGGING -DDKFBPON
- C_FLAGS += -r -DZEND_DEBUG
- C_FLAGS += -exc cw
- LD_FLAGS += -sym on -sym codeview4 -sym internal -osym $(SYM_FILE)
- LD_FLAGS += -msgstyle std
- export MWLibraryFiles=$(SDK_DIR)/imports/libcpre.o;mwcrtld.lib
-else
- C_FLAGS += -opt speed -inline on -inline smart -inline auto -sym off -DZEND_DEBUG=0
- C_FLAGS += -opt intrinsics
- C_FLAGS += -opt level=4
- LD_FLAGS += -sym off
- export MWLibraryFiles=$(SDK_DIR)/imports/libcpre.o;mwcrtl.lib
-endif
-
-# Dependencies
-MODULE = LibC \
- phplib
-IMPORT = @$(SDK_DIR)/imports/libc.imp \
- @$(APACHE_DIR)/os/netware/apachecore.imp \
- @$(PROJECT_ROOT)/netware/phplib.imp
-EXPORT = php4_module
-
-
-# Virtual paths
-vpath %.cpp .
-vpath %.c .
-vpath %.obj $(OBJ_DIR)
-
-
-all: prebuild project
-
-.PHONY: all
-
-prebuild:
- @if not exist $(OBJ_DIR) md $(OBJ_DIR)
-
-project: $(BINARY) $(MESSAGE)
- @echo Build complete.
-
-
-$(OBJ_DIR)/%.d: %.c
- @echo Building Dependencies for $(<F)
- @$(CC) -M $< $(C_FLAGS) -o $@
-
-$(OBJ_DIR)/%.obj: %.c
- @echo Compiling $?...
- @$(CC) $< $(C_FLAGS) -o $@
-
-
-$(BINARY): $(DEPDS) $(OBJECTS)
- @echo Import $(IMPORT) > $(basename $@).def
-ifdef API
- @echo Import $(API) >> $(basename $@).def
-endif
- @echo Module $(MODULE) >> $(basename $@).def
-ifdef EXPORT
- @echo Export $(EXPORT) >> $(basename $@).def
-endif
- @echo AutoUnload >> $(basename $@).def
-ifeq '$(BUILD)' 'debug'
- @echo Debug >> $(basename $@).def
-endif
- @echo Flag_On 0x00000008 >> $(basename $@).def
- @echo Start _lib_start >> $(basename $@).def
- @echo Exit _lib_stop >> $(basename $@).def
-
- @echo Linking $@...
- @echo $(LD_FLAGS) -commandfile $(basename $@).def > $(basename $@).link
-ifdef LIBRARY
- @echo $(LIBRARY) >> $(basename $@).link
-endif
- @echo $(OBJECTS) $(APACHE_DIR)/os/netware/libpre.obj >> $(basename $@).link
-
- @$(LINK) @$(basename $@).link
-
-
-.PHONY: clean
-clean: cleand cleanobj cleanbin
-
-.PHONY: cleand
-cleand:
- @echo Deleting all dependency files...
- -@del "$(OBJ_DIR)\*.d"
-
-.PHONY: cleanobj
-cleanobj:
- @echo Deleting all object files...
- -@del "$(OBJ_DIR)\*.obj"
-
-.PHONY: cleanbin
-cleanbin:
- @echo Deleting binary files...
- -@del "$(FINAL_DIR)\$(MODULE_NAME).nlm"
- @echo Deleting MAP, DEF files, etc....
- -@del "$(FINAL_DIR)\$(MODULE_NAME).map"
- -@del "$(FINAL_DIR)\$(MODULE_NAME).def"
- -@del "$(FINAL_DIR)\$(MODULE_NAME).link"
-ifeq '$(BUILD)' 'debug'
- -@del $(FINAL_DIR)\$(MODULE_NAME).sym
-endif
diff --git a/netware/pwd.h b/netware/pwd.h
deleted file mode 100644
index 2a6ee7373b..0000000000
--- a/netware/pwd.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* pwd.h - Try to approximate UN*X's getuser...() functions under MS-DOS.
- Copyright (C) 1990 by Thorsten Ohl, td12@ddagsi3.bitnet
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- */
-
-/* This 'implementation' is conjectured from the use of this functions in
- the RCS and BASH distributions. Of course these functions don't do too
- much useful things under MS-DOS, but using them avoids many "#ifdef
- MSDOS" in ported UN*X code ... */
-
-#ifndef PWD_H
-#define PWD_H
-
-/*
- Not available in LibC / SDK header or CodeWarrior header files; so taking from Winsock
- definitions, which should be OK
-*/
-typedef unsigned int DWORD;
-
-struct passwd {
- char *pw_name; /* user name */
- char *pw_passwd; /* encrypted password */
- int pw_uid; /* user uid */
- int pw_gid; /* user gid */
- char *pw_comment; /* comment */
- char *pw_gecos; /* Honeywell login info */
- char *pw_dir; /* home directory */
- char *pw_shell; /* default shell */
-};
-
-extern struct passwd *getpwuid(int);
-extern struct passwd *getpwnam(char *name);
-extern char *getlogin(void);
-
-#endif
diff --git a/netware/sys/stat.h b/netware/sys/stat.h
deleted file mode 100644
index dc1ab91347..0000000000
--- a/netware/sys/stat.h
+++ /dev/null
@@ -1,138 +0,0 @@
-#ifndef __sys_stat_h__
-#define __sys_stat_h__
-/*============================================================================
-= Novell Software Development Kit
-=
-= Copyright (C) 1999-2002 Novell, Inc. All Rights Reserved.
-=
-= This work is subject to U.S. and international copyright laws and treaties.
-= Use and redistribution of this work is subject to the license agreement
-= accompanying the software development kit (SDK) that contains this work.
-= However, no part of this work may be revised and/or modified without the
-= prior written consent of Novell, Inc. Any use or exploitation of this work
-= without authorization could subject the perpetrator to criminal and civil
-= liability.
-=
-= Source(s): ISO/IEC (POSIX) 9845:1996
-=
-= sys/stat.h
-==============================================================================
-*/
-#include <time.h>
-#include <stddef.h>
-#include <sys/mode.h>
-#include <sys/time.h>
-
-#include <pshpack1.h>
-
-#ifdef CLIB_STAT_PATCH /* Venkat (7/2/02) */
-/***************** stat structure taken from CLib and modified ***************/
-struct stat
-{
- long st_dev; /* volume number */ /* dev_t replaced by long : Venkat (19/3/02) */
- MACHINE_WORD st_ino; /* directory entry number of the st_name */ /* ino_t replaced by MACHINE_WORD : Venkat (19/3/02) */
- unsigned short st_mode; /* emulated file mode */
- unsigned short st_pad1; /* reserved for alignment */
- unsigned long st_nlink; /* count of hard links (always 1) */
- unsigned long st_uid; /* object id of owner */
- unsigned long st_gid; /* group-id (always 0) */
- long st_rdev; /* device type (always 0) */ /* dev_t replaced by long : Venkat (19/3/02) */
- off_t st_size; /* total file size--files only */
- time_t st_atime; /* last access date--files only */
- time_t st_mtime; /* last modify date and time */
- time_t st_ctime; /* POSIX: last status change time... */
- /* ...NetWare: creation date/time */
- time_t st_btime; /* last archived date and time */
- unsigned long st_attr; /* file attributes */
- unsigned long st_archivedID; /* user/object ID of last archive */
- unsigned long st_updatedID; /* user/object ID of last update */
- unsigned short st_inheritedRightsMask; /* inherited rights mask */
- unsigned short st_pad2; /* reserved for alignment */
- unsigned int st_originatingNameSpace; /* namespace of creation */
- size_t st_blksize; /* block size for allocation--files only */
- size_t st_blocks; /* count of blocks allocated to file */
- unsigned int st_flags; /* user-defined flags */
- unsigned long st_spare[4]; /* for future use */
- unsigned char st_name[255+1];/* TARGET_NAMESPACE name */
-};
-/***************** stat structure taken from CLib and modified ***************/
-
-struct stat_libc
-{
- uint32_t st_userspec; /* untouched by stat() */
- uint32_t st_flags; /* flags for this entry */
- mode_t st_mode; /* emulated file mode */
- uint32_t st_spare1;
- uint64_t st_gen; /* generation number of inode */
- ino_t st_ino; /* directory entry number */
- dev_t st_dev; /* volume number */
- dev_t st_rdev; /* device type (always 0) */
- off64_t st_size; /* total file size */
- uint64_t st_spare2;
- blkcnt_t st_blocks; /* count of blocks allocated to file */
- blksize_t st_blksize; /* block size for allocation--files only */
- nlink_t st_nlink; /* count of hard links (always 1) */
- uint32_t st_spare3[3];
- uid_t st_uid; /* owner (object) identity */
- gid_t st_gid; /* group-id (always 0) */
- uid_t st_bid; /* identity of last archiver */
- uid_t st_mid; /* identity of last updator */
- timespec_t st_atime; /* last access date--files only */
- timespec_t st_mtime; /* last modify date and time */
- timespec_t st_ctime; /* last file attributes modification */
- timespec_t st_btime; /* last archived date and time */
- uint64_t st_spare4[44];
-}; /* sizeof(struct dirent) == 0x200 (512.) */
-
-#else
-struct stat
-{
- uint32_t st_userspec; /* untouched by stat() */
- uint32_t st_flags; /* flags for this entry */
- mode_t st_mode; /* emulated file mode */
- uint32_t st_spare1;
- uint64_t st_gen; /* generation number of inode */
- ino_t st_ino; /* directory entry number */
- dev_t st_dev; /* volume number */
- dev_t st_rdev; /* device type (always 0) */
- off64_t st_size; /* total file size */
- uint64_t st_spare2;
- blkcnt_t st_blocks; /* count of blocks allocated to file */
- blksize_t st_blksize; /* block size for allocation--files only */
- nlink_t st_nlink; /* count of hard links (always 1) */
- uint32_t st_spare3[3];
- uid_t st_uid; /* owner (object) identity */
- gid_t st_gid; /* group-id (always 0) */
- uid_t st_bid; /* identity of last archiver */
- uid_t st_mid; /* identity of last updator */
- timespec_t st_atime; /* last access date--files only */
- timespec_t st_mtime; /* last modify date and time */
- timespec_t st_ctime; /* last file attributes modification */
- timespec_t st_btime; /* last archived date and time */
- uint64_t st_spare4[44];
-}; /* sizeof(struct dirent) == 0x200 (512.) */
-#endif
-
-#include <poppack.h>
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-int chmod ( const char *path, mode_t mode );
-int fchmod( int fildes, mode_t mode );
-int fstat ( int fildes, struct stat *buf );
-int mkdir ( const char *pathname, mode_t mode );
-int mkfifo( const char *pathname, mode_t mode );
-int stat ( const char *path, struct stat *buf );
-mode_t umask ( mode_t cmask );
-
-#ifdef __cplusplus
-}
-#endif
-
-#define stat64 stat /* same structure and function do both */
-#define fstat64 fstat /* same function does both */
-
-#endif
diff --git a/netware/tsrm.mak b/netware/tsrm.mak
deleted file mode 100644
index 94603934dc..0000000000
--- a/netware/tsrm.mak
+++ /dev/null
@@ -1,108 +0,0 @@
-# Temporarily here -- later may go into some batch file
-# which will set this as an environment variable
-PROJECT_ROOT = ..
-
-# Module details
-MODULE_NAME = TSRM
-
-#MODULE_ROOT = $(PROJECT_ROOT)\\$(MODULE_NAME)
-
-#include the common settings
-include $(PROJECT_ROOT)/netware/common.mif
-
-# Extensions of all input and output files
-.SUFFIXES:
-.SUFFIXES: .nlm .lib .obj .cpp .c .msg .mlc .mdb .xdc .d
-
-# Source files
-CPP_SRC =
-C_SRC = TSRM.c \
- tsrm_strtok_r.c \
- tsrm_virtual_cwd.c \
- tsrm_nw.c
-
-# Destination directories and files
-OBJ_DIR = $(BUILD)
-FINAL_DIR = $(BUILD)
-OBJECTS = $(addprefix $(OBJ_DIR)/,$(CPP_SRC:.cpp=.obj) $(C_SRC:.c=.obj))
-DEPDS = $(addprefix $(OBJ_DIR)/,$(CPP_SRC:.cpp=.d) $(C_SRC:.c=.d))
-
-# Binary file
-ifndef BINARY
- BINARY=$(FINAL_DIR)\$(MODULE_NAME).lib
-endif
-
-# Compile flags
-C_FLAGS = -c -maxerrors 25 -msgstyle gcc
-C_FLAGS += -wchar_t on -bool on
-C_FLAGS += -processor Pentium -align 1
-C_FLAGS += -nostdinc
-C_FLAGS += -DZTS -DNETWARE -DHAVE_DIRENT_H
-#C_FLAGS += -DUSE_PIPE_OPEN
-C_FLAGS += -DUSE_MKFIFO
-C_FLAGS += -DCLIB_STAT_PATCH -DUSE_MPK
-C_FLAGS += -I. -I- -I../netware -I$(SDK_DIR)/include # ../netware added for special SYS/STAT.H
-C_FLAGS += -I$(MPK_DIR)/include1
-C_FLAGS += -I$(MWCIncludes)
-
-# Link flags
-LD_FLAGS = -type library
-LD_FLAGS += -o $(BINARY)
-
-# Extra stuff based on debug / release builds
-ifeq '$(BUILD)' 'debug'
- C_FLAGS += -inline smart -sym on -sym codeview4 -sym internal -opt off -opt intrinsics -DTSRM_DEBUG=1
- LD_FLAGS += -sym codeview4 -sym internal
- export MWLibraryFiles=$(SDK_DIR)/imports/libcpre.o;mwcrtld.lib
-else
- C_FLAGS += -opt speed -inline smart -inline auto -sym off -DTSRM_DEBUG=0
- LD_FLAGS += -sym off
- export MWLibraryFiles=$(SDK_DIR)/imports/libcpre.o;mwcrtl.lib
-endif
-
-# Virtual paths
-vpath %.cpp .
-vpath %.c .
-vpath %.obj $(OBJ_DIR)
-
-
-all: prebuild project
-
-.PHONY: all
-
-prebuild:
- @if not exist $(OBJ_DIR) md $(OBJ_DIR)
-
-project: $(BINARY) $(MESSAGE)
- @echo Build complete.
-
-$(OBJ_DIR)/%.d: %.c
- @echo Building Dependencies for $(<F)
- @$(CC) -M $< $(C_FLAGS) -o $@
-
-$(OBJ_DIR)/%.obj: %.c
- @echo Compiling $?...
- @$(CC) $< $(C_FLAGS) -o $@
-
-$(BINARY): $(DEPDS) $(OBJECTS)
- @echo Linking $@...
- @$(LINK) $(LD_FLAGS) $(OBJECTS)
-
-
-.PHONY: clean
-clean: cleand cleanobj cleanbin
-
-.PHONY: cleand
-cleand:
- @echo Deleting all dependency files...
- -@del "$(OBJ_DIR)\*.d"
-
-.PHONY: cleanobj
-cleanobj:
- @echo Deleting all object files...
- -@del "$(OBJ_DIR)\*.obj"
-
-.PHONY: cleanbin
-cleanbin:
- @echo Deleting binary files...
- -@del "$(FINAL_DIR)\$(MODULE_NAME).lib"
diff --git a/netware/zend.mak b/netware/zend.mak
deleted file mode 100644
index 5181cc0fa4..0000000000
--- a/netware/zend.mak
+++ /dev/null
@@ -1,163 +0,0 @@
-# Temporarily here -- later may go into some batch file
-# which will set this as an environment variable
-PROJECT_ROOT = ..
-
-# Module details
-MODULE_NAME = ZEND
-
-#MODULE_ROOT = $(PROJECT_ROOT)\\$(MODULE_NAME)
-
-#include the common settings
-include $(PROJECT_ROOT)/netware/common.mif
-
-# Extensions of all input and output files
-.SUFFIXES:
-.SUFFIXES: .nlm .lib .obj .cpp .c .msg .mlc .mdb .xdc .d
-
-C_SRC = zend.c \
- zend_alloc.c \
- zend_API.c \
- zend_builtin_functions.c \
- zend_compile.c \
- zend_constants.c \
- zend_dynamic_array.c \
- zend_execute.c \
- zend_execute_API.c \
- zend_extensions.c \
- zend_hash.c \
- zend_highlight.c \
- zend_indent.c \
- zend_ini.c \
- zend_list.c \
- zend_llist.c \
- zend_opcode.c \
- zend_operators.c \
- zend_ptr_stack.c \
- zend_qsort.c \
- zend_sprintf.c \
- zend_stack.c \
- zend_static_allocator.c \
- zend_variables.c \
- zend_ini_parser.c \
- zend_ini_scanner.c \
- zend_language_parser.c \
- zend_language_scanner.c
-
-
-# Destination directories and files
-OBJ_DIR = $(BUILD)
-FINAL_DIR = $(BUILD)
-OBJECTS = $(addprefix $(OBJ_DIR)/,$(CPP_SRC:.cpp=.obj) $(C_SRC:.c=.obj))
-DEPDS = $(addprefix $(OBJ_DIR)/,$(CPP_SRC:.cpp=.d) $(C_SRC:.c=.d))
-
-# Binary file
-ifndef BINARY
- BINARY=$(FINAL_DIR)\$(MODULE_NAME).lib
-endif
-
-
-# Compile flags
-C_FLAGS = -c -maxerrors 25 -msgstyle std
-C_FLAGS += -wchar_t on -bool on
-C_FLAGS += -processor Pentium -align 1
-C_FLAGS += -nostdinc
-C_FLAGS += -D__C9X_CMATH_INLINES_DEFINED
-C_FLAGS += -DNETWARE -D__GNUC__
-C_FLAGS += -DZTS
-C_FLAGS += -DCLIB_STAT_PATCH
-C_FLAGS += -DTHREAD_SWITCH
-C_FLAGS += -I. -I- -I../netware -I$(SDK_DIR)/include # ../netware added for special SYS/STAT.H
-C_FLAGS += -I$(MWCIncludes)
-
-# Link flags
-LD_FLAGS = -type library
-LD_FLAGS += -o $(BINARY)
-
-
-# Extra stuff based on debug / release builds
-ifeq '$(BUILD)' 'debug'
- C_FLAGS += -DZEND_DEBUG
- C_FLAGS += -inline smart -sym on -sym codeview4 -sym internal -opt off -opt intrinsics
- LD_FLAGS += -sym codeview4 -sym internal
- export MWLibraryFiles=$(SDK_DIR)/imports/libcpre.o;mwcrtld.lib
-else
- C_FLAGS += -opt speed -inline on -inline auto -sym off
- LD_FLAGS += -sym off
- export MWLibraryFiles=$(SDK_DIR)/imports/libcpre.o;mwcrtl.lib
-endif
-
-
-# Virtual paths
-vpath %.cpp .
-vpath %.c .
-vpath %.obj $(OBJ_DIR)
-
-
-all: prebuild project
-
-.PHONY: all
-
-prebuild:
- @if not exist $(OBJ_DIR) md $(OBJ_DIR)
-
-project: $(BINARY) $(MESSAGE)
- @echo Build complete.
-
-
-##zend_ini_parser.c zend_ini_parser.h : zend_ini_parser.y
-## @bison --output=$@ -v -d -p ini_ zend_ini_parser.y
-
-##zend_ini_scanner.c : zend_ini_scanner.l
-## @flex -i -Pini_ -o$@ zend_ini_scanner.l
-
-##zend_language_parser.c zend_language_parser.h : zend_language_parser.y
-## @bison --output=$@ -v -d -p zend zend_language_parser.y
-
-##zend_language_scanner.c : zend_language_scanner.l
-## @flex -i -Pzend -o$@ zend_language_scanner.l
-
-$(OBJ_DIR)/%.d: %.c
- @echo Building Dependencies for $(<F)
- @$(CC) -M $< $(C_FLAGS) -o $@
-
-$(OBJ_DIR)/%.obj: %.c
- @echo Compiling $?...
- @$(CC) $< $(C_FLAGS) -o $@
-
-
-$(BINARY): $(DEPDS) $(OBJECTS)
- @echo Linking $@...
- @$(LINK) $(LD_FLAGS) $(OBJECTS)
-
-
-.PHONY: clean
-clean: cleansrc cleand cleanobj cleanbin
-
-.PHONY: cleansrc
-cleansrc:
- @echo Deleting all generated source files...
- -@del "zend_ini_parser.c"
- -@del "zend_ini_parser.h"
- -@del "zend_ini_scanner.c"
- -@del "zend_language_parser.c"
- -@del "zend_language_parser.h"
- -@del "zend_language_scanner.c"
- -@del "zend_ini_parser.output"
- -@del "zend_language_parser.output"
-
-
-.PHONY: cleand
-cleand:
- @echo Deleting all dependency files...
- -@del "$(OBJ_DIR)\*.d"
-
-.PHONY: cleanobj
-cleanobj:
- @echo Deleting all object files...
- -@del "$(OBJ_DIR)\*.obj"
-
-.PHONY: cleanbin
-cleanbin:
- @echo Deleting binary files...
- -@del "$(FINAL_DIR)\$(MODULE_NAME).lib"
-