aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile513
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.am23
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.in513
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh.c88
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.c116
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.h32
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_chunks.h38
7 files changed, 1323 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile
new file mode 100644
index 0000000..5438e31
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile
@@ -0,0 +1,513 @@
1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# plugins/import/imp_rbh/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
18pkgdatadir = $(datadir)/libg3d
19pkglibdir = $(libdir)/libg3d
20pkgincludedir = $(includedir)/libg3d
21am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22install_sh_DATA = $(install_sh) -c -m 644
23install_sh_PROGRAM = $(install_sh) -c
24install_sh_SCRIPT = $(install_sh) -c
25INSTALL_HEADER = $(INSTALL_DATA)
26transform = $(program_transform_name)
27NORMAL_INSTALL = :
28PRE_INSTALL = :
29POST_INSTALL = :
30NORMAL_UNINSTALL = :
31PRE_UNINSTALL = :
32POST_UNINSTALL = :
33build_triplet = x86_64-unknown-linux-gnu
34host_triplet = x86_64-unknown-linux-gnu
35subdir = plugins/import/imp_rbh
36DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
39 $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \
40 $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
41 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \
42 $(top_srcdir)/configure.in
43am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44 $(ACLOCAL_M4)
45mkinstalldirs = $(install_sh) -d
46CONFIG_HEADER = $(top_builddir)/include/g3d/config.h
47CONFIG_CLEAN_FILES =
48am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
49am__vpath_adj = case $$p in \
50 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
51 *) f=$$p;; \
52 esac;
53am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
54am__installdirs = "$(DESTDIR)$(pluginimpdir)"
55pluginimpLTLIBRARIES_INSTALL = $(INSTALL)
56LTLIBRARIES = $(pluginimp_LTLIBRARIES)
57imp_rbh_la_DEPENDENCIES = $(top_builddir)/src/libg3d.la
58am_imp_rbh_la_OBJECTS = imp_rbh.lo imp_rbh_callbacks.lo
59imp_rbh_la_OBJECTS = $(am_imp_rbh_la_OBJECTS)
60#am_imp_rbh_la_rpath = -rpath $(pluginimpdir)
61DEFAULT_INCLUDES = -I. -I$(top_builddir)/include/g3d
62depcomp = $(SHELL) $(top_srcdir)/config/depcomp
63am__depfiles_maybe = depfiles
64COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
65 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
66LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
67 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
68 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
69CCLD = $(CC)
70LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
71 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
72 $(LDFLAGS) -o $@
73SOURCES = $(imp_rbh_la_SOURCES)
74DIST_SOURCES = $(imp_rbh_la_SOURCES)
75ETAGS = etags
76CTAGS = ctags
77DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
78ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run aclocal-1.10
79AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run tar
80AR = ar
81AS = as
82AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoconf
83AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoheader
84AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run automake-1.10
85AWK = gawk
86CC = gcc
87CCDEPMODE = depmode=gcc3
88CFLAGS = -g -O2
89CPP = gcc -E
90CPPFLAGS =
91CXX = g++
92CXXCPP = g++ -E
93CXXDEPMODE = depmode=gcc3
94CXXFLAGS = -g -O2
95CYGPATH_W = echo
96DBG_CFLAGS = -O2
97DEBUG = 0
98DEFS = -DHAVE_CONFIG_H
99DEPDIR = .deps
100DLLTOOL = dlltool
101ECHO = echo
102ECHO_C =
103ECHO_N = -n
104ECHO_T =
105EGREP = /bin/grep -E
106EXEEXT =
107F77 =
108FFLAGS =
109GDKPIXBUF_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
110GDKPIXBUF_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
111GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
112GLIB_GENMARSHAL = glib-genmarshal
113GLIB_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0
114GLIB_MKENUMS = glib-mkenums
115GOBJECT_QUERY = gobject-query
116GREP = /bin/grep
117GTKDOC_CHECK = /usr/bin/gtkdoc-check
118GTK_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
119GTK_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
120HTML_DIR = ${datadir}/gtk-doc/html
121INSTALL = /usr/bin/install -c
122INSTALL_DATA = ${INSTALL} -m 644
123INSTALL_PROGRAM = ${INSTALL}
124INSTALL_SCRIPT = ${INSTALL}
125INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
126LDFLAGS =
127LEX = flex
128LEXLIB = -lfl
129LEX_OUTPUT_ROOT = lex.yy
130LIBGSF_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
131LIBGSF_LIBS = -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0
132LIBOBJS =
133LIBS = -lm
134LIBTOOL = $(SHELL) $(top_builddir)/libtool --quiet
135LIBXML2_CFLAGS = -I/usr/include/libxml2
136LIBXML2_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2
137LN_S = ln -s
138LTLIBOBJS =
139LTVERSION = 0:8:0
140MAGIC_LIBS = -lmagic
141MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run makeinfo
142MATH_LIBS = -lm
143MKDIR_P = /bin/mkdir -p
144OBJDUMP = objdump
145OBJEXT = o
146PACKAGE = libg3d
147PACKAGE_BUGREPORT =
148PACKAGE_NAME =
149PACKAGE_STRING =
150PACKAGE_TARNAME =
151PACKAGE_VERSION =
152PATH_SEPARATOR = :
153PKG_CONFIG = /usr/bin/pkg-config
154PLUGINS_LDFLAGS = -avoid-version -export-dynamic
155RANLIB = ranlib
156SET_MAKE =
157SHELL = /bin/bash
158STRIP = strip
159VERSION = 0.0.8
160XML2_CONFIG = /usr/bin/xml2-config
161XML_CPPFLAGS = -I/usr/include/libxml2
162XML_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2
163Z_CFLAGS =
164Z_LIBS = -lz
165abs_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh
166abs_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh
167abs_top_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8
168abs_top_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8
169ac_ct_CC = gcc
170ac_ct_CXX = g++
171ac_ct_F77 =
172am__include = include
173am__leading_dot = .
174am__quote =
175am__tar = ${AMTAR} chof - "$$tardir"
176am__untar = ${AMTAR} xf -
177bindir = ${exec_prefix}/bin
178build = x86_64-unknown-linux-gnu
179build_alias =
180build_cpu = x86_64
181build_os = linux-gnu
182build_vendor = unknown
183builddir = .
184datadir = ${datarootdir}
185datarootdir = ${prefix}/share
186docdir = ${datarootdir}/doc/${PACKAGE}
187dvidir = ${docdir}
188exec_prefix = ${prefix}
189host = x86_64-unknown-linux-gnu
190host_alias =
191host_cpu = x86_64
192host_os = linux-gnu
193host_vendor = unknown
194htmldir = ${docdir}
195includedir = ${prefix}/include
196infodir = ${datarootdir}/info
197install_sh = $(SHELL) /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/install-sh
198libdir = ${exec_prefix}/lib
199libexecdir = ${exec_prefix}/libexec
200localedir = ${datarootdir}/locale
201localstatedir = ${prefix}/var
202mandir = ${datarootdir}/man
203mkdir_p = /bin/mkdir -p
204oldincludedir = /usr/include
205pdfdir = ${docdir}
206prefix = /usr/local
207program_transform_name = s,x,x,
208psdir = ${docdir}
209sbindir = ${exec_prefix}/sbin
210sharedstatedir = ${prefix}/com
211srcdir = .
212sysconfdir = ${prefix}/etc
213target_alias =
214top_builddir = ../../..
215top_srcdir = ../../..
216pluginimpdir = $(pkglibdir)/plugins/import
217#pluginimp_LTLIBRARIES = imp_rbh.la
218AM_CFLAGS = \
219 -Wall -ansi -pedantic \
220 -DG_LOG_DOMAIN=\"LibG3D\" \
221 -O2 -DDEBUG=0 \
222 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
223
224INCLUDES = -I$(top_srcdir)/include
225AM_LDFLAGS = \
226 -no-undefined -module \
227 -avoid-version -export-dynamic
228
229imp_rbh_la_SOURCES = imp_rbh.c imp_rbh_chunks.h \
230 imp_rbh_callbacks.c imp_rbh_callbacks.h
231
232imp_rbh_la_LIBADD = $(top_builddir)/src/libg3d.la -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0
233all: all-am
234
235.SUFFIXES:
236.SUFFIXES: .c .lo .o .obj
237$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
238 @for dep in $?; do \
239 case '$(am__configure_deps)' in \
240 *$$dep*) \
241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
242 && exit 0; \
243 exit 1;; \
244 esac; \
245 done; \
246 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/import/imp_rbh/Makefile'; \
247 cd $(top_srcdir) && \
248 $(AUTOMAKE) --gnu plugins/import/imp_rbh/Makefile
249.PRECIOUS: Makefile
250Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
251 @case '$?' in \
252 *config.status*) \
253 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
254 *) \
255 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
256 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
257 esac;
258
259$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
261
262$(top_srcdir)/configure: $(am__configure_deps)
263 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
264$(ACLOCAL_M4): $(am__aclocal_m4_deps)
265 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
266install-pluginimpLTLIBRARIES: $(pluginimp_LTLIBRARIES)
267 @$(NORMAL_INSTALL)
268 test -z "$(pluginimpdir)" || $(MKDIR_P) "$(DESTDIR)$(pluginimpdir)"
269 @list='$(pluginimp_LTLIBRARIES)'; for p in $$list; do \
270 if test -f $$p; then \
271 f=$(am__strip_dir) \
272 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginimpLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pluginimpdir)/$$f'"; \
273 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginimpLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pluginimpdir)/$$f"; \
274 else :; fi; \
275 done
276
277uninstall-pluginimpLTLIBRARIES:
278 @$(NORMAL_UNINSTALL)
279 @list='$(pluginimp_LTLIBRARIES)'; for p in $$list; do \
280 p=$(am__strip_dir) \
281 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pluginimpdir)/$$p'"; \
282 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pluginimpdir)/$$p"; \
283 done
284
285clean-pluginimpLTLIBRARIES:
286 -test -z "$(pluginimp_LTLIBRARIES)" || rm -f $(pluginimp_LTLIBRARIES)
287 @list='$(pluginimp_LTLIBRARIES)'; for p in $$list; do \
288 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
289 test "$$dir" != "$$p" || dir=.; \
290 echo "rm -f \"$${dir}/so_locations\""; \
291 rm -f "$${dir}/so_locations"; \
292 done
293imp_rbh.la: $(imp_rbh_la_OBJECTS) $(imp_rbh_la_DEPENDENCIES)
294 $(LINK) $(am_imp_rbh_la_rpath) $(imp_rbh_la_OBJECTS) $(imp_rbh_la_LIBADD) $(LIBS)
295
296mostlyclean-compile:
297 -rm -f *.$(OBJEXT)
298
299distclean-compile:
300 -rm -f *.tab.c
301
302include ./$(DEPDIR)/imp_rbh.Plo
303include ./$(DEPDIR)/imp_rbh_callbacks.Plo
304
305.c.o:
306 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
307 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
308# source='$<' object='$@' libtool=no \
309# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
310# $(COMPILE) -c $<
311
312.c.obj:
313 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
314 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
315# source='$<' object='$@' libtool=no \
316# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
317# $(COMPILE) -c `$(CYGPATH_W) '$<'`
318
319.c.lo:
320 $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
321 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
322# source='$<' object='$@' libtool=yes \
323# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
324# $(LTCOMPILE) -c -o $@ $<
325
326mostlyclean-libtool:
327 -rm -f *.lo
328
329clean-libtool:
330 -rm -rf .libs _libs
331
332ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
333 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
334 unique=`for i in $$list; do \
335 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
336 done | \
337 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
338 END { if (nonempty) { for (i in files) print i; }; }'`; \
339 mkid -fID $$unique
340tags: TAGS
341
342TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
343 $(TAGS_FILES) $(LISP)
344 tags=; \
345 here=`pwd`; \
346 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
347 unique=`for i in $$list; do \
348 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
349 done | \
350 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
351 END { if (nonempty) { for (i in files) print i; }; }'`; \
352 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
353 test -n "$$unique" || unique=$$empty_fix; \
354 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
355 $$tags $$unique; \
356 fi
357ctags: CTAGS
358CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
359 $(TAGS_FILES) $(LISP)
360 tags=; \
361 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
362 unique=`for i in $$list; do \
363 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
364 done | \
365 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
366 END { if (nonempty) { for (i in files) print i; }; }'`; \
367 test -z "$(CTAGS_ARGS)$$tags$$unique" \
368 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
369 $$tags $$unique
370
371GTAGS:
372 here=`$(am__cd) $(top_builddir) && pwd` \
373 && cd $(top_srcdir) \
374 && gtags -i $(GTAGS_ARGS) $$here
375
376distclean-tags:
377 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
378
379distdir: $(DISTFILES)
380 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 list='$(DISTFILES)'; \
383 dist_files=`for file in $$list; do echo $$file; done | \
384 sed -e "s|^$$srcdirstrip/||;t" \
385 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
386 case $$dist_files in \
387 */*) $(MKDIR_P) `echo "$$dist_files" | \
388 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 sort -u` ;; \
390 esac; \
391 for file in $$dist_files; do \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
396 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
397 fi; \
398 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
399 else \
400 test -f $(distdir)/$$file \
401 || cp -p $$d/$$file $(distdir)/$$file \
402 || exit 1; \
403 fi; \
404 done
405check-am: all-am
406check: check-am
407all-am: Makefile $(LTLIBRARIES)
408installdirs:
409 for dir in "$(DESTDIR)$(pluginimpdir)"; do \
410 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
411 done
412install: install-am
413install-exec: install-exec-am
414install-data: install-data-am
415uninstall: uninstall-am
416
417install-am: all-am
418 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
419
420installcheck: installcheck-am
421install-strip:
422 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
423 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
424 `test -z '$(STRIP)' || \
425 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
426mostlyclean-generic:
427
428clean-generic:
429
430distclean-generic:
431 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
432
433maintainer-clean-generic:
434 @echo "This command is intended for maintainers to use"
435 @echo "it deletes files that may require special tools to rebuild."
436clean: clean-am
437
438clean-am: clean-generic clean-libtool clean-pluginimpLTLIBRARIES \
439 mostlyclean-am
440
441distclean: distclean-am
442 -rm -rf ./$(DEPDIR)
443 -rm -f Makefile
444distclean-am: clean-am distclean-compile distclean-generic \
445 distclean-tags
446
447dvi: dvi-am
448
449dvi-am:
450
451html: html-am
452
453info: info-am
454
455info-am:
456
457install-data-am: install-pluginimpLTLIBRARIES
458
459install-dvi: install-dvi-am
460
461install-exec-am:
462
463install-html: install-html-am
464
465install-info: install-info-am
466
467install-man:
468
469install-pdf: install-pdf-am
470
471install-ps: install-ps-am
472
473installcheck-am:
474
475maintainer-clean: maintainer-clean-am
476 -rm -rf ./$(DEPDIR)
477 -rm -f Makefile
478maintainer-clean-am: distclean-am maintainer-clean-generic
479
480mostlyclean: mostlyclean-am
481
482mostlyclean-am: mostlyclean-compile mostlyclean-generic \
483 mostlyclean-libtool
484
485pdf: pdf-am
486
487pdf-am:
488
489ps: ps-am
490
491ps-am:
492
493uninstall-am: uninstall-pluginimpLTLIBRARIES
494
495.MAKE: install-am install-strip
496
497.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
498 clean-libtool clean-pluginimpLTLIBRARIES ctags distclean \
499 distclean-compile distclean-generic distclean-libtool \
500 distclean-tags distdir dvi dvi-am html html-am info info-am \
501 install install-am install-data install-data-am install-dvi \
502 install-dvi-am install-exec install-exec-am install-html \
503 install-html-am install-info install-info-am install-man \
504 install-pdf install-pdf-am install-pluginimpLTLIBRARIES \
505 install-ps install-ps-am install-strip installcheck \
506 installcheck-am installdirs maintainer-clean \
507 maintainer-clean-generic mostlyclean mostlyclean-compile \
508 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
509 tags uninstall uninstall-am uninstall-pluginimpLTLIBRARIES
510
511# Tell versions [3.59,3.63) of GNU make to not export all variables.
512# Otherwise a system limit (for SysV at least) may be exceeded.
513.NOEXPORT:
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.am b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.am
new file mode 100644
index 0000000..3a8a5da
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.am
@@ -0,0 +1,23 @@
1pluginimpdir = $(pkglibdir)/plugins/import
2
3if EXPERIMENTAL
4pluginimp_LTLIBRARIES = imp_rbh.la
5endif
6
7AM_CFLAGS = \
8 -Wall -ansi -pedantic \
9 -DG_LOG_DOMAIN=\"LibG3D\" \
10 @DBG_CFLAGS@ -DDEBUG=@DEBUG@ \
11 @GLIB_CFLAGS@
12
13INCLUDES = -I$(top_srcdir)/include
14
15AM_LDFLAGS = \
16 -no-undefined -module \
17 @PLUGINS_LDFLAGS@
18
19LIBTOOL += --quiet
20
21imp_rbh_la_SOURCES = imp_rbh.c imp_rbh_chunks.h \
22 imp_rbh_callbacks.c imp_rbh_callbacks.h
23imp_rbh_la_LIBADD = $(top_builddir)/src/libg3d.la @GLIB_LIBS@
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.in b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.in
new file mode 100644
index 0000000..0220749
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/Makefile.in
@@ -0,0 +1,513 @@
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
17VPATH = @srcdir@
18pkgdatadir = $(datadir)/@PACKAGE@
19pkglibdir = $(libdir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22install_sh_DATA = $(install_sh) -c -m 644
23install_sh_PROGRAM = $(install_sh) -c
24install_sh_SCRIPT = $(install_sh) -c
25INSTALL_HEADER = $(INSTALL_DATA)
26transform = $(program_transform_name)
27NORMAL_INSTALL = :
28PRE_INSTALL = :
29POST_INSTALL = :
30NORMAL_UNINSTALL = :
31PRE_UNINSTALL = :
32POST_UNINSTALL = :
33build_triplet = @build@
34host_triplet = @host@
35subdir = plugins/import/imp_rbh
36DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
39 $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \
40 $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
41 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \
42 $(top_srcdir)/configure.in
43am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44 $(ACLOCAL_M4)
45mkinstalldirs = $(install_sh) -d
46CONFIG_HEADER = $(top_builddir)/include/g3d/config.h
47CONFIG_CLEAN_FILES =
48am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
49am__vpath_adj = case $$p in \
50 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
51 *) f=$$p;; \
52 esac;
53am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
54am__installdirs = "$(DESTDIR)$(pluginimpdir)"
55pluginimpLTLIBRARIES_INSTALL = $(INSTALL)
56LTLIBRARIES = $(pluginimp_LTLIBRARIES)
57imp_rbh_la_DEPENDENCIES = $(top_builddir)/src/libg3d.la
58am_imp_rbh_la_OBJECTS = imp_rbh.lo imp_rbh_callbacks.lo
59imp_rbh_la_OBJECTS = $(am_imp_rbh_la_OBJECTS)
60@EXPERIMENTAL_TRUE@am_imp_rbh_la_rpath = -rpath $(pluginimpdir)
61DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/g3d
62depcomp = $(SHELL) $(top_srcdir)/config/depcomp
63am__depfiles_maybe = depfiles
64COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
65 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
66LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
67 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
68 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
69CCLD = $(CC)
70LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
71 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
72 $(LDFLAGS) -o $@
73SOURCES = $(imp_rbh_la_SOURCES)
74DIST_SOURCES = $(imp_rbh_la_SOURCES)
75ETAGS = etags
76CTAGS = ctags
77DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
78ACLOCAL = @ACLOCAL@
79AMTAR = @AMTAR@
80AR = @AR@
81AS = @AS@
82AUTOCONF = @AUTOCONF@
83AUTOHEADER = @AUTOHEADER@
84AUTOMAKE = @AUTOMAKE@
85AWK = @AWK@
86CC = @CC@
87CCDEPMODE = @CCDEPMODE@
88CFLAGS = @CFLAGS@
89CPP = @CPP@
90CPPFLAGS = @CPPFLAGS@
91CXX = @CXX@
92CXXCPP = @CXXCPP@
93CXXDEPMODE = @CXXDEPMODE@
94CXXFLAGS = @CXXFLAGS@
95CYGPATH_W = @CYGPATH_W@
96DBG_CFLAGS = @DBG_CFLAGS@
97DEBUG = @DEBUG@
98DEFS = @DEFS@
99DEPDIR = @DEPDIR@
100DLLTOOL = @DLLTOOL@
101ECHO = @ECHO@
102ECHO_C = @ECHO_C@
103ECHO_N = @ECHO_N@
104ECHO_T = @ECHO_T@
105EGREP = @EGREP@
106EXEEXT = @EXEEXT@
107F77 = @F77@
108FFLAGS = @FFLAGS@
109GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
110GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
111GLIB_CFLAGS = @GLIB_CFLAGS@
112GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
113GLIB_LIBS = @GLIB_LIBS@
114GLIB_MKENUMS = @GLIB_MKENUMS@
115GOBJECT_QUERY = @GOBJECT_QUERY@
116GREP = @GREP@
117GTKDOC_CHECK = @GTKDOC_CHECK@
118GTK_CFLAGS = @GTK_CFLAGS@
119GTK_LIBS = @GTK_LIBS@
120HTML_DIR = @HTML_DIR@
121INSTALL = @INSTALL@
122INSTALL_DATA = @INSTALL_DATA@
123INSTALL_PROGRAM = @INSTALL_PROGRAM@
124INSTALL_SCRIPT = @INSTALL_SCRIPT@
125INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
126LDFLAGS = @LDFLAGS@
127LEX = @LEX@
128LEXLIB = @LEXLIB@
129LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
130LIBGSF_CFLAGS = @LIBGSF_CFLAGS@
131LIBGSF_LIBS = @LIBGSF_LIBS@
132LIBOBJS = @LIBOBJS@
133LIBS = @LIBS@
134LIBTOOL = @LIBTOOL@ --quiet
135LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
136LIBXML2_LIBS = @LIBXML2_LIBS@
137LN_S = @LN_S@
138LTLIBOBJS = @LTLIBOBJS@
139LTVERSION = @LTVERSION@
140MAGIC_LIBS = @MAGIC_LIBS@
141MAKEINFO = @MAKEINFO@
142MATH_LIBS = @MATH_LIBS@
143MKDIR_P = @MKDIR_P@
144OBJDUMP = @OBJDUMP@
145OBJEXT = @OBJEXT@
146PACKAGE = @PACKAGE@
147PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
148PACKAGE_NAME = @PACKAGE_NAME@
149PACKAGE_STRING = @PACKAGE_STRING@
150PACKAGE_TARNAME = @PACKAGE_TARNAME@
151PACKAGE_VERSION = @PACKAGE_VERSION@
152PATH_SEPARATOR = @PATH_SEPARATOR@
153PKG_CONFIG = @PKG_CONFIG@
154PLUGINS_LDFLAGS = @PLUGINS_LDFLAGS@
155RANLIB = @RANLIB@
156SET_MAKE = @SET_MAKE@
157SHELL = @SHELL@
158STRIP = @STRIP@
159VERSION = @VERSION@
160XML2_CONFIG = @XML2_CONFIG@
161XML_CPPFLAGS = @XML_CPPFLAGS@
162XML_LIBS = @XML_LIBS@
163Z_CFLAGS = @Z_CFLAGS@
164Z_LIBS = @Z_LIBS@
165abs_builddir = @abs_builddir@
166abs_srcdir = @abs_srcdir@
167abs_top_builddir = @abs_top_builddir@
168abs_top_srcdir = @abs_top_srcdir@
169ac_ct_CC = @ac_ct_CC@
170ac_ct_CXX = @ac_ct_CXX@
171ac_ct_F77 = @ac_ct_F77@
172am__include = @am__include@
173am__leading_dot = @am__leading_dot@
174am__quote = @am__quote@
175am__tar = @am__tar@
176am__untar = @am__untar@
177bindir = @bindir@
178build = @build@
179build_alias = @build_alias@
180build_cpu = @build_cpu@
181build_os = @build_os@
182build_vendor = @build_vendor@
183builddir = @builddir@
184datadir = @datadir@
185datarootdir = @datarootdir@
186docdir = @docdir@
187dvidir = @dvidir@
188exec_prefix = @exec_prefix@
189host = @host@
190host_alias = @host_alias@
191host_cpu = @host_cpu@
192host_os = @host_os@
193host_vendor = @host_vendor@
194htmldir = @htmldir@
195includedir = @includedir@
196infodir = @infodir@
197install_sh = @install_sh@
198libdir = @libdir@
199libexecdir = @libexecdir@
200localedir = @localedir@
201localstatedir = @localstatedir@
202mandir = @mandir@
203mkdir_p = @mkdir_p@
204oldincludedir = @oldincludedir@
205pdfdir = @pdfdir@
206prefix = @prefix@
207program_transform_name = @program_transform_name@
208psdir = @psdir@
209sbindir = @sbindir@
210sharedstatedir = @sharedstatedir@
211srcdir = @srcdir@
212sysconfdir = @sysconfdir@
213target_alias = @target_alias@
214top_builddir = @top_builddir@
215top_srcdir = @top_srcdir@
216pluginimpdir = $(pkglibdir)/plugins/import
217@EXPERIMENTAL_TRUE@pluginimp_LTLIBRARIES = imp_rbh.la
218AM_CFLAGS = \
219 -Wall -ansi -pedantic \
220 -DG_LOG_DOMAIN=\"LibG3D\" \
221 @DBG_CFLAGS@ -DDEBUG=@DEBUG@ \
222 @GLIB_CFLAGS@
223
224INCLUDES = -I$(top_srcdir)/include
225AM_LDFLAGS = \
226 -no-undefined -module \
227 @PLUGINS_LDFLAGS@
228
229imp_rbh_la_SOURCES = imp_rbh.c imp_rbh_chunks.h \
230 imp_rbh_callbacks.c imp_rbh_callbacks.h
231
232imp_rbh_la_LIBADD = $(top_builddir)/src/libg3d.la @GLIB_LIBS@
233all: all-am
234
235.SUFFIXES:
236.SUFFIXES: .c .lo .o .obj
237$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
238 @for dep in $?; do \
239 case '$(am__configure_deps)' in \
240 *$$dep*) \
241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
242 && exit 0; \
243 exit 1;; \
244 esac; \
245 done; \
246 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/import/imp_rbh/Makefile'; \
247 cd $(top_srcdir) && \
248 $(AUTOMAKE) --gnu plugins/import/imp_rbh/Makefile
249.PRECIOUS: Makefile
250Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
251 @case '$?' in \
252 *config.status*) \
253 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
254 *) \
255 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
256 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
257 esac;
258
259$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
261
262$(top_srcdir)/configure: $(am__configure_deps)
263 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
264$(ACLOCAL_M4): $(am__aclocal_m4_deps)
265 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
266install-pluginimpLTLIBRARIES: $(pluginimp_LTLIBRARIES)
267 @$(NORMAL_INSTALL)
268 test -z "$(pluginimpdir)" || $(MKDIR_P) "$(DESTDIR)$(pluginimpdir)"
269 @list='$(pluginimp_LTLIBRARIES)'; for p in $$list; do \
270 if test -f $$p; then \
271 f=$(am__strip_dir) \
272 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginimpLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pluginimpdir)/$$f'"; \
273 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pluginimpLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pluginimpdir)/$$f"; \
274 else :; fi; \
275 done
276
277uninstall-pluginimpLTLIBRARIES:
278 @$(NORMAL_UNINSTALL)
279 @list='$(pluginimp_LTLIBRARIES)'; for p in $$list; do \
280 p=$(am__strip_dir) \
281 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pluginimpdir)/$$p'"; \
282 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pluginimpdir)/$$p"; \
283 done
284
285clean-pluginimpLTLIBRARIES:
286 -test -z "$(pluginimp_LTLIBRARIES)" || rm -f $(pluginimp_LTLIBRARIES)
287 @list='$(pluginimp_LTLIBRARIES)'; for p in $$list; do \
288 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
289 test "$$dir" != "$$p" || dir=.; \
290 echo "rm -f \"$${dir}/so_locations\""; \
291 rm -f "$${dir}/so_locations"; \
292 done
293imp_rbh.la: $(imp_rbh_la_OBJECTS) $(imp_rbh_la_DEPENDENCIES)
294 $(LINK) $(am_imp_rbh_la_rpath) $(imp_rbh_la_OBJECTS) $(imp_rbh_la_LIBADD) $(LIBS)
295
296mostlyclean-compile:
297 -rm -f *.$(OBJEXT)
298
299distclean-compile:
300 -rm -f *.tab.c
301
302@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imp_rbh.Plo@am__quote@
303@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imp_rbh_callbacks.Plo@am__quote@
304
305.c.o:
306@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
307@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
308@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
309@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
310@am__fastdepCC_FALSE@ $(COMPILE) -c $<
311
312.c.obj:
313@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
314@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
315@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
316@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
317@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
318
319.c.lo:
320@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
321@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
322@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
323@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
324@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
325
326mostlyclean-libtool:
327 -rm -f *.lo
328
329clean-libtool:
330 -rm -rf .libs _libs
331
332ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
333 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
334 unique=`for i in $$list; do \
335 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
336 done | \
337 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
338 END { if (nonempty) { for (i in files) print i; }; }'`; \
339 mkid -fID $$unique
340tags: TAGS
341
342TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
343 $(TAGS_FILES) $(LISP)
344 tags=; \
345 here=`pwd`; \
346 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
347 unique=`for i in $$list; do \
348 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
349 done | \
350 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
351 END { if (nonempty) { for (i in files) print i; }; }'`; \
352 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
353 test -n "$$unique" || unique=$$empty_fix; \
354 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
355 $$tags $$unique; \
356 fi
357ctags: CTAGS
358CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
359 $(TAGS_FILES) $(LISP)
360 tags=; \
361 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
362 unique=`for i in $$list; do \
363 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
364 done | \
365 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
366 END { if (nonempty) { for (i in files) print i; }; }'`; \
367 test -z "$(CTAGS_ARGS)$$tags$$unique" \
368 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
369 $$tags $$unique
370
371GTAGS:
372 here=`$(am__cd) $(top_builddir) && pwd` \
373 && cd $(top_srcdir) \
374 && gtags -i $(GTAGS_ARGS) $$here
375
376distclean-tags:
377 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
378
379distdir: $(DISTFILES)
380 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382 list='$(DISTFILES)'; \
383 dist_files=`for file in $$list; do echo $$file; done | \
384 sed -e "s|^$$srcdirstrip/||;t" \
385 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
386 case $$dist_files in \
387 */*) $(MKDIR_P) `echo "$$dist_files" | \
388 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 sort -u` ;; \
390 esac; \
391 for file in $$dist_files; do \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
395 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
396 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
397 fi; \
398 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
399 else \
400 test -f $(distdir)/$$file \
401 || cp -p $$d/$$file $(distdir)/$$file \
402 || exit 1; \
403 fi; \
404 done
405check-am: all-am
406check: check-am
407all-am: Makefile $(LTLIBRARIES)
408installdirs:
409 for dir in "$(DESTDIR)$(pluginimpdir)"; do \
410 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
411 done
412install: install-am
413install-exec: install-exec-am
414install-data: install-data-am
415uninstall: uninstall-am
416
417install-am: all-am
418 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
419
420installcheck: installcheck-am
421install-strip:
422 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
423 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
424 `test -z '$(STRIP)' || \
425 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
426mostlyclean-generic:
427
428clean-generic:
429
430distclean-generic:
431 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
432
433maintainer-clean-generic:
434 @echo "This command is intended for maintainers to use"
435 @echo "it deletes files that may require special tools to rebuild."
436clean: clean-am
437
438clean-am: clean-generic clean-libtool clean-pluginimpLTLIBRARIES \
439 mostlyclean-am
440
441distclean: distclean-am
442 -rm -rf ./$(DEPDIR)
443 -rm -f Makefile
444distclean-am: clean-am distclean-compile distclean-generic \
445 distclean-tags
446
447dvi: dvi-am
448
449dvi-am:
450
451html: html-am
452
453info: info-am
454
455info-am:
456
457install-data-am: install-pluginimpLTLIBRARIES
458
459install-dvi: install-dvi-am
460
461install-exec-am:
462
463install-html: install-html-am
464
465install-info: install-info-am
466
467install-man:
468
469install-pdf: install-pdf-am
470
471install-ps: install-ps-am
472
473installcheck-am:
474
475maintainer-clean: maintainer-clean-am
476 -rm -rf ./$(DEPDIR)
477 -rm -f Makefile
478maintainer-clean-am: distclean-am maintainer-clean-generic
479
480mostlyclean: mostlyclean-am
481
482mostlyclean-am: mostlyclean-compile mostlyclean-generic \
483 mostlyclean-libtool
484
485pdf: pdf-am
486
487pdf-am:
488
489ps: ps-am
490
491ps-am:
492
493uninstall-am: uninstall-pluginimpLTLIBRARIES
494
495.MAKE: install-am install-strip
496
497.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
498 clean-libtool clean-pluginimpLTLIBRARIES ctags distclean \
499 distclean-compile distclean-generic distclean-libtool \
500 distclean-tags distdir dvi dvi-am html html-am info info-am \
501 install install-am install-data install-data-am install-dvi \
502 install-dvi-am install-exec install-exec-am install-html \
503 install-html-am install-info install-info-am install-man \
504 install-pdf install-pdf-am install-pluginimpLTLIBRARIES \
505 install-ps install-ps-am install-strip installcheck \
506 installcheck-am installdirs maintainer-clean \
507 maintainer-clean-generic mostlyclean mostlyclean-compile \
508 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
509 tags uninstall uninstall-am uninstall-pluginimpLTLIBRARIES
510
511# Tell versions [3.59,3.63) of GNU make to not export all variables.
512# Otherwise a system limit (for SysV at least) may be exceeded.
513.NOEXPORT:
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh.c b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh.c
new file mode 100644
index 0000000..c763dab
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh.c
@@ -0,0 +1,88 @@
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 <string.h>
25
26#include <glib.h>
27
28#include <g3d/iff.h>
29#include <g3d/stream.h>
30
31#include "imp_rbh_chunks.h"
32
33EAPI
34gboolean plugin_load_model_from_stream(G3DContext *context, G3DStream *stream,
35 G3DModel *model, gpointer user_data)
36{
37 G3DIffGlobal *global;
38 G3DIffLocal *local;
39 guint32 id, len;
40
41 id = g3d_stream_read_int32_be(stream);
42 len = g3d_stream_read_int32_le(stream);
43
44 if(id != G3D_IFF_MKID('P', 'I', 'F', 'F'))
45 {
46 g_warning("%s is not a PIFF file", stream->uri);
47 return FALSE;
48 }
49
50 id = g3d_stream_read_int32_be(stream);
51 len -= 4;
52 if(id != G3D_IFF_MKID('R', 'B', 'H', 'F'))
53 {
54 g_warning("%s is not a RBHF file", stream->uri);
55 return FALSE;
56 }
57
58 local = g_new0(G3DIffLocal, 1);
59 global = g_new0(G3DIffGlobal, 1);
60
61 global->context = context;
62 global->model = model;
63 global->stream = stream;
64
65 local->parent_id = id;
66 local->nb = len;
67
68 g3d_iff_read_ctnr(global, local, rbh_chunks, G3D_IFF_LE | G3D_IFF_PAD2);
69
70 g_free(local);
71 g_free(global);
72
73 return TRUE;
74
75}
76
77EAPI
78gchar *plugin_description(void)
79{
80 return g_strdup("Discworld Noir models.");
81}
82
83EAPI
84gchar **plugin_extensions(void)
85{
86 return g_strsplit("rbh", ":", 0);
87}
88
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.c b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.c
new file mode 100644
index 0000000..04dca62
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.c
@@ -0,0 +1,116 @@
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#include <string.h>
23
24#include <g3d/iff.h>
25#include <g3d/stream.h>
26#include <g3d/material.h>
27#include <g3d/debug.h>
28
29static gchar *padding = " ";
30
31/* header */
32gboolean rbh_cb_RBHH(G3DIffGlobal *global, G3DIffLocal *local)
33{
34 guint32 x0, x1, x2;
35 guint32 i, num;
36
37 num = local->nb / 12;
38 for(i = 0; i < num; i ++)
39 {
40 x0 = g3d_stream_read_int32_le(global->stream);
41 x1 = g3d_stream_read_int32_le(global->stream);
42 x2 = g3d_stream_read_int32_le(global->stream);
43 local->nb -= 12;
44
45 g_debug("\\%s[RBH][RBHH] %d: 0x%08x 0x%08x 0x%08x",
46 padding + (strlen(padding) - local->level),
47 i + 1, x0, x1, x2);
48 }
49
50 return TRUE;
51}
52
53/* body */
54gboolean rbh_cb_BODY(G3DIffGlobal *global, G3DIffLocal *local)
55{
56 guint32 nverts, nfaces;
57 guint32 maxx = 0, x;
58 G3DObject *object;
59 G3DMaterial *material;
60
61 if(local->nb < 4) return TRUE; /* zero size BODY tags? */
62
63
64 nverts = g3d_stream_read_int16_le(global->stream);
65
66 nfaces = g3d_stream_read_int16_le(global->stream);
67 local->nb -= 4;
68
69 g_debug(
70 "\\%s[RBH][BODY] %d verts, %d faces, %d bytes remaining (%d x 4 + %d)",
71 padding + (strlen(padding) - local->level),
72 nverts, nfaces, local->nb,
73 local->nb / 4, local->nb % 4);
74
75 if(nverts == 0) return TRUE; /* skip for now */
76
77 object = g_new0(G3DObject, 1);
78 object->name = g_strdup("BODY");
79
80 material = g3d_material_new();
81 object->materials = g_slist_append(object->materials, material);
82
83 global->model->objects = g_slist_append(global->model->objects, object);
84
85 while(local->nb >= 4)
86 {
87 x = g3d_stream_read_int32_le(global->stream);
88 if(x > maxx) maxx = x;
89 local->nb -= 4;
90 }
91
92 g_debug("\\%s[RBH][BODY] max. value: %d",
93 padding + (strlen(padding) - local->level),
94 maxx);
95
96 return TRUE;
97}
98
99/* ?? */
100gboolean rbh_cb_RELC(G3DIffGlobal *global, G3DIffLocal *local)
101{
102 guint32 maxx = 0, x;
103
104 while(local->nb >= 4)
105 {
106 x = g3d_stream_read_int32_le(global->stream);
107 if(x > maxx) maxx = x;
108 local->nb -= 4;
109 }
110
111 g_debug("\\%s[RBH][RELC] max. value: %d",
112 padding + (strlen(padding) - local->level),
113 maxx);
114
115 return TRUE;
116}
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.h
new file mode 100644
index 0000000..d6b8d1d
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_callbacks.h
@@ -0,0 +1,32 @@
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#ifndef _IMP_RBH_CALLBACKS_H
24#define _IMP_RBH_CALLBACKS_H
25
26#include <g3d/iff.h>
27
28gboolean rbh_cb_RBHH(G3DIffGlobal *global, G3DIffLocal *local);
29gboolean rbh_cb_BODY(G3DIffGlobal *global, G3DIffLocal *local);
30gboolean rbh_cb_RELC(G3DIffGlobal *global, G3DIffLocal *local);
31
32#endif /* _IMP_RBH_CALLBACKS_H */
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_chunks.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_chunks.h
new file mode 100644
index 0000000..da8be20
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_rbh/imp_rbh_chunks.h
@@ -0,0 +1,38 @@
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#ifndef _IMP_RBH_CHUNKS_H
24#define _IMP_RBH_CHUNKS_H
25
26#include <g3d/iff.h>
27
28#include "imp_rbh_callbacks.h"
29
30static G3DIffChunkInfo rbh_chunks[] = {
31 { "RBHH", "RBH header", 0, rbh_cb_RBHH },
32 { "BODY", "body", 0, rbh_cb_BODY },
33 { "RELC", "unknown", 0, rbh_cb_RELC },
34
35 { NULL, NULL, 0, NULL }
36};
37
38#endif /* _IMP_RBH_CHUNKS_H */