Debian Codegraph @

python/Makefile.in

raw
1 # Makefile.in generated by automake 1.11.6 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, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # -*- Mode: Makefile -*-
19 #
20 # Makefile.am - automake file for Python interface to Redland
21 #
22 # Copyright (C) 2000-2005 David Beckett - http://www.dajobe.org/
23 # Copyright (C) 2000-2005 University of Bristol - http://www.bristol.ac.uk/
24 #
25 # This package is Free Software and part of Redland http://librdf.org/
26 #
27 # It is licensed under the following three licenses as alternatives:
28 # 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
29 # 2. GNU General Public License (GPL) V2 or any newer version
30 # 3. Apache License, V2.0 or any newer version
31 #
32 # You may not use this file except in compliance with at least one of
33 # the above three licenses.
34 #
35 # See LICENSE.html or LICENSE.txt at the top of this package for the
36 # full license terms.
37 #
38 #
39
40 VPATH = @srcdir@
41 am__make_dryrun = \
42 { \
43 am__dry=no; \
44 case $$MAKEFLAGS in \
45 *\\[\ \ ]*) \
46 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
47 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
48 *) \
49 for am__flg in $$MAKEFLAGS; do \
50 case $$am__flg in \
51 *=*|--*) ;; \
52 *n*) am__dry=yes; break;; \
53 esac; \
54 done;; \
55 esac; \
56 test $$am__dry = yes; \
57 }
58 pkgdatadir = $(datadir)/@PACKAGE@
59 pkgincludedir = $(includedir)/@PACKAGE@
60 pkglibdir = $(libdir)/@PACKAGE@
61 pkglibexecdir = $(libexecdir)/@PACKAGE@
62 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
63 install_sh_DATA = $(install_sh) -c -m 644
64 install_sh_PROGRAM = $(install_sh) -c
65 install_sh_SCRIPT = $(install_sh) -c
66 INSTALL_HEADER = $(INSTALL_DATA)
67 transform = $(program_transform_name)
68 NORMAL_INSTALL = :
69 PRE_INSTALL = :
70 POST_INSTALL = :
71 NORMAL_UNINSTALL = :
72 PRE_UNINSTALL = :
73 POST_UNINSTALL = :
74 build_triplet = @build@
75 host_triplet = @host@
76 subdir = python
77 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
78 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
80 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
81 $(ACLOCAL_M4)
82 mkinstalldirs = $(install_sh) -d
83 CONFIG_HEADER = $(top_builddir)/bindings_config.h
84 CONFIG_CLEAN_FILES =
85 CONFIG_CLEAN_VPATH_FILES =
86 SOURCES =
87 DIST_SOURCES =
88 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
89 html-recursive info-recursive install-data-recursive \
90 install-dvi-recursive install-exec-recursive \
91 install-html-recursive install-info-recursive \
92 install-pdf-recursive install-ps-recursive install-recursive \
93 installcheck-recursive installdirs-recursive pdf-recursive \
94 ps-recursive uninstall-recursive
95 am__can_run_installinfo = \
96 case $$AM_UPDATE_INFO_DIR in \
97 n|no|NO) false;; \
98 *) (install-info --version) >/dev/null 2>&1;; \
99 esac
100 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
101 am__vpath_adj = case $$p in \
102 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
103 *) f=$$p;; \
104 esac;
105 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
106 am__install_max = 40
107 am__nobase_strip_setup = \
108 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
109 am__nobase_strip = \
110 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
111 am__nobase_list = $(am__nobase_strip_setup); \
112 for p in $$list; do echo "$$p $$p"; done | \
113 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
114 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
115 if (++n[$$2] == $(am__install_max)) \
116 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
117 END { for (dir in files) print dir, files[dir] }'
118 am__base_list = \
119 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
120 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
121 am__uninstall_files_from_dir = { \
122 test -z "$$files" \
123 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
124 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
125 $(am__cd) "$$dir" && rm -f $$files; }; \
126 }
127 am__installdirs = "$(DESTDIR)$(pythondir)"
128 DATA = $(python_DATA)
129 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
130 distclean-recursive maintainer-clean-recursive
131 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
132 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
133 distdir
134 ETAGS = etags
135 CTAGS = ctags
136 DIST_SUBDIRS = $(SUBDIRS)
137 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
138 am__relativize = \
139 dir0=`pwd`; \
140 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
141 sed_rest='s,^[^/]*/*,,'; \
142 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
143 sed_butlast='s,/*[^/]*$$,,'; \
144 while test -n "$$dir1"; do \
145 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
146 if test "$$first" != "."; then \
147 if test "$$first" = ".."; then \
148 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
149 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
150 else \
151 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
152 if test "$$first2" = "$$first"; then \
153 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
154 else \
155 dir2="../$$dir2"; \
156 fi; \
157 dir0="$$dir0"/"$$first"; \
158 fi; \
159 fi; \
160 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
161 done; \
162 reldir="$$dir2"
163 ACLOCAL = @ACLOCAL@
164 AMTAR = @AMTAR@
165 AR = @AR@
166 AUTOCONF = @AUTOCONF@
167 AUTOHEADER = @AUTOHEADER@
168 AUTOMAKE = @AUTOMAKE@
169 AWK = @AWK@
170 CC = @CC@
171 CCDEPMODE = @CCDEPMODE@
172 CFLAGS = @CFLAGS@
173 CPP = @CPP@
174 CPPFLAGS = @CPPFLAGS@
175 CYGPATH_W = @CYGPATH_W@
176 DEFS = @DEFS@
177 DEPDIR = @DEPDIR@
178 DLLTOOL = @DLLTOOL@
179 DSYMUTIL = @DSYMUTIL@
180 DUMPBIN = @DUMPBIN@
181 ECHO = @ECHO@
182 ECHO_C = @ECHO_C@
183 ECHO_N = @ECHO_N@
184 ECHO_T = @ECHO_T@
185 EGREP = @EGREP@
186 EXEEXT = @EXEEXT@
187 FGREP = @FGREP@
188 GREP = @GREP@
189 INSTALL = @INSTALL@
190 INSTALL_DATA = @INSTALL_DATA@
191 INSTALL_PROGRAM = @INSTALL_PROGRAM@
192 INSTALL_SCRIPT = @INSTALL_SCRIPT@
193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
194 LD = @LD@
195 LDFLAGS = @LDFLAGS@
196 LIBOBJS = @LIBOBJS@
197 LIBRDF_CPPFLAGS = @LIBRDF_CPPFLAGS@
198 LIBRDF_LDFLAGS = @LIBRDF_LDFLAGS@
199 LIBS = @LIBS@
200 LIBTOOL = @LIBTOOL@
201 LIPO = @LIPO@
202 LN_S = @LN_S@
203 LTLIBOBJS = @LTLIBOBJS@
204 LUA = @LUA@
205 LUA_CFLAGS = @LUA_CFLAGS@
206 LUA_LDFLAGS = @LUA_LDFLAGS@
207 MAINT = @MAINT@
208 MAKEINFO = @MAKEINFO@
209 MANIFEST_TOOL = @MANIFEST_TOOL@
210 MEM = @MEM@
211 MEM_LIBS = @MEM_LIBS@
212 MKDIR_P = @MKDIR_P@
213 NM = @NM@
214 NMEDIT = @NMEDIT@
215 OBJDUMP = @OBJDUMP@
216 OBJEXT = @OBJEXT@
217 OTOOL = @OTOOL@
218 OTOOL64 = @OTOOL64@
219 PACKAGE = @PACKAGE@
220 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
221 PACKAGE_NAME = @PACKAGE_NAME@
222 PACKAGE_STRING = @PACKAGE_STRING@
223 PACKAGE_TARNAME = @PACKAGE_TARNAME@
224 PACKAGE_URL = @PACKAGE_URL@
225 PACKAGE_VERSION = @PACKAGE_VERSION@
226 PATH_SEPARATOR = @PATH_SEPARATOR@
227 PERL = @PERL@
228 PERLINSTALLSITEARCH = @PERLINSTALLSITEARCH@
229 PERLMAN3DIR = @PERLMAN3DIR@
230 PERL_MAKEMAKER_ARGS = @PERL_MAKEMAKER_ARGS@
231 PERL_VERSION = @PERL_VERSION@
232 PHP = @PHP@
233 PHP_CFLAGS = @PHP_CFLAGS@
234 PHP_CONFIG = @PHP_CONFIG@
235 PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@
236 PHP_INCLUDES = @PHP_INCLUDES@
237 PHP_LDFLAGS = @PHP_LDFLAGS@
238 PHP_SO_SUFFIX = @PHP_SO_SUFFIX@
239 PHP_SWIG = @PHP_SWIG@
240 PHP_VERSION = @PHP_VERSION@
241 PKG_CONFIG = @PKG_CONFIG@
242 PYTHON = @PYTHON@
243 PYTHON_INCLUDES = @PYTHON_INCLUDES@
244 PYTHON_LDFLAGS = @PYTHON_LDFLAGS@
245 PYTHON_LIB = @PYTHON_LIB@
246 PYTHON_LIBEXT = @PYTHON_LIBEXT@
247 PYTHON_VERSION = @PYTHON_VERSION@
248 RANLIB = @RANLIB@
249 RAPTOR_LDFLAGS = @RAPTOR_LDFLAGS@
250 RASQAL_LDFLAGS = @RASQAL_LDFLAGS@
251 REDLAND_CONFIG = @REDLAND_CONFIG@
252 REDLAND_RUN = @REDLAND_RUN@
253 REDLAND_SWIG = @REDLAND_SWIG@
254 REDLAND_VERSION = @REDLAND_VERSION@
255 RUBY = @RUBY@
256 RUBY_ARCH_INSTALLDIR = @RUBY_ARCH_INSTALLDIR@
257 RUBY_CFLAGS = @RUBY_CFLAGS@
258 RUBY_INCLUDES = @RUBY_INCLUDES@
259 RUBY_INSTALLDIR = @RUBY_INSTALLDIR@
260 RUBY_LDFLAGS = @RUBY_LDFLAGS@
261 RUBY_PACKAGE = @RUBY_PACKAGE@
262 RUBY_SO_SUFFIX = @RUBY_SO_SUFFIX@
263 RUBY_VERSION = @RUBY_VERSION@
264 SD = @SD@
265 SED = @SED@
266 SET_MAKE = @SET_MAKE@
267 SHELL = @SHELL@
268 STANDARD_CFLAGS = @STANDARD_CFLAGS@
269 STRIP = @STRIP@
270 SWIG = @SWIG@
271 SWIG_PYTHON_ARGS = @SWIG_PYTHON_ARGS@
272 TAR = @TAR@
273 VERSION = @VERSION@
274 abs_builddir = @abs_builddir@
275 abs_srcdir = @abs_srcdir@
276 abs_top_builddir = @abs_top_builddir@
277 abs_top_srcdir = @abs_top_srcdir@
278 ac_ct_AR = @ac_ct_AR@
279 ac_ct_CC = @ac_ct_CC@
280 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
281 am__include = @am__include@
282 am__leading_dot = @am__leading_dot@
283 am__quote = @am__quote@
284 am__tar = @am__tar@
285 am__untar = @am__untar@
286 bindir = @bindir@
287 build = @build@
288 build_alias = @build_alias@
289 build_cpu = @build_cpu@
290 build_os = @build_os@
291 build_vendor = @build_vendor@
292 builddir = @builddir@
293 datadir = @datadir@
294 datarootdir = @datarootdir@
295 docdir = @docdir@
296 dvidir = @dvidir@
297 exec_prefix = @exec_prefix@
298 host = @host@
299 host_alias = @host_alias@
300 host_cpu = @host_cpu@
301 host_os = @host_os@
302 host_vendor = @host_vendor@
303 htmldir = @htmldir@
304 includedir = @includedir@
305 infodir = @infodir@
306 install_sh = @install_sh@
307 libdir = @libdir@
308 libexecdir = @libexecdir@
309 localedir = @localedir@
310 localstatedir = @localstatedir@
311 mandir = @mandir@
312 mkdir_p = @mkdir_p@
313 oldincludedir = @oldincludedir@
314 pdfdir = @pdfdir@
315 prefix = @prefix@
316 program_transform_name = @program_transform_name@
317 psdir = @psdir@
318 sbindir = @sbindir@
319 sharedstatedir = @sharedstatedir@
320 srcdir = @srcdir@
321 sysconfdir = @sysconfdir@
322 target_alias = @target_alias@
323 top_build_prefix = @top_build_prefix@
324 top_builddir = @top_builddir@
325 top_srcdir = @top_srcdir@
326 RELEASE = @VERSION_RELEASE@
327
328 # SWIG 1.3.27+ Needs SWIG_PYTHON_SILENT_MEMLEAK: I know better than SWIG
329 swig_flags = -DSWIG_PYTHON_SILENT_MEMLEAK
330 AM_CPPFLAGS = @CPPFLAGS@ @LIBRDF_CPPFLAGS@ $(PYTHON_INCLUDES) $(swig_flags)
331 AM_CFLAGS = @CFLAGS@ @LIBRDF_CPPFLAGS@ $(MEM) $(swig_flags)
332
333 # This module needs Rasqal and Raptor symbols
334 AM_LDFLAGS = @LIBRDF_LDFLAGS@ $(MEM_LIBS) @RASQAL_LDFLAGS@
335 PYTHON_PACKAGE = Redland
336
337 # Redland.py wraps and loads _Redland.so/dylib
338 PYTHON_FULL_DYLIB = _$(PYTHON_PACKAGE)$(PYTHON_LIBEXT)
339 SWIG_OUTPUTS = $(PYTHON_PACKAGE)_wrap.c Redland.py
340 pythondir = @PYTHON_LIB@
341 python_DATA = RDF.py $(PYTHON_FULL_DYLIB) Redland.py
342 EXTRA_DIST = README RDF.py \
343 example.py redlandtest.py \
344 redland-pre.i redland-post.i redland-decl.i redland-typemap.i $(SWIG_OUTPUTS)
345
346 SUBDIRS = test
347 CLEANFILES = *.db *.pyc test-out.rdf \
348 $(PYTHON_PACKAGE)_wrap.so $(PYTHON_PACKAGE)_wrap.o $(PYTHON_PACKAGE)-stamp \
349 $(PYTHON_FULL_DYLIB) $(PYTHON_PACKAGE).bundle
350
351 MAINTAINERCLEANFILES = $(SWIG_OUTPUTS) $(SWIG_CRUFT)
352 RUN = @REDLAND_RUN@
353 SWIG_OPTS = -I$(srcdir) -I$(srcdir)/.. -DREDLAND_PRE_I -DREDLAND_POST_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I
354 all: all-recursive
355
356 .SUFFIXES:
357 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
358 @for dep in $?; do \
359 case '$(am__configure_deps)' in \
360 *$$dep*) \
361 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
362 && { if test -f $@; then exit 0; else break; fi; }; \
363 exit 1;; \
364 esac; \
365 done; \
366 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/Makefile'; \
367 $(am__cd) $(top_srcdir) && \
368 $(AUTOMAKE) --gnu python/Makefile
369 .PRECIOUS: Makefile
370 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
371 @case '$?' in \
372 *config.status*) \
373 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
374 *) \
375 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
376 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
377 esac;
378
379 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
380 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
381
382 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
383 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
384 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
385 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
386 $(am__aclocal_m4_deps):
387
388 mostlyclean-libtool:
389 -rm -f *.lo
390
391 clean-libtool:
392 -rm -rf .libs _libs
393
394 # This directory's subdirectories are mostly independent; you can cd
395 # into them and run `make' without going through this Makefile.
396 # To change the values of `make' variables: instead of editing Makefiles,
397 # (1) if the variable is set in `config.status', edit `config.status'
398 # (which will cause the Makefiles to be regenerated when you run `make');
399 # (2) otherwise, pass the desired values on the `make' command line.
400 $(RECURSIVE_TARGETS):
401 @fail= failcom='exit 1'; \
402 for f in x $$MAKEFLAGS; do \
403 case $$f in \
404 *=* | --[!k]*);; \
405 *k*) failcom='fail=yes';; \
406 esac; \
407 done; \
408 dot_seen=no; \
409 target=`echo $@ | sed s/-recursive//`; \
410 list='$(SUBDIRS)'; for subdir in $$list; do \
411 echo "Making $$target in $$subdir"; \
412 if test "$$subdir" = "."; then \
413 dot_seen=yes; \
414 local_target="$$target-am"; \
415 else \
416 local_target="$$target"; \
417 fi; \
418 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
419 || eval $$failcom; \
420 done; \
421 if test "$$dot_seen" = "no"; then \
422 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
423 fi; test -z "$$fail"
424
425 $(RECURSIVE_CLEAN_TARGETS):
426 @fail= failcom='exit 1'; \
427 for f in x $$MAKEFLAGS; do \
428 case $$f in \
429 *=* | --[!k]*);; \
430 *k*) failcom='fail=yes';; \
431 esac; \
432 done; \
433 dot_seen=no; \
434 case "$@" in \
435 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
436 *) list='$(SUBDIRS)' ;; \
437 esac; \
438 rev=''; for subdir in $$list; do \
439 if test "$$subdir" = "."; then :; else \
440 rev="$$subdir $$rev"; \
441 fi; \
442 done; \
443 rev="$$rev ."; \
444 target=`echo $@ | sed s/-recursive//`; \
445 for subdir in $$rev; do \
446 echo "Making $$target in $$subdir"; \
447 if test "$$subdir" = "."; then \
448 local_target="$$target-am"; \
449 else \
450 local_target="$$target"; \
451 fi; \
452 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
453 || eval $$failcom; \
454 done && test -z "$$fail"
455 tags-recursive:
456 list='$(SUBDIRS)'; for subdir in $$list; do \
457 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
458 done
459 ctags-recursive:
460 list='$(SUBDIRS)'; for subdir in $$list; do \
461 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
462 done
463
464 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
465 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
466 unique=`for i in $$list; do \
467 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
468 done | \
469 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
470 END { if (nonempty) { for (i in files) print i; }; }'`; \
471 mkid -fID $$unique
472 tags: TAGS
473
474 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
475 $(TAGS_FILES) $(LISP)
476 set x; \
477 here=`pwd`; \
478 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
479 include_option=--etags-include; \
480 empty_fix=.; \
481 else \
482 include_option=--include; \
483 empty_fix=; \
484 fi; \
485 list='$(SUBDIRS)'; for subdir in $$list; do \
486 if test "$$subdir" = .; then :; else \
487 test ! -f $$subdir/TAGS || \
488 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
489 fi; \
490 done; \
491 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
492 unique=`for i in $$list; do \
493 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
494 done | \
495 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
496 END { if (nonempty) { for (i in files) print i; }; }'`; \
497 shift; \
498 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
499 test -n "$$unique" || unique=$$empty_fix; \
500 if test $$# -gt 0; then \
501 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
502 "$$@" $$unique; \
503 else \
504 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
505 $$unique; \
506 fi; \
507 fi
508 ctags: CTAGS
509 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
510 $(TAGS_FILES) $(LISP)
511 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
512 unique=`for i in $$list; do \
513 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
514 done | \
515 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
516 END { if (nonempty) { for (i in files) print i; }; }'`; \
517 test -z "$(CTAGS_ARGS)$$unique" \
518 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
519 $$unique
520
521 GTAGS:
522 here=`$(am__cd) $(top_builddir) && pwd` \
523 && $(am__cd) $(top_srcdir) \
524 && gtags -i $(GTAGS_ARGS) "$$here"
525
526 distclean-tags:
527 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
528
529 distdir: $(DISTFILES)
530 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
531 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
532 list='$(DISTFILES)'; \
533 dist_files=`for file in $$list; do echo $$file; done | \
534 sed -e "s|^$$srcdirstrip/||;t" \
535 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
536 case $$dist_files in \
537 */*) $(MKDIR_P) `echo "$$dist_files" | \
538 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
539 sort -u` ;; \
540 esac; \
541 for file in $$dist_files; do \
542 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
543 if test -d $$d/$$file; then \
544 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
545 if test -d "$(distdir)/$$file"; then \
546 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
547 fi; \
548 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
549 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
550 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
551 fi; \
552 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
553 else \
554 test -f "$(distdir)/$$file" \
555 || cp -p $$d/$$file "$(distdir)/$$file" \
556 || exit 1; \
557 fi; \
558 done
559 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
560 if test "$$subdir" = .; then :; else \
561 $(am__make_dryrun) \
562 || test -d "$(distdir)/$$subdir" \
563 || $(MKDIR_P) "$(distdir)/$$subdir" \
564 || exit 1; \
565 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
566 $(am__relativize); \
567 new_distdir=$$reldir; \
568 dir1=$$subdir; dir2="$(top_distdir)"; \
569 $(am__relativize); \
570 new_top_distdir=$$reldir; \
571 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
572 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
573 ($(am__cd) $$subdir && \
574 $(MAKE) $(AM_MAKEFLAGS) \
575 top_distdir="$$new_top_distdir" \
576 distdir="$$new_distdir" \
577 am__remove_distdir=: \
578 am__skip_length_check=: \
579 am__skip_mode_fix=: \
580 distdir) \
581 || exit 1; \
582 fi; \
583 done
584 check-am: all-am
585 $(MAKE) $(AM_MAKEFLAGS) check-local
586 check: check-recursive
587 all-am: Makefile $(DATA)
588 installdirs: installdirs-recursive
589 installdirs-am:
590 for dir in "$(DESTDIR)$(pythondir)"; do \
591 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
592 done
593 install: install-recursive
594 install-exec: install-exec-recursive
595 install-data: install-data-recursive
596 uninstall: uninstall-recursive
597
598 install-am: all-am
599 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
600
601 installcheck: installcheck-recursive
602 install-strip:
603 if test -z '$(STRIP)'; then \
604 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
605 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
606 install; \
607 else \
608 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
609 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
610 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
611 fi
612 mostlyclean-generic:
613
614 clean-generic:
615 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
616
617 distclean-generic:
618 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
619 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
620
621 maintainer-clean-generic:
622 @echo "This command is intended for maintainers to use"
623 @echo "it deletes files that may require special tools to rebuild."
624 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
625 clean: clean-recursive
626
627 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
628
629 distclean: distclean-recursive
630 -rm -f Makefile
631 distclean-am: clean-am distclean-generic distclean-tags
632
633 dvi: dvi-recursive
634
635 dvi-am:
636
637 html: html-recursive
638
639 html-am:
640
641 info: info-recursive
642
643 info-am:
644
645 install-data-am: install-pythonDATA
646
647 install-dvi: install-dvi-recursive
648
649 install-dvi-am:
650
651 install-exec-am:
652
653 install-html: install-html-recursive
654
655 install-html-am:
656
657 install-info: install-info-recursive
658
659 install-info-am:
660
661 install-man:
662
663 install-pdf: install-pdf-recursive
664
665 install-pdf-am:
666
667 install-ps: install-ps-recursive
668
669 install-ps-am:
670
671 installcheck-am:
672
673 maintainer-clean: maintainer-clean-recursive
674 -rm -f Makefile
675 maintainer-clean-am: distclean-am maintainer-clean-generic
676
677 mostlyclean: mostlyclean-recursive
678
679 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
680
681 pdf: pdf-recursive
682
683 pdf-am:
684
685 ps: ps-recursive
686
687 ps-am:
688
689 uninstall-am: uninstall-pythonDATA
690
691 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
692 ctags-recursive install-am install-strip tags-recursive
693
694 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
695 all all-am check check-am check-local clean clean-generic \
696 clean-libtool clean-local ctags ctags-recursive distclean \
697 distclean-generic distclean-libtool distclean-tags distdir dvi \
698 dvi-am html html-am info info-am install install-am \
699 install-data install-data-am install-dvi install-dvi-am \
700 install-exec install-exec-am install-html install-html-am \
701 install-info install-info-am install-man install-pdf \
702 install-pdf-am install-ps install-ps-am install-pythonDATA \
703 install-strip installcheck installcheck-am installdirs \
704 installdirs-am maintainer-clean maintainer-clean-generic \
705 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
706 ps ps-am tags tags-recursive uninstall uninstall-am \
707 uninstall-pythonDATA
708
709
710 $(PYTHON_PACKAGE)_wrap.c: @REDLAND_SWIG@ redland-post.i redland-decl.i redland-typemap.i
711 swig -v -python $(SWIG_OPTS) $(SWIG_PYTHON_ARGS) -module $(PYTHON_PACKAGE) -o $@ @REDLAND_SWIG@
712
713 $(PYTHON_PACKAGE)_wrap.so: $(srcdir)/$(PYTHON_PACKAGE)_wrap.c
714 $(CC) $(DEFS) $(SWIG_OPTS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(STANDARD_CFLAGS) -fPIC -DPIC $(srcdir)/$(PYTHON_PACKAGE)_wrap.c -c -o $@
715
716 $(PYTHON_FULL_DYLIB): $(PYTHON_PACKAGE)-stamp
717 $(PYTHON_PACKAGE)-stamp: $(PYTHON_PACKAGE)_wrap.so
718 $(CC) $(AM_CFLAGS) $(CFLAGS) $(PYTHON_PACKAGE)_wrap.so $(PYTHON_LDFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $(PYTHON_FULL_DYLIB)
719 touch $(PYTHON_PACKAGE)-stamp
720
721 install-pythonDATA: $(python_DATA)
722 $(mkinstalldirs) $(DESTDIR)$(pythondir)
723 $(INSTALL_PROGRAM) $(PYTHON_FULL_DYLIB) $(DESTDIR)$(pythondir)/$(PYTHON_FULL_DYLIB)
724 $(INSTALL_DATA) RDF.py $(DESTDIR)$(pythondir)/RDF.py
725 $(INSTALL_DATA) Redland.py $(DESTDIR)$(pythondir)/Redland.py
726
727 uninstall-pythonDATA: $(python_DATA)
728 rm -f $(DESTDIR)$(pythondir)/$(PYTHON_FULL_DYLIB) $(DESTDIR)$(pythondir)/RDF.{py,pyc} $(DESTDIR)$(pythondir)/Redland.{py,pyc}
729
730 clean-local:
731 rm -rf __pycache__
732
733 check-local: unittest-python test-python
734
735 test-python: $(PYTHON_FULL_DYLIB)
736 PYTHONPATH=. \
737 $(RUN)$(PYTHON) $(srcdir)/test/test.py
738
739 unittest-python: $(PYTHON_FULL_DYLIB)
740 PYTHONPATH=. \
741 $(RUN)$(PYTHON) $(srcdir)/redlandtest.py
742
743 RDF.html: RDF.py $(PYTHON_FULL_DYLIB)
744 PYTHONPATH=. \
745 $(RUN)$(PYTHON) -c 'import pydoc; pydoc.cli()' -w RDF
746
747 # Tell versions [3.59,3.63) of GNU make to not export all variables.
748 # Otherwise a system limit (for SysV at least) may be exceeded.
749 .NOEXPORT: