diff options
author | wart <wart> | 1999-12-07 01:03:19 (GMT) |
---|---|---|
committer | wart <wart> | 1999-12-07 01:03:19 (GMT) |
commit | fc5ee3e128c6725dc4b68210bfa5b5904e558c25 (patch) | |
tree | 1c7472aad9a2cfc7fd10a65eb6d0e842f427d371 /win/Makefile.in | |
parent | 60c81a7684be2edbc5f8f8597580cf7ce7a89667 (diff) | |
download | tk-fc5ee3e128c6725dc4b68210bfa5b5904e558c25.zip tk-fc5ee3e128c6725dc4b68210bfa5b5904e558c25.tar.gz tk-fc5ee3e128c6725dc4b68210bfa5b5904e558c25.tar.bz2 |
Added support for building Windows winhelp files.
Diffstat (limited to 'win/Makefile.in')
-rw-r--r-- | win/Makefile.in | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 96a17d5..24208c6 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -4,7 +4,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.14 1999/11/23 22:22:34 wart Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.15 1999/12/07 01:03:19 wart Exp $ TCLVERSION = @TCL_VERSION@ VERSION = @TK_VERSION@ @@ -121,6 +121,7 @@ STATIC_LIBRARIES = $(TK_LIB_FILE) WISH = wish$(VER)${EXESUFFIX} TKTEST = tktest${EXEEXT} CAT32 = cat32 +MAN2TCL = man2tcl$(EXEEXT) @SET_MAKE@ @@ -153,6 +154,9 @@ LDFLAGS_OPTIMIZE = @LDFLAGS_OPTIMIZE@ #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) CFLAGS = @CFLAGS@ +# Special compiler flags to use when building man2tcl on Windows. +MAN2TCLFLAGS = @MAN2TCLFLAGS@ + AR = @AR@ CC = @CC@ RC = @RC@ @@ -178,6 +182,8 @@ COPY = cp CC_OBJNAME = @CC_OBJNAME@ CC_EXENAME = @CC_EXENAME@ +TCLSH_PROG = @TCLSH_PROG@ + CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} \ -I"${GENERIC_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" \ -I"${XLIB_DIR_NATIVE}" -I"${BITMAP_DIR_NATIVE}" \ @@ -327,6 +333,10 @@ TK_OBJS = \ STUB_OBJS = \ tkStubLib.$(OBJEXT) +TCL_DOCS = "$(TCL_SRC_DIR_NATIVE)"/../doc/*.[13n] +TK_DOCS = "$(ROOT_DIR_NATIVE)"/doc/*.[13n] +CORE_DOCS = $(TCL_DOCS) $(TK_DOCS) + DEMOPROGS = browse hello ixset rmt rolodex square tcolor timer widget # Main targets. The default target -- all -- builds the binaries, @@ -341,7 +351,17 @@ libraries: $(ROOT_DIR)/doc/man.macros: $(INSTALL_DATA) @TCL_SRC_DIR@/../doc/man.macros $(ROOT_DIR)/doc/man.macros -doc: $(ROOT_DIR)/doc/man.macros +doc: + +winhelp: $(ROOT_DIR)/doc/man.macros $(TCL_SRC_DIR_NATIVE)/../tools/man2help.tcl $(MAN2TCL) + TCL_LIBRARY="$(TCL_SRC_DIR_NATIVE)/../library"; export TCL_LIBRARY; \ + TK_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TK_LIBRARY; \ + PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \ + $(TCLSH_PROG) "$(TCL_SRC_DIR_NATIVE)"/../tools/man2help.tcl tcl "$(VER)" $(CORE_DOCS) + hcw /c /e tcl.hpj + +$(MAN2TCL): $(TCL_SRC_DIR_NATIVE)/../tools/man2tcl.c + $(CC) $(CFLAGS_OPTIMIZE) $(MAN2TCLFLAGS) -o $(MAN2TCL) "$(TCL_SRC_DIR_NATIVE)"/../tools/man2tcl.c test: binaries $(TKTEST) @TCL_LIBRARY="$(TCL_SRC_DIR_NATIVE)/../library"; export TCL_LIBRARY; \ |