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