os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tools/Makefile.in
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tools/Makefile.in Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,69 @@
1.4 +# This makefile is used to convert Tcl manual pages into various
1.5 +# alternate formats:
1.6 +#
1.7 +# Windows help file: 1. Build the winhelp target on Unix
1.8 +# 2. Build the helpfile target on Windows
1.9 +#
1.10 +# HTML: 1. Build the html target on Unix
1.11 +
1.12 +# RCS: @(#) $Id: Makefile.in,v 1.9 2000/04/20 01:30:20 hobbs Exp $
1.13 +
1.14 +TCL = tcl@TCL_VERSION@
1.15 +TK = tk@TCL_VERSION@
1.16 +VER = @TCL_WIN_VERSION@
1.17 +
1.18 +TCL_BIN_DIR = @TCL_BIN_DIR@
1.19 +TCL_SOURCE = @TCL_SRC_DIR@
1.20 +TK_SOURCE = $(TCL_SOURCE)/../$(TK)
1.21 +PRO_SOURCE = $(TCL_SOURCE)/../pro
1.22 +ITCL_SOURCE = $(TCL_SOURCE)/../itcl3.1.0
1.23 +
1.24 +TCL_DOCS = $(TCL_SOURCE)/doc/*.[13n]
1.25 +
1.26 +TK_DOCS = $(TK_SOURCE)/doc/*.[13n]
1.27 +
1.28 +PRO_DOCS = \
1.29 + $(PRO_SOURCE)/doc/man/procheck.1 \
1.30 + $(PRO_SOURCE)/doc/man/prodebug.1 \
1.31 + $(PRO_SOURCE)/doc/man/prodebug.n \
1.32 + $(PRO_SOURCE)/doc/man/prolicense.1
1.33 +
1.34 +ITCL_DOCS = \
1.35 + $(ITCL_SOURCE)/itcl/doc/*.[13n] \
1.36 + $(ITCL_SOURCE)/itk/doc/*.[13n]
1.37 +
1.38 +# $(ITCL_SOURCE)/iwidgets3.0.0/doc/*.[13n]
1.39 +
1.40 +COREDOCS = $(TCL_DOCS) $(TK_DOCS)
1.41 +#PRODOCS = $(COREDOCS) $(PRO_DOCS) $(ITCL_DOCS)
1.42 +PRODOCS = $(COREDOCS) $(PRO_DOCS)
1.43 +TCLSH = $(TCL_BIN_DIR)/tclsh
1.44 +CC = @CC@
1.45 +
1.46 +#
1.47 +# Targets
1.48 +#
1.49 +
1.50 +all: core
1.51 +
1.52 +pro:
1.53 + $(MAKE) DOCS="$(PRODOCS)" VER="" rtf
1.54 +
1.55 +core:
1.56 + $(MAKE) DOCS="$(COREDOCS)" rtf
1.57 +
1.58 +rtf: $(TCL_SOURCE)/tools/man2help.tcl man2tcl $(DOCS)
1.59 + LD_LIBRARY_PATH=$(TCL_BIN_DIR) \
1.60 + TCL_LIBRARY=$(TCL_SOURCE)/library \
1.61 + $(TCLSH) $(TCL_SOURCE)/tools/man2help.tcl tcl "$(VER)" $(DOCS)
1.62 +
1.63 +winhelp: tcl.rtf
1.64 +
1.65 +man2tcl: $(TCL_SOURCE)/tools/man2tcl.c
1.66 + $(CC) $(CFLAGS) -o man2tcl $(TCL_SOURCE)/tools/man2tcl.c
1.67 +
1.68 +clean:
1.69 + -rm -f man2tcl *.o *.cnt *.rtf
1.70 +
1.71 +helpfile:
1.72 + hcw /c /e tcl.hpj