1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
26 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
28 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
29 # This Makefile.in is free software; the Free Software Foundation
30 # gives unlimited permission to copy and/or distribute it,
31 # with or without modifications, as long as this notice is preserved.
33 # This program is distributed in the hope that it will be useful,
34 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
35 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
42 top_srcdir = @top_srcdir@
45 exec_prefix = @exec_prefix@
49 libexecdir = @libexecdir@
51 sysconfdir = @sysconfdir@
52 sharedstatedir = @sharedstatedir@
53 localstatedir = @localstatedir@
57 includedir = @includedir@
58 oldincludedir = /usr/include
62 pkgdatadir = $(datadir)/@PACKAGE@
63 pkglibdir = $(libdir)/@PACKAGE@
64 pkgincludedir = $(includedir)/@PACKAGE@
71 AUTOHEADER = @AUTOHEADER@
74 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
75 INSTALL_DATA = @INSTALL_DATA@
76 INSTALL_SCRIPT = @INSTALL_SCRIPT@
77 transform = @program_transform_name@
85 host_alias = @host_alias@
89 CFLAGS_DEBUG = @CFLAGS_DEBUG@
90 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
91 CFLAGS_WARNING = @CFLAGS_WARNING@
98 GSL_CFLAGS = @GSL_CFLAGS@
99 GSL_CONFIG = @GSL_CONFIG@
100 GSL_LIBS = @GSL_LIBS@
101 IDO_CFLAGS = @IDO_CFLAGS@
102 IDO_LIBS = @IDO_LIBS@
103 KGFO_CFLAGS = @KGFO_CFLAGS@
104 KGFO_CONFIG = @KGFO_CONFIG@
105 KGFO_LIBS = @KGFO_LIBS@
108 MAKEINFO = @MAKEINFO@
109 MARACAS_ALGORITHM_VER = @MARACAS_ALGORITHM_VER@
110 MARACAS_ALGORITHM_VER_STR = @MARACAS_ALGORITHM_VER_STR@
111 MARACAS_KERNEL_VER = @MARACAS_KERNEL_VER@
112 MARACAS_KERNEL_VER_STR = @MARACAS_KERNEL_VER_STR@
113 MARACAS_TCL_VER = @MARACAS_TCL_VER@
114 MARACAS_TCL_VER_STR = @MARACAS_TCL_VER_STR@
115 MARACAS_VER = @MARACAS_VER@
116 MARACAS_VER_STR = @MARACAS_VER_STR@
117 MATH_LIBS = @MATH_LIBS@
123 TCLTK_LIBS = @TCLTK_LIBS@
124 TCL_BIN_DIR = @TCL_BIN_DIR@
125 TCL_INC_DIR = @TCL_INC_DIR@
126 TCL_LIBS = @TCL_LIBS@
127 TCL_LIB_FILE = @TCL_LIB_FILE@
128 TCL_SRC_DIR = @TCL_SRC_DIR@
129 TK_BIN_DIR = @TK_BIN_DIR@
130 TK_INC_DIR = @TK_INC_DIR@
131 TK_LIB_FILE = @TK_LIB_FILE@
132 TK_SRC_DIR = @TK_SRC_DIR@
134 VTK_CFLAGS = @VTK_CFLAGS@
135 VTK_LIBS = @VTK_LIBS@
136 WX_CFLAGS = @WX_CFLAGS@
137 WX_CONFIG = @WX_CONFIG@
140 SUBDIRS = tkwidgets to_change windows
142 lib_LTLIBRARIES = libmarTcl.la
144 INCLUDES = $(VTK_CFLAGS) $(IDO_CFLAGS) $(WX_CFLAGS) $(GSL_CFLAGS) $(KGFO_CFLAGS) -I$(TCL_INC_DIR) -I$(TK_INC_DIR) -I../include
146 libmarTcl_la_SOURCES = marTclInterface.h wrap_maracas.cxx
147 libmarTcl_la_LDFLAGS = -version-info $(MARACAS_TCL_VER) $(VTK_LIBS) -lvtkCommonTCL $(IDO_LIBS) $(WX_LIBS) $(TCLTK_LIBS) $(GSL_LIBS) $(KGFO_LIBS)
150 libmarTcl_la_LIBADD = ../kernel/libmarKernel.la
152 EXTRA_DIST = tclexe.dsp wrap_maracas.i maracas_start.tcl general.tcl string_table.tcl
154 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
155 CONFIG_HEADER = ../config.h
157 LTLIBRARIES = $(lib_LTLIBRARIES)
160 DEFS = @DEFS@ -I. -I$(srcdir) -I..
161 CPPFLAGS = @CPPFLAGS@
164 libmarTcl_la_DEPENDENCIES = ../kernel/libmarKernel.la
165 libmarTcl_la_OBJECTS = wrap_maracas.lo
166 CXXFLAGS = @CXXFLAGS@
167 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
168 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
170 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
172 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
173 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
175 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
176 DIST_COMMON = Makefile.am Makefile.in
179 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
183 DEP_FILES = .deps/wrap_maracas.P
184 SOURCES = $(libmarTcl_la_SOURCES)
185 OBJECTS = $(libmarTcl_la_OBJECTS)
189 .SUFFIXES: .S .c .cxx .lo .o .obj .s
190 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
191 cd $(top_srcdir) && $(AUTOMAKE) --gnu tcl/Makefile
193 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
195 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
198 mostlyclean-libLTLIBRARIES:
200 clean-libLTLIBRARIES:
201 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
203 distclean-libLTLIBRARIES:
205 maintainer-clean-libLTLIBRARIES:
207 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
209 $(mkinstalldirs) $(DESTDIR)$(libdir)
210 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
211 if test -f $$p; then \
212 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
213 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
217 uninstall-libLTLIBRARIES:
219 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
220 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
223 # FIXME: We should only use cygpath when building on Windows,
224 # and only if it is available.
226 $(COMPILE) -c `cygpath -w $<`
235 -rm -f *.o core *.core
243 maintainer-clean-compile:
246 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
249 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
259 maintainer-clean-libtool:
261 libmarTcl.la: $(libmarTcl_la_OBJECTS) $(libmarTcl_la_DEPENDENCIES)
262 $(CXXLINK) -rpath $(libdir) $(libmarTcl_la_LDFLAGS) $(libmarTcl_la_OBJECTS) $(libmarTcl_la_LIBADD) $(LIBS)
266 $(CXXCOMPILE) -c `cygpath -w $<`
268 $(LTCXXCOMPILE) -c $<
270 # This directory's subdirectories are mostly independent; you can cd
271 # into them and run `make' without going through this Makefile.
272 # To change the values of `make' variables: instead of editing Makefiles,
273 # (1) if the variable is set in `config.status', edit `config.status'
274 # (which will cause the Makefiles to be regenerated when you run `make');
275 # (2) otherwise, pass the desired values on the `make' command line.
279 all-recursive install-data-recursive install-exec-recursive \
280 installdirs-recursive install-recursive uninstall-recursive \
281 check-recursive installcheck-recursive info-recursive dvi-recursive:
282 @set fnord $(MAKEFLAGS); amf=$$2; \
284 target=`echo $@ | sed s/-recursive//`; \
285 list='$(SUBDIRS)'; for subdir in $$list; do \
286 echo "Making $$target in $$subdir"; \
287 if test "$$subdir" = "."; then \
289 local_target="$$target-am"; \
291 local_target="$$target"; \
293 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
294 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
296 if test "$$dot_seen" = "no"; then \
297 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
300 mostlyclean-recursive clean-recursive distclean-recursive \
301 maintainer-clean-recursive:
302 @set fnord $(MAKEFLAGS); amf=$$2; \
304 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
305 rev="$$subdir $$rev"; \
306 test "$$subdir" = "." && dot_seen=yes; \
308 test "$$dot_seen" = "no" && rev=". $$rev"; \
309 target=`echo $@ | sed s/-recursive//`; \
310 for subdir in $$rev; do \
311 echo "Making $$target in $$subdir"; \
312 if test "$$subdir" = "."; then \
313 local_target="$$target-am"; \
315 local_target="$$target"; \
317 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
318 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
319 done && test -z "$$fail"
321 list='$(SUBDIRS)'; for subdir in $$list; do \
322 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
327 ID: $(HEADERS) $(SOURCES) $(LISP)
328 list='$(SOURCES) $(HEADERS)'; \
329 unique=`for i in $$list; do echo $$i; done | \
330 awk ' { files[$$0] = 1; } \
331 END { for (i in files) print i; }'`; \
332 here=`pwd` && cd $(srcdir) \
333 && mkid -f$$here/ID $$unique $(LISP)
335 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
338 list='$(SUBDIRS)'; for subdir in $$list; do \
339 if test "$$subdir" = .; then :; else \
340 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
343 list='$(SOURCES) $(HEADERS)'; \
344 unique=`for i in $$list; do echo $$i; done | \
345 awk ' { files[$$0] = 1; } \
346 END { for (i in files) print i; }'`; \
347 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
348 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
357 maintainer-clean-tags:
359 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
363 distdir: $(DISTFILES)
364 here=`cd $(top_builddir) && pwd`; \
365 top_distdir=`cd $(top_distdir) && pwd`; \
366 distdir=`cd $(distdir) && pwd`; \
368 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu tcl/Makefile
369 @for file in $(DISTFILES); do \
371 if test -d $$d/$$file; then \
372 cp -pr $$d/$$file $(distdir)/$$file; \
374 test -f $(distdir)/$$file \
375 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
376 || cp -p $$d/$$file $(distdir)/$$file || :; \
379 for subdir in $(SUBDIRS); do \
380 if test "$$subdir" = .; then :; else \
381 test -d $(distdir)/$$subdir \
382 || mkdir $(distdir)/$$subdir \
384 chmod 777 $(distdir)/$$subdir; \
385 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
390 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
392 -include $(DEP_FILES)
401 maintainer-clean-depend:
404 @echo '$(COMPILE) -c $<'; \
405 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
406 @-cp .deps/$(*F).pp .deps/$(*F).P; \
407 tr ' ' '\012' < .deps/$(*F).pp \
408 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
413 @echo '$(LTCOMPILE) -c $<'; \
414 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
415 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
416 < .deps/$(*F).pp > .deps/$(*F).P; \
417 tr ' ' '\012' < .deps/$(*F).pp \
418 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
423 @echo '$(CXXCOMPILE) -c $<'; \
424 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
425 @-cp .deps/$(*F).pp .deps/$(*F).P; \
426 tr ' ' '\012' < .deps/$(*F).pp \
427 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
432 @echo '$(LTCXXCOMPILE) -c $<'; \
433 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
434 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
435 < .deps/$(*F).pp > .deps/$(*F).P; \
436 tr ' ' '\012' < .deps/$(*F).pp \
437 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
445 check: check-recursive
447 installcheck: installcheck-recursive
448 install-exec-am: install-libLTLIBRARIES
449 install-exec: install-exec-recursive
452 install-data: install-data-recursive
455 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
456 install: install-recursive
457 uninstall-am: uninstall-libLTLIBRARIES
458 uninstall: uninstall-recursive
459 all-am: Makefile $(LTLIBRARIES)
460 all-redirect: all-recursive
462 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
463 installdirs: installdirs-recursive
465 $(mkinstalldirs) $(DESTDIR)$(libdir)
473 -rm -f Makefile $(CONFIG_CLEAN_FILES)
474 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
476 maintainer-clean-generic:
477 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
478 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
481 mostlyclean: mostlyclean-recursive
483 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
484 clean-depend clean-generic mostlyclean-am
486 clean: clean-recursive
488 distclean-am: distclean-libLTLIBRARIES distclean-compile \
489 distclean-libtool distclean-tags distclean-depend \
490 distclean-generic clean-am
493 distclean: distclean-recursive
495 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
496 maintainer-clean-compile maintainer-clean-libtool \
497 maintainer-clean-tags maintainer-clean-depend \
498 maintainer-clean-generic distclean-am
499 @echo "This command is intended for maintainers to use;"
500 @echo "it deletes files that may require special tools to rebuild."
502 maintainer-clean: maintainer-clean-recursive
504 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
505 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
506 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
507 distclean-compile clean-compile maintainer-clean-compile \
508 mostlyclean-libtool distclean-libtool clean-libtool \
509 maintainer-clean-libtool install-data-recursive \
510 uninstall-data-recursive install-exec-recursive \
511 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
512 all-recursive check-recursive installcheck-recursive info-recursive \
513 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
514 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
515 distclean-tags clean-tags maintainer-clean-tags distdir \
516 mostlyclean-depend distclean-depend clean-depend \
517 maintainer-clean-depend info-am info dvi-am dvi check check-am \
518 installcheck-am installcheck install-exec-am install-exec \
519 install-data-am install-data install-am install uninstall-am uninstall \
520 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
521 distclean-generic clean-generic maintainer-clean-generic clean \
522 mostlyclean distclean maintainer-clean
525 # Special compilation commands
526 wrap_maracas.cxx: wrap_maracas.i
527 swig -tcl8 -c++ -o wrap_maracas.cxx wrap_maracas.i
531 echo "#!/usr/bin/wish" > maracas.tcl
532 echo "" >> maracas.tcl
533 echo "load $(libdir)/libmarTcl.so maracas" >> maracas.tcl
534 echo "source ./maracas_start.tcl" >> maracas.tcl
535 echo "" >> maracas.tcl
536 echo "# eof - maracas.tcl" >> maracas.tcl
537 echo "" >> maracas.tcl
540 # Tell versions [3.59,3.63) of GNU make to not export all variables.
541 # Otherwise a system limit (for SysV at least) may be exceeded.