summaryrefslogtreecommitdiffstats
path: root/Makefile.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-11-30 10:38:48 +0900
committerMichele Calgaro <[email protected]>2022-12-02 17:14:13 +0900
commite365033d55c6264b3fece6bb85616553dab7d61e (patch)
treed814b1898bdd63b3b81f889bcc867b14e129170c /Makefile.cmake
parent3a26f40faec18c989cffe11a323e451566c8b1fc (diff)
downloadkpilot-e365033d55c6264b3fece6bb85616553dab7d61e.tar.gz
kpilot-e365033d55c6264b3fece6bb85616553dab7d61e.zip
Drop automake build support.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'Makefile.cmake')
-rw-r--r--Makefile.cmake65
1 files changed, 0 insertions, 65 deletions
diff --git a/Makefile.cmake b/Makefile.cmake
deleted file mode 100644
index c0265a7..0000000
--- a/Makefile.cmake
+++ /dev/null
@@ -1,65 +0,0 @@
-# This is a GNU makefile. You need GNU make to process it.
-# FreeBSD users should use gmake.
-#
-#
-
-# Unusual configuration things:
-# CMAKE = path to cmake
-# BUILD_DIR = directory to build things in
-# CMAKE_FLAGS = extra flags to CMake. These will get set by
-# ./configure, saved to CMakeOptions.txt, and read in below...
-#
-
--include Makefile.cmake.in
-
-BUILD_DIR ?= build-$(shell uname -sr | tr -d [:space:] | tr -Cs a-zA-Z0-9 _ )
-# these come from CMakeOptions.txt (from ./configure)
-CMAKE_FLAGS ?=
-CMAKE ?= cmake
-
-all: build-check
- @cd "$(BUILD_DIR)" && $(MAKE)
-
-check: lib tests
- $(BUILD_DIR)/tests/testconstants
- $(BUILD_DIR)/tests/testcategories --data-dir=tests/data
- $(BUILD_DIR)/tests/testaddresses --data-dir=tests/data
- $(BUILD_DIR)/tests/testdatebook --data-dir=tests/data
-
-install: build-check
- @cd "$(BUILD_DIR)" && $(MAKE) install
-
-uninstall:
- @cd "$(BUILD_DIR)" && $(MAKE) uninstall
-
-lib: $(BUILD_DIR)/lib/libkpilot.so
-
-$(BUILD_DIR)/lib/libkpilot.so: build-check
- @cd "$(BUILD_DIR)/lib" && $(MAKE)
-
-tests: build-check
- @cd "$(BUILD_DIR)/tests" && $(MAKE)
-
-
-build-check:
- test -d "$(BUILD_DIR)" || mkdir -p "$(BUILD_DIR)"
- test -d "$(BUILD_DIR)"
- test -f "$(BUILD_DIR)/Makefile" || (cd "$(BUILD_DIR)" && $(CMAKE) .. )
-
-messages:
- extractrc `find . -name *.rc` > rc.cpp
- extractrc `find . -name *.ui` >> rc.cpp
- xgettext -o kpilot.po --keyword=i18n rc.cpp `find . -name *.h` `find . -name *.cpp`
-
-clean:
- @rm -rf $(BUILD_DIR)
-
-svnclean:
- @rm -rf `svn status --no-ignore | awk '/^[?I]/{print $2}'`
-
-help:
- @echo "Usage: make ( all | install | uninstall | clean )"
- @echo ""
-
-.PHONY : all check install uninstall lib build-check clean help
-