File: Makefile

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (109 lines) | stat: -rw-r--r-- 2,493 bytes parent folder | download
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Generated automatically from Makefile.in by configure.
SHELL = /bin/sh

include ../Path.incl
include ../Version.incl
include ../Makefile.incl

IP = $(SCIDIR)/Path.incl
IV = $(SCIDIR)/Version.incl

SBIN = $(SCIDIR)/bin
UTIL = $(SCIDIR)/util

PROGRAMS = $(SBIN)/scilab $(SBIN)/Blatexpr $(SBIN)/Blatexpr2 \
	$(SBIN)/Blatexprs $(SBIN)/Blpr $(SBIN)/BEpsf \
	$(UTIL)/Blatdoc $(UTIL)/Blatdocs

all:: $(PROGRAMS)

$(SBIN)/scilab: scilab.g $(IP) $(IV)
	@$(RM) $(SBIN)/scilab
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" \
	-e "s+SCILAB_VERSION+$(SCIVERSION)+" \
	-e "s+SCILABGS+sh+" scilab.g > scilab;
	@cp scilab $(SBIN)
	@chmod 775 $(SBIN)/scilab
	@$(RM) scilab
	@echo $(SBIN)/scilab created

distclean::
	$(RM) $(SBIN)/scilab

$(SBIN)/Blatexpr: Blatexpr.g $(IP)
	@$(RM) $(SBIN)/Blatexpr
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" Blatexpr.g > Blatexpr;
	@cp Blatexpr $(SBIN)
	@chmod 775 $(SBIN)/Blatexpr
	@$(RM) Blatexpr
	@echo $(SBIN)/Blatexpr created

distclean::
	$(RM) $(SBIN)/Blatexpr

$(SBIN)/BEpsf: BEpsf.g $(IP)
	@$(RM) $(SBIN)/BEpsf
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" BEpsf.g > BEpsf;
	@cp BEpsf $(SBIN)
	@chmod 775 $(SBIN)/BEpsf
	@$(RM) BEpsf
	@echo $(SBIN)/BEpsf created

distclean::
	$(RM) $(SBIN)/BEpsf


$(SBIN)/Blatexpr2: Blatexpr2.g $(IP)
	@$(RM) $(SBIN)/Blatexpr2
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" Blatexpr2.g > Blatexpr2;
	@cp Blatexpr2 $(SBIN)
	@chmod 775 $(SBIN)/Blatexpr2
	@$(RM) Blatexpr2
	@echo $(SBIN)/Blatexpr2 created

distclean::
	$(RM) $(SBIN)/Blatexpr2

$(SBIN)/Blatexprs: Blatexprs.g $(IP)
	@$(RM) $(SBIN)/Blatexprs
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" Blatexprs.g > Blatexprs;
	@cp Blatexprs $(SBIN)
	@chmod 775 $(SBIN)/Blatexprs
	@$(RM) Blatexprs
	@echo $(SBIN)/Blatexprs created

distclean::
	$(RM) $(SBIN)/Blatexprs

$(SBIN)/Blpr: Blpr.g $(IP)
	@$(RM) $(SBIN)/Blpr
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" Blpr.g > Blpr;
	@cp Blpr $(SBIN)
	@chmod 775 $(SBIN)/Blpr
	@$(RM) Blpr
	@echo $(SBIN)/Blpr created

distclean::
	$(RM) $(SBIN)/Blpr

$(UTIL)/Blatdoc: Blatdoc.g $(IP)
	@$(RM) $(UTIL)/Blatdoc
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" Blatdoc.g > Blatdoc;
	@cp Blatdoc $(UTIL)
	@chmod 775 $(UTIL)/Blatdoc
	@$(RM) Blatdoc
	@echo $(UTIL)/Blatdoc created

distclean::
	$(RM) $(UTIL)/Blatdoc

$(UTIL)/Blatdocs: Blatdocs.g $(IP)
	@$(RM) $(UTIL)/Blatdocs
	@sed -e "s+SCILAB_DIRECTORY+$(SCIDIR)+" Blatdocs.g > Blatdocs;
	@cp Blatdocs $(UTIL)
	@chmod 775 $(UTIL)/Blatdocs
	@$(RM) Blatdocs
	@echo $(UTIL)/Blatdocs created

distclean::
	$(RM) $(UTIL)/Blatdocs