URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
[/] [or1k_old/] [trunk/] [insight/] [itcl/] [makefile.vc] - Rev 1782
Compare with Previous | Blame | View Log
## Visual C++ 4.1 makefile## This is the main Visual C++ makefile for the Windows distribution# of [incr Tcl] version 2.2. To compile the distribution using Visual# C++, copy "makefile.vc" to "makefile". Then set the macros for the# location of the source tree, the target directory, and the Microsoft# Compilers. You may then "make dist" to build the distribution, and# "make dist-install" to install it to the target directory you specify# below.## There are three primary targets for the distribution:## dist: build the entire distribution: Tcl, Tk, Itcl, Itk## dist-install: moves built files to target directory## dist-clean: erases built files in source tree## TOOLS32 = location of VC++ 32-bit development tools. Note that the# VC++ 2.0 header files are broken, so you need to use the# ones that come with the developer network CD's, or later# versions of VC++.## TOOLS16 = location of VC++ 1.5 16-bit tools, needed to build thunking# library. This information is optional; if the 16-bit compiler# is not available, then the 16-bit code will not be built.# Tcl will still run without the 16-bit code, but...# A. Under Windows 3.X you will any calls to the exec command# will return an error.# B. A 16-bit program to test the behavior of the exec# command under NT and 95 will not be built.## TARGET_ROOT -- Target Directory for installation## SOURCE_ROOT -- Path to root of source tree#TOOLS32 = c:\msdevTOOLS16 = c:\msvcTARGET_ROOT = c:\Program files\Itcl2.2SOURCE_ROOT = c:\itcl2.2## You should not have to modify anything further in this makefile### Borland C++ tools#cc32 = $(TOOLS32)\bin\cl.exelink32 = $(TOOLS32)\bin\link.exerc32 = $(TOOLS32)\bin\rc.exeinclude32 = -I$(TOOLS32)\includecc16 = $(TOOLS16)\bin\cl.exelink16 = $(TOOLS16)\bin\link.exerc16 = $(TOOLS16)\bin\rc.exeinclude16 = -I$(TOOLS16)\includeMAKE = $(TOOLS32)\bin\nmake -fmakefile.vc## System calls#CP = copyRM = delMKDIR = -mkdir## Source and Build Paths#TCLDIR = $(SOURCE_ROOT)\Tcl7.6TKDIR = $(SOURCE_ROOT)\Tk4.2ITCLDIR = $(SOURCE_ROOT)\ItclITKDIR = $(SOURCE_ROOT)\ItkIWIDGETSDIR = $(SOURCE_ROOT)\Iwidgets2.2.0## Target Paths#TARGET_BIN = $(TARGET_ROOT)\BinTARGET_LIB_ROOT = $(TARGET_ROOT)\LibTARGET_LIB = $(TARGET_LIB_ROOT)\ItclTARGET_INCLUDE_ROOT = $(TARGET_ROOT)\IncludeTARGET_INCLUDE = $(TARGET_INCLUDE_ROOT)\ItclTARGET_DOC = $(TARGET_ROOT)\Html## Shared Target Files:#TCLLIB = Tcl76i.libTCLDLL = Tcl76i.dllTKLIB = Tk42i.libTKDLL = Tk42i.dllITCLLIB = Itcl22.libITCLDLL = Itcl22.dllITKLIB = Itk22.libITKDLL = Itk22.dll## Paths to Build locations of libraries#TCLLIBDIR = $(TCLDIR)\WinTKLIBDIR = $(TKDIR)\WinITCLLIBDIR = $(ITCLDIR)\WinITKLIBDIR = $(ITKDIR)\Windist:cd $(TCLDIR)\Win$(MAKE) allcd $(TKDIR)\Win$(MAKE) allcd $(ITCLDIR)\Win$(MAKE) allcd $(ITKDIR)\Win$(MAKE) alldist-install:cd $(TCLDIR)\Win$(MAKE) installcd $(TKDIR)\Win$(MAKE) installcd $(ITCLDIR)\Win$(MAKE) installcd $(ITKDIR)\Win$(MAKE) installcd $(IWIDGETSDIR)\Win$(MAKE) installdist-clean:cd $(TCLDIR)\Win$(MAKE) cleancd $(TKDIR)\Win$(MAKE) cleancd $(ITCLDIR)\Win$(MAKE) cleancd $(ITKDIR)\Win$(MAKE) clean
