forked from buffer/phoneyc
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
65 lines (48 loc) · 1.65 KB
/
Makefile
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
65
default:
@echo "please chose your platform: debian, gentoo, ubuntu, or osx"
@echo "and type \"make <platform>\""
@exit
debian:python-debian pkgconfig-debian setuptools-debian nspr-debian ldconfig-debian xulrunner-debian libemu phoneyc_modules
ubuntu:python-debian pkgconfig-debian setuptools-debian nspr-debian ldconfig-debian xulrunner-debian libemu phoneyc_modules
gentoo:pkgconfig-gentoo setuptools-gentoo nspr-gentoo xulrunner-gentoo ldconfig-gentoo libemu phoneyc_modules
osx:pkgconfig-osx nspr-osx xulrunner-osx libemu phoneyc_modules
python-debian:
apt-get install python-dev
pkgconfig-debian:
apt-get install pkg-config
nspr-debian:
apt-get install libnspr4-dev
xulrunner-debian:
apt-get install xulrunner-dev
setuptools-debian:
apt-get install python-setuptools
pkgconfig-gentoo:
emerge -u dev-util/pkgconfig
nspr-gentoo:
emerge -u dev-libs/nspr
xulrunner-gentoo:
emerge -u net-libs/xulrunner
setuptools-gentoo:
emerge -u dev-python/setuptools
pkgconfig-osx:
port install pkgconfig
nspr-osx:
port install nspr
xulrunner-osx:
port install xulrunner
ldconfig-debian:
echo "/opt/libemu/lib" > /etc/ld.so.conf.d/libemu.conf
echo "/opt/libemu/lib/libemu" >> /etc/ld.so.conf.d/libemu.conf
ldconfig-gentoo:
echo "/opt/libemu/lib" > /etc/ld.so.conf.d/libemu.conf
echo "/opt/libemu/lib/libemu" >> /etc/ld.so.conf.d/libemu.conf
libemu:
ldconfig; \
git clone git://git.carnivore.it/libemu.git /opt/libemu-trunk; \
cd /opt/libemu-trunk; \
autoreconf -v -i && ./configure --prefix=/opt/libemu && make install; \
cd -;
phoneyc_modules:
cd modules; \
make && make install; \
cd -;