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)
|
105
|
20 |
STCLOCALOPT='-Pprogramming-tools-(libtool)' $(COMMONSYMBOLS)
|
30
|
21 |
|
85
|
22 |
RCSSOURCES=*.st Make.proto resources/*.rs
|
|
23 |
|
105
|
24 |
all:: abbrev.stc objs classList.stc $(OBJTARGET) GENLIBLIST
|
30
|
25 |
|
108
|
26 |
O=$(O2)
|
|
27 |
|
100
|
28 |
OBJS= \
|
85
|
29 |
AboutBox.$(O) \
|
57
|
30 |
$(SBROWSER_OBJ) \
|
64
|
31 |
$(CBROWSER_OBJ) \
|
57
|
32 |
DebugView.$(O) \
|
|
33 |
Launcher.$(O) \
|
85
|
34 |
NewLauncher.$(O) \
|
57
|
35 |
InspView.$(O) \
|
|
36 |
DictInspV.$(O) \
|
|
37 |
ConInspV.$(O) \
|
|
38 |
OCInspView.$(O) \
|
64
|
39 |
$(FBROWSER_OBJ) \
|
|
40 |
$(DIRBROWSER_OBJ)
|
30
|
41 |
|
57
|
42 |
classList.stc: Make.proto
|
42
|
43 |
$(MAKE) genClassList
|
|
44 |
|
30
|
45 |
cleanjunk::
|
42
|
46 |
-rm -f *.c *.H
|
30
|
47 |
|
|
48 |
clean::
|
108
|
49 |
-rm -f [A-Z]*.o *.c *.H classList.stc abbrev.stc
|
45
|
50 |
-rm SBrowser_1.st SBrowser_2.st
|
30
|
51 |
|
|
52 |
clobber::
|
42
|
53 |
-rm -f *.c *.H classList.stc abbrev.stc
|
45
|
54 |
-rm SBrowser_1.st SBrowser_2.st
|
30
|
55 |
|
57
|
56 |
SPLIT: SBrowser_1.st SBrowser_2.st
|
45
|
57 |
|
|
58 |
CLEAN:
|
|
59 |
@-rm SBrowser_1.st SBrowser_2.st
|
|
60 |
|
64
|
61 |
#
|
|
62 |
# forget that - its EXPERIMENTAL
|
|
63 |
#
|
45
|
64 |
SBrowser_1.st: SBrowser.st
|
|
65 |
sed '/class category menu/,$$d' < SBrowser.st > SBrowser_1.st
|
|
66 |
|
|
67 |
SBrowser_2.st: SBrowser.st
|
|
68 |
echo "!SystemBrowser methodsFor:'class category menu'!" > SBrowser_2.st
|
|
69 |
sed '1,/class category menu/d' < SBrowser.st >> SBrowser_2.st
|
64
|
70 |
|
|
71 |
|
117
|
72 |
AIX:
|
|
73 |
$(MAKE) OPT= BrwsrView.o
|
|
74 |
$(MAKE) OPT= FBrowser.o
|
|
75 |
$(MAKE) OPT=-O2
|
|
76 |
|
30
|
77 |
tar:
|
106
|
78 |
(cd $(TOP); tar cvfh DISTRIB/libtool.tar \
|
60
|
79 |
libtool/.dir.info \
|
30
|
80 |
libtool/Make.proto \
|
|
81 |
libtool/*.st \
|
85
|
82 |
libtool/resources/.dir.info \
|
|
83 |
libtool/resources/*.rs \
|
57
|
84 |
libtool/bitmaps)
|
49
|
85 |
|
30
|
86 |
#
|
|
87 |
# special BIG-rule (kludge for HP)
|
|
88 |
#
|
81
|
89 |
#SBrowser.$(O):
|
85
|
90 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SBrowser
|
81
|
91 |
|
|
92 |
BrwsrView.$(O):
|
|
93 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=BrwsrView
|
30
|
94 |
|
108
|
95 |
BrwsrView.o2: BrwsrView.o
|
|
96 |
cp BrwsrView.o BrwsrView.o2
|
|
97 |
|
30
|
98 |
#
|
|
99 |
# next thing I'll build into stc is a makedepend feature for this ...
|
|
100 |
#
|
45
|
101 |
I=$(INCLUDE)
|
56
|
102 |
OBJECT=$(I)/Object.H $(I)/stc.h $(I)/stcIntern.h $(CPUINTERN_H)
|
105
|
103 |
VIEW=$(I)/View.H $(I)/SimpleView.H $(OBJECT)
|
93
|
104 |
STDSYSVIEW=$(I)/StdSysV.H $(I)/TopView.H $(VIEW)
|
|
105 |
INFOBOX=$(I)/InfoBox.H $(I)/DialogBox.H $(I)/ModalBox.H $(STDSYSVIEW)
|
85
|
106 |
|
75
|
107 |
MODEL=$(I)/Model.H $(OBJECT)
|
85
|
108 |
APPMODEL=$(I)/AppModel.H $(MODEL)
|
30
|
109 |
|
|
110 |
InspView.$(O): InspView.st $(VIEW)
|
45
|
111 |
DictInspV.$(O): DictInspV.st $(I)/InspView.H $(VIEW)
|
|
112 |
ConInspV.$(O): ConInspV.st $(I)/InspView.H $(VIEW)
|
|
113 |
OCInspView.$(O): OCInspView.st $(I)/InspView.H $(VIEW)
|
|
114 |
|
30
|
115 |
DebugView.$(O): DebugView.st $(STDSYSVIEW)
|
|
116 |
Launcher.$(O): Launcher.st $(STDSYSVIEW)
|
85
|
117 |
NewLauncher.$(O): NewLauncher.st $(APPMODEL)
|
30
|
118 |
ProjectV.$(O): ProjectV.st $(STDSYSVIEW)
|
85
|
119 |
SBrowser.$(O): SBrowser.st $(APPMODEL)
|
76
|
120 |
BrwsrView.$(O): BrwsrView.st $(STDSYSVIEW)
|
30
|
121 |
CBrowser.$(O): CBrowser.st $(STDSYSVIEW)
|
|
122 |
FBrowser.$(O): FBrowser.st $(STDSYSVIEW)
|
|
123 |
DirBrwsr.$(O): DirBrwsr.st $(STDSYSVIEW)
|
64
|
124 |
|
|
125 |
SBrowser_1.$(O): SBrowser_1.st $(STDSYSVIEW)
|
|
126 |
SBrowser_2.$(O): SBrowser_2.st $(STDSYSVIEW)
|
85
|
127 |
|
|
128 |
AboutBox.$(O): AboutBox.st $(INFOBOX)
|