File: makefile.bc

package info (click to toggle)
itcl3.1 3.1.0-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,604 kB
  • ctags: 1,045
  • sloc: tcl: 33,268; ansic: 14,071; sh: 3,920; makefile: 762; awk: 273; perl: 265
file content (114 lines) | stat: -rw-r--r-- 2,087 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Borland 5.01 Makefile for Itcl 2.2 Distribution
#
# This is the main Borland makefile for the Windows distribution
# of [incr Tcl] version 2.2.

#
# TOOLS -- path to root of Borland Directory
# TARGET_ROOT -- Target Directory for installation
# SOURCE_ROOT -- Path to root of source tree

TOOLS		= c:\bc45
TARGET_ROOT	= c:\Program files\Itcl2.2
SOURCE_ROOT	= c:\Itcl2.2

#
# You should not have to modify anything further in this makefile
#

#
# Borland C++ tools
#

BORLAND = $(TOOLS)
IMPLIB  = $(BORLAND)\bin\Implib
BCC32   = $(BORLAND)\bin\Bcc32
TLINK32 = $(BORLAND)\bin\tlink32
RC      = $(BORLAND)\bin\brcc32
BCC     = $(BORLAND)\bin\Bcc
TLINK   = $(BORLAND)\bin\tlink
RC16    = $(BORLAND)\bin\brcc32 -31
MAKE	= $(BORLAND)\bin\make -fmakefile.bc

#
# System calls
#

CP      = copy
RM      = del
MKDIR   = -mkdir

#
# Source and Build Paths
#

TCLDIR 		= $(SOURCE_ROOT)\Tcl7.6
TKDIR 		= $(SOURCE_ROOT)\Tk4.2
ITCLDIR		= $(SOURCE_ROOT)\Itcl
ITKDIR		= $(SOURCE_ROOT)\Itk
IWIDGETSDIR	= $(SOURCE_ROOT)\Iwidgets2.2.0

#
# Target Paths
#

TARGET_BIN  	= $(TARGET_ROOT)\Bin
TARGET_LIB_ROOT = $(TARGET_ROOT)\Lib
TARGET_LIB  	= $(TARGET_LIB_ROOT)\Itcl
TARGET_INCLUDE_ROOT = $(TARGET_ROOT)\Include
TARGET_INCLUDE	= $(TARGET_INCLUDE_ROOT)\Itcl
TARGET_DOC 	= $(TARGET_ROOT)\Html

#
# Shared Target Files:
#

TCLLIB		= Tcl76i.lib
TCLDLL		= Tcl76i.dll
TKLIB		= Tk42i.lib
TKDLL		= Tk42i.dll
ITCLLIB		= Itcl22.lib
ITCLDLL		= Itcl22.dll
ITKLIB		= Itk22.lib
ITKDLL		= Itk22.dll

#
# Paths to Build locations of libraries
#
TCLLIBDIR	= $(TCLDIR)\Win
TKLIBDIR	= $(TKDIR)\Win
ITCLLIBDIR	= $(ITCLDIR)\Win
ITKLIBDIR	= $(ITKDIR)\Win


dist:
	cd $(TCLDIR)\Win
	$(MAKE) all
	cd $(TKDIR)\Win
	$(MAKE) all
	cd $(ITCLDIR)\Win
	$(MAKE) all
	cd $(ITKDIR)\Win
	$(MAKE) all

dist-install:
	cd $(TCLDIR)\Win
	$(MAKE) install
	cd $(TKDIR)\Win
	$(MAKE) install
	cd $(ITCLDIR)\Win
	$(MAKE) install
	cd $(ITKDIR)\Win
	$(MAKE) install
	cd $(IWIDGETSDIR)\Win
	$(MAKE) install

dist-clean:
	cd $(TCLDIR)\Win
	$(MAKE) clean
	cd $(TKDIR)\Win
	$(MAKE) clean
	cd $(ITCLDIR)\Win
	$(MAKE) clean
	cd $(ITKDIR)\Win
	$(MAKE) clean