1 ## Makefile.am -- Process this file with automake to produce Makefile.in
3 SUBDIRS = tkwidgets to_change windows
5 lib_LTLIBRARIES = libmarTcl.la
8 $(VTK_CFLAGS) $(IDO_CFLAGS) \
9 $(WX_CFLAGS) $(GSL_CFLAGS) $(KGFO_CFLAGS) \
10 -I$(TCL_INC_DIR) -I$(TK_INC_DIR) \
12 libmarTcl_la_SOURCES = marTclInterface.h wrap_maracas.cxx
13 libmarTcl_la_LDFLAGS = \
14 -version-info $(MARACAS_TCL_VER) \
15 $(VTK_LIBS) -lvtkCommonTCL \
16 $(IDO_LIBS) $(WX_LIBS) \
18 $(GSL_LIBS) $(KGFO_LIBS)
20 libmarTcl_la_LIBADD = ../kernel/libmarKernel.la
22 EXTRA_DIST = tclexe.dsp \
28 # Special compilation commands
29 wrap_maracas.cxx: wrap_maracas.i
30 swig -tcl8 -c++ -o wrap_maracas.cxx wrap_maracas.i
34 echo "#!/usr/bin/wish" > maracas.tcl
35 echo "" >> maracas.tcl
36 echo "load $(libdir)/libmarTcl.so maracas" >> maracas.tcl
37 echo "source ./maracas_start.tcl" >> maracas.tcl
38 echo "" >> maracas.tcl
39 echo "# eof - maracas.tcl" >> maracas.tcl
40 echo "" >> maracas.tcl