# $Header: /cvs/stx/stx/libtool/Make.proto,v 1.68 1999-10-28 11:52:29 cg Exp $
# -------------- 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
PACKAGE=stx:$(LIBNAME)
LIB_BASE=$(LIBTOOL_BASE)
NM_LIB_BASE=LIBTOOL_BASE
STCOPT=$(LIBTOOL_STCOPT)
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) +optspace3 $(SEPINITCODE) -varPrefix=$(LIBNAME)
LINKOBJRULE=$(SEPINITLINKOBJRULE)
RCSSOURCES=*.st Make.proto resources/*.rs bitmaps/*.xbm
all:: classLibRule
O=$(O2)
OBSOLETEOBJS= \
OldLauncher.$(O)
OBJS= \
$(SBROWSER_OBJ) \
$(CBROWSER_OBJ) \
DebugView.$(O) \
AbstractLauncherApplication.$(O) \
NewLauncher.$(O) \
InspectorView.$(O) \
SetInspectorView.$(O) \
DictionaryInspectorView.$(O) \
ContextInspectorView.$(O) \
OrderedCollectionInspectorView.$(O) \
AboutBox.$(O) \
$(LIBTOOL_PACKAGE_OBJS) \
$(FBROWSER_OBJ) \
$(DIRBROWSER_OBJ)
cleanjunk::
@-rm -f *.c *.H
clean::
@-rm -f [A-Z]*.o *.c *.H
clobber::
@-rm -f *.c *.H classList.stc abbrev.stc
AIX::
$(MAKE) OPT= BrwsrView.o
$(MAKE) OPT= FBrowser.o
tar:
(cd $(TOP); tar cvfh DISTRIB/libtool.tar \
libtool/.dir.info \
libtool/Make.proto \
libtool/*.st \
libtool/resources/.dir.info \
libtool/resources/*.rs \
libtool/bitmaps)
#
# special BIG-rule (kludge for HP)
#
BrwsrView.$(O):
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=BrwsrView OPT="$(OPT)" CC="$(CC)"
FBrowser.$(O):
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=FBrowser OPT="$(OPT)" CC="$(CC)"
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
# ENDMAKEDEPEND --- do not remove this line; make depend needs it