Make.proto
author Claus Gittinger <cg@exept.de>
Wed, 08 Sep 1999 12:00:11 +0200
changeset 2381 a3fcf9b50c78
parent 2380 6039619ad10b
child 2436 6e43dfe2347b
permissions -rw-r--r--
*** empty log message ***

# $Header: /cvs/stx/stx/libtool/Make.proto,v 1.67 1999-09-08 10:00:11 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)                       \
	    $(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