1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 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.
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.
15 @SET_MAKE@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = ..
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 build_triplet = @build@
37 host_triplet = @host@
38 target_triplet = @target@
39 subdir = bindings
40 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43 $(top_srcdir)/configure.ac
44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45 $(ACLOCAL_M4)
46 mkinstalldirs = $(install_sh) -d
47 CONFIG_HEADER = $(top_builddir)/rrd_config.h
48 CONFIG_CLEAN_FILES =
49 SOURCES =
50 DIST_SOURCES =
51 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
52 html-recursive info-recursive install-data-recursive \
53 install-exec-recursive install-info-recursive \
54 install-recursive installcheck-recursive installdirs-recursive \
55 pdf-recursive ps-recursive uninstall-info-recursive \
56 uninstall-recursive
57 ETAGS = etags
58 CTAGS = ctags
59 DIST_SUBDIRS = tcl
60 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61 ACLOCAL = @ACLOCAL@
62 ALL_LIBS = @ALL_LIBS@
63 AMDEP_FALSE = @AMDEP_FALSE@
64 AMDEP_TRUE = @AMDEP_TRUE@
65 AMTAR = @AMTAR@
66 AR = @AR@
67 AUTOCONF = @AUTOCONF@
68 AUTOHEADER = @AUTOHEADER@
69 AUTOMAKE = @AUTOMAKE@
70 AWK = @AWK@
71 BUILD_MULTITHREAD_FALSE = @BUILD_MULTITHREAD_FALSE@
72 BUILD_MULTITHREAD_TRUE = @BUILD_MULTITHREAD_TRUE@
73 BUILD_RRDCGI_FALSE = @BUILD_RRDCGI_FALSE@
74 BUILD_RRDCGI_TRUE = @BUILD_RRDCGI_TRUE@
75 BUILD_TCL_FALSE = @BUILD_TCL_FALSE@
76 BUILD_TCL_SITE_FALSE = @BUILD_TCL_SITE_FALSE@
77 BUILD_TCL_SITE_TRUE = @BUILD_TCL_SITE_TRUE@
78 BUILD_TCL_TRUE = @BUILD_TCL_TRUE@
79 CC = @CC@
80 CCDEPMODE = @CCDEPMODE@
81 CFLAGS = @CFLAGS@
82 COMP_PERL = @COMP_PERL@
83 COMP_PYTHON = @COMP_PYTHON@
84 COMP_RUBY = @COMP_RUBY@
85 CORE_LIBS = @CORE_LIBS@
86 CPP = @CPP@
87 CPPFLAGS = @CPPFLAGS@
88 CXX = @CXX@
89 CXXCPP = @CXXCPP@
90 CXXDEPMODE = @CXXDEPMODE@
91 CXXFLAGS = @CXXFLAGS@
92 CYGPATH_W = @CYGPATH_W@
93 DEFS = @DEFS@
94 DEPDIR = @DEPDIR@
95 ECHO = @ECHO@
96 ECHO_C = @ECHO_C@
97 ECHO_N = @ECHO_N@
98 ECHO_T = @ECHO_T@
99 EGREP = @EGREP@
100 EXEEXT = @EXEEXT@
101 F77 = @F77@
102 FFLAGS = @FFLAGS@
103 GREP = @GREP@
104 INSTALL_DATA = @INSTALL_DATA@
105 INSTALL_PROGRAM = @INSTALL_PROGRAM@
106 INSTALL_SCRIPT = @INSTALL_SCRIPT@
107 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
108 LDFLAGS = @LDFLAGS@
109 LIBOBJS = @LIBOBJS@
110 LIBS = @LIBS@
111 LIBTOOL = @LIBTOOL@
112 LN_S = @LN_S@
113 LTLIBOBJS = @LTLIBOBJS@
114 MAKEINFO = @MAKEINFO@
115 MULTITHREAD_CFLAGS = @MULTITHREAD_CFLAGS@
116 MULTITHREAD_LDFLAGS = @MULTITHREAD_LDFLAGS@
117 NROFF = @NROFF@
118 NUMVERS = @NUMVERS@
119 OBJEXT = @OBJEXT@
120 PACKAGE = @PACKAGE@
121 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
122 PACKAGE_NAME = @PACKAGE_NAME@
123 PACKAGE_STRING = @PACKAGE_STRING@
124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_VERSION = @PACKAGE_VERSION@
126 PATH_SEPARATOR = @PATH_SEPARATOR@
127 PERL = @PERL@
128 PERLCC = @PERLCC@
129 PERLCCFLAGS = @PERLCCFLAGS@
130 PERLFLAGS = @PERLFLAGS@
131 PERLLD = @PERLLD@
132 PERLLDFLAGS = @PERLLDFLAGS@
133 PERL_CC = @PERL_CC@
134 PERL_MAKE_OPTIONS = @PERL_MAKE_OPTIONS@
135 PERL_VERSION = @PERL_VERSION@
136 PKGCONFIG = @PKGCONFIG@
137 PTHREAD_CC = @PTHREAD_CC@
138 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
139 PTHREAD_LIBS = @PTHREAD_LIBS@
140 PYTHON = @PYTHON@
141 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
142 PYTHON_INCLUDES = @PYTHON_INCLUDES@
143 PYTHON_PLATFORM = @PYTHON_PLATFORM@
144 PYTHON_PREFIX = @PYTHON_PREFIX@
145 PYTHON_VERSION = @PYTHON_VERSION@
146 RANLIB = @RANLIB@
147 RRDDOCDIR = @RRDDOCDIR@
148 RRDGRAPH_YLEGEND_ANGLE = @RRDGRAPH_YLEGEND_ANGLE@
149 RRD_DEFAULT_FONT = @RRD_DEFAULT_FONT@
150 RUBY = @RUBY@
151 RUBY_MAKE_OPTIONS = @RUBY_MAKE_OPTIONS@
152 SET_MAKE = @SET_MAKE@
153 SHELL = @SHELL@
154 STRIP = @STRIP@
155 TCL_LD_SEARCH_FLAGS = @TCL_LD_SEARCH_FLAGS@
156 TCL_PACKAGE_DIR = @TCL_PACKAGE_DIR@
157 TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
158 TCL_PREFIX = @TCL_PREFIX@
159 TCL_SHLIB_CFLAGS = @TCL_SHLIB_CFLAGS@
160 TCL_SHLIB_LD = @TCL_SHLIB_LD@
161 TCL_SHLIB_SUFFIX = @TCL_SHLIB_SUFFIX@
162 TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
163 TCL_VERSION = @TCL_VERSION@
164 TROFF = @TROFF@
165 VERSION = @VERSION@
166 ac_ct_CC = @ac_ct_CC@
167 ac_ct_CXX = @ac_ct_CXX@
168 ac_ct_F77 = @ac_ct_F77@
169 acx_pthread_config = @acx_pthread_config@
170 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
171 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
172 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
173 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
174 am__include = @am__include@
175 am__leading_dot = @am__leading_dot@
176 am__quote = @am__quote@
177 am__tar = @am__tar@
178 am__untar = @am__untar@
179 bindir = @bindir@
180 build = @build@
181 build_alias = @build_alias@
182 build_cpu = @build_cpu@
183 build_os = @build_os@
184 build_vendor = @build_vendor@
185 datadir = @datadir@
186 datarootdir = @datarootdir@
187 docdir = @docdir@
188 dvidir = @dvidir@
189 exec_prefix = @exec_prefix@
190 host = @host@
191 host_alias = @host_alias@
192 host_cpu = @host_cpu@
193 host_os = @host_os@
194 host_vendor = @host_vendor@
195 htmldir = @htmldir@
196 includedir = @includedir@
197 infodir = @infodir@
198 install_sh = @install_sh@
199 libdir = @libdir@
200 libexecdir = @libexecdir@
201 localedir = @localedir@
202 localstatedir = @localstatedir@
203 mandir = @mandir@
204 mkdir_p = @mkdir_p@
205 oldincludedir = @oldincludedir@
206 pdfdir = @pdfdir@
207 pkgpyexecdir = @pkgpyexecdir@
208 pkgpythondir = @pkgpythondir@
209 prefix = @prefix@
210 program_transform_name = @program_transform_name@
211 psdir = @psdir@
212 pyexecdir = @pyexecdir@
213 pythondir = @pythondir@
214 sbindir = @sbindir@
215 sharedstatedir = @sharedstatedir@
216 sysconfdir = @sysconfdir@
217 target = @target@
218 target_alias = @target_alias@
219 target_cpu = @target_cpu@
220 target_os = @target_os@
221 target_vendor = @target_vendor@
222 @BUILD_TCL_TRUE@SUB_tcl = tcl
223 SUBDIRS = $(SUB_tcl)
225 # the following files are not mentioned in any other Makefile
226 EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
227 perl-shared/ntmake.pl perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t \
228 ruby/CHANGES ruby/README ruby/extconf.rb ruby/main.c ruby/test.rb \
229 python/ACKNOWLEDGEMENT python/AUTHORS python/COPYING python/README python/rrd_extra.h python/rrdtoolmodule.c python/setup.py
231 all: all-recursive
233 .SUFFIXES:
234 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
235 @for dep in $?; do \
236 case '$(am__configure_deps)' in \
237 *$$dep*) \
238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
239 && exit 0; \
240 exit 1;; \
241 esac; \
242 done; \
243 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign bindings/Makefile'; \
244 cd $(top_srcdir) && \
245 $(AUTOMAKE) --foreign bindings/Makefile
246 .PRECIOUS: Makefile
247 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
248 @case '$?' in \
249 *config.status*) \
250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
251 *) \
252 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
253 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
254 esac;
256 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
257 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
259 $(top_srcdir)/configure: $(am__configure_deps)
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
261 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
262 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
264 mostlyclean-libtool:
265 -rm -f *.lo
267 clean-libtool:
268 -rm -rf .libs _libs
270 distclean-libtool:
271 -rm -f libtool
272 uninstall-info-am:
274 # This directory's subdirectories are mostly independent; you can cd
275 # into them and run `make' without going through this Makefile.
276 # To change the values of `make' variables: instead of editing Makefiles,
277 # (1) if the variable is set in `config.status', edit `config.status'
278 # (which will cause the Makefiles to be regenerated when you run `make');
279 # (2) otherwise, pass the desired values on the `make' command line.
280 $(RECURSIVE_TARGETS):
281 @failcom='exit 1'; \
282 for f in x $$MAKEFLAGS; do \
283 case $$f in \
284 *=* | --[!k]*);; \
285 *k*) failcom='fail=yes';; \
286 esac; \
287 done; \
288 dot_seen=no; \
289 target=`echo $@ | sed s/-recursive//`; \
290 list='$(SUBDIRS)'; for subdir in $$list; do \
291 echo "Making $$target in $$subdir"; \
292 if test "$$subdir" = "."; then \
293 dot_seen=yes; \
294 local_target="$$target-am"; \
295 else \
296 local_target="$$target"; \
297 fi; \
298 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
299 || eval $$failcom; \
300 done; \
301 if test "$$dot_seen" = "no"; then \
302 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
303 fi; test -z "$$fail"
305 mostlyclean-recursive clean-recursive distclean-recursive \
306 maintainer-clean-recursive:
307 @failcom='exit 1'; \
308 for f in x $$MAKEFLAGS; do \
309 case $$f in \
310 *=* | --[!k]*);; \
311 *k*) failcom='fail=yes';; \
312 esac; \
313 done; \
314 dot_seen=no; \
315 case "$@" in \
316 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
317 *) list='$(SUBDIRS)' ;; \
318 esac; \
319 rev=''; for subdir in $$list; do \
320 if test "$$subdir" = "."; then :; else \
321 rev="$$subdir $$rev"; \
322 fi; \
323 done; \
324 rev="$$rev ."; \
325 target=`echo $@ | sed s/-recursive//`; \
326 for subdir in $$rev; do \
327 echo "Making $$target in $$subdir"; \
328 if test "$$subdir" = "."; then \
329 local_target="$$target-am"; \
330 else \
331 local_target="$$target"; \
332 fi; \
333 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
334 || eval $$failcom; \
335 done && test -z "$$fail"
336 tags-recursive:
337 list='$(SUBDIRS)'; for subdir in $$list; do \
338 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
339 done
340 ctags-recursive:
341 list='$(SUBDIRS)'; for subdir in $$list; do \
342 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
343 done
345 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
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; } \
351 END { for (i in files) print i; }'`; \
352 mkid -fID $$unique
353 tags: TAGS
355 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
356 $(TAGS_FILES) $(LISP)
357 tags=; \
358 here=`pwd`; \
359 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
360 include_option=--etags-include; \
361 empty_fix=.; \
362 else \
363 include_option=--include; \
364 empty_fix=; \
365 fi; \
366 list='$(SUBDIRS)'; for subdir in $$list; do \
367 if test "$$subdir" = .; then :; else \
368 test ! -f $$subdir/TAGS || \
369 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
370 fi; \
371 done; \
372 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
373 unique=`for i in $$list; do \
374 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
375 done | \
376 $(AWK) ' { files[$$0] = 1; } \
377 END { for (i in files) print i; }'`; \
378 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
379 test -n "$$unique" || unique=$$empty_fix; \
380 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
381 $$tags $$unique; \
382 fi
383 ctags: CTAGS
384 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
385 $(TAGS_FILES) $(LISP)
386 tags=; \
387 here=`pwd`; \
388 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
389 unique=`for i in $$list; do \
390 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
391 done | \
392 $(AWK) ' { files[$$0] = 1; } \
393 END { for (i in files) print i; }'`; \
394 test -z "$(CTAGS_ARGS)$$tags$$unique" \
395 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
396 $$tags $$unique
398 GTAGS:
399 here=`$(am__cd) $(top_builddir) && pwd` \
400 && cd $(top_srcdir) \
401 && gtags -i $(GTAGS_ARGS) $$here
403 distclean-tags:
404 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
406 distdir: $(DISTFILES)
407 $(mkdir_p) $(distdir)/perl-piped $(distdir)/perl-piped/t $(distdir)/perl-shared $(distdir)/perl-shared/t $(distdir)/python $(distdir)/ruby
408 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
409 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
410 list='$(DISTFILES)'; for file in $$list; do \
411 case $$file in \
412 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
413 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
414 esac; \
415 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
416 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
417 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
418 dir="/$$dir"; \
419 $(mkdir_p) "$(distdir)$$dir"; \
420 else \
421 dir=''; \
422 fi; \
423 if test -d $$d/$$file; then \
424 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
425 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
426 fi; \
427 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
428 else \
429 test -f $(distdir)/$$file \
430 || cp -p $$d/$$file $(distdir)/$$file \
431 || exit 1; \
432 fi; \
433 done
434 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
435 if test "$$subdir" = .; then :; else \
436 test -d "$(distdir)/$$subdir" \
437 || $(mkdir_p) "$(distdir)/$$subdir" \
438 || exit 1; \
439 distdir=`$(am__cd) $(distdir) && pwd`; \
440 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
441 (cd $$subdir && \
442 $(MAKE) $(AM_MAKEFLAGS) \
443 top_distdir="$$top_distdir" \
444 distdir="$$distdir/$$subdir" \
445 distdir) \
446 || exit 1; \
447 fi; \
448 done
449 check-am: all-am
450 check: check-recursive
451 all-am: Makefile all-local
452 installdirs: installdirs-recursive
453 installdirs-am:
454 install: install-recursive
455 install-exec: install-exec-recursive
456 install-data: install-data-recursive
457 uninstall: uninstall-recursive
459 install-am: all-am
460 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
462 installcheck: installcheck-recursive
463 install-strip:
464 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
465 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
466 `test -z '$(STRIP)' || \
467 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
468 mostlyclean-generic:
470 clean-generic:
472 distclean-generic:
473 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
475 maintainer-clean-generic:
476 @echo "This command is intended for maintainers to use"
477 @echo "it deletes files that may require special tools to rebuild."
478 clean: clean-recursive
480 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
482 distclean: distclean-recursive
483 -rm -f Makefile
484 distclean-am: clean-am distclean-generic distclean-libtool \
485 distclean-tags
487 dvi: dvi-recursive
489 dvi-am:
491 html: html-recursive
493 info: info-recursive
495 info-am:
497 install-data-am: install-data-local
499 install-exec-am:
501 install-info: install-info-recursive
503 install-man:
505 installcheck-am:
507 maintainer-clean: maintainer-clean-recursive
508 -rm -f Makefile
509 maintainer-clean-am: distclean-am maintainer-clean-generic
511 mostlyclean: mostlyclean-recursive
513 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
515 pdf: pdf-recursive
517 pdf-am:
519 ps: ps-recursive
521 ps-am:
523 uninstall-am: uninstall-info-am
525 uninstall-info: uninstall-info-recursive
527 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local check \
528 check-am clean clean-generic clean-libtool clean-local \
529 clean-recursive ctags ctags-recursive distclean \
530 distclean-generic distclean-libtool distclean-recursive \
531 distclean-tags distdir dvi dvi-am html html-am info info-am \
532 install install-am install-data install-data-am \
533 install-data-local install-exec install-exec-am install-info \
534 install-info-am install-man install-strip installcheck \
535 installcheck-am installdirs installdirs-am maintainer-clean \
536 maintainer-clean-generic maintainer-clean-recursive \
537 mostlyclean mostlyclean-generic mostlyclean-libtool \
538 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
539 uninstall uninstall-am uninstall-info-am
541 .PHONY: python ruby
543 # add the following to the all target
544 all-local: @COMP_PERL@ @COMP_RUBY@ @COMP_PYTHON@
546 install-data-local:
547 test -f perl-piped/Makefile && cd perl-piped && $(MAKE) install || true
548 test -f perl-shared/Makefile && cd perl-shared && $(MAKE) install || true
549 test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) install || true
550 test -d python/build && cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py install --skip-build --prefix=$(DESTDIR)$(prefix) --exec-prefix=$(DESTDIR)$(exec_prefix) || true
552 # rules for buildung the ruby module
553 # RUBYARCHDIR= is to work around in a makefile quirk not sure
554 # it is is the right thing todo, but it makes rrdtool build on freebsd as well
555 ruby:
556 cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS) RUBYARCHDIR=
558 # rules for buildung the pyton module
559 python:
560 cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py build_ext --rpath=$(libdir) && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
562 # rules for building the perl module
563 perl_piped: perl-piped/Makefile
564 cd perl-piped && $(MAKE)
566 perl-piped/Makefile: perl-piped/Makefile.PL
567 cd perl-piped && $(PERL) Makefile.PL $(PERL_MAKE_OPTIONS)
569 perl_shared: perl-shared/Makefile
570 cd perl-shared && $(MAKE)
572 perl-shared/Makefile: perl-shared/Makefile.PL
573 cd perl-shared && $(PERL) Makefile.PL $(PERLFLAGS) $(PERL_MAKE_OPTIONS) RPATH=$(libdir)
574 # LIBS="$(LDFLAGS) $(LIBS)" $(PERLFLAGS) $(PERL_MAKE_OPTIONS)
576 clean-local:
577 test -f perl-piped/Makefile && cd perl-piped && $(MAKE) clean || true
578 test -f perl-piped/Makefile && rm perl-piped/Makefile || true
579 test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || true
580 test -f perl-shared/Makefile && rm -f perl-shared/Makefile || true
581 test -f ruby/Makefile && cd ruby && $(MAKE) clean && rm Makefile || true
582 test -d python/build && cd python && rm -rf build || true
583 # Tell versions [3.59,3.63) of GNU make to not export all variables.
584 # Otherwise a system limit (for SysV at least) may be exceeded.
585 .NOEXPORT: