From ca4db9f23572fa4ee6de03d8f4f7237c56ebccc9 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Wed, 17 Dec 2008 20:19:13 +0000 Subject: Removed the old autotools files that are no longer needed because of the use of CMake. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1842 5417fbe8-f217-4b02-8779-1006273d7864 --- include/Makefile | 182 ------------------------------------------------ include/makefile.win32 | 25 ------- include/sysconf.h.in | 171 --------------------------------------------- include/sysconf.h.win32 | 44 ------------ 4 files changed, 422 deletions(-) delete mode 100644 include/Makefile delete mode 100644 include/makefile.win32 delete mode 100644 include/sysconf.h.in delete mode 100644 include/sysconf.h.win32 (limited to 'include') diff --git a/include/Makefile b/include/Makefile deleted file mode 100644 index 0f6f17e9b..000000000 --- a/include/Makefile +++ /dev/null @@ -1,182 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 2.6 - -# Default target executed when no arguments are given to make. -default_target: all -.PHONY : default_target - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canoncical targets will work. -.SUFFIXES: - -# Remove some rules from gmake that .SUFFIXES does not remove. -SUFFIXES = - -.SUFFIXES: .hpux_make_needs_suffix_list - -# Suppress display of executed commands. -$(VERBOSE).SILENT: - -# A target that is always out of date. -cmake_force: -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /usr/local/bin/cmake - -# The command to remove a file. -RM = /usr/local/bin/cmake -E remove -f - -# The program to use to edit the cache. -CMAKE_EDIT_COMMAND = /usr/local/bin/ccmake - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /celes/anope - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /celes/anope - -#============================================================================= -# Targets provided globally by CMake. - -# Special rule for the target edit_cache -edit_cache: - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." - cd /celes/anope/include && /usr/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) -.PHONY : edit_cache - -# Special rule for the target edit_cache -edit_cache/fast: edit_cache -.PHONY : edit_cache/fast - -# Special rule for the target install -install: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." - cd /celes/anope/include && /usr/local/bin/cmake -P cmake_install.cmake -.PHONY : install - -# Special rule for the target install -install/fast: preinstall/fast - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." - cd /celes/anope/include && /usr/local/bin/cmake -P cmake_install.cmake -.PHONY : install/fast - -# Special rule for the target install/local -install/local: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." - cd /celes/anope/include && /usr/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake -.PHONY : install/local - -# Special rule for the target install/local -install/local/fast: install/local -.PHONY : install/local/fast - -# Special rule for the target install/strip -install/strip: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." - cd /celes/anope/include && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake -.PHONY : install/strip - -# Special rule for the target install/strip -install/strip/fast: install/strip -.PHONY : install/strip/fast - -# Special rule for the target list_install_components -list_install_components: - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" -.PHONY : list_install_components - -# Special rule for the target list_install_components -list_install_components/fast: list_install_components -.PHONY : list_install_components/fast - -# Special rule for the target rebuild_cache -rebuild_cache: - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." - cd /celes/anope/include && /usr/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) -.PHONY : rebuild_cache - -# Special rule for the target rebuild_cache -rebuild_cache/fast: rebuild_cache -.PHONY : rebuild_cache/fast - -# The main all target -all: cmake_check_build_system - cd /celes/anope && $(CMAKE_COMMAND) -E cmake_progress_start /celes/anope/CMakeFiles /celes/anope/include/CMakeFiles/progress.make - cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 include/all - $(CMAKE_COMMAND) -E cmake_progress_start /celes/anope/CMakeFiles 0 -.PHONY : all - -# The main clean target -clean: - cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 include/clean -.PHONY : clean - -# The main clean target -clean/fast: clean -.PHONY : clean/fast - -# Prepare targets for installation. -preinstall: all - cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 include/preinstall -.PHONY : preinstall - -# Prepare targets for installation. -preinstall/fast: - cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 include/preinstall -.PHONY : preinstall/fast - -# clear depends -depend: - cd /celes/anope && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 -.PHONY : depend - -# Convenience name for target. -include/CMakeFiles/headers.dir/rule: - cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 include/CMakeFiles/headers.dir/rule -.PHONY : include/CMakeFiles/headers.dir/rule - -# Convenience name for target. -headers: include/CMakeFiles/headers.dir/rule -.PHONY : headers - -# fast build rule for target. -headers/fast: - cd /celes/anope && $(MAKE) -f include/CMakeFiles/headers.dir/build.make include/CMakeFiles/headers.dir/build -.PHONY : headers/fast - -# Help Target -help: - @echo "The following are some of the valid targets for this Makefile:" - @echo "... all (the default if no target is provided)" - @echo "... clean" - @echo "... depend" - @echo "... edit_cache" - @echo "... headers" - @echo "... install" - @echo "... install/local" - @echo "... install/strip" - @echo "... list_install_components" - @echo "... rebuild_cache" -.PHONY : help - - - -#============================================================================= -# Special targets to cleanup operation of make. - -# Special rule to run CMake to check the build system integrity. -# No rule that depends on this can have commands that come from listfiles -# because they might be regenerated. -cmake_check_build_system: - cd /celes/anope && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 -.PHONY : cmake_check_build_system - diff --git a/include/makefile.win32 b/include/makefile.win32 deleted file mode 100644 index f66dd48b6..000000000 --- a/include/makefile.win32 +++ /dev/null @@ -1,25 +0,0 @@ -# Make file for Win32 -# -# (C) 2003-2008 Anope Team -# Contact us at info@anope.org -# -# Please read COPYING and README for further details. -# -# Based on the original code of Epona by Lara. -# Based on the original code of Services by Andy Church. -# -# $Id:$ -# - -########################################################################### - -clean: - -@erase language.h - -spotless: clean - -@erase sysconf.h version.h - -distclean: spotless - - -FRC: diff --git a/include/sysconf.h.in b/include/sysconf.h.in deleted file mode 100644 index f7de31677..000000000 --- a/include/sysconf.h.in +++ /dev/null @@ -1,171 +0,0 @@ -/* include/sysconf.h.in. Generated from configure.in by autoheader. */ - -/* "Default umask Permissions" */ -#undef DEFUMASK - -/* "No prefix needed for dlopen" */ -#undef DL_PREFIX - -/* "Has sys/types.h" */ -#undef HAS_SYS_TYPES_H - -/* "" */ -#undef HAVE_BACKTRACE - -/* Define to 1 if you have the `fork' function. */ -#undef HAVE_FORK - -/* Define to 1 if you have the `gethostbyname' function. */ -#undef HAVE_GETHOSTBYNAME - -/* Define to 1 if you have the `gethostbyname_r' function. */ -#undef HAVE_GETHOSTBYNAME_R - -/* Define to 1 if you have the `gettimeofday' function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `setgrent' function. */ -#undef HAVE_SETGRENT - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the `strcasecmp' function. */ -#undef HAVE_STRCASECMP - -/* Define to 1 if you have the `stricmp' function. */ -#undef HAVE_STRICMP - -/* "" */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strlcat' function. */ -#undef HAVE_STRLCAT - -/* Define to 1 if you have the `strlcpy' function. */ -#undef HAVE_STRLCPY - -/* "" */ -#undef HAVE_SYS_SELECT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the `umask' function. */ -#undef HAVE_UMASK - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* va_list as array */ -#undef HAVE_VA_LIST_AS_ARRAY - -/* "Module dir" */ -#undef MODULE_PATH - -/* "Has mysql/mysql.h" */ -#undef MYSQL_HEADER_PREFIX - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* "Run group" */ -#undef RUNGROUP - -/* "Binary Dir" */ -#undef SERVICES_BIN - -/* "services bin dir" */ -#undef SERVICES_DIR - -/* The size of a `int', as computed by sizeof. */ -#undef SIZEOF_INT - -/* The size of a `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* The size of a `short', as computed by sizeof. */ -#undef SIZEOF_SHORT - -/* "modules not available" */ -#undef STATIC_LINKING - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to `short' if does not define. */ -#undef int16_t - -/* Define to `long' if does not define. */ -#undef int32_t - -/* Define to `unsigned short' if does not define. */ -#undef u_int16_t - -/* Define to `unsigned long' if does not define. */ -#undef u_int32_t - -/* Static config, copy from here to below before running autoheader! */ - -#ifndef BIG_ENDIAN - -/* Big Endian system */ -#undef BIG_ENDIAN - -#endif - -#ifndef LITTLE_ENDIAN - -/* Little Endian system */ -#undef LITTLE_ENDIAN - -#endif - -/** - * NOTE: BIG_ENDIAN and LITTLE_ENDIAN defines should not be left in - * by autoheader as they may be defined or may not be, as such we check - * if there defined before messing with them! - **/ - -#ifdef HAS_SYS_TYPES_H -#include -#endif - -#ifdef __STRICT_ANSI__ -#include -#include -#endif - - -typedef int16_t int16; -typedef u_int16_t uint16; -typedef int32_t int32; -typedef u_int32_t uint32; - diff --git a/include/sysconf.h.win32 b/include/sysconf.h.win32 deleted file mode 100644 index 5b33a3608..000000000 --- a/include/sysconf.h.win32 +++ /dev/null @@ -1,44 +0,0 @@ - -#define SERVICES_DIR "data" -#define SERVICES_BIN "anope.exe" - -typedef signed __int16 int16; -typedef signed __int16 int16_t; -typedef unsigned __int16 uint16; -typedef unsigned __int16 u_int16_t; -typedef signed __int32 int32; -typedef signed __int32 int32_t; -typedef unsigned __int32 uint32; -typedef unsigned __int32 u_int32_t; -typedef unsigned __int8 u_int8_t; - -#define HAVE_STRINGS_H 0 -#define HAVE_SYS_SELECT_H 0 -#define HAVE_SYS_SYSPROTO_H 0 - -#define HAVE_STRICMP 1 -#define HAVE_STRCASECMP 0 -#define HAVE_STRSIGNAL 0 -#define HAVE_GETTIMEOFDAY 0 -#define HAVE_SETGRENT 0 -#define HAVE_UMASK 0 -#define HAVE_FORK 0 -#define HAVE_GETHOSTBYNAME 1 -#define HAVE_BACKTRACE 0 - -/* Enable Module support */ -#define USE_MODULES -#define MODULE_PATH ".\\modules\\" - -/* Windows/MSVC likes to name things differently */ -#define snprintf _snprintf -#define popen _popen -#define pclose _pclose -#define ftruncate _chsize -#define PATH_MAX MAX_PATH -#define MAXPATHLEN MAX_PATH -#define bzero(buf, size) memset(buf, 0, size) -#define strcasecmp stricmp -#define sleep(x) Sleep(x*1000) - - -- cgit