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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
OWN = -o root -g root
ROOT = $(prefix)
DOCUMENTROOT = $(prefix)/usr/html
ATTICROOT = $(prefix)/usr/html/attic
INCLUDES = $(prefix)/usr/html/includes
INSTDOCS = 0644
INSTEXE = 0755
DOCS= LICENSE
PHPSHELL= phpshell.php \
phpshell.css \
valid-xhtml10.png \
vcss.png
HTMLFILES= 10364.html \
focus.html \
robots.txt
##ATTICFILES - files that are not ported (or even needed with 8.x software)
ATTICFILES= camera_demo.php \
compressor.php \
demo_focus.php \
init354.php \
senspars.php \
ccam.php \
framepars.php \
syncmaster354.php \
syncslave354.php \
whitebalance.php \
demo_aexp.php \
camvars.php \
jhead.php
PHPSCRIPTS= 10364.php \
103641.php \
103697.php \
coring_filter_setup.php \
fpga.php \
diag_utils.php \
focus.php \
init347.php \
webcam.php \
mshutter.php \
mjpeg.php \
raw.php \
raw_demo.php \
webcam_adv.php \
parsedit.php \
phpinfo.php \
power347.php \
readparameter_demo.php \
setparameters_demo.php \
snapfull.php \
sync.php \
sync_other2this.php \
trig.php \
i2c.php \
paramtool.php \
tuneseq.php \
launcher.php \
index.php
PHPEXE= bdetect.php \
usb10369a.php \
detect_ioboard.php
PHPINCLUDES=i2c.inc show_source.inc
all:
install:
$(INSTALL) $(OWN) -d $(DOCUMENTROOT)
$(INSTALL) $(OWN) -d $(INCLUDES)
$(INSTALL) $(OWN) -d $(ATTICROOT)
#install files
tar -xzf phpshell.tar.gz
$(INSTALL) $(OWN) -m $(INSTDOCS) $(PHPSHELL) $(DOCUMENTROOT)
$(INSTALL) $(OWN) -m $(INSTDOCS) $(PHPSCRIPTS) $(DOCUMENTROOT)
$(INSTALL) $(OWN) -m $(INSTEXE) $(PHPEXE) $(DOCUMENTROOT)
$(INSTALL) $(OWN) -m $(INSTDOCS) $(PHPINCLUDES) $(INCLUDES)
$(INSTALL) $(OWN) -m $(INSTDOCS) $(HTMLFILES) $(DOCUMENTROOT)
$(INSTALL) $(OWN) -m $(INSTDOCS) $(DOCS) $(DOCUMENTROOT)
$(INSTALL) $(OWN) -m $(INSTDOCS) $(DOCS) $(ROOT)
$(INSTALL) $(OWN) -m $(INSTDOCS) $(ATTICFILES) $(ATTICROOT)