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 \ |
6261
|
50 __gnuplot_version__.m \ |
6409
|
51 __line__.m \ |
6264
|
52 __next_line_color__.m \ |
6807
|
53 __patch__.m \ |
6257
|
54 __plr1__.m \ |
|
55 __plr2__.m \ |
|
56 __plt1__.m \ |
|
57 __plt2__.m \ |
|
58 __plt2mm__.m \ |
|
59 __plt2mv__.m \ |
|
60 __plt2ss__.m \ |
7431
|
61 __plt2sv__.m \ |
6257
|
62 __plt2vm__.m \ |
7431
|
63 __plt2vs__.m \ |
6257
|
64 __plt2vv__.m \ |
|
65 __plt__.m \ |
|
66 __plt_get_axis_arg__.m \ |
|
67 __pltopt1__.m \ |
|
68 __pltopt__.m \ |
7189
|
69 __quiver__.m \ |
|
70 __scatter__.m \ |
7217
|
71 __stem__.m \ |
6857
|
72 ancestor.m \ |
7146
|
73 area.m \ |
6257
|
74 axes.m \ |
|
75 axis.m \ |
|
76 bar.m \ |
6636
|
77 barh.m \ |
6257
|
78 box.m \ |
7189
|
79 caxis.m \ |
6257
|
80 clf.m \ |
|
81 close.m \ |
|
82 closereq.m \ |
7189
|
83 colorbar.m \ |
7321
|
84 compass.m \ |
7175
|
85 contour3.m \ |
6257
|
86 contour.m \ |
|
87 contourc.m \ |
7042
|
88 contourf.m \ |
7181
|
89 cylinder.m \ |
7408
|
90 gnuplot_drawnow.m \ |
7305
|
91 ellipsoid.m \ |
6257
|
92 errorbar.m \ |
7337
|
93 ezcontourf.m \ |
|
94 ezcontour.m \ |
|
95 ezmeshc.m \ |
|
96 ezmesh.m \ |
7339
|
97 ezplot3.m \ |
7337
|
98 ezpolar.m \ |
|
99 ezsurfc.m \ |
|
100 ezsurf.m \ |
7321
|
101 feather.m \ |
6257
|
102 figure.m \ |
7024
|
103 fill.m \ |
6935
|
104 findobj.m \ |
6257
|
105 fplot.m \ |
|
106 gca.m \ |
|
107 gcf.m \ |
|
108 grid.m \ |
7149
|
109 hidden.m \ |
6257
|
110 hist.m \ |
|
111 hold.m \ |
|
112 isfigure.m \ |
|
113 ishold.m \ |
|
114 legend.m \ |
|
115 line.m \ |
|
116 loglog.m \ |
|
117 loglogerr.m \ |
|
118 mesh.m \ |
6788
|
119 meshc.m \ |
6257
|
120 meshgrid.m \ |
7207
|
121 meshz.m \ |
6257
|
122 ndgrid.m \ |
|
123 newplot.m \ |
|
124 orient.m \ |
7220
|
125 pareto.m \ |
6807
|
126 patch.m \ |
7118
|
127 pcolor.m \ |
6788
|
128 peaks.m \ |
7118
|
129 pie.m \ |
6257
|
130 plot.m \ |
7195
|
131 plotyy.m \ |
6257
|
132 plot3.m \ |
7194
|
133 plotyy.m \ |
6257
|
134 polar.m \ |
|
135 print.m \ |
7122
|
136 quiver.m \ |
7189
|
137 quiver3.m \ |
6257
|
138 replot.m \ |
7163
|
139 ribbon.m \ |
7321
|
140 rose.m \ |
7189
|
141 scatter.m \ |
|
142 scatter3.m \ |
6257
|
143 semilogx.m \ |
|
144 semilogxerr.m \ |
|
145 semilogy.m \ |
|
146 semilogyerr.m \ |
7118
|
147 shading.m \ |
6257
|
148 shg.m \ |
7183
|
149 slice.m \ |
6257
|
150 sombrero.m \ |
7189
|
151 sphere.m \ |
7163
|
152 spinmap.m \ |
6257
|
153 stairs.m \ |
6303
|
154 stem.m \ |
7217
|
155 stem3.m \ |
6257
|
156 subplot.m \ |
7118
|
157 surf.m \ |
|
158 surface.m \ |
|
159 surfc.m \ |
7189
|
160 surfnorm.m \ |
6257
|
161 text.m \ |
|
162 title.m \ |
|
163 view.m \ |
|
164 xlabel.m \ |
7049
|
165 xlim.m \ |
6257
|
166 ylabel.m \ |
7049
|
167 ylim.m \ |
|
168 zlabel.m \ |
|
169 zlim.m |
681
|
170 |
7361
|
171 SOURCES_IN = gnuplot_binary.in |
|
172 |
|
173 GEN_M = $(SOURCES_IN:.in=.m) |
6257
|
174 |
7361
|
175 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES) $(SOURCES_IN)) |
|
176 |
|
177 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) $(GEN_M) |
681
|
178 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
179 |
7361
|
180 all: $(GEN_M) PKG_ADD |
681
|
181 .PHONY: all |
|
182 |
2811
|
183 install install-strip: |
4225
|
184 $(do-script-install) |
2811
|
185 .PHONY: install install-strip |
681
|
186 |
|
187 uninstall: |
4225
|
188 $(do-script-uninstall) |
681
|
189 .PHONY: uninstall |
|
190 |
|
191 clean: |
|
192 .PHONY: clean |
|
193 |
5597
|
194 PKG_ADD: $(FCN_FILES) |
|
195 @echo "making PKG_ADD" |
|
196 @$(do-mkpkgadd) |
|
197 |
681
|
198 tags: $(SOURCES) |
|
199 ctags $(SOURCES) |
|
200 |
|
201 TAGS: $(SOURCES) |
|
202 etags $(SOURCES) |
|
203 |
|
204 mostlyclean: clean |
|
205 .PHONY: mostlyclean |
|
206 |
|
207 distclean: clean |
7362
|
208 rm -f Makefile PKG_ADD $(GEN_M) |
681
|
209 .PHONY: distclean |
|
210 |
1391
|
211 maintainer-clean: distclean |
681
|
212 rm -f tags TAGS |
1391
|
213 .PHONY: maintainer-clean |
681
|
214 |
|
215 dist: |
6467
|
216 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/plot |
681
|
217 .PHONY: dist |
7361
|
218 |
|
219 $(GEN_M): %.m : %.in $(TOPDIR)/Makeconf |
|
220 @$(do-subst-config-vals) |