30
|
1 |
# %W% %E%
|
|
2 |
|
|
3 |
# -------------- no need to change anything below ----------
|
|
4 |
|
45
|
5 |
#
|
|
6 |
# there is one speciality to be found below:
|
|
7 |
#
|
|
8 |
# SBrowser became too big to be compiled on hp and NeXT
|
|
9 |
# (and also takes up too much disk-space in the tmp-directory
|
|
10 |
# for a typical sun installation).
|
|
11 |
# Therefore, it is compiled in two pieces - this should
|
|
12 |
# work on all systems.
|
|
13 |
#
|
30
|
14 |
TOP=..
|
|
15 |
SUBDIRS=
|
|
16 |
|
|
17 |
LIBNAME=libtool
|
|
18 |
|
|
19 |
STCOPT=$(LIBTOOL_STCOPT)
|
57
|
20 |
STCLOCALOPT=-Pprogramming-tools $(COMMONSYMBOLS)
|
30
|
21 |
|
42
|
22 |
all:: abbrev.stc objs classList.stc $(OBJTARGET)
|
30
|
23 |
|
57
|
24 |
objs:: \
|
|
25 |
$(SBROWSER_OBJ) \
|
64
|
26 |
$(CBROWSER_OBJ) \
|
57
|
27 |
DebugView.$(O) \
|
|
28 |
Launcher.$(O) \
|
|
29 |
InspView.$(O) \
|
|
30 |
DictInspV.$(O) \
|
|
31 |
ConInspV.$(O) \
|
|
32 |
OCInspView.$(O) \
|
64
|
33 |
$(FBROWSER_OBJ) \
|
|
34 |
$(DIRBROWSER_OBJ)
|
30
|
35 |
|
57
|
36 |
classList.stc: Make.proto
|
42
|
37 |
$(MAKE) genClassList
|
|
38 |
|
30
|
39 |
cleanjunk::
|
42
|
40 |
-rm -f *.c *.H
|
30
|
41 |
|
|
42 |
clean::
|
42
|
43 |
-rm -f *.c *.H classList.stc abbrev.stc
|
45
|
44 |
-rm SBrowser_1.st SBrowser_2.st
|
30
|
45 |
|
|
46 |
clobber::
|
42
|
47 |
-rm -f *.c *.H classList.stc abbrev.stc
|
45
|
48 |
-rm SBrowser_1.st SBrowser_2.st
|
30
|
49 |
|
57
|
50 |
SPLIT: SBrowser_1.st SBrowser_2.st
|
45
|
51 |
|
|
52 |
CLEAN:
|
|
53 |
@-rm SBrowser_1.st SBrowser_2.st
|
|
54 |
|
64
|
55 |
#
|
|
56 |
# forget that - its EXPERIMENTAL
|
|
57 |
#
|
45
|
58 |
SBrowser_1.st: SBrowser.st
|
|
59 |
sed '/class category menu/,$$d' < SBrowser.st > SBrowser_1.st
|
|
60 |
|
|
61 |
SBrowser_2.st: SBrowser.st
|
|
62 |
echo "!SystemBrowser methodsFor:'class category menu'!" > SBrowser_2.st
|
|
63 |
sed '1,/class category menu/d' < SBrowser.st >> SBrowser_2.st
|
64
|
64 |
|
|
65 |
|
30
|
66 |
tar:
|
|
67 |
(cd $(TOP); tar cvf DISTRIB/libtool.tar \
|
60
|
68 |
libtool/.dir.info \
|
30
|
69 |
libtool/Make.proto \
|
|
70 |
libtool/*.st \
|
|
71 |
libtool/resources \
|
57
|
72 |
libtool/bitmaps)
|
49
|
73 |
|
30
|
74 |
#
|
|
75 |
# special BIG-rule (kludge for HP)
|
|
76 |
#
|
|
77 |
SBrowser.$(O):
|
|
78 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SBrowser
|
|
79 |
|
|
80 |
#
|
|
81 |
# next thing I'll build into stc is a makedepend feature for this ...
|
|
82 |
#
|
45
|
83 |
I=$(INCLUDE)
|
56
|
84 |
OBJECT=$(I)/Object.H $(I)/stc.h $(I)/stcIntern.h $(CPUINTERN_H)
|
45
|
85 |
VIEW=$(I)/View.H $(OBJECT)
|
52
|
86 |
STDSYSVIEW=$(I)/StdSysV.H $(VIEW)
|
75
|
87 |
MODEL=$(I)/Model.H $(OBJECT)
|
30
|
88 |
|
|
89 |
InspView.$(O): InspView.st $(VIEW)
|
45
|
90 |
DictInspV.$(O): DictInspV.st $(I)/InspView.H $(VIEW)
|
|
91 |
ConInspV.$(O): ConInspV.st $(I)/InspView.H $(VIEW)
|
|
92 |
OCInspView.$(O): OCInspView.st $(I)/InspView.H $(VIEW)
|
|
93 |
|
30
|
94 |
DebugView.$(O): DebugView.st $(STDSYSVIEW)
|
|
95 |
Launcher.$(O): Launcher.st $(STDSYSVIEW)
|
|
96 |
ProjectV.$(O): ProjectV.st $(STDSYSVIEW)
|
75
|
97 |
SBrowser.$(O): SBrowser.st $(STDSYSVIEW) $(MODEL)
|
|
98 |
BrwsrView.$(O): BrwsrView.st $(STDSYSVIEW)
|
30
|
99 |
CBrowser.$(O): CBrowser.st $(STDSYSVIEW)
|
|
100 |
FBrowser.$(O): FBrowser.st $(STDSYSVIEW)
|
|
101 |
DirBrwsr.$(O): DirBrwsr.st $(STDSYSVIEW)
|
64
|
102 |
|
|
103 |
SBrowser_1.$(O): SBrowser_1.st $(STDSYSVIEW)
|
|
104 |
SBrowser_2.$(O): SBrowser_2.st $(STDSYSVIEW)
|