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 |
|
45
|
22 |
SBROWSER_OBJ=SBrowser.$(O)
|
|
23 |
# SBROWSER_OBJ=SBrowser_1.$(O) SBrowser_2.$(O)
|
|
24 |
|
42
|
25 |
all:: abbrev.stc objs classList.stc $(OBJTARGET)
|
30
|
26 |
|
57
|
27 |
objs:: \
|
|
28 |
$(SBROWSER_OBJ) \
|
|
29 |
CBrowser.$(O) \
|
|
30 |
DebugView.$(O) \
|
|
31 |
Launcher.$(O) \
|
|
32 |
InspView.$(O) \
|
|
33 |
DictInspV.$(O) \
|
|
34 |
ConInspV.$(O) \
|
|
35 |
OCInspView.$(O) \
|
|
36 |
FBrowser.$(O) \
|
30
|
37 |
DirBrwsr.$(O)
|
|
38 |
|
57
|
39 |
classList.stc: Make.proto
|
42
|
40 |
$(MAKE) genClassList
|
|
41 |
|
30
|
42 |
cleanjunk::
|
42
|
43 |
-rm -f *.c *.H
|
30
|
44 |
|
|
45 |
clean::
|
42
|
46 |
-rm -f *.c *.H classList.stc abbrev.stc
|
45
|
47 |
-rm SBrowser_1.st SBrowser_2.st
|
30
|
48 |
|
|
49 |
clobber::
|
42
|
50 |
-rm -f *.c *.H classList.stc abbrev.stc
|
45
|
51 |
-rm SBrowser_1.st SBrowser_2.st
|
30
|
52 |
|
57
|
53 |
SPLIT: SBrowser_1.st SBrowser_2.st
|
45
|
54 |
|
|
55 |
CLEAN:
|
|
56 |
@-rm SBrowser_1.st SBrowser_2.st
|
|
57 |
|
|
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
|
30
|
64 |
tar:
|
|
65 |
(cd $(TOP); tar cvf DISTRIB/libtool.tar \
|
|
66 |
libtool/Make.proto \
|
|
67 |
libtool/*.st \
|
|
68 |
libtool/resources \
|
57
|
69 |
libtool/bitmaps)
|
49
|
70 |
|
|
71 |
uutar:
|
|
72 |
$(MAKE) tar
|
58
|
73 |
gzip $(TOP)/DISTRIB/libtool.tar
|
|
74 |
-rm $(TOP)/DISTRIB/libtool.tar
|
49
|
75 |
(cd $(TOP)/DISTRIB; uuencode libtool.tar.gz libtool.tar.gz > libtool.tar.gz.uue)
|
58
|
76 |
-rm $(TOP)/DISTRIB/libtool.tar.gz
|
30
|
77 |
|
|
78 |
#
|
|
79 |
# special BIG-rule (kludge for HP)
|
|
80 |
#
|
|
81 |
SBrowser.$(O):
|
|
82 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SBrowser
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
#
|
|
87 |
# next thing I'll build into stc is a makedepend feature for this ...
|
|
88 |
#
|
45
|
89 |
I=$(INCLUDE)
|
56
|
90 |
OBJECT=$(I)/Object.H $(I)/stc.h $(I)/stcIntern.h $(CPUINTERN_H)
|
45
|
91 |
VIEW=$(I)/View.H $(OBJECT)
|
52
|
92 |
STDSYSVIEW=$(I)/StdSysV.H $(VIEW)
|
30
|
93 |
|
|
94 |
InspView.$(O): InspView.st $(VIEW)
|
45
|
95 |
DictInspV.$(O): DictInspV.st $(I)/InspView.H $(VIEW)
|
|
96 |
ConInspV.$(O): ConInspV.st $(I)/InspView.H $(VIEW)
|
|
97 |
OCInspView.$(O): OCInspView.st $(I)/InspView.H $(VIEW)
|
|
98 |
|
|
99 |
# FormEdtView.$(O): FormEdtView.st $(VIEW)
|
30
|
100 |
|
|
101 |
DebugView.$(O): DebugView.st $(STDSYSVIEW)
|
|
102 |
Launcher.$(O): Launcher.st $(STDSYSVIEW)
|
|
103 |
ProjectV.$(O): ProjectV.st $(STDSYSVIEW)
|
|
104 |
SBrowser.$(O): SBrowser.st $(STDSYSVIEW)
|
45
|
105 |
SBrowser_1.$(O): SBrowser_1.st $(STDSYSVIEW)
|
|
106 |
SBrowser_2.$(O): SBrowser_2.st $(STDSYSVIEW)
|
30
|
107 |
CBrowser.$(O): CBrowser.st $(STDSYSVIEW)
|
|
108 |
FBrowser.$(O): FBrowser.st $(STDSYSVIEW)
|
|
109 |
DirBrwsr.$(O): DirBrwsr.st $(STDSYSVIEW)
|