OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [makefile.vc] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
#
2
# Visual C++ 4.1 makefile
3
#
4
 
5
# This is the main Visual C++ makefile for the Windows distribution
6
# of [incr Tcl] version 2.2.  To compile the distribution using Visual
7
# C++, copy "makefile.vc" to "makefile".  Then set the macros for the
8
# location of the source tree, the target directory, and the Microsoft
9
# Compilers.  You may then "make dist" to build the distribution, and
10
# "make dist-install" to install it to the target directory you specify
11
# below.
12
 
13
#
14
# There are three primary targets for the distribution:
15
#
16
# dist: build the entire distribution: Tcl, Tk, Itcl, Itk
17
#
18
# dist-install: moves built files to target directory
19
#
20
# dist-clean: erases built files in source tree
21
 
22
#
23
# TOOLS32 = location of VC++ 32-bit development tools. Note that the
24
#           VC++ 2.0 header files are broken, so you need to use the
25
#           ones that come with the developer network CD's, or later
26
#           versions of VC++.
27
#
28
# TOOLS16 = location of VC++ 1.5 16-bit tools, needed to build thunking
29
#           library.  This information is optional; if the 16-bit compiler
30
#           is not available, then the 16-bit code will not be built.
31
#           Tcl will still run without the 16-bit code, but...
32
#               A. Under Windows 3.X you will any calls to the exec command
33
#                  will return an error.
34
#               B. A 16-bit program to test the behavior of the exec
35
#                  command under NT and 95 will not be built.
36
#
37
# TARGET_ROOT -- Target Directory for installation
38
#
39
# SOURCE_ROOT -- Path to root of source tree
40
#
41
 
42
TOOLS32         = c:\msdev
43
TOOLS16         = c:\msvc
44
TARGET_ROOT     = c:\Program files\Itcl2.2
45
SOURCE_ROOT     = c:\itcl2.2
46
 
47
#
48
# You should not have to modify anything further in this makefile
49
#
50
 
51
#
52
# Borland C++ tools
53
#
54
 
55
cc32            = $(TOOLS32)\bin\cl.exe
56
link32          = $(TOOLS32)\bin\link.exe
57
rc32            = $(TOOLS32)\bin\rc.exe
58
include32       = -I$(TOOLS32)\include
59
 
60
cc16            = $(TOOLS16)\bin\cl.exe
61
link16          = $(TOOLS16)\bin\link.exe
62
rc16            = $(TOOLS16)\bin\rc.exe
63
include16       = -I$(TOOLS16)\include
64
MAKE            = $(TOOLS32)\bin\nmake -fmakefile.vc
65
 
66
#
67
# System calls
68
#
69
 
70
CP                      = copy
71
RM                      = del
72
MKDIR                   = -mkdir
73
 
74
#
75
# Source and Build Paths
76
#
77
 
78
TCLDIR          = $(SOURCE_ROOT)\Tcl7.6
79
TKDIR           = $(SOURCE_ROOT)\Tk4.2
80
ITCLDIR         = $(SOURCE_ROOT)\Itcl
81
ITKDIR          = $(SOURCE_ROOT)\Itk
82
IWIDGETSDIR     = $(SOURCE_ROOT)\Iwidgets2.2.0
83
 
84
#
85
# Target Paths
86
#
87
 
88
TARGET_BIN      = $(TARGET_ROOT)\Bin
89
TARGET_LIB_ROOT = $(TARGET_ROOT)\Lib
90
TARGET_LIB      = $(TARGET_LIB_ROOT)\Itcl
91
TARGET_INCLUDE_ROOT = $(TARGET_ROOT)\Include
92
TARGET_INCLUDE  = $(TARGET_INCLUDE_ROOT)\Itcl
93
TARGET_DOC      = $(TARGET_ROOT)\Html
94
 
95
#
96
# Shared Target Files:
97
#
98
 
99
TCLLIB          = Tcl76i.lib
100
TCLDLL          = Tcl76i.dll
101
TKLIB           = Tk42i.lib
102
TKDLL           = Tk42i.dll
103
ITCLLIB         = Itcl22.lib
104
ITCLDLL         = Itcl22.dll
105
ITKLIB          = Itk22.lib
106
ITKDLL          = Itk22.dll
107
 
108
#
109
# Paths to Build locations of libraries
110
#
111
TCLLIBDIR       = $(TCLDIR)\Win
112
TKLIBDIR        = $(TKDIR)\Win
113
ITCLLIBDIR      = $(ITCLDIR)\Win
114
ITKLIBDIR       = $(ITKDIR)\Win
115
 
116
 
117
dist:
118
   cd $(TCLDIR)\Win
119
   $(MAKE) all
120
   cd $(TKDIR)\Win
121
   $(MAKE) all
122
   cd $(ITCLDIR)\Win
123
   $(MAKE) all
124
   cd $(ITKDIR)\Win
125
   $(MAKE) all
126
 
127
dist-install:
128
   cd $(TCLDIR)\Win
129
   $(MAKE) install
130
   cd $(TKDIR)\Win
131
   $(MAKE) install
132
   cd $(ITCLDIR)\Win
133
   $(MAKE) install
134
   cd $(ITKDIR)\Win
135
   $(MAKE) install
136
   cd $(IWIDGETSDIR)\Win
137
   $(MAKE) install
138
 
139
dist-clean:
140
   cd $(TCLDIR)\Win
141
   $(MAKE) clean
142
   cd $(TKDIR)\Win
143
   $(MAKE) clean
144
   cd $(ITCLDIR)\Win
145
   $(MAKE) clean
146
   cd $(ITKDIR)\Win
147
   $(MAKE) clean

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.