summaryrefslogtreecommitdiff
path: root/src/protocol
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-17 20:19:13 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-17 20:19:13 +0000
commitca4db9f23572fa4ee6de03d8f4f7237c56ebccc9 (patch)
treec10c2e5290f55c62211022c83d11daadf9a3a7f3 /src/protocol
parent81b7aa657110db03ceb861d8206fc6e805ede9c8 (diff)
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
Diffstat (limited to 'src/protocol')
-rw-r--r--src/protocol/Makefile377
-rw-r--r--src/protocol/Makefile.sub32
-rw-r--r--src/protocol/Makefile.win3229
-rwxr-xr-xsrc/protocol/configure60
-rw-r--r--src/protocol/dummy/Makefile6
5 files changed, 0 insertions, 504 deletions
diff --git a/src/protocol/Makefile b/src/protocol/Makefile
deleted file mode 100644
index 13f67e9c1..000000000
--- a/src/protocol/Makefile
+++ /dev/null
@@ -1,377 +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/src/protocol && /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/src/protocol && /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/src/protocol && /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/src/protocol && /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/src/protocol && /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/src/protocol && /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/src/protocol/CMakeFiles/progress.make
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/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 src/protocol/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 src/protocol/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/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.
-src/protocol/CMakeFiles/bahamut.so.dir/rule:
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/CMakeFiles/bahamut.so.dir/rule
-.PHONY : src/protocol/CMakeFiles/bahamut.so.dir/rule
-
-# Convenience name for target.
-bahamut.so: src/protocol/CMakeFiles/bahamut.so.dir/rule
-.PHONY : bahamut.so
-
-# fast build rule for target.
-bahamut.so/fast:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/bahamut.so.dir/build.make src/protocol/CMakeFiles/bahamut.so.dir/build
-.PHONY : bahamut.so/fast
-
-# Convenience name for target.
-src/protocol/CMakeFiles/inspircd11.so.dir/rule:
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/CMakeFiles/inspircd11.so.dir/rule
-.PHONY : src/protocol/CMakeFiles/inspircd11.so.dir/rule
-
-# Convenience name for target.
-inspircd11.so: src/protocol/CMakeFiles/inspircd11.so.dir/rule
-.PHONY : inspircd11.so
-
-# fast build rule for target.
-inspircd11.so/fast:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd11.so.dir/build.make src/protocol/CMakeFiles/inspircd11.so.dir/build
-.PHONY : inspircd11.so/fast
-
-# Convenience name for target.
-src/protocol/CMakeFiles/inspircd12.so.dir/rule:
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/CMakeFiles/inspircd12.so.dir/rule
-.PHONY : src/protocol/CMakeFiles/inspircd12.so.dir/rule
-
-# Convenience name for target.
-inspircd12.so: src/protocol/CMakeFiles/inspircd12.so.dir/rule
-.PHONY : inspircd12.so
-
-# fast build rule for target.
-inspircd12.so/fast:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd12.so.dir/build.make src/protocol/CMakeFiles/inspircd12.so.dir/build
-.PHONY : inspircd12.so/fast
-
-# Convenience name for target.
-src/protocol/CMakeFiles/ratbox.so.dir/rule:
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/CMakeFiles/ratbox.so.dir/rule
-.PHONY : src/protocol/CMakeFiles/ratbox.so.dir/rule
-
-# Convenience name for target.
-ratbox.so: src/protocol/CMakeFiles/ratbox.so.dir/rule
-.PHONY : ratbox.so
-
-# fast build rule for target.
-ratbox.so/fast:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/ratbox.so.dir/build.make src/protocol/CMakeFiles/ratbox.so.dir/build
-.PHONY : ratbox.so/fast
-
-# Convenience name for target.
-src/protocol/CMakeFiles/unreal32.so.dir/rule:
- cd /celes/anope && $(MAKE) -f CMakeFiles/Makefile2 src/protocol/CMakeFiles/unreal32.so.dir/rule
-.PHONY : src/protocol/CMakeFiles/unreal32.so.dir/rule
-
-# Convenience name for target.
-unreal32.so: src/protocol/CMakeFiles/unreal32.so.dir/rule
-.PHONY : unreal32.so
-
-# fast build rule for target.
-unreal32.so/fast:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/unreal32.so.dir/build.make src/protocol/CMakeFiles/unreal32.so.dir/build
-.PHONY : unreal32.so/fast
-
-bahamut.o: bahamut.c.o
-.PHONY : bahamut.o
-
-# target to build an object file
-bahamut.c.o:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/bahamut.so.dir/build.make src/protocol/CMakeFiles/bahamut.so.dir/bahamut.c.o
-.PHONY : bahamut.c.o
-
-bahamut.i: bahamut.c.i
-.PHONY : bahamut.i
-
-# target to preprocess a source file
-bahamut.c.i:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/bahamut.so.dir/build.make src/protocol/CMakeFiles/bahamut.so.dir/bahamut.c.i
-.PHONY : bahamut.c.i
-
-bahamut.s: bahamut.c.s
-.PHONY : bahamut.s
-
-# target to generate assembly for a file
-bahamut.c.s:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/bahamut.so.dir/build.make src/protocol/CMakeFiles/bahamut.so.dir/bahamut.c.s
-.PHONY : bahamut.c.s
-
-inspircd11.o: inspircd11.c.o
-.PHONY : inspircd11.o
-
-# target to build an object file
-inspircd11.c.o:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd11.so.dir/build.make src/protocol/CMakeFiles/inspircd11.so.dir/inspircd11.c.o
-.PHONY : inspircd11.c.o
-
-inspircd11.i: inspircd11.c.i
-.PHONY : inspircd11.i
-
-# target to preprocess a source file
-inspircd11.c.i:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd11.so.dir/build.make src/protocol/CMakeFiles/inspircd11.so.dir/inspircd11.c.i
-.PHONY : inspircd11.c.i
-
-inspircd11.s: inspircd11.c.s
-.PHONY : inspircd11.s
-
-# target to generate assembly for a file
-inspircd11.c.s:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd11.so.dir/build.make src/protocol/CMakeFiles/inspircd11.so.dir/inspircd11.c.s
-.PHONY : inspircd11.c.s
-
-inspircd12.o: inspircd12.cpp.o
-.PHONY : inspircd12.o
-
-# target to build an object file
-inspircd12.cpp.o:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd12.so.dir/build.make src/protocol/CMakeFiles/inspircd12.so.dir/inspircd12.cpp.o
-.PHONY : inspircd12.cpp.o
-
-inspircd12.i: inspircd12.cpp.i
-.PHONY : inspircd12.i
-
-# target to preprocess a source file
-inspircd12.cpp.i:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd12.so.dir/build.make src/protocol/CMakeFiles/inspircd12.so.dir/inspircd12.cpp.i
-.PHONY : inspircd12.cpp.i
-
-inspircd12.s: inspircd12.cpp.s
-.PHONY : inspircd12.s
-
-# target to generate assembly for a file
-inspircd12.cpp.s:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/inspircd12.so.dir/build.make src/protocol/CMakeFiles/inspircd12.so.dir/inspircd12.cpp.s
-.PHONY : inspircd12.cpp.s
-
-ratbox.o: ratbox.c.o
-.PHONY : ratbox.o
-
-# target to build an object file
-ratbox.c.o:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/ratbox.so.dir/build.make src/protocol/CMakeFiles/ratbox.so.dir/ratbox.c.o
-.PHONY : ratbox.c.o
-
-ratbox.i: ratbox.c.i
-.PHONY : ratbox.i
-
-# target to preprocess a source file
-ratbox.c.i:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/ratbox.so.dir/build.make src/protocol/CMakeFiles/ratbox.so.dir/ratbox.c.i
-.PHONY : ratbox.c.i
-
-ratbox.s: ratbox.c.s
-.PHONY : ratbox.s
-
-# target to generate assembly for a file
-ratbox.c.s:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/ratbox.so.dir/build.make src/protocol/CMakeFiles/ratbox.so.dir/ratbox.c.s
-.PHONY : ratbox.c.s
-
-unreal32.o: unreal32.c.o
-.PHONY : unreal32.o
-
-# target to build an object file
-unreal32.c.o:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/unreal32.so.dir/build.make src/protocol/CMakeFiles/unreal32.so.dir/unreal32.c.o
-.PHONY : unreal32.c.o
-
-unreal32.i: unreal32.c.i
-.PHONY : unreal32.i
-
-# target to preprocess a source file
-unreal32.c.i:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/unreal32.so.dir/build.make src/protocol/CMakeFiles/unreal32.so.dir/unreal32.c.i
-.PHONY : unreal32.c.i
-
-unreal32.s: unreal32.c.s
-.PHONY : unreal32.s
-
-# target to generate assembly for a file
-unreal32.c.s:
- cd /celes/anope && $(MAKE) -f src/protocol/CMakeFiles/unreal32.so.dir/build.make src/protocol/CMakeFiles/unreal32.so.dir/unreal32.c.s
-.PHONY : unreal32.c.s
-
-# 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 "... bahamut.so"
- @echo "... edit_cache"
- @echo "... inspircd11.so"
- @echo "... inspircd12.so"
- @echo "... install"
- @echo "... install/local"
- @echo "... install/strip"
- @echo "... list_install_components"
- @echo "... ratbox.so"
- @echo "... rebuild_cache"
- @echo "... unreal32.so"
- @echo "... bahamut.o"
- @echo "... bahamut.i"
- @echo "... bahamut.s"
- @echo "... inspircd11.o"
- @echo "... inspircd11.i"
- @echo "... inspircd11.s"
- @echo "... inspircd12.o"
- @echo "... inspircd12.i"
- @echo "... inspircd12.s"
- @echo "... ratbox.o"
- @echo "... ratbox.i"
- @echo "... ratbox.s"
- @echo "... unreal32.o"
- @echo "... unreal32.i"
- @echo "... unreal32.s"
-.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/src/protocol/Makefile.sub b/src/protocol/Makefile.sub
deleted file mode 100644
index 9fd25dc0c..000000000
--- a/src/protocol/Makefile.sub
+++ /dev/null
@@ -1,32 +0,0 @@
-MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
- 'LDFLAGS=${LDFLAGS}' 'BINDEST=${BINDEST}' 'INSTALL=${INSTALL}' \
- 'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
- 'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
- 'RUNGROUP=${RUNGROUP}' 'MODULE_PATH=${MODULE_PATH}' \
- 'PROFILE=${PROFILE}' 'SHARED=${SHARED}' 'MODULEFLAGS=${MODULEFLAGS}'
-
-OBJECTS= $(SRCS:.c=.o)
-SO_FILES=$(OBJECTS:.o=.s)
-CDEFS= -rdynamic -Wall
-
-all: module
-
-module: $(OBJECTS) so
-
-distclean: spotless
-
-.c.o:
- $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $<
-
-.cpp.o:
- $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $<
-
-so:
- $(CC) ${SHARED} $(OBJECTS) -o ../$(TARGET).so ${PROFILE}
-
-clean:
- rm -f *.o *.so *.c~ core
-
-spotless: clean
- rm -f *~ *.o *.so *.c~ core
-
diff --git a/src/protocol/Makefile.win32 b/src/protocol/Makefile.win32
deleted file mode 100644
index aec850976..000000000
--- a/src/protocol/Makefile.win32
+++ /dev/null
@@ -1,29 +0,0 @@
-include ../../Makefile.inc.win32
-
-SRCS=bahamut.c inspircd11.c inspircd12.cpp \
- ratbox.c unreal32.c
-OBJECTS=bahamut.dll inspircd11.dll inspircd12.dll ratbox.dll unreal32.dll
-
-CFLAGS=/LD /MD /D MODULE_COMPILE $(CFLAGS) /I"../../include"
-LFLAGS=/link ../anope.lib wsock32.lib $(LIBS) $(LFLAGS) $(MYSQL_LIB_PATH) /export:init_module /export:destroy_module /VERSION:$(VERSION)
-
-all: $(OBJECTS)
-
-distclean: clean spotless
-
-.c.dll:
- $(CC) $(CFLAGS) $< ..\mod_version.c $(LFLAGS)
-
-.cpp.dll:
- $(CC) $(CFLAGS) $< ..\mod_version.c $(LFLAGS)
-
-clean:
- -@del *.obj
-
-spotless: clean
- -@del *.dll *.lib *.exp *.manifest
-
-install:
- -@mkdir ..\..\$(DATDEST)\modules
- -@mkdir ..\..\$(DATDEST)\modules\runtime
- -@copy *.dll ..\..\$(DATDEST)\modules
diff --git a/src/protocol/configure b/src/protocol/configure
deleted file mode 100755
index 63f522d38..000000000
--- a/src/protocol/configure
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-
-oldpath=`pwd`
-
-if [ $1 ]; then
- cd $1
-fi
-
-echo2 () {
- $ECHO2 "$*$ECHO2SUF" # these are defined later
-}
-
-ECHO2SUF=''
-if [ "`echo -n a ; echo -n b`" = "ab" ] ; then
- ECHO2='echo -n'
-elif [ "`echo 'a\c' ; echo 'b\c'`" = "ab" ] ; then
- ECHO2='echo' ; ECHO2SUF='\c'
-elif [ "`printf 'a' 2>&1 ; printf 'b' 2>&1`" = "ab" ] ; then
- ECHO2='printf "%s"'
-else
- # oh well...
- ECHO2='echo'
-fi
-export ECHO2 ECHO2SUF
-
-
-echo2 "SRCS=" > ./Makefile.inc
-FIRST=1
-for oldfile in `ls -1 *.c *.cpp`
-do
- if [ "$FIRST" = 1 ] ; then
- echo2 " "$oldfile >> ./Makefile.inc
- else
- echo "\\" >> ./Makefile.inc
- echo2 " " $oldfile >> ./Makefile.inc
- fi
- FIRST=0
-done
-echo "" >> ./Makefile.inc
-
-echo2 "SUBS=" >> ./Makefile.inc
-FIRST=1
-for dir in *
-do
- if [ -d $dir ] ; then
- if [ -f $dir/Makefile ] ; then
- if [ "$FIRST" = 1 ] ; then
- echo2 " "$dir >> ./Makefile.inc
- else
- echo "\\" >> ./Makefile.inc
- echo2 " " $dir >> ./Makefile.inc
- fi
- FIRST=0
- fi
- fi
-done
-
-cd $oldpath
-
-exit 0
diff --git a/src/protocol/dummy/Makefile b/src/protocol/dummy/Makefile
deleted file mode 100644
index ec93af36d..000000000
--- a/src/protocol/dummy/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-all: DUMMY
-
-DUMMY:
-clean:
-distclean:
-install: