gimp/plug-ins/gimptcl/Makefile.am
Eric L. Hernes f430950e74 (erich) lots of changes to gimptcl
1) better integration to automake/autoconf/configure...
   The rules are:
   * by default look at -ltcl and -ltk
   * you can specify --with-tcl and --with-tk to use
     different versions, e.g. you can use --with-tcl=tcl80
     and --with-tk=tk80 to use them.
   * if your system has a dl library, it uses it, otherwise
     not.  This may cause problems if you have a -ldl, but
     your tcl library doesn't need it :(  There'll probably
     be a --with-tcldl=no someday

2) make a few arrays bigger, particularily in the PDB interface.

3) type most of the numeric returns from the PDB, e.g.
   a proc that returns a layer now returns `layer-#' instead
   of just `#'.  This may cause problems for scripts that
   get an array and then iterate over it. (as in gimp-list-images
   or similar)

4) consolio is now based on Jeff Hobbs `tkcon', much better than
   the older one.  And the license is much less restrictive.

5) The switch to tkcon unveiled several errors with the internal
   packages, so I fixed most of them.  Now sub-interpreters
   can use the same PDB interface as the ``parent'' interp.
   I should be able to make something akin to the script-fu
   mechanism out of this... (someday)
1997-12-01 19:49:08 +00:00

35 lines
797 B
Makefile

## Process this file with automake to produce Makefile.in
SUBDIRS = scripts
BUILT_SOURCES= gtclenums.h
AUTOMAKE_OPTIONS= no-dependencies
SUFFIXES = .h
scriptdata =
libexec_PROGRAMS = gimptcl
gimptcl_SOURCES= \
gtcl.h \
gtclenums.h \
gtclMain.c \
gtcl_misc.c \
gtclConst.c \
gtclPDB.c \
gtclEnums.h
INCLUDES= \
${X_CFLAGS} \
-I/usr/local/include \
-I$(top_srcdir)
LDADD = \
$(top_builddir)/libgimp/libgimp.la \
@LIBTCL_LIB@ \
$(X_LIBS) \
-lc \
-lm
gtclenums.h: ${top_srcdir}/libgimp/gimpenums.h gtclEnums.h
misc/enum.pl ${top_srcdir}/libgimp/gimpenums.h gtclEnums.h >$@