summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-15 08:32:14 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-15 08:32:14 +0100
commitac0d3d4c8c788c2952cd457f982c77d3be3d13ad (patch)
treea572a5b53d4455db2aea8755df193c42b77845d5 /Makefile
parent507868fb122ea717a909891a998f040cae4e9fda (diff)
downloadmmswe-ac0d3d4c8c788c2952cd457f982c77d3be3d13ad.tar.gz
mmswe-ac0d3d4c8c788c2952cd457f982c77d3be3d13ad.tar.bz2
mmswe-ac0d3d4c8c788c2952cd457f982c77d3be3d13ad.zip
Makefile: Support building directfb & pluggit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b68013..f9478fc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,6 @@
+DEBUG:=yes
+DIRECTFB_DIR:=DirectFB141_2k11R3_beta5
+
DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0 -P latex.class.options=a4paper,12pt,abstraction,titlepage -b xetex"
.PHONY: all clean up
@@ -23,6 +26,14 @@ projekt_doku.pdf: projekt_doku.asciidoc hsw.sty
.asciidoc.pdf:
a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
+.PHONY: pluggit
+pluggit:
+ mkdir -p install/
+ $(MAKE) -C $(DIRECTFB_DIR)/ -f makefile.voodoo DESTDIR=../install DEBUG=$(DEBUG) all package
+ tar -xzf $(DIRECTFB_DIR)/DirectFB_Voodoo.tar.gz -C install/ --transform 's/DirectFB_Voodoo\///'
+ rmdir install/DirectFB_Voodoo
+ $(MAKE) -C pluggit/ -f makefile.voodoo DIRECTFB_VOODOO=../install all
+
#.SUFFIXES: .dia .svg
#.dia.svg:
# @dia --export=$@ --filter=svg $<
@@ -32,3 +43,6 @@ projekt_doku.pdf: projekt_doku.asciidoc hsw.sty
#
clean:
rm -f document.html presentation.html document.pdf ${GenSVG}
+ $(MAKE) -C pluggit/ -f makefile.voodoo clean
+ rm -f pluggit/src/classes.cpp
+