Revision: 41002
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41002&view=rev
Author:   starseeker
Date:     2010-10-15 05:02:07 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
Put a CMakeLists.txt together for tkpng

Modified Paths:
--------------
    brlcad/branches/cmake/src/other/CMakeLists.txt

Added Paths:
-----------
    brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt

Removed Paths:
-------------
    brlcad/branches/cmake/src/other/tkpng/Makefile.in
    brlcad/branches/cmake/src/other/tkpng/aclocal.m4
    brlcad/branches/cmake/src/other/tkpng/configure.in
    brlcad/branches/cmake/src/other/tkpng/pkgIndex.tcl.in
    brlcad/branches/cmake/src/other/tkpng/tclconfig/
    brlcad/branches/cmake/src/other/tkpng/win/

Modified: brlcad/branches/cmake/src/other/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/CMakeLists.txt      2010-10-15 04:43:10 UTC 
(rev 41001)
+++ brlcad/branches/cmake/src/other/CMakeLists.txt      2010-10-15 05:02:07 UTC 
(rev 41002)
@@ -230,13 +230,11 @@
        ADD_DEPENDENCIES(Tkhtml tk tcl)
 ENDIF(BRLCAD_BUILD_LOCAL_TKHTML)
 
-IF(MSVC)
-ELSE(MSVC)
-       THIRD_PARTY_AUTOCONF_EXTERNAL_PROJECT(TKPNG tkpng src/other/tkpng "" 
"--with-tcl=${TCL_CONF_PREFIX};--with-tk=${TK_CONF_PREFIX}")
+#THIRD_PARTY_AUTOCONF_EXTERNAL_PROJECT(TKPNG tkpng src/other/tkpng "" 
"--with-tcl=${TCL_CONF_PREFIX};--with-tk=${TK_CONF_PREFIX}")
 IF(BRLCAD_BUILD_LOCAL_TKPNG)
+       ADD_SUBDIRECTORY(tkpng)
        ADD_DEPENDENCIES(tkpng tk tcl)
 ENDIF(BRLCAD_BUILD_LOCAL_TKPNG)
-ENDIF(MSVC)
 
 IF(MSVC)
 ELSE(MSVC)

Added: brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt                        
        (rev 0)
+++ brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt        2010-10-15 
05:02:07 UTC (rev 41002)
@@ -0,0 +1,23 @@
+include_directories(
+                 ${CMAKE_CURRENT_SOURCE_DIR}/src
+                 ${CMAKE_CURRENT_BINARY_DIR}
+                 ${TCL_INCLUDE_PATH}
+                 ${TK_INCLUDE_PATH}
+                 ${X11_INCLUDE_DIR}
+                 )
+
+SET(TKPNG_PKGNAME tkpng)
+SET(TKPNG_PKGVERSION "0.8")
+
+SET(TKPNG_SRCS
+                 generic/tkImgPNG.c
+                 generic/tkImgPNGInit.c
+)
+
+add_library(tkpng SHARED ${TKPNG_SRCS})
+install(TARGETS tkpng DESTINATION lib)
+
+# Create the pkgIndex.tcl file.
+FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl "package ifneeded 
${TKPNG_PKGNAME} ${TKPNG_PKGVERSION} [list load [file join $dir .. 
libtkpng${CMAKE_SHARED_LIBRARY_SUFFIX}] tkpng]")
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl DESTINATION 
lib/${TKPNG_PKGNAME}${TKPNG_PKGVERSION})
+


