From 45285e8a9300cd754a760560640b75b09f98035e Mon Sep 17 00:00:00 2001 From: AlTheKiller Date: Wed, 23 Sep 2009 01:49:50 +0000 Subject: step 3/4: Move linuxport to trunk. How'd I get roped into this? git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- tools/EventClients/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tools/EventClients/Makefile (limited to 'tools/EventClients/Makefile') diff --git a/tools/EventClients/Makefile b/tools/EventClients/Makefile new file mode 100644 index 0000000000..5e902f7fbc --- /dev/null +++ b/tools/EventClients/Makefile @@ -0,0 +1,32 @@ +# Default prefix dir +prefix=/usr/local +installdir=$(prefix) +WII_EXTRA_OPTS= + +all: wiimote install + +wiimote: + cd Clients/WiiRemote && \ + g++ CWIID_WiiRemote.cpp -lcwiid -DICON_PATH="\"$(installdir)/share/pixmaps/xbmc/\"" $(WII_EXTRA_OPTS) -o WiiRemote + +j2me-remote: + cd Clients/J2ME\ Client + ant -f build.xml + +install: + mkdir -p $(prefix)/bin + cp -a Clients/WiiRemote/WiiRemote $(prefix)/bin/xbmc-wiiremote + cp -a Clients/J2ME\ Client/j2me_remote.py $(prefix)/bin/xbmc-j2meremote + cp -a Clients/PS3\ BD\ Remote/ps3_remote.py $(prefix)/bin/xbmc-ps3remote + #cp -a Clients/PS3\ Sixaxis\ Controller/ps3d.py $(prefix)/bin/xbmc-ps3d + mkdir -p $(prefix)/lib/python2.5/site-packages/xbmc + echo 'ICON_PATH="$(installdir)/share/pixmaps/xbmc/"' > $(prefix)/lib/python2.5/site-packages/xbmc/defs.py + cp -a lib/python/* $(prefix)/lib/python2.5/site-packages/xbmc/ + cp -a Clients/PS3\ BD\ Remote/ps3_remote.py $(prefix)/lib/python2.5/site-packages/xbmc/ + mkdir -p $(prefix)/include/xbmc + cp -a lib/c++/* $(prefix)/include/xbmc/ + mkdir -p $(prefix)/share/pixmaps/xbmc + cp -a icons/* $(prefix)/share/pixmaps/xbmc/ + +clean: + rm -f Clients/WiiRemote/WiiRemote -- cgit v1.2.3