Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/tools/Makefile.in @ 43

Last change on this file since 43 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 1.5 KB
Line 
1# This makefile is used to convert Tcl manual pages into various
2# alternate formats:
3#
4#    Windows help file:  1. Build the winhelp target on Unix
5#                        2. Build the helpfile target on Windows
6#
7#    HTML:               1. Build the html target on Unix
8
9# RCS: @(#) $Id: Makefile.in,v 1.11 2007/12/13 15:28:40 dgp Exp $
10
11TCL             = tcl@TCL_VERSION@
12TK              = tk@TCL_VERSION@
13VER             = @TCL_WIN_VERSION@
14
15TCL_BIN_DIR     = @TCL_BIN_DIR@
16TCL_SOURCE      = @TCL_SRC_DIR@
17TK_SOURCE       = $(TCL_SOURCE)/../$(TK)
18PRO_SOURCE      = $(TCL_SOURCE)/../pro
19ITCL_SOURCE     = $(TCL_SOURCE)/../itcl3.1.0
20
21TCL_DOCS        = $(TCL_SOURCE)/doc/*.[13n]
22
23TK_DOCS         = $(TK_SOURCE)/doc/*.[13n]
24
25PRO_DOCS        = \
26        $(PRO_SOURCE)/doc/man/procheck.1 \
27        $(PRO_SOURCE)/doc/man/prodebug.1 \
28        $(PRO_SOURCE)/doc/man/prodebug.n \
29        $(PRO_SOURCE)/doc/man/prolicense.1
30
31ITCL_DOCS       = \
32        $(ITCL_SOURCE)/itcl/doc/*.[13n] \
33        $(ITCL_SOURCE)/itk/doc/*.[13n]
34
35#       $(ITCL_SOURCE)/iwidgets3.0.0/doc/*.[13n]
36
37COREDOCS        = $(TCL_DOCS) $(TK_DOCS)
38#PRODOCS        = $(COREDOCS) $(PRO_DOCS) $(ITCL_DOCS)
39PRODOCS         = $(COREDOCS) $(PRO_DOCS)
40TCLSH           = $(TCL_BIN_DIR)/tclsh
41CC              = @CC@
42
43#
44# Targets
45#
46
47all: core
48
49pro:
50        $(MAKE) DOCS="$(PRODOCS)" VER="" rtf
51
52core:
53        $(MAKE) DOCS="$(COREDOCS)" rtf
54
55rtf: $(TCL_SOURCE)/tools/man2help.tcl man2tcl $(DOCS)
56        LD_LIBRARY_PATH=$(TCL_BIN_DIR) \
57        TCL_LIBRARY=$(TCL_SOURCE)/library \
58        $(TCLSH) $(TCL_SOURCE)/tools/man2help.tcl tcl "$(VER)" $(DOCS)
59
60winhelp: tcl.rtf
61
62man2tcl: $(TCL_SOURCE)/tools/man2tcl.c
63        $(CC) $(CFLAGS) -o man2tcl $(TCL_SOURCE)/tools/man2tcl.c
64
65clean:
66        -rm -f man2tcl *.o *.cnt *.rtf
67
68helpfile:
69        hcw /c /e tcl.hpj
Note: See TracBrowser for help on using the repository browser.