OSDN Git Service

tunerec: include <unistd.h> for usleep
[rec10/rec10-git.git] / tstools / Makefile
1 PREFIX = /usr/local/share
2 MAJOR = 0
3 MINOR = 9
4 REVISION = 10
5 VER = $(MAJOR).$(MINOR).$(REVISION)
6
7 DEST = $(PREFIX)/rec10/tstools
8
9 all: 
10         cd epgdump;make all
11 clean:
12         cd epgdump;make clean
13 install: 
14         if ! [ -d $(DEST) ]; then mkdir -p $(DEST) ;fi
15         if [ -f $(DEST)/BonTsDemux.exe ]; then rm $(DEST)/BonTsDemux.exe ;fi
16         if [ -f $(DEST)/BonTsDemuxLib.dll ]; then rm $(DEST)/BonTsDemuxLib.dll ;fi
17         cd BonTsDemux;cp ./*.* $(DEST)/
18         if [ -f $(DEST)/jTsSplitter.jar ]; then rm $(DEST)/jTsSplitter.jar ;fi
19         cd jTsSplitter;cp ./*.* $(DEST)/
20         #cd cfr2tc;cp ./cfr2tc.exe $(DEST)/
21         #cd DtsEdit;cp ./DtsEdit.exe $(DEST)/
22         #cd xvfb-run;cp ./xvfb-run $(DEST)/
23         #cd caption2ass;cp ./Caption2Ass.exe $(DEST)/
24         #cd caption2ass;cp ./Caption.dll $(DEST)/
25         #chmod +x $(DEST)/xvfb-run
26         cd epgdump;make install
27         if [ -f ./neroAacEnc ]; then install -m755 ./neroAacEnc /usr/local/bin/ ;fi
28 uninstall:
29         rm -rf $(DEST)
30         if [ -f /usr/local/bin/neroAacEnc ]; then rm /usr/local/bin/neroAacEnc ;fi
31         cd epgdump;make uninstall