aboutsummaryrefslogtreecommitdiff
path: root/extensions/xgui/makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-02-07 23:05:57 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-02-07 23:05:57 +0000
commit6adfba996c34b2c78515e8a50ad5928188d78612 (patch)
treee93ec4c07be45ae47f8e6065f21b59098998afe5 /extensions/xgui/makefile
parentc0ab517b9027bd66c32f931ce592932c85f43d7b (diff)
reorganizing
svn path=/trunk/; revision=9376
Diffstat (limited to 'extensions/xgui/makefile')
-rw-r--r--extensions/xgui/makefile64
1 files changed, 64 insertions, 0 deletions
diff --git a/extensions/xgui/makefile b/extensions/xgui/makefile
new file mode 100644
index 00000000..2c0e1631
--- /dev/null
+++ b/extensions/xgui/makefile
@@ -0,0 +1,64 @@
+#This is the xgui makefile.
+
+current:
+ cd xgui-lib ; make pd_linux ; cd ..
+
+uninstall:
+
+# bin
+ rm -f /usr/local/bin/xgui
+ rm -f /usr/local/bin/pdx
+# main
+ rm -f /usr/local/lib/pdx/main/*
+ rmdir /usr/local/lib/pdx/main
+# patch4pdx
+ rm -f /usr/local/lib/pdx/patch4pdx/*
+ rmdir /usr/local/lib/pdx/patch4pdx
+# lib
+ rm -f /usr/local/lib/pdx/*
+ rmdir /usr/local/lib/pdx
+# doc
+ rm -f /usr/local/lib/pd/doc/xgui/*
+ rmdir /usr/local/lib/pd/doc/xgui
+
+
+
+install:
+
+# bin
+ install ./bin/xgui.sh /usr/local/bin/xgui
+ install ./bin/pdx.sh /usr/local/bin/pdx
+
+# lib
+ mkdir -p /usr/local/lib/pdx
+
+# main
+ mkdir -p /usr/local/lib/pdx/main
+ install ./main/* /usr/local/lib/pdx/main/
+
+# patch4pdx
+ mkdir -p /usr/local/lib/pdx/patch4pdx
+
+ install ./adapters_in/* /usr/local/lib/pdx/patch4pdx/
+ install ./adapters_out/* /usr/local/lib/pdx/patch4pdx/
+ install ./behaviors/* /usr/local/lib/pdx/patch4pdx/
+ install ./filters/* /usr/local/lib/pdx/patch4pdx/
+ install ./objects/* /usr/local/lib/pdx/patch4pdx/
+ install ./utils/* /usr/local/lib/pdx/patch4pdx/
+ install ./physics/* /usr/local/lib/pdx/patch4pdx/
+
+# xgui-lib
+ install ./bin/*.pd_linux /usr/local/lib/pd/extra/
+
+# doc
+ mkdir -p /usr/local/lib/pd/doc/xgui/
+ install ./doc/* /usr/local/lib/pd/doc/xgui/
+
+archive:
+ cd ../;tar -cf xgui.tar xgui
+ gzip ../xgui.tar
+
+4linux:
+ chmod 774 pdx.sh
+ chmod 774 bin/pdx.sh
+ chmod 774 bin/xgui.sh