summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/Makefile.inc24
-rw-r--r--Swift/Controllers/UnitTest/Makefile.inc4
-rw-r--r--Swift/Makefile.inc10
-rwxr-xr-xSwift/Packaging/Debian/Makefile.inc19
-rw-r--r--Swift/QtUI/Makefile.inc28
5 files changed, 0 insertions, 85 deletions
diff --git a/Swift/Controllers/Makefile.inc b/Swift/Controllers/Makefile.inc
deleted file mode 100644
index b145c54..0000000
--- a/Swift/Controllers/Makefile.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-SWIFT_CONTROLLERS_SOURCES += \
- Swift/Controllers/ChatController.cpp \
- Swift/Controllers/ChatControllerBase.cpp \
- Swift/Controllers/MainController.cpp \
- Swift/Controllers/NickResolver.cpp \
- Swift/Controllers/RosterController.cpp \
- Swift/Controllers/XMPPRosterController.cpp \
- Swift/Controllers/MUCController.cpp \
- Swift/Controllers/EventController.cpp \
- Swift/Controllers/SoundEventController.cpp \
- Swift/Controllers/SystemTrayController.cpp
-
-include Swift/Controllers/UnitTest/Makefile.inc
-
-SWIFT_CONTROLLERS_TARGET = Swift/Controllers/Controllers.a
-SWIFT_CONTROLLERS_OBJECTS = \
- $(SWIFT_CONTROLLERS_SOURCES:.cpp=.o)
-
-TARGETS += $(SWIFT_CONTROLLERS_TARGET)
-UNITTEST_LIBS += $(SWIFT_CONTROLLERS_TARGET)
-DEPS += $(SWIFT_CONTROLLERS_SOURCES:.cpp=.dep)
-
-$(SWIFT_CONTROLLERS_TARGET): $(SWIFT_CONTROLLERS_OBJECTS)
- $(QUIET_AR)$(AR) $(ARFLAGS) $@ $(SWIFT_CONTROLLERS_OBJECTS)
diff --git a/Swift/Controllers/UnitTest/Makefile.inc b/Swift/Controllers/UnitTest/Makefile.inc
deleted file mode 100644
index 254f35d..0000000
--- a/Swift/Controllers/UnitTest/Makefile.inc
+++ /dev/null
@@ -1,4 +0,0 @@
-UNITTEST_SOURCES += \
- Swift/Controllers/UnitTest/NickResolverTest.cpp \
- Swift/Controllers/UnitTest/XMPPRosterControllerTest.cpp
-
diff --git a/Swift/Makefile.inc b/Swift/Makefile.inc
deleted file mode 100644
index ab677af..0000000
--- a/Swift/Makefile.inc
+++ /dev/null
@@ -1,10 +0,0 @@
-include Swift/Controllers/Makefile.inc
-include Swift/QtUI/Makefile.inc
-include Swift/Packaging/Debian/Makefile.inc
-
-INSTALL_TARGETS += install-swift
-
-.PHONY: install-swift
-install-swift: qt
- install -d $(DESTDIR)$(bindir)
- install Swift/QtUI/swift $(DESTDIR)$(bindir)
diff --git a/Swift/Packaging/Debian/Makefile.inc b/Swift/Packaging/Debian/Makefile.inc
deleted file mode 100755
index fb079ce..0000000
--- a/Swift/Packaging/Debian/Makefile.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-DATE=`date +%Y%m%d`
-SIZE=`du -s tmpusr/usr | awk '{print $1}'`
-VERSION=0.3.$(DATE)
-DEBPATH=Swift/Packaging/Debian
-DEBNAME=swift-preview_$(VERSION)-$(ARCH).deb
-$(DEBPATH)/$(DEBNAME): all
- rm -rf $(DEBPATH)/tmpusr
- mkdir -p $(DEBPATH)/tmpusr/usr/bin
- mkdir $(DEBPATH)/tmpusr/DEBIAN
-
- cp Swift/QtUI/swift $(DEBPATH)/tmpusr/usr/bin
-
- cat $(DEBPATH)/control | sed -e"s/\%ARCH\%/$(ARCH)/" -e"s/\%VERSION\%/$(VERSION)/" -e"s/\%SIZE\%/$(SIZE)/" > $(DEBPATH)/tmpusr/DEBIAN/control
-
- dpkg -b $(DEBPATH)/tmpusr $(DEBPATH)/$(DEBNAME)
-
-.PHONY: deb
-deb: $(DEBPATH)/$(DEBNAME)
-
diff --git a/Swift/QtUI/Makefile.inc b/Swift/QtUI/Makefile.inc
deleted file mode 100644
index 3ec32d7..0000000
--- a/Swift/QtUI/Makefile.inc
+++ /dev/null
@@ -1,28 +0,0 @@
-TARGETS += qt
-CLEAN_TARGETS += clean-qt
-
-ifeq ($(WIN32),1)
-QT_MAKE=nmake
-else
-QT_MAKE=$(MAKE)
-endif
-
-
-.PHONY: qt
-qt: Swift/QtUI/Makefile Swiften/Swiften.a $(BUNDLED_LIBS)
- cd Swift/QtUI && $(QT_MAKE)
-
-.PHONY: clean-qt
-clean-qt:
- if [ -f "Swift/QtUI/Makefile" ]; then \
- cd Swift/QtUI && $(QT_MAKE) clean; \
- fi
-
-Swift/QtUI/Makefile: Swift/QtUI/DefaultTheme.qrc Swift/QtUI/Swiften.pri
- cd Swift/QtUI && $(QMAKE) Swift.pro
-
-Swift/QtUI/Swiften.pri:
- cd Swift/QtUI && ./qmakeish.py ../../Makefile > Swiften.pri
-
-Swift/QtUI/DefaultTheme.qrc:
- cd Swift/QtUI && ../../tools/ThemeQRC.py ../resources/themes/Default > DefaultTheme.qrc