--- a/Make.proto Mon Oct 10 04:15:21 1994 +0100
+++ b/Make.proto Mon Oct 10 04:16:24 1994 +0100
@@ -2,6 +2,15 @@
# -------------- no need to change anything below ----------
+#
+# there is one speciality to be found below:
+#
+# SBrowser became too big to be compiled on hp and NeXT
+# (and also takes up too much disk-space in the tmp-directory
+# for a typical sun installation).
+# Therefore, it is compiled in two pieces - this should
+# work on all systems.
+#
TOP=..
SUBDIRS=
@@ -9,10 +18,13 @@
STCOPT=$(LIBTOOL_STCOPT)
+SBROWSER_OBJ=SBrowser.$(O)
+# SBROWSER_OBJ=SBrowser_1.$(O) SBrowser_2.$(O)
+
all:: abbrev.stc objs classList.stc $(OBJTARGET)
objs:: \
- SBrowser.$(O) \
+ $(SBROWSER_OBJ) \
CBrowser.$(O) \
DebugView.$(O) \
Launcher.$(O) \
@@ -32,10 +44,23 @@
clean::
-rm -f *.c *.H classList.stc abbrev.stc
+ -rm SBrowser_1.st SBrowser_2.st
clobber::
-rm -f *.c *.H classList.stc abbrev.stc
+ -rm SBrowser_1.st SBrowser_2.st
+SPLIT: SBrowser_1.st SBrowser_2.st
+
+CLEAN:
+ @-rm SBrowser_1.st SBrowser_2.st
+
+SBrowser_1.st: SBrowser.st
+ sed '/class category menu/,$$d' < SBrowser.st > SBrowser_1.st
+
+SBrowser_2.st: SBrowser.st
+ echo "!SystemBrowser methodsFor:'class category menu'!" > SBrowser_2.st
+ sed '1,/class category menu/d' < SBrowser.st >> SBrowser_2.st
tar:
rm -f $(TOP)/DISTRIB/libtool.tar*
(cd $(TOP); tar cvf DISTRIB/libtool.tar \
@@ -56,20 +81,24 @@
#
# next thing I'll build into stc is a makedepend feature for this ...
#
-OBJECT=$(INCLUDE)/Object.H $(INCLUDE)/stc.h $(INCLUDE)/stcIntern.h
-VIEW=$(INCLUDE)/View.H $(OBJECT)
-STDSYSVIEW=$(INCLUDE)/StdSysV.H $(OBJECT)
+I=$(INCLUDE)
+OBJECT=$(I)/Object.H $(I)/stc.h $(I)/stcIntern.h
+VIEW=$(I)/View.H $(OBJECT)
+STDSYSVIEW=$(I)/StdSysV.H $(OBJECT)
InspView.$(O): InspView.st $(VIEW)
-DictInspV.$(O): DictInspV.st $(INCLUDE)/InspView.H $(VIEW)
-ConInspV.$(O): ConInspV.st $(INCLUDE)/InspView.H $(VIEW)
-OCInspView.$(O): OCInspView.st $(INCLUDE)/InspView.H $(VIEW)
+DictInspV.$(O): DictInspV.st $(I)/InspView.H $(VIEW)
+ConInspV.$(O): ConInspV.st $(I)/InspView.H $(VIEW)
+OCInspView.$(O): OCInspView.st $(I)/InspView.H $(VIEW)
+
+# FormEdtView.$(O): FormEdtView.st $(VIEW)
DebugView.$(O): DebugView.st $(STDSYSVIEW)
Launcher.$(O): Launcher.st $(STDSYSVIEW)
ProjectV.$(O): ProjectV.st $(STDSYSVIEW)
SBrowser.$(O): SBrowser.st $(STDSYSVIEW)
+SBrowser_1.$(O): SBrowser_1.st $(STDSYSVIEW)
+SBrowser_2.$(O): SBrowser_2.st $(STDSYSVIEW)
CBrowser.$(O): CBrowser.st $(STDSYSVIEW)
FBrowser.$(O): FBrowser.st $(STDSYSVIEW)
DirBrwsr.$(O): DirBrwsr.st $(STDSYSVIEW)
-FormEdtView.$(O): FormEdtView.st $(VIEW)