1 |
# ASCEND TK Makefile |
2 |
# Mark Thomas |
3 |
# May 27, 1996 |
4 |
# $Date: 1998/05/15 12:43:22 $ |
5 |
# $Revision: 1.17 $ |
6 |
# $Author: mthomas $ |
7 |
# $Source: /afs/cs.cmu.edu/project/ascend/Repository/ascend4/TK/Makefile.in,v $ |
8 |
# |
9 |
|
10 |
# This file installs the ASCEND specific tcl/tk code and into |
11 |
# the install directory ASCEND_TK_DIR |
12 |
# |
13 |
# This Makefile is the top level makefile for the directory tree |
14 |
# rooted here. Typing `make' in this directory will traverse the |
15 |
# directory tree (`make' descends into the directories listed in |
16 |
# INSTALL_SUBDIR_LIST). |
17 |
|
18 |
# Two macros get defined here and in every Makefile in the |
19 |
# subdirectory tree: |
20 |
# |
21 |
# INSTALL_SUBDIR_LIST -- lists the subdirectories of this directory |
22 |
# which contain files to be installed |
23 |
# |
24 |
# INSTALL_FILE_LIST -- lists the files that are to be installed |
25 |
# when ASCEND is installed |
26 |
# |
27 |
# Since this is the top of this directory tree, this Makefile needs |
28 |
# to define some macros that are used throughout the tree: |
29 |
# |
30 |
# RULES_FILE -- a makefile that contains general rules for this |
31 |
# directory tree; it is passed by `make' to every |
32 |
# subdirectory and included by that directory's |
33 |
# Makefile |
34 |
# |
35 |
# INSTALL_TARGET_DIR -- the directory in which to install the files |
36 |
# |
37 |
# TAGSFILE -- The file to create when running `etags'. The default |
38 |
# behavior is to put all the `etags' entries into one |
39 |
# TAGS file at the top of the subtree. |
40 |
|
41 |
|
42 |
SHELL = /bin/sh |
43 |
builddir = @tkdir_topbuilddir@/ascend4 |
44 |
srcdir = @srcdir@ |
45 |
VPATH = @srcdir@ |
46 |
|
47 |
|
48 |
|
49 |
# the default target. `make' without a target does nothing |
50 |
default:: |
51 |
|
52 |
# these targets install all files in this subtree |
53 |
install install-libraries install-TK:: Makefile.Rules install-subtree |
54 |
|
55 |
# unintall the files in this subtree |
56 |
uninstall:: uninstall-subtree |
57 |
|
58 |
# Warn when the Makefile.Rules is older than Makefile.Rules.in |
59 |
Makefile.Rules: $(srcdir)/Makefile.Rules.in |
60 |
@echo "" |
61 |
@echo "$(srcdir)/Makefile.Rules.in is newer than Makefile.Rules" |
62 |
@echo "Consider running 'configure' again or running 'make makes'" |
63 |
@echo "" |
64 |
|
65 |
# when backing up makefiles, also save the Makefile.Rules file |
66 |
save-makes:: |
67 |
-$(CP) Makefile.Rules Makefile.Rules.SAVED |
68 |
|
69 |
|
70 |
|
71 |
RULES_FILE = Makefile.Rules |
72 |
|
73 |
TAGSFILE = TAGS |
74 |
|
75 |
INSTALL_TARGET_DIR = $(ASCEND_TK_DIR) |
76 |
|
77 |
INSTALL_SUBDIR_LIST = \ |
78 |
bitmaps \ |
79 |
templates |
80 |
|
81 |
INSTALL_FILE_LIST = \ |
82 |
AscendRC \ |
83 |
BrowserProc.tcl \ |
84 |
CallbackProc.tcl \ |
85 |
DebugProc.tcl \ |
86 |
DisplayProc.tcl \ |
87 |
GlobalProc.tcl \ |
88 |
HubProc.tcl \ |
89 |
LibraryProc.tcl \ |
90 |
License-Warranty.tcl \ |
91 |
MtxProc.tcl \ |
92 |
NoteboxProc.tcl \ |
93 |
ProbeProc.tcl \ |
94 |
ScriptProc.tcl \ |
95 |
SolverProc.tcl \ |
96 |
ToolboxProc.tcl \ |
97 |
TypetreeProc.tcl \ |
98 |
UnitsProc.tcl \ |
99 |
UtilProc.tcl \ |
100 |
View.tcl \ |
101 |
WWWHelpProc.tcl \ |
102 |
WhoDunnit.tcl \ |
103 |
ascStudy.tcl \ |
104 |
ascend.ad \ |
105 |
ascend.tcl \ |
106 |
ascplot.tcl \ |
107 |
ascplotproc.tcl \ |
108 |
baatest.tcl \ |
109 |
browser.tcl \ |
110 |
callback.tcl \ |
111 |
debug.tcl \ |
112 |
display.tcl \ |
113 |
generalk.tcl \ |
114 |
library.tcl \ |
115 |
main.tcl \ |
116 |
mergedat.tcl \ |
117 |
methods.tcl \ |
118 |
mps.tcl \ |
119 |
mtx.tcl \ |
120 |
notebox.tcl \ |
121 |
pane.tcl \ |
122 |
probe.tcl \ |
123 |
script.tcl \ |
124 |
solver.tcl \ |
125 |
tclIndex \ |
126 |
toolbox.tcl \ |
127 |
typetree.tcl \ |
128 |
units.tcl \ |
129 |
util.tcl |
130 |
|
131 |
|
132 |
|
133 |
include $(builddir)/ConfigAscend |
134 |
include $(RULES_FILE) |