From 8ac0b9532a34383d22b76ff7e274e32780891dc1 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 11 Jun 2010 19:36:06 +0200 Subject: Switching build system again Now it's plain make. --- libwaitress/CMakeLists.txt | 6 ------ libwaitress/src/CMakeLists.txt | 23 ----------------------- 2 files changed, 29 deletions(-) delete mode 100644 libwaitress/CMakeLists.txt delete mode 100644 libwaitress/src/CMakeLists.txt (limited to 'libwaitress') diff --git a/libwaitress/CMakeLists.txt b/libwaitress/CMakeLists.txt deleted file mode 100644 index c160521..0000000 --- a/libwaitress/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -cmake_minimum_required (VERSION 2.4) - -set (PACKAGE "libwaitress") -project (${PACKAGE} C) - -add_subdirectory (src) diff --git a/libwaitress/src/CMakeLists.txt b/libwaitress/src/CMakeLists.txt deleted file mode 100644 index 1985815..0000000 --- a/libwaitress/src/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -INCLUDE (CheckFunctionExists) -INCLUDE (CheckLibraryExists) - -set (CMAKE_C_FLAGS -Wall) -set (EXTRA_LIBS "") - -# required on sunos -CHECK_FUNCTION_EXISTS("connect" CMAKE_HAVE_CONNECT) - IF(NOT CMAKE_HAVE_CONNECT) - CHECK_LIBRARY_EXISTS("socket" "connect" "" CMAKE_LIB_SOCKET_HAS_CONNECT) - IF (CMAKE_LIB_SOCKET_HAS_CONNECT) - SET (EXTRA_LIBS -lsocket) - ENDIF (CMAKE_LIB_SOCKET_HAS_CONNECT) -ENDIF(NOT CMAKE_HAVE_CONNECT) - -configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in - ${CMAKE_CURRENT_BINARY_DIR}/config.h) - -include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) - -add_library (waitress STATIC waitress.c) -target_link_libraries (waitress ${EXTRA_LIBS}) - -- cgit v1.2.3