diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kpilot/Makefile.cmake | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/Makefile.cmake')
-rw-r--r-- | kpilot/Makefile.cmake | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/kpilot/Makefile.cmake b/kpilot/Makefile.cmake deleted file mode 100644 index 55dba5af5..000000000 --- a/kpilot/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.cc - extractrc `find . -name *.ui` >> rc.cc - xgettext -o kpilot.po --keyword=i18n rc.cc `find . -name *.h` `find . -name *.cc` - -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 - |