/usr/share/doc/libplplot11/examples/Makefile is in libplplot-dev 5.9.9-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 | # examples/Makefile.examples.in for PLplot
# configured by our CMake-based build system to examples/Makefile.examples
# in the build tree and installed as examples/Makefile in the install tree.
# Copyright (C) 2004, 2008 Alan W. Irwin
#
# This file is part of PLplot.
#
# PLplot is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# PLplot is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public License
# along with the file PLplot; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# This Makefile should not be used in the build tree. It is meant for use
# only in the install tree. It is first configured, then installed
# (with the name Makefile) in the _installed_ examples directory
# It combines building all the examples that need to be built along
# with testing all examples.
all: c/x01c
c/x01c:
cd c; $(MAKE)
c_clean:
cd c; $(MAKE) clean
.PHONY: c_clean
clean: c_clean
x01c.psc: c/x01c
@echo Generate C results for psc device
./plplot-test.sh --verbose --front-end=c --device=psc
test_noninteractive: x01c.psc
compare: x01c.psc
# Just for c, c++, and tk directories
test_interactive: c/x01c
all: ada/x01a
ada/x01a:
cd ada; $(MAKE)
ada_clean:
cd ada; $(MAKE) clean
.PHONY: ada_clean
clean: ada_clean
x01a.psc: ada/x01a
@echo Generate Ada results for psc device
./plplot-test.sh --verbose --front-end=ada --device=psc
test_noninteractive: x01a.psc
compare: x01a.psc
all: c++/x01
c++/x01:
cd c++; $(MAKE)
cxx_clean:
cd c++; $(MAKE) clean
.PHONY: cxx_clean
clean: cxx_clean
x01cxx.psc: c++/x01
@echo Generate C++ results for psc device
./plplot-test.sh --verbose --front-end=cxx --device=psc
test_noninteractive: x01cxx.psc
compare: x01cxx.psc
# Just for c, c++, and tk directories
test_interactive: c++/x01
all: d/x01d
d/x01d:
cd d; $(MAKE)
d_clean:
cd d; $(MAKE) clean
.PHONY: d_clean
clean: d_clean
x01d.psc: d/x01d
@echo Generate d results for psc device
./plplot-test.sh --verbose --front-end=d --device=psc
test_noninteractive: x01d.psc
compare: x01d.psc
all: f77/x01f
f77/x01f:
cd f77; $(MAKE)
f77_clean:
cd f77; $(MAKE) clean
.PHONY: f77_clean
clean: f77_clean
x01f.psc: f77/x01f
@echo Generate Fortran 77 results for psc device
./plplot-test.sh --verbose --front-end=f77 --device=psc
test_noninteractive: x01f.psc
compare: x01f.psc
all: f95/x01f
f95/x01f:
cd f95; $(MAKE)
f95_clean:
cd f95; $(MAKE) clean
.PHONY: f95_clean
clean: f95_clean
x01f95.psc: f95/x01f
@echo Generate Fortran 95 results for psc device
./plplot-test.sh --verbose --front-end=f95 --device=psc
test_noninteractive: x01f95.psc
compare: x01f95.psc
all: java/x01.class
java/x01.class:
cd java; $(MAKE)
java_clean:
cd java; $(MAKE) clean
.PHONY: java_clean
clean: java_clean
x01j.psc: java/x01.class
@echo Generate Java results for psc device
./plplot-test.sh --verbose --front-end=java --device=psc
test_noninteractive: x01j.psc
compare: x01j.psc
all: ocaml/x01ocaml
ocaml/x01ocaml:
cd ocaml; $(MAKE)
ocaml_clean:
cd ocaml; $(MAKE) clean
.PHONY: ocaml_clean
clean: ocaml_clean
x01ocaml.psc: ocaml/x01ocaml
@echo Generate OCaml results for psc device
./plplot-test.sh --verbose --front-end=ocaml --device=psc
test_noninteractive: x01ocaml.psc
compare: x01ocaml.psc
x01o.psc: octave/x01c.m
@echo Generate Octave results for psc device
./plplot-test.sh --verbose --front-end=octave --device=psc
test_noninteractive: x01o.psc
compare: x01o.psc
#x01pdl.psc: perl/x01.pl
# @echo Generate Perl/PDL results for psc device
# ./plplot-test.sh --verbose --front-end=pdl --device=psc
#test_noninteractive: x01pdl.psc
#compare: x01pdl.psc
x01p.psc: python/x01
@echo Generate Python results for psc device
./plplot-test.sh --verbose --front-end=python --device=psc
test_noninteractive: x01p.psc
compare: x01p.psc
x01t.psc: tcl/x01
@echo Generate Tcl results for psc device
./plplot-test.sh --verbose --front-end=tcl --device=psc
test_noninteractive: x01t.psc
compare: x01t.psc
x01lua.psc: lua/x01.lua
@echo Generate Lua results for psc device
./plplot-test.sh --verbose --front-end=lua --device=psc
test_noninteractive: x01lua.psc
compare: x01lua.psc
x01c.pdfcairo: c/x01c
@echo Generate C results for pdfcairo device
./plplot-test.sh --verbose --front-end=c --device=pdfcairo
test_noninteractive: x01c.pdfcairo
x01c01.pngcairo: c/x01c
@echo Generate C results for pngcairo device
./plplot-test.sh --verbose --front-end=c --device=pngcairo
test_noninteractive: x01c01.pngcairo
x01c.pscairo: c/x01c
@echo Generate C results for pscairo device
./plplot-test.sh --verbose --front-end=c --device=pscairo
test_noninteractive: x01c.pscairo
x01c01.svgcairo: c/x01c
@echo Generate C results for svgcairo device
./plplot-test.sh --verbose --front-end=c --device=svgcairo
test_noninteractive: x01c01.svgcairo
x01c01.gif : c/x01c
@echo Generate C results for gif device
./plplot-test.sh --verbose --front-end=c --device=gif
test_noninteractive: x01c01.gif
x01c01.jpeg: c/x01c
@echo Generate C results for jpeg device
./plplot-test.sh --verbose --front-end=c --device=jpeg
test_noninteractive: x01c01.jpeg
x01c01.png: c/x01c
@echo Generate C results for png device
./plplot-test.sh --verbose --front-end=c --device=png
test_noninteractive: x01c01.png
#x01c.psttfc: c/x01c
# @echo Generate C results for psttfc device
# ./plplot-test.sh --verbose --front-end=c --device=psttfc
#test_noninteractive: x01c.psttfc
x01c01.svg: c/x01c
@echo Generate C results for svg device
./plplot-test.sh --verbose --front-end=c --device=svg
test_noninteractive: x01c01.svg
x01c01.xfig: c/x01c
@echo Generate C results for xfig device
./plplot-test.sh --verbose --front-end=c --device=xfig
test_noninteractive: x01c01.xfig
#x01c.pstex: c/x01c
# @echo Generate C results for pstex device
# ./plplot-test.sh --verbose --front-end=c --device=pstex
#test_noninteractive: x01c.pstex
#x01c.cgm : c/x01c
# @echo Generate C results for cgm device
# ./plplot-test.sh --verbose --front-end=c --device=cgm
#test_noninteractive: x01c.cgm
x01c01.bmpqt : c/x01c
@echo Generate C results for bmpqt device
./plplot-test.sh --verbose --front-end=c --device=bmpqt
test_noninteractive: x01c01.bmpqt
x01c01.jpgqt : c/x01c
@echo Generate C results for jpgqt device
./plplot-test.sh --verbose --front-end=c --device=jpgqt
test_noninteractive: x01c01.jpgqt
x01c01.pngqt : c/x01c
@echo Generate C results for pngqt device
./plplot-test.sh --verbose --front-end=c --device=pngqt
test_noninteractive: x01c01.pngqt
x01c01.ppmqt : c/x01c
@echo Generate C results for ppmqt device
./plplot-test.sh --verbose --front-end=c --device=ppmqt
test_noninteractive: x01c01.ppmqt
x01c01.tiffqt : c/x01c
@echo Generate C results for tiffqt device
./plplot-test.sh --verbose --front-end=c --device=tiffqt
test_noninteractive: x01c01.tiffqt
x01c01.svgqt : c/x01c
@echo Generate C results for svgqt device
./plplot-test.sh --verbose --front-end=c --device=svgqt
test_noninteractive: x01c01.svgqt
x01c01.epsqt : c/x01c
@echo Generate C results for epsqt device
./plplot-test.sh --verbose --front-end=c --device=epsqt
test_noninteractive: x01c01.epsqt
x01c01.pdfqt : c/x01c
@echo Generate C results for pdfqt device
./plplot-test.sh --verbose --front-end=c --device=pdfqt
test_noninteractive: x01c01.pdfqt
compare:
@echo Compare non-C language psc and stdout results with corresponding C results
-./test_diff.sh
touch compare
test_noninteractive: compare
all: tk/xtk01$(EXEEXT)
tk/xtk01$(EXEEXT):
cd tk; $(MAKE)
tk_clean:
cd tk; $(MAKE) clean
.PHONY: tk_clean
clean: tk_clean
test_interactive: tk/xtk01$(EXEEXT)
test_interactive:
./plplot-test-interactive.sh
test_clean:
rm -f *.psc *.pdfcairo *.pngcairo *.pscairo *.svgcairo \
*.gif *.jpeg *.png *.psttfc *.svg *.xfig *.pstex* *.*qt *.cgm \
*.txt test.error \
compare
clean: test_clean
.PHONY : all clean test_noninteractive test_clean test_interactive
|