diff options
author | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
commit | cb3716ffb584fe0f593b6f1669a8efdba1305104 (patch) | |
tree | 5d1ebc4b6fc17b30f4b34e7e64a2d9514893459b /src/others/mimesh/libg3d-0.0.8/tests | |
parent | Add Prosody build script. (diff) | |
download | SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.zip SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.gz SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.bz2 SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.xz |
Added my version of libg3d and friends.
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/tests')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/Makefile | 538 | ||||
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/Makefile.am | 32 | ||||
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/Makefile.in | 538 | ||||
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/test_buf.c | 59 | ||||
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/test_cxx.cxx | 40 | ||||
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/test_imgdump.c | 72 | ||||
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/tests/test_lib.c | 99 |
7 files changed, 1378 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/Makefile b/src/others/mimesh/libg3d-0.0.8/tests/Makefile new file mode 100644 index 0000000..2151058 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/Makefile | |||
@@ -0,0 +1,538 @@ | |||
1 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | ||
2 | # tests/Makefile. Generated from Makefile.in by configure. | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | |||
16 | |||
17 | |||
18 | pkgdatadir = $(datadir)/libg3d | ||
19 | pkglibdir = $(libdir)/libg3d | ||
20 | pkgincludedir = $(includedir)/libg3d | ||
21 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
22 | install_sh_DATA = $(install_sh) -c -m 644 | ||
23 | install_sh_PROGRAM = $(install_sh) -c | ||
24 | install_sh_SCRIPT = $(install_sh) -c | ||
25 | INSTALL_HEADER = $(INSTALL_DATA) | ||
26 | transform = $(program_transform_name) | ||
27 | NORMAL_INSTALL = : | ||
28 | PRE_INSTALL = : | ||
29 | POST_INSTALL = : | ||
30 | NORMAL_UNINSTALL = : | ||
31 | PRE_UNINSTALL = : | ||
32 | POST_UNINSTALL = : | ||
33 | build_triplet = x86_64-unknown-linux-gnu | ||
34 | host_triplet = x86_64-unknown-linux-gnu | ||
35 | noinst_PROGRAMS = test_lib$(EXEEXT) test_buf$(EXEEXT) \ | ||
36 | test_imgdump$(EXEEXT) $(am__EXEEXT_1) | ||
37 | #am__append_1 = test_cxx | ||
38 | subdir = tests | ||
39 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
40 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
41 | am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ | ||
42 | $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ | ||
43 | $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
44 | $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ | ||
45 | $(top_srcdir)/configure.in | ||
46 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
47 | $(ACLOCAL_M4) | ||
48 | mkinstalldirs = $(install_sh) -d | ||
49 | CONFIG_HEADER = $(top_builddir)/include/g3d/config.h | ||
50 | CONFIG_CLEAN_FILES = | ||
51 | #am__EXEEXT_1 = test_cxx$(EXEEXT) | ||
52 | PROGRAMS = $(noinst_PROGRAMS) | ||
53 | am_test_buf_OBJECTS = test_buf.$(OBJEXT) | ||
54 | test_buf_OBJECTS = $(am_test_buf_OBJECTS) | ||
55 | am_test_cxx_OBJECTS = test_cxx.$(OBJEXT) | ||
56 | test_cxx_OBJECTS = $(am_test_cxx_OBJECTS) | ||
57 | am_test_imgdump_OBJECTS = test_imgdump.$(OBJEXT) | ||
58 | test_imgdump_OBJECTS = $(am_test_imgdump_OBJECTS) | ||
59 | am_test_lib_OBJECTS = test_lib.$(OBJEXT) | ||
60 | test_lib_OBJECTS = $(am_test_lib_OBJECTS) | ||
61 | DEFAULT_INCLUDES = -I. -I$(top_builddir)/include/g3d | ||
62 | depcomp = $(SHELL) $(top_srcdir)/config/depcomp | ||
63 | am__depfiles_maybe = depfiles | ||
64 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
65 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
66 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
67 | --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
68 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
69 | CCLD = $(CC) | ||
70 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
71 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | ||
72 | $(LDFLAGS) -o $@ | ||
73 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
74 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
75 | LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
76 | --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
77 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
78 | CXXLD = $(CXX) | ||
79 | CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
80 | --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ | ||
81 | $(LDFLAGS) -o $@ | ||
82 | SOURCES = $(test_buf_SOURCES) $(test_cxx_SOURCES) \ | ||
83 | $(test_imgdump_SOURCES) $(test_lib_SOURCES) | ||
84 | DIST_SOURCES = $(test_buf_SOURCES) $(test_cxx_SOURCES) \ | ||
85 | $(test_imgdump_SOURCES) $(test_lib_SOURCES) | ||
86 | ETAGS = etags | ||
87 | CTAGS = ctags | ||
88 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
89 | ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run aclocal-1.10 | ||
90 | AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run tar | ||
91 | AR = ar | ||
92 | AS = as | ||
93 | AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoconf | ||
94 | AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoheader | ||
95 | AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run automake-1.10 | ||
96 | AWK = gawk | ||
97 | CC = gcc | ||
98 | CCDEPMODE = depmode=gcc3 | ||
99 | CFLAGS = -g -O2 | ||
100 | CPP = gcc -E | ||
101 | CPPFLAGS = | ||
102 | CXX = g++ | ||
103 | CXXCPP = g++ -E | ||
104 | CXXDEPMODE = depmode=gcc3 | ||
105 | CXXFLAGS = -g -O2 | ||
106 | CYGPATH_W = echo | ||
107 | DBG_CFLAGS = -O2 | ||
108 | DEBUG = 0 | ||
109 | DEFS = -DHAVE_CONFIG_H | ||
110 | DEPDIR = .deps | ||
111 | DLLTOOL = dlltool | ||
112 | ECHO = echo | ||
113 | ECHO_C = | ||
114 | ECHO_N = -n | ||
115 | ECHO_T = | ||
116 | EGREP = /bin/grep -E | ||
117 | EXEEXT = | ||
118 | F77 = | ||
119 | FFLAGS = | ||
120 | GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 | ||
121 | GDKPIXBUF_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 | ||
122 | GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include | ||
123 | GLIB_GENMARSHAL = glib-genmarshal | ||
124 | GLIB_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 | ||
125 | GLIB_MKENUMS = glib-mkenums | ||
126 | GOBJECT_QUERY = gobject-query | ||
127 | GREP = /bin/grep | ||
128 | GTKDOC_CHECK = /usr/bin/gtkdoc-check | ||
129 | GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 | ||
130 | GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 | ||
131 | HTML_DIR = ${datadir}/gtk-doc/html | ||
132 | INSTALL = /usr/bin/install -c | ||
133 | INSTALL_DATA = ${INSTALL} -m 644 | ||
134 | INSTALL_PROGRAM = ${INSTALL} | ||
135 | INSTALL_SCRIPT = ${INSTALL} | ||
136 | INSTALL_STRIP_PROGRAM = $(install_sh) -c -s | ||
137 | LDFLAGS = | ||
138 | LEX = flex | ||
139 | LEXLIB = -lfl | ||
140 | LEX_OUTPUT_ROOT = lex.yy | ||
141 | LIBGSF_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 | ||
142 | LIBGSF_LIBS = -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 | ||
143 | LIBOBJS = | ||
144 | LIBS = -lm | ||
145 | LIBTOOL = $(SHELL) $(top_builddir)/libtool | ||
146 | LIBXML2_CFLAGS = -I/usr/include/libxml2 | ||
147 | LIBXML2_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 | ||
148 | LN_S = ln -s | ||
149 | LTLIBOBJS = | ||
150 | LTVERSION = 0:8:0 | ||
151 | MAGIC_LIBS = -lmagic | ||
152 | MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run makeinfo | ||
153 | MATH_LIBS = -lm | ||
154 | MKDIR_P = /bin/mkdir -p | ||
155 | OBJDUMP = objdump | ||
156 | OBJEXT = o | ||
157 | PACKAGE = libg3d | ||
158 | PACKAGE_BUGREPORT = | ||
159 | PACKAGE_NAME = | ||
160 | PACKAGE_STRING = | ||
161 | PACKAGE_TARNAME = | ||
162 | PACKAGE_VERSION = | ||
163 | PATH_SEPARATOR = : | ||
164 | PKG_CONFIG = /usr/bin/pkg-config | ||
165 | PLUGINS_LDFLAGS = -avoid-version -export-dynamic | ||
166 | RANLIB = ranlib | ||
167 | SET_MAKE = | ||
168 | SHELL = /bin/bash | ||
169 | STRIP = strip | ||
170 | VERSION = 0.0.8 | ||
171 | XML2_CONFIG = /usr/bin/xml2-config | ||
172 | XML_CPPFLAGS = -I/usr/include/libxml2 | ||
173 | XML_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 | ||
174 | Z_CFLAGS = | ||
175 | Z_LIBS = -lz | ||
176 | abs_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/tests | ||
177 | abs_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/tests | ||
178 | abs_top_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 | ||
179 | abs_top_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 | ||
180 | ac_ct_CC = gcc | ||
181 | ac_ct_CXX = g++ | ||
182 | ac_ct_F77 = | ||
183 | am__include = include | ||
184 | am__leading_dot = . | ||
185 | am__quote = | ||
186 | am__tar = ${AMTAR} chof - "$$tardir" | ||
187 | am__untar = ${AMTAR} xf - | ||
188 | bindir = ${exec_prefix}/bin | ||
189 | build = x86_64-unknown-linux-gnu | ||
190 | build_alias = | ||
191 | build_cpu = x86_64 | ||
192 | build_os = linux-gnu | ||
193 | build_vendor = unknown | ||
194 | builddir = . | ||
195 | datadir = ${datarootdir} | ||
196 | datarootdir = ${prefix}/share | ||
197 | docdir = ${datarootdir}/doc/${PACKAGE} | ||
198 | dvidir = ${docdir} | ||
199 | exec_prefix = ${prefix} | ||
200 | host = x86_64-unknown-linux-gnu | ||
201 | host_alias = | ||
202 | host_cpu = x86_64 | ||
203 | host_os = linux-gnu | ||
204 | host_vendor = unknown | ||
205 | htmldir = ${docdir} | ||
206 | includedir = ${prefix}/include | ||
207 | infodir = ${datarootdir}/info | ||
208 | install_sh = $(SHELL) /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/install-sh | ||
209 | libdir = ${exec_prefix}/lib | ||
210 | libexecdir = ${exec_prefix}/libexec | ||
211 | localedir = ${datarootdir}/locale | ||
212 | localstatedir = ${prefix}/var | ||
213 | mandir = ${datarootdir}/man | ||
214 | mkdir_p = /bin/mkdir -p | ||
215 | oldincludedir = /usr/include | ||
216 | pdfdir = ${docdir} | ||
217 | prefix = /usr/local | ||
218 | program_transform_name = s,x,x, | ||
219 | psdir = ${docdir} | ||
220 | sbindir = ${exec_prefix}/sbin | ||
221 | sharedstatedir = ${prefix}/com | ||
222 | srcdir = . | ||
223 | sysconfdir = ${prefix}/etc | ||
224 | target_alias = | ||
225 | top_builddir = .. | ||
226 | top_srcdir = .. | ||
227 | AM_CFLAGS = \ | ||
228 | -Wall -ansi -pedantic \ | ||
229 | -I$(top_srcdir)/include \ | ||
230 | -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include | ||
231 | |||
232 | AM_CXXFLAGS = \ | ||
233 | -Wall \ | ||
234 | -I$(top_srcdir)/include \ | ||
235 | -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include | ||
236 | |||
237 | test_lib_DEPENDENCIES = ../src/libg3d.la | ||
238 | test_lib_SOURCES = test_lib.c | ||
239 | test_lib_LDADD = ../src/libg3d.la -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 -lmagic | ||
240 | test_buf_DEPENDENCIES = ../src/libg3d.la | ||
241 | test_buf_SOURCES = test_buf.c | ||
242 | test_buf_LDADD = ../src/libg3d.la -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 -lmagic | ||
243 | test_imgdump_DEPENDENCIES = ../src/libg3d.la | ||
244 | test_imgdump_SOURCES = test_imgdump.c | ||
245 | test_imgdump_LDADD = ../src/libg3d.la -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 -lmagic | ||
246 | test_cxx_DEPENDENCIES = ../src/libg3d.la | ||
247 | test_cxx_SOURCES = test_cxx.cxx | ||
248 | test_cxx_LDADD = ../src/libg3d.la -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 -lmagic | ||
249 | all: all-am | ||
250 | |||
251 | .SUFFIXES: | ||
252 | .SUFFIXES: .c .cxx .lo .o .obj | ||
253 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
254 | @for dep in $?; do \ | ||
255 | case '$(am__configure_deps)' in \ | ||
256 | *$$dep*) \ | ||
257 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ | ||
258 | && exit 0; \ | ||
259 | exit 1;; \ | ||
260 | esac; \ | ||
261 | done; \ | ||
262 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ | ||
263 | cd $(top_srcdir) && \ | ||
264 | $(AUTOMAKE) --gnu tests/Makefile | ||
265 | .PRECIOUS: Makefile | ||
266 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
267 | @case '$?' in \ | ||
268 | *config.status*) \ | ||
269 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
270 | *) \ | ||
271 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
272 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
273 | esac; | ||
274 | |||
275 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
276 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
277 | |||
278 | $(top_srcdir)/configure: $(am__configure_deps) | ||
279 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
280 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
281 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
282 | |||
283 | clean-noinstPROGRAMS: | ||
284 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ | ||
285 | f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ | ||
286 | echo " rm -f $$p $$f"; \ | ||
287 | rm -f $$p $$f ; \ | ||
288 | done | ||
289 | test_buf$(EXEEXT): $(test_buf_OBJECTS) $(test_buf_DEPENDENCIES) | ||
290 | @rm -f test_buf$(EXEEXT) | ||
291 | $(LINK) $(test_buf_OBJECTS) $(test_buf_LDADD) $(LIBS) | ||
292 | test_cxx$(EXEEXT): $(test_cxx_OBJECTS) $(test_cxx_DEPENDENCIES) | ||
293 | @rm -f test_cxx$(EXEEXT) | ||
294 | $(CXXLINK) $(test_cxx_OBJECTS) $(test_cxx_LDADD) $(LIBS) | ||
295 | test_imgdump$(EXEEXT): $(test_imgdump_OBJECTS) $(test_imgdump_DEPENDENCIES) | ||
296 | @rm -f test_imgdump$(EXEEXT) | ||
297 | $(LINK) $(test_imgdump_OBJECTS) $(test_imgdump_LDADD) $(LIBS) | ||
298 | test_lib$(EXEEXT): $(test_lib_OBJECTS) $(test_lib_DEPENDENCIES) | ||
299 | @rm -f test_lib$(EXEEXT) | ||
300 | $(LINK) $(test_lib_OBJECTS) $(test_lib_LDADD) $(LIBS) | ||
301 | |||
302 | mostlyclean-compile: | ||
303 | -rm -f *.$(OBJEXT) | ||
304 | |||
305 | distclean-compile: | ||
306 | -rm -f *.tab.c | ||
307 | |||
308 | include ./$(DEPDIR)/test_buf.Po | ||
309 | include ./$(DEPDIR)/test_cxx.Po | ||
310 | include ./$(DEPDIR)/test_imgdump.Po | ||
311 | include ./$(DEPDIR)/test_lib.Po | ||
312 | |||
313 | .c.o: | ||
314 | $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
315 | mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
316 | # source='$<' object='$@' libtool=no \ | ||
317 | # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ | ||
318 | # $(COMPILE) -c $< | ||
319 | |||
320 | .c.obj: | ||
321 | $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
322 | mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
323 | # source='$<' object='$@' libtool=no \ | ||
324 | # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ | ||
325 | # $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
326 | |||
327 | .c.lo: | ||
328 | $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
329 | mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
330 | # source='$<' object='$@' libtool=yes \ | ||
331 | # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ | ||
332 | # $(LTCOMPILE) -c -o $@ $< | ||
333 | |||
334 | .cxx.o: | ||
335 | $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
336 | mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
337 | # source='$<' object='$@' libtool=no \ | ||
338 | # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ | ||
339 | # $(CXXCOMPILE) -c -o $@ $< | ||
340 | |||
341 | .cxx.obj: | ||
342 | $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
343 | mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
344 | # source='$<' object='$@' libtool=no \ | ||
345 | # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ | ||
346 | # $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||
347 | |||
348 | .cxx.lo: | ||
349 | $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
350 | mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
351 | # source='$<' object='$@' libtool=yes \ | ||
352 | # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ | ||
353 | # $(LTCXXCOMPILE) -c -o $@ $< | ||
354 | |||
355 | mostlyclean-libtool: | ||
356 | -rm -f *.lo | ||
357 | |||
358 | clean-libtool: | ||
359 | -rm -rf .libs _libs | ||
360 | |||
361 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
362 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
363 | unique=`for i in $$list; do \ | ||
364 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
365 | done | \ | ||
366 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | ||
367 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
368 | mkid -fID $$unique | ||
369 | tags: TAGS | ||
370 | |||
371 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
372 | $(TAGS_FILES) $(LISP) | ||
373 | tags=; \ | ||
374 | here=`pwd`; \ | ||
375 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
376 | unique=`for i in $$list; do \ | ||
377 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
378 | done | \ | ||
379 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
380 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
381 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | ||
382 | test -n "$$unique" || unique=$$empty_fix; \ | ||
383 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
384 | $$tags $$unique; \ | ||
385 | fi | ||
386 | ctags: CTAGS | ||
387 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
388 | $(TAGS_FILES) $(LISP) | ||
389 | tags=; \ | ||
390 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
391 | unique=`for i in $$list; do \ | ||
392 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
393 | done | \ | ||
394 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
395 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
396 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | ||
397 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
398 | $$tags $$unique | ||
399 | |||
400 | GTAGS: | ||
401 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
402 | && cd $(top_srcdir) \ | ||
403 | && gtags -i $(GTAGS_ARGS) $$here | ||
404 | |||
405 | distclean-tags: | ||
406 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
407 | |||
408 | distdir: $(DISTFILES) | ||
409 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
410 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
411 | list='$(DISTFILES)'; \ | ||
412 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
413 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
414 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
415 | case $$dist_files in \ | ||
416 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
417 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
418 | sort -u` ;; \ | ||
419 | esac; \ | ||
420 | for file in $$dist_files; do \ | ||
421 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
422 | if test -d $$d/$$file; then \ | ||
423 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
424 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
425 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | ||
426 | fi; \ | ||
427 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | ||
428 | else \ | ||
429 | test -f $(distdir)/$$file \ | ||
430 | || cp -p $$d/$$file $(distdir)/$$file \ | ||
431 | || exit 1; \ | ||
432 | fi; \ | ||
433 | done | ||
434 | check-am: all-am | ||
435 | check: check-am | ||
436 | all-am: Makefile $(PROGRAMS) | ||
437 | installdirs: | ||
438 | install: install-am | ||
439 | install-exec: install-exec-am | ||
440 | install-data: install-data-am | ||
441 | uninstall: uninstall-am | ||
442 | |||
443 | install-am: all-am | ||
444 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
445 | |||
446 | installcheck: installcheck-am | ||
447 | install-strip: | ||
448 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
449 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
450 | `test -z '$(STRIP)' || \ | ||
451 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
452 | mostlyclean-generic: | ||
453 | |||
454 | clean-generic: | ||
455 | |||
456 | distclean-generic: | ||
457 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
458 | |||
459 | maintainer-clean-generic: | ||
460 | @echo "This command is intended for maintainers to use" | ||
461 | @echo "it deletes files that may require special tools to rebuild." | ||
462 | clean: clean-am | ||
463 | |||
464 | clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ | ||
465 | mostlyclean-am | ||
466 | |||
467 | distclean: distclean-am | ||
468 | -rm -rf ./$(DEPDIR) | ||
469 | -rm -f Makefile | ||
470 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
471 | distclean-tags | ||
472 | |||
473 | dvi: dvi-am | ||
474 | |||
475 | dvi-am: | ||
476 | |||
477 | html: html-am | ||
478 | |||
479 | info: info-am | ||
480 | |||
481 | info-am: | ||
482 | |||
483 | install-data-am: | ||
484 | |||
485 | install-dvi: install-dvi-am | ||
486 | |||
487 | install-exec-am: | ||
488 | |||
489 | install-html: install-html-am | ||
490 | |||
491 | install-info: install-info-am | ||
492 | |||
493 | install-man: | ||
494 | |||
495 | install-pdf: install-pdf-am | ||
496 | |||
497 | install-ps: install-ps-am | ||
498 | |||
499 | installcheck-am: | ||
500 | |||
501 | maintainer-clean: maintainer-clean-am | ||
502 | -rm -rf ./$(DEPDIR) | ||
503 | -rm -f Makefile | ||
504 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
505 | |||
506 | mostlyclean: mostlyclean-am | ||
507 | |||
508 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
509 | mostlyclean-libtool | ||
510 | |||
511 | pdf: pdf-am | ||
512 | |||
513 | pdf-am: | ||
514 | |||
515 | ps: ps-am | ||
516 | |||
517 | ps-am: | ||
518 | |||
519 | uninstall-am: | ||
520 | |||
521 | .MAKE: install-am install-strip | ||
522 | |||
523 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
524 | clean-libtool clean-noinstPROGRAMS ctags distclean \ | ||
525 | distclean-compile distclean-generic distclean-libtool \ | ||
526 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
527 | install install-am install-data install-data-am install-dvi \ | ||
528 | install-dvi-am install-exec install-exec-am install-html \ | ||
529 | install-html-am install-info install-info-am install-man \ | ||
530 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
531 | install-strip installcheck installcheck-am installdirs \ | ||
532 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
533 | mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ | ||
534 | pdf pdf-am ps ps-am tags uninstall uninstall-am | ||
535 | |||
536 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
537 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
538 | .NOEXPORT: | ||
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/Makefile.am b/src/others/mimesh/libg3d-0.0.8/tests/Makefile.am new file mode 100644 index 0000000..21e2637 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/Makefile.am | |||
@@ -0,0 +1,32 @@ | |||
1 | noinst_PROGRAMS = \ | ||
2 | test_lib \ | ||
3 | test_buf \ | ||
4 | test_imgdump | ||
5 | |||
6 | if HAVE_CXX | ||
7 | noinst_PROGRAMS += test_cxx | ||
8 | endif | ||
9 | |||
10 | AM_CFLAGS = \ | ||
11 | -Wall -ansi -pedantic \ | ||
12 | -I$(top_srcdir)/include \ | ||
13 | @GLIB_CFLAGS@ | ||
14 | |||
15 | AM_CXXFLAGS = \ | ||
16 | -Wall \ | ||
17 | -I$(top_srcdir)/include \ | ||
18 | @GLIB_CFLAGS@ | ||
19 | |||
20 | test_lib_DEPENDENCIES = ../src/libg3d.la | ||
21 | test_lib_SOURCES = test_lib.c | ||
22 | test_lib_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
23 | test_buf_DEPENDENCIES = ../src/libg3d.la | ||
24 | test_buf_SOURCES = test_buf.c | ||
25 | test_buf_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
26 | test_imgdump_DEPENDENCIES = ../src/libg3d.la | ||
27 | test_imgdump_SOURCES = test_imgdump.c | ||
28 | test_imgdump_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
29 | test_cxx_DEPENDENCIES = ../src/libg3d.la | ||
30 | test_cxx_SOURCES = test_cxx.cxx | ||
31 | test_cxx_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
32 | |||
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/Makefile.in b/src/others/mimesh/libg3d-0.0.8/tests/Makefile.in new file mode 100644 index 0000000..167ecea --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/Makefile.in | |||
@@ -0,0 +1,538 @@ | |||
1 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | @SET_MAKE@ | ||
16 | |||
17 | VPATH = @srcdir@ | ||
18 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
19 | pkglibdir = $(libdir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
22 | install_sh_DATA = $(install_sh) -c -m 644 | ||
23 | install_sh_PROGRAM = $(install_sh) -c | ||
24 | install_sh_SCRIPT = $(install_sh) -c | ||
25 | INSTALL_HEADER = $(INSTALL_DATA) | ||
26 | transform = $(program_transform_name) | ||
27 | NORMAL_INSTALL = : | ||
28 | PRE_INSTALL = : | ||
29 | POST_INSTALL = : | ||
30 | NORMAL_UNINSTALL = : | ||
31 | PRE_UNINSTALL = : | ||
32 | POST_UNINSTALL = : | ||
33 | build_triplet = @build@ | ||
34 | host_triplet = @host@ | ||
35 | noinst_PROGRAMS = test_lib$(EXEEXT) test_buf$(EXEEXT) \ | ||
36 | test_imgdump$(EXEEXT) $(am__EXEEXT_1) | ||
37 | @HAVE_CXX_TRUE@am__append_1 = test_cxx | ||
38 | subdir = tests | ||
39 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
40 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
41 | am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ | ||
42 | $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ | ||
43 | $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
44 | $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ | ||
45 | $(top_srcdir)/configure.in | ||
46 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
47 | $(ACLOCAL_M4) | ||
48 | mkinstalldirs = $(install_sh) -d | ||
49 | CONFIG_HEADER = $(top_builddir)/include/g3d/config.h | ||
50 | CONFIG_CLEAN_FILES = | ||
51 | @HAVE_CXX_TRUE@am__EXEEXT_1 = test_cxx$(EXEEXT) | ||
52 | PROGRAMS = $(noinst_PROGRAMS) | ||
53 | am_test_buf_OBJECTS = test_buf.$(OBJEXT) | ||
54 | test_buf_OBJECTS = $(am_test_buf_OBJECTS) | ||
55 | am_test_cxx_OBJECTS = test_cxx.$(OBJEXT) | ||
56 | test_cxx_OBJECTS = $(am_test_cxx_OBJECTS) | ||
57 | am_test_imgdump_OBJECTS = test_imgdump.$(OBJEXT) | ||
58 | test_imgdump_OBJECTS = $(am_test_imgdump_OBJECTS) | ||
59 | am_test_lib_OBJECTS = test_lib.$(OBJEXT) | ||
60 | test_lib_OBJECTS = $(am_test_lib_OBJECTS) | ||
61 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/g3d | ||
62 | depcomp = $(SHELL) $(top_srcdir)/config/depcomp | ||
63 | am__depfiles_maybe = depfiles | ||
64 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
65 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
66 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
67 | --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
68 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
69 | CCLD = $(CC) | ||
70 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
71 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | ||
72 | $(LDFLAGS) -o $@ | ||
73 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
74 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
75 | LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
76 | --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
77 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
78 | CXXLD = $(CXX) | ||
79 | CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
80 | --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ | ||
81 | $(LDFLAGS) -o $@ | ||
82 | SOURCES = $(test_buf_SOURCES) $(test_cxx_SOURCES) \ | ||
83 | $(test_imgdump_SOURCES) $(test_lib_SOURCES) | ||
84 | DIST_SOURCES = $(test_buf_SOURCES) $(test_cxx_SOURCES) \ | ||
85 | $(test_imgdump_SOURCES) $(test_lib_SOURCES) | ||
86 | ETAGS = etags | ||
87 | CTAGS = ctags | ||
88 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
89 | ACLOCAL = @ACLOCAL@ | ||
90 | AMTAR = @AMTAR@ | ||
91 | AR = @AR@ | ||
92 | AS = @AS@ | ||
93 | AUTOCONF = @AUTOCONF@ | ||
94 | AUTOHEADER = @AUTOHEADER@ | ||
95 | AUTOMAKE = @AUTOMAKE@ | ||
96 | AWK = @AWK@ | ||
97 | CC = @CC@ | ||
98 | CCDEPMODE = @CCDEPMODE@ | ||
99 | CFLAGS = @CFLAGS@ | ||
100 | CPP = @CPP@ | ||
101 | CPPFLAGS = @CPPFLAGS@ | ||
102 | CXX = @CXX@ | ||
103 | CXXCPP = @CXXCPP@ | ||
104 | CXXDEPMODE = @CXXDEPMODE@ | ||
105 | CXXFLAGS = @CXXFLAGS@ | ||
106 | CYGPATH_W = @CYGPATH_W@ | ||
107 | DBG_CFLAGS = @DBG_CFLAGS@ | ||
108 | DEBUG = @DEBUG@ | ||
109 | DEFS = @DEFS@ | ||
110 | DEPDIR = @DEPDIR@ | ||
111 | DLLTOOL = @DLLTOOL@ | ||
112 | ECHO = @ECHO@ | ||
113 | ECHO_C = @ECHO_C@ | ||
114 | ECHO_N = @ECHO_N@ | ||
115 | ECHO_T = @ECHO_T@ | ||
116 | EGREP = @EGREP@ | ||
117 | EXEEXT = @EXEEXT@ | ||
118 | F77 = @F77@ | ||
119 | FFLAGS = @FFLAGS@ | ||
120 | GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ | ||
121 | GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ | ||
122 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
123 | GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ | ||
124 | GLIB_LIBS = @GLIB_LIBS@ | ||
125 | GLIB_MKENUMS = @GLIB_MKENUMS@ | ||
126 | GOBJECT_QUERY = @GOBJECT_QUERY@ | ||
127 | GREP = @GREP@ | ||
128 | GTKDOC_CHECK = @GTKDOC_CHECK@ | ||
129 | GTK_CFLAGS = @GTK_CFLAGS@ | ||
130 | GTK_LIBS = @GTK_LIBS@ | ||
131 | HTML_DIR = @HTML_DIR@ | ||
132 | INSTALL = @INSTALL@ | ||
133 | INSTALL_DATA = @INSTALL_DATA@ | ||
134 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
135 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
136 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
137 | LDFLAGS = @LDFLAGS@ | ||
138 | LEX = @LEX@ | ||
139 | LEXLIB = @LEXLIB@ | ||
140 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ | ||
141 | LIBGSF_CFLAGS = @LIBGSF_CFLAGS@ | ||
142 | LIBGSF_LIBS = @LIBGSF_LIBS@ | ||
143 | LIBOBJS = @LIBOBJS@ | ||
144 | LIBS = @LIBS@ | ||
145 | LIBTOOL = @LIBTOOL@ | ||
146 | LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ | ||
147 | LIBXML2_LIBS = @LIBXML2_LIBS@ | ||
148 | LN_S = @LN_S@ | ||
149 | LTLIBOBJS = @LTLIBOBJS@ | ||
150 | LTVERSION = @LTVERSION@ | ||
151 | MAGIC_LIBS = @MAGIC_LIBS@ | ||
152 | MAKEINFO = @MAKEINFO@ | ||
153 | MATH_LIBS = @MATH_LIBS@ | ||
154 | MKDIR_P = @MKDIR_P@ | ||
155 | OBJDUMP = @OBJDUMP@ | ||
156 | OBJEXT = @OBJEXT@ | ||
157 | PACKAGE = @PACKAGE@ | ||
158 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
159 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
160 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
161 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
162 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
163 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
164 | PKG_CONFIG = @PKG_CONFIG@ | ||
165 | PLUGINS_LDFLAGS = @PLUGINS_LDFLAGS@ | ||
166 | RANLIB = @RANLIB@ | ||
167 | SET_MAKE = @SET_MAKE@ | ||
168 | SHELL = @SHELL@ | ||
169 | STRIP = @STRIP@ | ||
170 | VERSION = @VERSION@ | ||
171 | XML2_CONFIG = @XML2_CONFIG@ | ||
172 | XML_CPPFLAGS = @XML_CPPFLAGS@ | ||
173 | XML_LIBS = @XML_LIBS@ | ||
174 | Z_CFLAGS = @Z_CFLAGS@ | ||
175 | Z_LIBS = @Z_LIBS@ | ||
176 | abs_builddir = @abs_builddir@ | ||
177 | abs_srcdir = @abs_srcdir@ | ||
178 | abs_top_builddir = @abs_top_builddir@ | ||
179 | abs_top_srcdir = @abs_top_srcdir@ | ||
180 | ac_ct_CC = @ac_ct_CC@ | ||
181 | ac_ct_CXX = @ac_ct_CXX@ | ||
182 | ac_ct_F77 = @ac_ct_F77@ | ||
183 | am__include = @am__include@ | ||
184 | am__leading_dot = @am__leading_dot@ | ||
185 | am__quote = @am__quote@ | ||
186 | am__tar = @am__tar@ | ||
187 | am__untar = @am__untar@ | ||
188 | bindir = @bindir@ | ||
189 | build = @build@ | ||
190 | build_alias = @build_alias@ | ||
191 | build_cpu = @build_cpu@ | ||
192 | build_os = @build_os@ | ||
193 | build_vendor = @build_vendor@ | ||
194 | builddir = @builddir@ | ||
195 | datadir = @datadir@ | ||
196 | datarootdir = @datarootdir@ | ||
197 | docdir = @docdir@ | ||
198 | dvidir = @dvidir@ | ||
199 | exec_prefix = @exec_prefix@ | ||
200 | host = @host@ | ||
201 | host_alias = @host_alias@ | ||
202 | host_cpu = @host_cpu@ | ||
203 | host_os = @host_os@ | ||
204 | host_vendor = @host_vendor@ | ||
205 | htmldir = @htmldir@ | ||
206 | includedir = @includedir@ | ||
207 | infodir = @infodir@ | ||
208 | install_sh = @install_sh@ | ||
209 | libdir = @libdir@ | ||
210 | libexecdir = @libexecdir@ | ||
211 | localedir = @localedir@ | ||
212 | localstatedir = @localstatedir@ | ||
213 | mandir = @mandir@ | ||
214 | mkdir_p = @mkdir_p@ | ||
215 | oldincludedir = @oldincludedir@ | ||
216 | pdfdir = @pdfdir@ | ||
217 | prefix = @prefix@ | ||
218 | program_transform_name = @program_transform_name@ | ||
219 | psdir = @psdir@ | ||
220 | sbindir = @sbindir@ | ||
221 | sharedstatedir = @sharedstatedir@ | ||
222 | srcdir = @srcdir@ | ||
223 | sysconfdir = @sysconfdir@ | ||
224 | target_alias = @target_alias@ | ||
225 | top_builddir = @top_builddir@ | ||
226 | top_srcdir = @top_srcdir@ | ||
227 | AM_CFLAGS = \ | ||
228 | -Wall -ansi -pedantic \ | ||
229 | -I$(top_srcdir)/include \ | ||
230 | @GLIB_CFLAGS@ | ||
231 | |||
232 | AM_CXXFLAGS = \ | ||
233 | -Wall \ | ||
234 | -I$(top_srcdir)/include \ | ||
235 | @GLIB_CFLAGS@ | ||
236 | |||
237 | test_lib_DEPENDENCIES = ../src/libg3d.la | ||
238 | test_lib_SOURCES = test_lib.c | ||
239 | test_lib_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
240 | test_buf_DEPENDENCIES = ../src/libg3d.la | ||
241 | test_buf_SOURCES = test_buf.c | ||
242 | test_buf_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
243 | test_imgdump_DEPENDENCIES = ../src/libg3d.la | ||
244 | test_imgdump_SOURCES = test_imgdump.c | ||
245 | test_imgdump_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
246 | test_cxx_DEPENDENCIES = ../src/libg3d.la | ||
247 | test_cxx_SOURCES = test_cxx.cxx | ||
248 | test_cxx_LDADD = ../src/libg3d.la -lm @GLIB_LIBS@ @MAGIC_LIBS@ | ||
249 | all: all-am | ||
250 | |||
251 | .SUFFIXES: | ||
252 | .SUFFIXES: .c .cxx .lo .o .obj | ||
253 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
254 | @for dep in $?; do \ | ||
255 | case '$(am__configure_deps)' in \ | ||
256 | *$$dep*) \ | ||
257 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ | ||
258 | && exit 0; \ | ||
259 | exit 1;; \ | ||
260 | esac; \ | ||
261 | done; \ | ||
262 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ | ||
263 | cd $(top_srcdir) && \ | ||
264 | $(AUTOMAKE) --gnu tests/Makefile | ||
265 | .PRECIOUS: Makefile | ||
266 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
267 | @case '$?' in \ | ||
268 | *config.status*) \ | ||
269 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
270 | *) \ | ||
271 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
272 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
273 | esac; | ||
274 | |||
275 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
276 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
277 | |||
278 | $(top_srcdir)/configure: $(am__configure_deps) | ||
279 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
280 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
281 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
282 | |||
283 | clean-noinstPROGRAMS: | ||
284 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ | ||
285 | f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ | ||
286 | echo " rm -f $$p $$f"; \ | ||
287 | rm -f $$p $$f ; \ | ||
288 | done | ||
289 | test_buf$(EXEEXT): $(test_buf_OBJECTS) $(test_buf_DEPENDENCIES) | ||
290 | @rm -f test_buf$(EXEEXT) | ||
291 | $(LINK) $(test_buf_OBJECTS) $(test_buf_LDADD) $(LIBS) | ||
292 | test_cxx$(EXEEXT): $(test_cxx_OBJECTS) $(test_cxx_DEPENDENCIES) | ||
293 | @rm -f test_cxx$(EXEEXT) | ||
294 | $(CXXLINK) $(test_cxx_OBJECTS) $(test_cxx_LDADD) $(LIBS) | ||
295 | test_imgdump$(EXEEXT): $(test_imgdump_OBJECTS) $(test_imgdump_DEPENDENCIES) | ||
296 | @rm -f test_imgdump$(EXEEXT) | ||
297 | $(LINK) $(test_imgdump_OBJECTS) $(test_imgdump_LDADD) $(LIBS) | ||
298 | test_lib$(EXEEXT): $(test_lib_OBJECTS) $(test_lib_DEPENDENCIES) | ||
299 | @rm -f test_lib$(EXEEXT) | ||
300 | $(LINK) $(test_lib_OBJECTS) $(test_lib_LDADD) $(LIBS) | ||
301 | |||
302 | mostlyclean-compile: | ||
303 | -rm -f *.$(OBJEXT) | ||
304 | |||
305 | distclean-compile: | ||
306 | -rm -f *.tab.c | ||
307 | |||
308 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_buf.Po@am__quote@ | ||
309 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_cxx.Po@am__quote@ | ||
310 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_imgdump.Po@am__quote@ | ||
311 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_lib.Po@am__quote@ | ||
312 | |||
313 | .c.o: | ||
314 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
315 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
316 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
317 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
318 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
319 | |||
320 | .c.obj: | ||
321 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
322 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
323 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
324 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
325 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
326 | |||
327 | .c.lo: | ||
328 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
329 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
330 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
331 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
332 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
333 | |||
334 | .cxx.o: | ||
335 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
336 | @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
337 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
338 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
339 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | ||
340 | |||
341 | .cxx.obj: | ||
342 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
343 | @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
344 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
345 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
346 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||
347 | |||
348 | .cxx.lo: | ||
349 | @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
350 | @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
351 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
352 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
353 | @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< | ||
354 | |||
355 | mostlyclean-libtool: | ||
356 | -rm -f *.lo | ||
357 | |||
358 | clean-libtool: | ||
359 | -rm -rf .libs _libs | ||
360 | |||
361 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
362 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
363 | unique=`for i in $$list; do \ | ||
364 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
365 | done | \ | ||
366 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | ||
367 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
368 | mkid -fID $$unique | ||
369 | tags: TAGS | ||
370 | |||
371 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
372 | $(TAGS_FILES) $(LISP) | ||
373 | tags=; \ | ||
374 | here=`pwd`; \ | ||
375 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
376 | unique=`for i in $$list; do \ | ||
377 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
378 | done | \ | ||
379 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
380 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
381 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | ||
382 | test -n "$$unique" || unique=$$empty_fix; \ | ||
383 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
384 | $$tags $$unique; \ | ||
385 | fi | ||
386 | ctags: CTAGS | ||
387 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
388 | $(TAGS_FILES) $(LISP) | ||
389 | tags=; \ | ||
390 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
391 | unique=`for i in $$list; do \ | ||
392 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
393 | done | \ | ||
394 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
395 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
396 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | ||
397 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
398 | $$tags $$unique | ||
399 | |||
400 | GTAGS: | ||
401 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
402 | && cd $(top_srcdir) \ | ||
403 | && gtags -i $(GTAGS_ARGS) $$here | ||
404 | |||
405 | distclean-tags: | ||
406 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
407 | |||
408 | distdir: $(DISTFILES) | ||
409 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
410 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
411 | list='$(DISTFILES)'; \ | ||
412 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
413 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
414 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
415 | case $$dist_files in \ | ||
416 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
417 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
418 | sort -u` ;; \ | ||
419 | esac; \ | ||
420 | for file in $$dist_files; do \ | ||
421 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
422 | if test -d $$d/$$file; then \ | ||
423 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
424 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
425 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | ||
426 | fi; \ | ||
427 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | ||
428 | else \ | ||
429 | test -f $(distdir)/$$file \ | ||
430 | || cp -p $$d/$$file $(distdir)/$$file \ | ||
431 | || exit 1; \ | ||
432 | fi; \ | ||
433 | done | ||
434 | check-am: all-am | ||
435 | check: check-am | ||
436 | all-am: Makefile $(PROGRAMS) | ||
437 | installdirs: | ||
438 | install: install-am | ||
439 | install-exec: install-exec-am | ||
440 | install-data: install-data-am | ||
441 | uninstall: uninstall-am | ||
442 | |||
443 | install-am: all-am | ||
444 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
445 | |||
446 | installcheck: installcheck-am | ||
447 | install-strip: | ||
448 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
449 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
450 | `test -z '$(STRIP)' || \ | ||
451 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
452 | mostlyclean-generic: | ||
453 | |||
454 | clean-generic: | ||
455 | |||
456 | distclean-generic: | ||
457 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
458 | |||
459 | maintainer-clean-generic: | ||
460 | @echo "This command is intended for maintainers to use" | ||
461 | @echo "it deletes files that may require special tools to rebuild." | ||
462 | clean: clean-am | ||
463 | |||
464 | clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ | ||
465 | mostlyclean-am | ||
466 | |||
467 | distclean: distclean-am | ||
468 | -rm -rf ./$(DEPDIR) | ||
469 | -rm -f Makefile | ||
470 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
471 | distclean-tags | ||
472 | |||
473 | dvi: dvi-am | ||
474 | |||
475 | dvi-am: | ||
476 | |||
477 | html: html-am | ||
478 | |||
479 | info: info-am | ||
480 | |||
481 | info-am: | ||
482 | |||
483 | install-data-am: | ||
484 | |||
485 | install-dvi: install-dvi-am | ||
486 | |||
487 | install-exec-am: | ||
488 | |||
489 | install-html: install-html-am | ||
490 | |||
491 | install-info: install-info-am | ||
492 | |||
493 | install-man: | ||
494 | |||
495 | install-pdf: install-pdf-am | ||
496 | |||
497 | install-ps: install-ps-am | ||
498 | |||
499 | installcheck-am: | ||
500 | |||
501 | maintainer-clean: maintainer-clean-am | ||
502 | -rm -rf ./$(DEPDIR) | ||
503 | -rm -f Makefile | ||
504 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
505 | |||
506 | mostlyclean: mostlyclean-am | ||
507 | |||
508 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
509 | mostlyclean-libtool | ||
510 | |||
511 | pdf: pdf-am | ||
512 | |||
513 | pdf-am: | ||
514 | |||
515 | ps: ps-am | ||
516 | |||
517 | ps-am: | ||
518 | |||
519 | uninstall-am: | ||
520 | |||
521 | .MAKE: install-am install-strip | ||
522 | |||
523 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
524 | clean-libtool clean-noinstPROGRAMS ctags distclean \ | ||
525 | distclean-compile distclean-generic distclean-libtool \ | ||
526 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
527 | install install-am install-data install-data-am install-dvi \ | ||
528 | install-dvi-am install-exec install-exec-am install-html \ | ||
529 | install-html-am install-info install-info-am install-man \ | ||
530 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
531 | install-strip installcheck installcheck-am installdirs \ | ||
532 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
533 | mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ | ||
534 | pdf pdf-am ps ps-am tags uninstall uninstall-am | ||
535 | |||
536 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
537 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
538 | .NOEXPORT: | ||
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/test_buf.c b/src/others/mimesh/libg3d-0.0.8/tests/test_buf.c new file mode 100644 index 0000000..70551ba --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/test_buf.c | |||
@@ -0,0 +1,59 @@ | |||
1 | /* $Id:$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | #include <stdio.h> | ||
24 | #include <glib.h> | ||
25 | #include <g3d/g3d.h> | ||
26 | #include <g3d/stream.h> | ||
27 | |||
28 | static guint8 test_buffer[] = { | ||
29 | 0x01, 0x23, 0x45, 0x67, /* 0x01234567 MSB */ | ||
30 | 0x67, 0x45, 0x23, 0x01, /* 0x01234567 LSB */ | ||
31 | 0x00 | ||
32 | }; | ||
33 | static gsize tbsize = sizeof(test_buffer); | ||
34 | |||
35 | int main(int argc, char *argv[]) | ||
36 | { | ||
37 | G3DStream *stream; | ||
38 | guint32 u; | ||
39 | |||
40 | stream = g3d_stream_from_buffer(test_buffer, tbsize, "testbuf", FALSE); | ||
41 | |||
42 | /* read 2 x 32-bit integer */ | ||
43 | u = g3d_stream_read_int32_be(stream); | ||
44 | g_print("MSB value: 0x%08x\n", u); | ||
45 | u = g3d_stream_read_int32_le(stream); | ||
46 | g_print("LSB value: 0x%08x\n", u); | ||
47 | /* seek back 4 bytes */ | ||
48 | g3d_stream_seek(stream, -4, G_SEEK_CUR); | ||
49 | u = g3d_stream_read_int32_le(stream); | ||
50 | g_print("LSB value: 0x%08x\n", u); | ||
51 | /* rewind stream */ | ||
52 | g3d_stream_seek(stream, 0, G_SEEK_SET); | ||
53 | u = g3d_stream_read_int32_be(stream); | ||
54 | g_print("MSB value: 0x%08x\n", u); | ||
55 | |||
56 | g3d_stream_close(stream); | ||
57 | |||
58 | return 0; | ||
59 | } | ||
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/test_cxx.cxx b/src/others/mimesh/libg3d-0.0.8/tests/test_cxx.cxx new file mode 100644 index 0000000..f2d3001 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/test_cxx.cxx | |||
@@ -0,0 +1,40 @@ | |||
1 | /* $Id:$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2008 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | #include <iostream> | ||
24 | |||
25 | #include <g3d/g3d.h> | ||
26 | |||
27 | using namespace std; | ||
28 | |||
29 | int main(int argc, char *argv[]) | ||
30 | { | ||
31 | G3DContext *context; | ||
32 | |||
33 | context = g3d_context_new(); | ||
34 | if(context) { | ||
35 | cout << "got context" << endl; | ||
36 | g3d_context_free(context); | ||
37 | } | ||
38 | |||
39 | return 0; | ||
40 | } | ||
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/test_imgdump.c b/src/others/mimesh/libg3d-0.0.8/tests/test_imgdump.c new file mode 100644 index 0000000..530d20f --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/test_imgdump.c | |||
@@ -0,0 +1,72 @@ | |||
1 | /* $Id$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | #include <stdio.h> | ||
24 | #include <stdlib.h> | ||
25 | |||
26 | #include <g3d/g3d.h> | ||
27 | #include <g3d/texture.h> | ||
28 | |||
29 | int main(int argc, char *argv[]) | ||
30 | { | ||
31 | G3DContext *context; | ||
32 | G3DImage *tex; | ||
33 | FILE *ppm; | ||
34 | gchar *outfile; | ||
35 | guint32 x, y; | ||
36 | |||
37 | context = g3d_context_new(); | ||
38 | |||
39 | if(argc > 1) { | ||
40 | /* tex = g3d_texture_load(context, argv[1]); */ | ||
41 | tex = NULL; | ||
42 | if(tex != NULL) { | ||
43 | outfile = g_strdup_printf("%s.ppm", argv[1]); | ||
44 | ppm = fopen(outfile, "w"); | ||
45 | if(ppm != NULL) { | ||
46 | fprintf(ppm, "P3\n%u %u\n255\n", | ||
47 | tex->width, tex->height); | ||
48 | for(y = 0; y < tex->height; y ++) { | ||
49 | for(x = 0; x < tex->width; x ++) { | ||
50 | fprintf(ppm, "%u %u %u\n", | ||
51 | tex->pixeldata[(y * tex->width + x) * 4 + 0], | ||
52 | tex->pixeldata[(y * tex->width + x) * 4 + 1], | ||
53 | tex->pixeldata[(y * tex->width + x) * 4 + 2]); | ||
54 | } | ||
55 | } | ||
56 | fclose(ppm); | ||
57 | } else { | ||
58 | fprintf(stderr, "%s: failed to write to '%s'\n", | ||
59 | argv[0], outfile); | ||
60 | } | ||
61 | g3d_texture_free(tex); | ||
62 | g_free(outfile); | ||
63 | } else { | ||
64 | fprintf(stderr, "%s: failed to load image '%s'\n", | ||
65 | argv[0], argv[1]); | ||
66 | } | ||
67 | } | ||
68 | |||
69 | g3d_context_free(context); | ||
70 | |||
71 | return EXIT_SUCCESS; | ||
72 | } | ||
diff --git a/src/others/mimesh/libg3d-0.0.8/tests/test_lib.c b/src/others/mimesh/libg3d-0.0.8/tests/test_lib.c new file mode 100644 index 0000000..335c540 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/tests/test_lib.c | |||
@@ -0,0 +1,99 @@ | |||
1 | /* $Id: test_lib.c,v 1.1.2.2 2006/01/23 17:04:37 dahms Exp $ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | #include <stdio.h> | ||
24 | #include <stdlib.h> | ||
25 | |||
26 | #include <g3d/g3d.h> | ||
27 | |||
28 | #if 0 | ||
29 | #define DEBUG_MEM 1 | ||
30 | #endif | ||
31 | |||
32 | #ifdef DEBUG_MEM | ||
33 | static gpointer (*def_malloc)(gsize size) = NULL; | ||
34 | |||
35 | static void break_here(gsize size) | ||
36 | { | ||
37 | g_printerr("I'm here (%d bytes)\n", size); | ||
38 | } | ||
39 | |||
40 | static gpointer malloc_debug(gsize size) | ||
41 | { | ||
42 | if(size == 84) | ||
43 | { | ||
44 | break_here(size); | ||
45 | } | ||
46 | |||
47 | return def_malloc(size); | ||
48 | } | ||
49 | #endif | ||
50 | |||
51 | int main(int argc, char *argv[]) | ||
52 | { | ||
53 | G3DContext *context; | ||
54 | G3DModel *model; | ||
55 | G3DObject *object; | ||
56 | GSList *oitem; | ||
57 | guint32 i; | ||
58 | |||
59 | #ifdef DEBUG_MEM | ||
60 | atexit(g_mem_profile); | ||
61 | def_malloc = glib_mem_profiler_table->malloc; | ||
62 | glib_mem_profiler_table->malloc = malloc_debug; | ||
63 | g_mem_set_vtable(glib_mem_profiler_table); | ||
64 | #endif | ||
65 | |||
66 | context = g3d_context_new(); | ||
67 | |||
68 | if(argc > 1) | ||
69 | { | ||
70 | model = g3d_model_load(context, argv[1]); | ||
71 | |||
72 | if(model) | ||
73 | { | ||
74 | g_print("%s: %d objects:\n", argv[1], | ||
75 | g_slist_length(model->objects)); | ||
76 | |||
77 | i = 0; | ||
78 | oitem = model->objects; | ||
79 | while(oitem) | ||
80 | { | ||
81 | object = (G3DObject *)oitem->data; | ||
82 | g_print(" [%2u] %-50s (%d faces, %d mats)\n", | ||
83 | i, | ||
84 | object->name ? object->name : "(NULL)", | ||
85 | g_slist_length(object->faces), | ||
86 | g_slist_length(object->materials)); | ||
87 | |||
88 | oitem = oitem->next; | ||
89 | i ++; | ||
90 | } | ||
91 | |||
92 | g3d_model_free(model); | ||
93 | } | ||
94 | } | ||
95 | |||
96 | g3d_context_free(context); | ||
97 | |||
98 | return EXIT_SUCCESS; | ||
99 | } | ||