aboutsummaryrefslogtreecommitdiff
path: root/extensions/xgui/makefile
blob: 2c0e1631772f9b5e3aedd5779d7860b394806046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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