681
|
1 # Makefile for octave's scripts/plot directory |
|
2 # |
7017
|
3 # Copyright (C) 1994, 1995, 1996, 1997, 2002, 2005, 2006, 2007 |
|
4 # John W. Eaton |
|
5 # |
7016
|
6 # This file is part of Octave. |
|
7 # |
|
8 # Octave is free software; you can redistribute it and/or modify it |
|
9 # under the terms of the GNU General Public License as published by the |
|
10 # Free Software Foundation; either version 3 of the License, or (at |
|
11 # your option) any later version. |
|
12 # |
|
13 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 # for more details. |
|
17 # |
|
18 # You should have received a copy of the GNU General Public License |
|
19 # along with Octave; see the file COPYING. If not, see |
|
20 # <http://www.gnu.org/licenses/>. |
681
|
21 |
682
|
22 TOPDIR = ../.. |
681
|
23 |
|
24 script_sub_dir = plot |
|
25 |
|
26 srcdir = @srcdir@ |
|
27 top_srcdir = @top_srcdir@ |
|
28 VPATH = @srcdir@ |
|
29 |
|
30 include $(TOPDIR)/Makeconf |
|
31 |
|
32 INSTALL = @INSTALL@ |
|
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
34 INSTALL_DATA = @INSTALL_DATA@ |
|
35 |
6405
|
36 SOURCES = \ |
7146
|
37 __area__.m \ |
7049
|
38 __axes_limits__.m \ |
6257
|
39 __axis_label__.m \ |
6553
|
40 __bar__.m \ |
7189
|
41 __bars__.m \ |
7170
|
42 __contour__.m \ |
6264
|
43 __default_plot_options__.m \ |
6257
|
44 __errcomm__.m \ |
|
45 __errplot__.m \ |
7337
|
46 __ezplot__.m \ |
6408
|
47 __go_close_all__.m \ |
|
48 __go_draw_axes__.m \ |
|
49 __go_draw_figure__.m \ |
7673
|
50 __gnuplot_ginput__.m \ |
6261
|
51 __gnuplot_version__.m \ |
6409
|
52 __line__.m \ |
6264
|
53 __next_line_color__.m \ |
6807
|
54 __patch__.m \ |
6257
|
55 __plr1__.m \ |
|
56 __plr2__.m \ |
|
57 __plt1__.m \ |
|
58 __plt2__.m \ |
|
59 __plt2mm__.m \ |
|
60 __plt2mv__.m \ |
|
61 __plt2ss__.m \ |
7431
|
62 __plt2sv__.m \ |
6257
|
63 __plt2vm__.m \ |
7431
|
64 __plt2vs__.m \ |
6257
|
65 __plt2vv__.m \ |
|
66 __plt__.m \ |
|
67 __plt_get_axis_arg__.m \ |
|
68 __pltopt1__.m \ |
|
69 __pltopt__.m \ |
7189
|
70 __quiver__.m \ |
|
71 __scatter__.m \ |
7217
|
72 __stem__.m \ |
7557
|
73 allchild.m \ |
6857
|
74 ancestor.m \ |
7146
|
75 area.m \ |
6257
|
76 axes.m \ |
|
77 axis.m \ |
|
78 bar.m \ |
6636
|
79 barh.m \ |
6257
|
80 box.m \ |
7189
|
81 caxis.m \ |
6257
|
82 clf.m \ |
|
83 close.m \ |
|
84 closereq.m \ |
7189
|
85 colorbar.m \ |
7321
|
86 compass.m \ |
7175
|
87 contour3.m \ |
6257
|
88 contour.m \ |
|
89 contourc.m \ |
7042
|
90 contourf.m \ |
7181
|
91 cylinder.m \ |
7408
|
92 gnuplot_drawnow.m \ |
7305
|
93 ellipsoid.m \ |
6257
|
94 errorbar.m \ |
7337
|
95 ezcontourf.m \ |
|
96 ezcontour.m \ |
|
97 ezmeshc.m \ |
|
98 ezmesh.m \ |
7339
|
99 ezplot3.m \ |
7337
|
100 ezpolar.m \ |
|
101 ezsurfc.m \ |
|
102 ezsurf.m \ |
7321
|
103 feather.m \ |
6257
|
104 figure.m \ |
7024
|
105 fill.m \ |
7557
|
106 findall.m \ |
6935
|
107 findobj.m \ |
6257
|
108 fplot.m \ |
|
109 gca.m \ |
|
110 gcf.m \ |
7673
|
111 ginput.m \ |
6257
|
112 grid.m \ |
7149
|
113 hidden.m \ |
6257
|
114 hist.m \ |
|
115 hold.m \ |
|
116 isfigure.m \ |
|
117 ishold.m \ |
|
118 legend.m \ |
|
119 line.m \ |
|
120 loglog.m \ |
|
121 loglogerr.m \ |
|
122 mesh.m \ |
6788
|
123 meshc.m \ |
6257
|
124 meshgrid.m \ |
7207
|
125 meshz.m \ |
6257
|
126 ndgrid.m \ |
|
127 newplot.m \ |
|
128 orient.m \ |
7220
|
129 pareto.m \ |
6807
|
130 patch.m \ |
7118
|
131 pcolor.m \ |
6788
|
132 peaks.m \ |
7118
|
133 pie.m \ |
6257
|
134 plot.m \ |
7195
|
135 plotyy.m \ |
6257
|
136 plot3.m \ |
7194
|
137 plotyy.m \ |
6257
|
138 polar.m \ |
|
139 print.m \ |
7122
|
140 quiver.m \ |
7189
|
141 quiver3.m \ |
6257
|
142 replot.m \ |
7163
|
143 ribbon.m \ |
7321
|
144 rose.m \ |
7189
|
145 scatter.m \ |
|
146 scatter3.m \ |
6257
|
147 semilogx.m \ |
|
148 semilogxerr.m \ |
|
149 semilogy.m \ |
|
150 semilogyerr.m \ |
7118
|
151 shading.m \ |
6257
|
152 shg.m \ |
7183
|
153 slice.m \ |
6257
|
154 sombrero.m \ |
7189
|
155 sphere.m \ |
7163
|
156 spinmap.m \ |
6257
|
157 stairs.m \ |
6303
|
158 stem.m \ |
7217
|
159 stem3.m \ |
6257
|
160 subplot.m \ |
7118
|
161 surf.m \ |
|
162 surface.m \ |
|
163 surfc.m \ |
7189
|
164 surfnorm.m \ |
6257
|
165 text.m \ |
|
166 title.m \ |
|
167 view.m \ |
|
168 xlabel.m \ |
7049
|
169 xlim.m \ |
6257
|
170 ylabel.m \ |
7049
|
171 ylim.m \ |
|
172 zlabel.m \ |
|
173 zlim.m |
681
|
174 |
7361
|
175 SOURCES_IN = gnuplot_binary.in |
|
176 |
|
177 GEN_M = $(SOURCES_IN:.in=.m) |
6257
|
178 |
7361
|
179 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES) $(SOURCES_IN)) |
|
180 |
|
181 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) $(GEN_M) |
681
|
182 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
183 |
7361
|
184 all: $(GEN_M) PKG_ADD |
681
|
185 .PHONY: all |
|
186 |
2811
|
187 install install-strip: |
4225
|
188 $(do-script-install) |
2811
|
189 .PHONY: install install-strip |
681
|
190 |
|
191 uninstall: |
4225
|
192 $(do-script-uninstall) |
681
|
193 .PHONY: uninstall |
|
194 |
|
195 clean: |
|
196 .PHONY: clean |
|
197 |
5597
|
198 PKG_ADD: $(FCN_FILES) |
|
199 @echo "making PKG_ADD" |
|
200 @$(do-mkpkgadd) |
|
201 |
681
|
202 tags: $(SOURCES) |
|
203 ctags $(SOURCES) |
|
204 |
|
205 TAGS: $(SOURCES) |
|
206 etags $(SOURCES) |
|
207 |
|
208 mostlyclean: clean |
|
209 .PHONY: mostlyclean |
|
210 |
|
211 distclean: clean |
7362
|
212 rm -f Makefile PKG_ADD $(GEN_M) |
681
|
213 .PHONY: distclean |
|
214 |
1391
|
215 maintainer-clean: distclean |
681
|
216 rm -f tags TAGS |
1391
|
217 .PHONY: maintainer-clean |
681
|
218 |
|
219 dist: |
6467
|
220 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/plot |
681
|
221 .PHONY: dist |
7361
|
222 |
|
223 $(GEN_M): %.m : %.in $(TOPDIR)/Makeconf |
|
224 @$(do-subst-config-vals) |