Changeset: 209e4e55ed17 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=209e4e55ed17 Removed Files: NT/Makefile NT/makelibdef.py NT/monetdb_config.h.in NT/rules.msc NT/wincompile.py NT/winconfig.py Branch: default Log Message:
Remove obsolete files. diffs (truncated from 1584 to 300 lines): diff --git a/NT/Makefile b/NT/Makefile deleted file mode 100644 --- a/NT/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# -*- makefile -*- - -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# Copyright 1997 - July 2008 CWI, August 2008 - 2020 MonetDB B.V. - -TOPDIR = . -srcdir = $(TOPDIR)\.. - -# location of NT directory -NT = $(srcdir)\NT - -prefix = $(MAKEDIR) - -# ensure "all" is first target -all: _all - -!INCLUDE "$(NT)\rules.msc" - -_all: update_winconfig_conds_py "$(srcdir)\Makefile.msc" monetdb_config.h unistd.h .monetdb monetdb_hgversion.h - $(MAKE) /nologo /f "$(srcdir)\Makefile.msc" "prefix=$(prefix)" "bits=$(bits)" all - -install: targetdirs all - $(MAKE) /nologo /f "$(srcdir)\Makefile.msc" "prefix=$(prefix)" "bits=$(bits)" install - $(INSTALL) .monetdb "$(sysconfdir)" - -makewxs: - $(PYTHON) $(NT)\mksqlwxs.py $(VERSION) "$(MAKE_INCLUDEFILE)" "$(prefix)" > "$(prefix)\MonetDB5-SQL-Installer.wxs" - $(PYTHON) $(NT)\mkodbcwxs.py $(VERSION) "$(MAKE_INCLUDEFILE)" "$(prefix)" > "$(prefix)\MonetDB-ODBC-Installer.wxs" - -$(srcdir)\Makefile.msc: "$(srcdir)\Makefile.ag" - cd "$(srcdir)"&&set PYTHONPATH=buildtools\autogen&&$(PYTHON) buildtools\autogen\autogen.py - -monetdb_config.h: "$(TOPDIR)\winconfig_conds.py" "$(NT)\monetdb_config.h.in" - $(CONFIGURE) "$(NT)\monetdb_config.h.in" > monetdb_config.h - -monetdb_hgversion.h: - $(ECHO) #undef MERCURIAL_ID > monetdb_hgversion.h - -unistd.h: - $(ECHO) #ifndef UNISTD_H > unistd.h - $(ECHO) #define UNISTD_H >> unistd.h - $(ECHO) #include "io.h" >> unistd.h - $(ECHO) #ifndef __cplusplus >> unistd.h - $(ECHO) #define open _open >> unistd.h - $(ECHO) #define read _read >> unistd.h - $(ECHO) #define write _write >> unistd.h - $(ECHO) #define close _close >> unistd.h - $(ECHO) #define getpid _getpid >> unistd.h - $(ECHO) #define umask _umask >> unistd.h - $(ECHO) #define isatty _isatty >> unistd.h - $(ECHO) #endif >> unistd.h - $(ECHO) #endif >> unistd.h - -.monetdb: - $(ECHO) user=monetdb> .monetdb - $(ECHO) password=monetdb>> .monetdb - -targetdirs: - if not exist "$(bindir)" $(MKDIR) "$(bindir)" - if not exist "$(sbindir)" $(MKDIR) "$(sbindir)" - if not exist "$(libexecdir)" $(MKDIR) "$(libexecdir)" - if not exist "$(datadir)" $(MKDIR) "$(datadir)" - if not exist "$(sysconfdir)" $(MKDIR) "$(sysconfdir)" - if not exist "$(localstatedir)" $(MKDIR) "$(localstatedir)" - if not exist "$(libdir)" $(MKDIR) "$(libdir)" - if not exist "$(infodir)" $(MKDIR) "$(infodir)" - if not exist "$(mandir)" $(MKDIR) "$(mandir)" - if not exist "$(includedir)" $(MKDIR) "$(includedir)" - if not exist "$(pkgdatadir)" $(MKDIR) "$(pkgdatadir)" - if not exist "$(pkglibdir)" $(MKDIR) "$(pkglibdir)" - if not exist "$(pkgincludedir)" $(MKDIR) "$(pkgincludedir)" - diff --git a/NT/makelibdef.py b/NT/makelibdef.py deleted file mode 100644 --- a/NT/makelibdef.py +++ /dev/null @@ -1,8 +0,0 @@ -import fileinput, re -p = re.compile('^\s*\d+\s+[0-9A-F]+\s+[0-9A-F]+\s+(\w+)') -print('LIBRARY R') -print('EXPORTS') -for line in fileinput.input(): - m = p.match(line) - if m: - print(m.group(1)) diff --git a/NT/monetdb_config.h.in b/NT/monetdb_config.h.in deleted file mode 100644 --- a/NT/monetdb_config.h.in +++ /dev/null @@ -1,889 +0,0 @@ -/* - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * Copyright 1997 - July 2008 CWI, August 2008 - 2020 MonetDB B.V. - */ - -/* Manual config.h. needed for win32 . */ - -/* We use the value of _MSC_VER to distinguish the various versions of - * Microsoft Visual Studio: - * _MSC_VER = 1200: Visual Studio 6 - * _MSC_VER = 1310: Visual Studio .NET 2003 (a.k.a. Visual Studio 7) - * _MSC_VER = 1400: Visual Studio 8 - * _MSC_VER = 1500: Visual Studio 9.0 - * _MSC_VER = 1600: Visual Studio 10.0 - * _MSC_VER = 1800: Visual Studio 12.0 - * _MSC_VER = 1900: Visual Studio 14.0 - * - * versions below Visual Studio 12.0 are not supported: they lack - * required C-99 functionality. - */ - -#if defined(_MSC_VER) && _MSC_VER < 1800 -#error old versions of Visual Studio are no longer supported -#endif - -#ifndef _SEEN_MONETDB_CONFIG_H -#define _SEEN_MONETDB_CONFIG_H 1 - -/* Prevent pollution through excessive inclusion of include files by - * Windows.h. */ -#ifndef WIN32_LEAN_AND_MEAN -#define WIN32_LEAN_AND_MEAN 1 -#endif - -/* Visual Studio 8 has deprecated lots of stuff: suppress warnings */ -#ifndef _CRT_SECURE_NO_DEPRECATE -#define _CRT_SECURE_NO_DEPRECATE 1 -#endif - -#include <stdlib.h> -#if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) -/* In this case, malloc and friends are redefined in crtdbg.h to debug - * versions. We need to include stdlib.h first or else we get - * conflicting declarations. */ -#include <crtdbg.h> -#endif - -/* standard C-99 include files */ -#include <assert.h> -#include <errno.h> -#include <inttypes.h> -#include <stdarg.h> -#include <stdbool.h> -#include <stddef.h> -#include <stdio.h> - -/* Windows include files */ -#include <process.h> -#include <windows.h> -#include <ws2tcpip.h> - -/* and one more include */ -#include <sys/types.h> - -/* indicate to sqltypes.h that windows.h has already been included and - that it doesn't have to define Windows constants */ -#define ALREADY_HAVE_WINDOWS_TYPE 1 - -#define NATIVE_WIN32 1 - -#ifdef __INTEL_COMPILER -/* Definition of NAN is seriously broken on Intel compiler (at least - * in some versions), so we work around it. */ -#define NAN_CANNOT_BE_USED_AS_INITIALIZER -#endif - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* read-only architecture-independent data */ -#define DATA_DIR PREFIX "\\share" - -/* Directory separator */ -#define DIR_SEP '\\' - -/* Directory separator */ -#define DIR_SEP_STR "\\" - -/* architecture-dependent files */ -#define EXEC_PREFIX PREFIX - -/* location where binaries are installed */ -#define BINDIR EXEC_PREFIX "\\bin" - -/* Define to nothing if C supports flexible array members, and to 1 if it does - not. That way, with a declaration like `struct s { int n; double - d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 - compilers. When computing the size of such an object, don't use 'sizeof - (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)' - instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with - MSVC and with C++ compilers. */ -#define FLEXIBLE_ARRAY_MEMBER - -/* Define to 1 if you have the `asctime_r' function. */ -#define HAVE_ASCTIME_R 1 - -/* Define if you have asctime_r(struct tm*,char *buf,size_t s) */ -#define HAVE_ASCTIME_R3 1 -/* there is something very similar to asctime_r on Windows: */ -#define asctime_r(t,b,s) (asctime_s(b,s,t) == 0 ? (b) : NULL) - -/* Define to 1 if you have the `cbrt' function. */ -#define HAVE_CBRT 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -/* #undef HAVE_CLOCK_GETTIME */ - -/* Define if you have the CommonCrypto library */ -/* #undef HAVE_COMMONCRYPTO */ - -/* Define to 1 if you have the `ctime_r' function. */ -#define HAVE_CTIME_R 1 - -/* Define if you have ctime_r(time_t*,char *buf,size_t s) */ -#define HAVE_CTIME_R3 1 -/* there is something very similar to ctime_r on Windows: */ -#define ctime_r(t,b,s) (ctime_s(b,s,t) == 0 ? (b) : NULL) - -/* Define if you have the cURL library */ -/* #undef HAVE_CURL */ - -/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. - */ -/* #undef HAVE_DECL_TZNAME */ - -/* Define to 1 if you have the <dirent.h> header file. */ -/* #undef HAVE_DIRENT_H */ - -/* Define to 1 if you have the <dlfcn.h> header file. */ -/* #undef HAVE_DLFCN_H */ - -/* Support for MonetDB as a library */ -/* #undef HAVE_EMBEDDED */ - -/* Support for MonetDB as a library for R */ -/* #undef HAVE_EMBEDDED_R */ - -/* Define to 1 if you have the `fallocate' function. */ -/* #undef HAVE_FALLOCATE */ - -/* Define to 1 if you have the `fcntl' function. */ -/* #undef HAVE_FCNTL */ - -/* Define to 1 if you have the <fcntl.h> header file. */ -#define HAVE_FCNTL_H 1 - -/* If the system has a working fdatasync */ -/* #undef HAVE_FDATASYNC */ - -/* Define if the fits module is to be enabled */ -/* #undef HAVE_FITS */ - -/* Define if fork exists */ -/* #undef HAVE_FORK */ - -/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ -/* #undef HAVE_FSEEKO */ - -/* Define to 1 if you have the `fsync' function. */ -/* #undef HAVE_FSYNC */ - -/* Define to 1 if you have the `ftime' function. */ -#define HAVE_FTIME 1 - -#define ftruncate(fd, sz) (-(_chsize_s((fd), (__int64) (sz)) != 0)) - -/* Define if you have the gdal library */ -/* #undef HAVE_GDAL */ - -/* Define to 1 if you have the `getaddrinfo' function. */ -#define HAVE_GETADDRINFO 1 - -/* Define to 1 if you have the `GetDynamicTimeZoneInformation' function. */ -#define HAVE_GETDYNAMICTIMEZONEINFORMATION 1 - -/* Define to 1 if you have the `getexecname' function. */ -/* #undef HAVE_GETEXECNAME */ - -/* Define to 1 if you have the `getlogin' function. */ -/* #undef HAVE_GETLOGIN */ - -/* Define to 1 if you have the `getopt' function. */ -/* #undef HAVE_GETOPT */ - -/* Define to 1 if you have the <getopt.h> header file. */ -/* #undef HAVE_GETOPT_H */ - -/* Define to 1 if you have the `getopt_long' function. */ -/* #undef HAVE_GETOPT_LONG */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list