Property changes on: brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Deleted: brlcad/branches/cmake/src/other/tkpng/Makefile.in
===================================================================
--- brlcad/branches/cmake/src/other/tkpng/Makefile.in   2010-10-15 04:43:10 UTC 
(rev 41001)
+++ brlcad/branches/cmake/src/other/tkpng/Makefile.in   2010-10-15 05:02:07 UTC 
(rev 41002)
@@ -1,398 +0,0 @@
-# Makefile.in --
-#
-#      This file is a Makefile for TkPNG.  If it has the name
-#      "Makefile.in" then it is a template for a Makefile;  to generate the
-#      actual Makefile, run "./configure", which is a configuration script
-#      generated by the "autoconf" program (constructs like "@foo@" will get
-#      replaced in the actual Makefile.
-#
-# Copyright (c) 1999 Scriptics Corporation.
-# Copyright (c) 2002-2005 ActiveState Corporation.
-#
-# See the file "license.terms" for information on usage and redistribution
-# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-#
-# RCS: @(#) $Id: Makefile.in,v 1.2 2006/11/27 14:04:40 muonics Exp $
-
-#========================================================================
-# The names of the source files is defined in the configure script.
-# The object files are used for linking into the final library.
-# This will be used when a dist target is added to the Makefile.
-# It is not important to specify the directory, as long as it is the
-# $(srcdir) or in the generic, win or unix subdirectory.
-#========================================================================
-
-PKG_SOURCES    = @PKG_SOURCES@
-PKG_OBJECTS    = @PKG_OBJECTS@
-
-PKG_STUB_SOURCES = @PKG_STUB_SOURCES@
-PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@
-
-#========================================================================
-# PKG_TCL_SOURCES identifies Tcl runtime files that are associated with
-# this package that need to be installed, if any.
-#========================================================================
-
-PKG_TCL_SOURCES = @PKG_TCL_SOURCES@
-
-#========================================================================
-# This is a list of public header files to be installed, if any.
-#========================================================================
-
-PKG_HEADERS    = @PKG_HEADERS@
-
-#========================================================================
-# "PKG_LIB_FILE" refers to the library (dynamic or static as per
-# configuration options) composed of the named objects.
-#========================================================================
-
-PKG_LIB_FILE   = @PKG_LIB_FILE@
-PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@
-
-lib_BINARIES   = $(PKG_LIB_FILE)
-BINARIES       = $(lib_BINARIES)
-
-SHELL          = @SHELL@
-
-srcdir         = @srcdir@
-prefix         = @prefix@
-exec_prefix    = @exec_prefix@
-
-bindir         = @bindir@
-libdir         = @libdir@
-includedir     = @includedir@
-datarootdir     = @datarootdir@
-datadir                = @datadir@
-mandir         = @mandir@
-
-DESTDIR                =
-
-PKG_DIR                = $(PACKAGE_NAME)$(PACKAGE_VERSION)
-pkgdatadir     = $(datadir)/$(PKG_DIR)
-pkglibdir      = $(libdir)/$(PKG_DIR)
-pkgincludedir  = $(includedir)/$(PKG_DIR)
-
-top_builddir   = .
-
-INSTALL                = @INSTALL@
-INSTALL_PROGRAM        = @INSTALL_PROGRAM@
-INSTALL_DATA   = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-
-PACKAGE_NAME   = @PACKAGE_NAME@
-PACKAGE_VERSION        = @PACKAGE_VERSION@
-CC             = @CC@
-CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
-CFLAGS_WARNING = @CFLAGS_WARNING@
-CLEANFILES     = @CLEANFILES@
-EXEEXT         = @EXEEXT@
-LDFLAGS_DEFAULT        = @LDFLAGS_DEFAULT@
-MAKE_LIB       = @MAKE_LIB@
-MAKE_SHARED_LIB        = @MAKE_SHARED_LIB@
-MAKE_STATIC_LIB        = @MAKE_STATIC_LIB@
-MAKE_STUB_LIB  = @MAKE_STUB_LIB@
-OBJEXT         = @OBJEXT@
-RANLIB         = @RANLIB@
-RANLIB_STUB    = @RANLIB_STUB@
-SHLIB_CFLAGS   = @SHLIB_CFLAGS@
-SHLIB_LD       = @SHLIB_LD@
-SHLIB_LD_LIBS  = @SHLIB_LD_LIBS@
-STLIB_LD       = @STLIB_LD@
-#TCL_DEFS      = @TCL_DEFS@
-TCL_BIN_DIR    = @TCL_BIN_DIR@
-TCL_SRC_DIR    = @TCL_SRC_DIR@
-#TK_BIN_DIR    = @TK_BIN_DIR@
-#TK_SRC_DIR    = @TK_SRC_DIR@
-
-# Not used, but retained for reference of what libs Tcl required
-#TCL_LIBS      = @TCL_LIBS@
-
-#========================================================================
-# TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our
-# package without installing.  The other environment variables allow us
-# to test against an uninstalled Tcl.  Add special env vars that you
-# require for testing here (like TCLX_LIBRARY).
-#========================================================================
-
-EXTRA_PATH     = $(top_builddir):$(TCL_BIN_DIR)
-#EXTRA_PATH    = $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
-TCLLIBPATH     = $(top_builddir)
-TCLSH_ENV      = tcl_librar...@cygpath@ $(TCL_SRC_DIR)/library` \
-                 
@ld_library_path_...@="$(EXTRA_PATH):$(@LD_LIBRARY_PATH_VAR@)" \
-                 PATH="$(EXTRA_PATH):$(PATH)" \
-                 TCLLIBPATH="$(TCLLIBPATH)"
-#                tk_librar...@cygpath@ $(TK_SRC_DIR)/library`
-
-TCLSH_PROG     = @TCLSH_PROG@
-TCLSH          = $(TCLSH_ENV) $(TCLSH_PROG)
-
-#WISH_PROG     = @WISH_PROG@
-#WISH          = $(TCLSH_ENV) $(WISH_PROG)
-
-
-SHARED_BUILD   = @SHARED_BUILD@
-
-INCLUDES       = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
-
-PKG_CFLAGS     = @PKG_CFLAGS@
-
-# TCL_DEFS is not strictly need here, but if you remove it, then you
-# must make sure that configure.in checks for the necessary components
-# that your library may use.  TCL_DEFS can actually be a problem if
-# you do not compile with a similar machine setup as the Tcl core was
-# compiled with.
-#DEFS          = $(TCL_DEFS) @DEFS@ $(PKG_CFLAGS)
-DEFS           = @DEFS@ $(PKG_CFLAGS)
-
-CONFIG_CLEAN_FILES = Makefile
-
-CPPFLAGS       = @CPPFLAGS@
-LIBS           = @PKG_LIBS@ @LIBS@
-AR             = @AR@
-CFLAGS         = @CFLAGS@
-COMPILE                = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS)
-
-#========================================================================
-# Start of user-definable TARGETS section
-#========================================================================
-
-#========================================================================
-# TEA TARGETS.  Please note that the "libraries:" target refers to platform
-# independent files, and the "binaries:" target inclues executable programs and
-# platform-dependent libraries.  Modify these targets so that they install
-# the various pieces of your package.  The make and install rules
-# for the BINARIES that you specified above have already been done.
-#========================================================================
-
-all: binaries libraries
-
-#========================================================================
-# The binaries target builds executable programs, Windows .dll's, unix
-# shared/static libraries, and any other platform-dependent files.
-# The list of targets to build for "binaries:" is specified at the top
-# of the Makefile, in the "BINARIES" variable.
-#========================================================================
-
-binaries: $(BINARIES)
-
-libraries:
-
-
-install: all install-binaries install-libraries
-
-install-binaries: binaries install-lib-binaries install-bin-binaries
-
-#========================================================================
-# This rule installs platform-independent files, such as header files.
-# The list=...; for p in $$list handles the empty list case x-platform.
-#========================================================================
-
-install-libraries: libraries
-       @mkdir -p $(DESTDIR)$(includedir)
-       @echo "Installing header files in $(DESTDIR)$(includedir)"
-       @list='$(PKG_HEADERS)'; for i in $$list; do \
-           echo "Installing $(srcdir)/$$i" ; \
-           $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \
-       done;
-
-test: binaries libraries
-       $(TCLSH) `...@cygpath@ $(srcdir)/tests/all.tcl` $(TESTFLAGS)
-
-shell: binaries libraries
-       @$(TCLSH) $(SCRIPT)
-
-gdb:
-       $(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT)
-
-depend:
-
-#========================================================================
-# $(PKG_LIB_FILE) should be listed as part of the BINARIES variable
-# mentioned above.  That will ensure that this target is built when you
-# run "make binaries".
-#
-# The $(PKG_OBJECTS) objects are created and linked into the final
-# library.  In most cases these object files will correspond to the
-# source files above.
-#========================================================================
-
-$(PKG_LIB_FILE): $(PKG_OBJECTS)
-       -rm -f $(PKG_LIB_FILE)
-       ${MAKE_LIB}
-       $(RANLIB) $(PKG_LIB_FILE)
-
-$(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
-       -rm -f $(PKG_STUB_LIB_FILE)
-       ${MAKE_STUB_LIB}
-       $(RANLIB_STUB) $(PKG_STUB_LIB_FILE)
-
-#========================================================================
-# We need to enumerate the list of .c to .o lines here.
-#
-# In the following lines, $(srcdir) refers to the toplevel directory
-# containing your extension.  If your sources are in a subdirectory,
-# you will have to modify the paths to reflect this:
-#
-# sample.$(OBJEXT): $(srcdir)/generic/sample.c
-#      $(COMPILE) -c `...@cygpath@ $(srcdir)/generic/sample.c` -o $@
-#
-# Setting the VPATH variable to a list of paths will cause the makefile
-# to look into these paths when resolving .c to .obj dependencies.
-# As necessary, add $(srcdir):$(srcdir)/compat:....
-#========================================================================
-
-VPATH = $(srcdir):$(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win
-
-...@objext@:
-       $(COMPILE) -c `...@cygpath@ $<` -o $@
-
-#========================================================================
-# Distribution creation
-# You may need to tweak this target to make it work correctly.
-#========================================================================
-
-#COMPRESS      = tar cvf $(PKG_DIR).tar $(PKG_DIR); compress $(PKG_DIR).tar
-COMPRESS       = gtar zcvf $(PKG_DIR).tar.gz $(PKG_DIR)
-DIST_ROOT      = /tmp/dist
-DIST_DIR       = $(DIST_ROOT)/$(PKG_DIR)
-
-dist-clean:
-       rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.*
-
-dist: dist-clean
-       mkdir -p $(DIST_DIR)
-       cp -p $(srcdir)/ChangeLog $(srcdir)/README* $(srcdir)/license* \
-               $(srcdir)/aclocal.m4 $(srcdir)/configure $(srcdir)/*.in \
-               $(DIST_DIR)/
-       chmod 664 $(DIST_DIR)/Makefile.in $(DIST_DIR)/aclocal.m4
-       chmod 775 $(DIST_DIR)/configure $(DIST_DIR)/configure.in
-
-       for i in $(srcdir)/*.[ch]; do \
-           if [ -f $$i ]; then \
-               cp -p $$i $(DIST_DIR)/ ; \
-           fi; \
-       done;
-
-       mkdir $(DIST_DIR)/tclconfig
-       cp $(srcdir)/tclconfig/install-sh $(srcdir)/tclconfig/tcl.m4 \
-               $(DIST_DIR)/tclconfig/
-       chmod 664 $(DIST_DIR)/tclconfig/tcl.m4
-       chmod +x $(DIST_DIR)/tclconfig/install-sh
-
-       list='demos generic library mac tests unix win'; \
-       for p in $$list; do \
-           if test -d $(srcdir)/$$p ; then \
-               mkdir $(DIST_DIR)/$$p; \
-               cp -p $(srcdir)/$$p/*.* $(DIST_DIR)/$$p/; \
-           fi; \
-       done
-
-       (cd $(DIST_ROOT); $(COMPRESS);)
-
-#========================================================================
-# End of user-definable section
-#========================================================================
-
-#========================================================================
-# Don't modify the file to clean here.  Instead, set the "CLEANFILES"
-# variable in configure.in
-#========================================================================
-
-clean:  
-       -test -z "$(BINARIES)" || rm -f $(BINARIES)
-       -rm -f *.$(OBJEXT) core *.core
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean: clean
-       -rm -f *.tab.c
-       -rm -f $(CONFIG_CLEAN_FILES)
-       -rm -f config.cache config.log config.status
-
-#========================================================================
-# Install binary object libraries.  On Windows this includes both .dll and
-# .lib files.  Because the .lib files are not explicitly listed anywhere,
-# we need to deduce their existence from the .dll file of the same name.
-# Library files go into the lib directory.
-# In addition, this will generate the pkgIndex.tcl
-# file in the install location (assuming it can find a usable tclsh shell)
-#
-# You should not have to modify this target.
-#========================================================================
-
-install-lib-binaries: binaries
-       @mkdir -p $(DESTDIR)$(pkglibdir)
-       @list='$(lib_BINARIES)'; for p in $$list; do \
-         if test -f $$p; then \
-           echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
-           $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \
-           stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
-           if test "x$$stub" = "xstub"; then \
-               echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \
-               $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p; \
-           else \
-               echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
-               $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \
-           fi; \
-           ext=`echo $$p|sed -e "s/.*\.//"`; \
-           if test "x$$ext" = "xdll"; then \
-               lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \
-               if test -f $$lib; then \
-                   echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; 
\
-                   $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib; \
-               fi; \
-           fi; \
-         fi; \
-       done
-       @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
-         if test -f $(srcdir)/$$p; then \
-           destp=`basename $$p`; \
-           echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \
-           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \
-         fi; \
-       done
-       @if test "x$(SHARED_BUILD)" = "x1"; then \
-           echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
-           $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
-       fi
-
-#========================================================================
-# Install binary executables (e.g. .exe files and dependent .dll files)
-# This is for files that must go in the bin directory (located next to
-# wish and tclsh), like dependent .dll files on Windows.
-#
-# You should not have to modify this target, except to define bin_BINARIES
-# above if necessary.
-#========================================================================
-
-install-bin-binaries: binaries
-       @mkdir -p $(DESTDIR)$(bindir)
-       @list='$(bin_BINARIES)'; for p in $$list; do \
-         if test -f $$p; then \
-           echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p"; \
-           $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
-         fi; \
-       done
-
-.SUFFIXES: .c .$(OBJEXT)
-
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
-       cd $(top_builddir) \
-         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-uninstall-binaries:
-       list='$(lib_BINARIES)'; for p in $$list; do \
-         rm -f $(DESTDIR)$(pkglibdir)/$$p; \
-       done
-       list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
-         p=`basename $$p`; \
-         rm -f $(DESTDIR)$(pkglibdir)/$$p; \
-       done
-       list='$(bin_BINARIES)'; for p in $$list; do \
-         rm -f $(DESTDIR)$(bindir)/$$p; \
-       done
-
-.PHONY: all binaries clean depend distclean install libraries test
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:

Deleted: brlcad/branches/cmake/src/other/tkpng/aclocal.m4
===================================================================
--- brlcad/branches/cmake/src/other/tkpng/aclocal.m4    2010-10-15 04:43:10 UTC 
(rev 41001)
+++ brlcad/branches/cmake/src/other/tkpng/aclocal.m4    2010-10-15 05:02:07 UTC 
(rev 41002)
@@ -1,9 +0,0 @@
-#
-# Include the TEA standard macro set
-#
-
-builtin(include,tclconfig/tcl.m4)
-
-#
-# Add here whatever m4 macros you want to define for your package
-#

Deleted: brlcad/branches/cmake/src/other/tkpng/configure.in
===================================================================
--- brlcad/branches/cmake/src/other/tkpng/configure.in  2010-10-15 04:43:10 UTC 
(rev 41001)
+++ brlcad/branches/cmake/src/other/tkpng/configure.in  2010-10-15 05:02:07 UTC 
(rev 41002)
@@ -1,148 +0,0 @@
-#!/bin/bash -norc
-dnl    This file is an input file used by the GNU "autoconf" program to
-dnl    generate the file "configure", which is run during Tcl installation
-dnl    to configure the system for the local environment.
-#
-# RCS: @(#) $Id: configure.in,v 1.3 2008/03/26 01:36:50 muonics Exp $
-
-AC_INIT([tkpng], [0.9])
-
-TEA_INIT([3.6])
-
-AC_CONFIG_AUX_DIR(tclconfig)
-
-#--------------------------------------------------------------------
-# Load the tclConfig.sh file
-#--------------------------------------------------------------------
-
-TEA_PATH_TCLCONFIG
-TEA_LOAD_TCLCONFIG
-
-#--------------------------------------------------------------------
-# Load the tkConfig.sh file if necessary (Tk extension)
-#--------------------------------------------------------------------
-
-TEA_PATH_TKCONFIG
-TEA_LOAD_TKCONFIG
-
-#-----------------------------------------------------------------------
-# Handle the --prefix=... option by defaulting to what Tcl gave.
-# Must be called after TEA_LOAD_TCLCONFIG and before TEA_SETUP_COMPILER.
-#-----------------------------------------------------------------------
-
-TEA_PREFIX
-
-#-----------------------------------------------------------------------
-# Standard compiler checks.
-# This sets up CC by using the CC env var, or looks for gcc otherwise.
-# This also calls AC_PROG_CC, AC_PROG_INSTALL and a few others to create
-# the basic setup necessary to compile executables.
-#-----------------------------------------------------------------------
-
-TEA_SETUP_COMPILER
-
-TEA_ADD_SOURCES([tkImgPNG.c tkImgPNGInit.c])
-TEA_ADD_HEADERS([])
-TEA_ADD_INCLUDES([])
-TEA_ADD_LIBS([-lz])
-TEA_ADD_CFLAGS([])
-TEA_ADD_STUB_SOURCES([])
-TEA_ADD_TCL_SOURCES([])
-
-#--------------------------------------------------------------------
-# A few miscellaneous platform-specific items:
-#
-# Define a special symbol for Windows (BUILD_sample in this case) so
-# that we create the export library with the dll.
-#
-# Windows creates a few extra files that need to be cleaned up.
-# You can add more files to clean if your extension creates any extra
-# files.
-#
-# TEA_ADD_* any platform specific compiler/build info here.
-#--------------------------------------------------------------------
-
-if test "${TEA_PLATFORM}" = "windows" ; then
-    AC_DEFINE(BUILD_sample)
-    CLEANFILES="pkgIndex.tcl *.lib *.dll *.exp *.ilk *.pdb vc*.pch"
-    #TEA_ADD_SOURCES([win/winFile.c])
-    #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"])
-else
-    CLEANFILES="pkgIndex.tcl"
-    #TEA_ADD_SOURCES([unix/unixFile.c])
-    #TEA_ADD_LIBS([-lsuperfly])
-fi
-AC_SUBST(CLEANFILES)
-
-TEA_PUBLIC_TCL_HEADERS
-#TEA_PRIVATE_TCL_HEADERS
-
-TEA_PUBLIC_TK_HEADERS
-#TEA_PRIVATE_TK_HEADERS
-#TEA_PATH_X
-
-#--------------------------------------------------------------------
-# Check whether --enable-threads or --disable-threads was given.
-# This auto-enables if Tcl was compiled threaded.
-#--------------------------------------------------------------------
-
-TEA_ENABLE_THREADS
-
-#--------------------------------------------------------------------
-# The statement below defines a collection of symbols related to
-# building as a shared library instead of a static library.
-#--------------------------------------------------------------------
-
-TEA_ENABLE_SHARED
-
-#--------------------------------------------------------------------
-# This macro figures out what flags to use with the compiler/linker
-# when building shared/static debug/optimized objects.  This information
-# can be taken from the tclConfig.sh file, but this figures it all out.
-#--------------------------------------------------------------------
-
-TEA_CONFIG_CFLAGS
-
-#--------------------------------------------------------------------
-# Set the default compiler switches based on the --enable-symbols option.
-#--------------------------------------------------------------------
-
-TEA_ENABLE_SYMBOLS
-
-#--------------------------------------------------------------------
-# Everyone should be linking against the Tcl stub library.  If you
-# can't for some reason, remove this definition.  If you aren't using
-# stubs, you also need to modify the SHLIB_LD_LIBS setting below to
-# link against the non-stubbed Tcl library.  Add Tk too if necessary.
-#--------------------------------------------------------------------
-
-AC_DEFINE(USE_TCL_STUBS, 1, [Use Tcl stubs])
-AC_DEFINE(USE_TK_STUBS, 1, [Use Tk stubs])
-
-#--------------------------------------------------------------------
-# This macro generates a line to use when building a library.  It
-# depends on values set by the TEA_ENABLE_SHARED, TEA_ENABLE_SYMBOLS,
-# and TEA_LOAD_TCLCONFIG macros above.
-#--------------------------------------------------------------------
-
-TEA_MAKE_LIB
-
-#--------------------------------------------------------------------
-# Find tclsh so that we can run pkg_mkIndex to generate the pkgIndex.tcl
-# file during the install process.  Don't run the TCLSH_PROG through
-# ${CYGPATH} because it's being used directly by make.
-# Require that we use a tclsh shell version 8.2 or later since earlier
-# versions have bugs in the pkg_mkIndex routine.
-# Add WISH as well if this is a Tk extension.
-#--------------------------------------------------------------------
-
-TEA_PROG_TCLSH
-TEA_PROG_WISH
-
-#--------------------------------------------------------------------
-# Finally, substitute all of the various values into the Makefile.
-# You may alternatively have a special pkgIndex.tcl.in or other files
-# which require substituting th AC variables in.  Include these here.
-#--------------------------------------------------------------------
-
-AC_OUTPUT([Makefile pkgIndex.tcl])

Deleted: brlcad/branches/cmake/src/other/tkpng/pkgIndex.tcl.in
===================================================================
--- brlcad/branches/cmake/src/other/tkpng/pkgIndex.tcl.in       2010-10-15 
04:43:10 UTC (rev 41001)
+++ brlcad/branches/cmake/src/other/tkpng/pkgIndex.tcl.in       2010-10-15 
05:02:07 UTC (rev 41002)
@@ -1,5 +0,0 @@
-#
-# Tcl package index file
-#
-package ifneeded tkpng @PACKAGE_VERSION@ \
-    [list load [file join $dir @pkg_lib_f...@] @package_n...@]


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to