# %W% %E%
# -------------- 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=
LIBNAME=libtool
STCOPT=$(LIBTOOL_STCOPT)
SBROWSER_OBJ=SBrowser.$(O)
# SBROWSER_OBJ=SBrowser_1.$(O) SBrowser_2.$(O)
all:: abbrev.stc objs classList.stc $(OBJTARGET)
objs:: \
$(SBROWSER_OBJ) \
CBrowser.$(O) \
DebugView.$(O) \
Launcher.$(O) \
ProjectV.$(O) \
InspView.$(O) \
DictInspV.$(O) \
ConInspV.$(O) \
OCInspView.$(O) \
FBrowser.$(O) \
DirBrwsr.$(O)
classList.stc: Make.proto
$(MAKE) genClassList
cleanjunk::
-rm -f *.c *.H
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 \
libtool/Make.proto \
libtool/*.st \
libtool/resources \
libtool/bitmaps)
compress $(TOP)/DISTRIB/libtool.tar
#
# special BIG-rule (kludge for HP)
#
SBrowser.$(O):
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SBrowser
#
# next thing I'll build into stc is a makedepend feature for this ...
#
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 $(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)