summaryrefslogtreecommitdiffstats
path: root/tktable/Makefile.in
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-01-11 21:10:30 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-01-11 21:10:30 (GMT)
commit80339048d180f33641a8fb5a3275fc13a03d6d8a (patch)
tree5b82fcea5ebf8f2c613b354945e0e713f5d692db /tktable/Makefile.in
parent6f8f68c88a71380bbc032191e95842f7b1bb51ad (diff)
downloadblt-80339048d180f33641a8fb5a3275fc13a03d6d8a.zip
blt-80339048d180f33641a8fb5a3275fc13a03d6d8a.tar.gz
blt-80339048d180f33641a8fb5a3275fc13a03d6d8a.tar.bz2
update TEA 3.10
Diffstat (limited to 'tktable/Makefile.in')
-rw-r--r--[-rwxr-xr-x]tktable/Makefile.in42
1 files changed, 20 insertions, 22 deletions
diff --git a/tktable/Makefile.in b/tktable/Makefile.in
index 006a41e..5f481dd 100755..100644
--- a/tktable/Makefile.in
+++ b/tktable/Makefile.in
@@ -86,12 +86,12 @@ pkgincludedir = $(includedir)/$(PKG_DIR)
top_builddir = .
INSTALL_OPTIONS =
-INSTALL = $(SHELL) $(srcdir)/tclconfig/install-sh -c ${INSTALL_OPTIONS}
-INSTALL_DATA_DIR = ${INSTALL} -d -m 755
-INSTALL_PROGRAM = ${INSTALL} -m 555
-INSTALL_DATA = ${INSTALL} -m 444
-INSTALL_SCRIPT = ${INSTALL_PROGRAM}
-INSTALL_LIBRARY = ${INSTALL} -m 644
+INSTALL = @INSTALL@ ${INSTALL_OPTIONS}
+INSTALL_DATA_DIR = @INSTALL_DATA_DIR@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_LIBRARY = @INSTALL_LIBRARY@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
@@ -144,21 +144,18 @@ TCLSH = $(PKG_ENV) $(TCLSH_ENV) $(TCLSH_PROG)
SHARED_BUILD = @SHARED_BUILD@
-#INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@
-INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
+INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@
+#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
+# must make sure that configure.ac 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) \
- -DTBL_COMMAND=\"table\" \
- -DTBL_RUNTIME=\"tkTable.tcl\" \
- -DTBL_RUNTIME_DIR=\"$(pkglibdir)\"
+DEFS = @DEFS@ $(PKG_CFLAGS)
# Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile
CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
@@ -204,6 +201,10 @@ libraries:
#========================================================================
doc:
+ @echo "If you have documentation to create, place the commands to"
+ @echo "build the docs in the 'doc:' target. For example:"
+ @echo " xml2nroff sample.xml > sample.n"
+ @echo " xml2html sample.xml > sample.html"
install: all install-binaries install-libraries install-doc
@@ -295,11 +296,6 @@ $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
VPATH = $(srcdir):$(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win:$(srcdir)/macosx
-# I would prefer to use $< over $?, but FreeBSD's can't handle it, and
-# with only one prereq, $? is sufficient
-tkTable.tcl.h: $(srcdir)/library/tkTable.tcl
- sed -e '/^\#/d' -e '/^$$/d' -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' < `@CYGPATH@ $?` > '$@' || { rm -f $@; exit 1; }
-
.c.@OBJEXT@:
$(COMPILE) -c `@CYGPATH@ $<` -o $@
@@ -320,9 +316,9 @@ dist: dist-clean
$(INSTALL_DATA_DIR) $(DIST_DIR)
cp -p $(srcdir)/ChangeLog $(srcdir)/README* $(srcdir)/license* \
$(srcdir)/aclocal.m4 $(srcdir)/configure $(srcdir)/*.in \
- $(DIST_DIR)/
+ $(srcdir)/configure.ac $(DIST_DIR)/
chmod 664 $(DIST_DIR)/Makefile.in $(DIST_DIR)/aclocal.m4
- chmod 775 $(DIST_DIR)/configure $(DIST_DIR)/configure.in
+ chmod 775 $(DIST_DIR)/configure $(DIST_DIR)/configure.ac
for i in $(srcdir)/*.[ch]; do \
if [ -f $$i ]; then \
@@ -352,18 +348,19 @@ dist: dist-clean
#========================================================================
# Don't modify the file to clean here. Instead, set the "CLEANFILES"
-# variable in configure.in
+# variable in configure.ac
#========================================================================
clean:
-test -z "$(BINARIES)" || rm -f $(BINARIES)
- -rm -f $(PKG_OBJECTS) *.$(OBJEXT) core *.core
+ -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
+ -rm -rf autom4te.cache
#========================================================================
# Install binary object libraries. On Windows this includes both .dll and
@@ -411,6 +408,7 @@ install-lib-binaries: binaries
echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
$(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
fi
+ $(INSTALL_DATA) tktableConfig.sh $(DESTDIR)$(libdir)
#========================================================================
# Install binary executables (e.g. .exe files and dependent .dll files)