Make.proto
author penk
Fri, 08 Nov 2002 18:07:39 +0100
changeset 4227 ff28714fca33
parent 4184 c938469f835a
child 4238 4dff6b50e1c9
permissions -rw-r--r--
*** empty log message ***

# $Header: /cvs/stx/stx/libtool/Make.proto,v 1.79 2002-11-08 17:07:39 penk 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=

MODULE=stx
MODULE_DIR=libtool
LIBNAME=libtool
THIS_IS_A_BASE_LIBRARY="yes"

PACKAGE=$(MODULE):$(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)

# NEWSYSTEMBROWSER=NewSystemBrowser.$(O)
NEWSYSTEMBROWSER=
# NEWFILEBROWSER=FileBrowserV2.$(O)
NEWFILEBROWSER=

NEWFILEBROWSER=\
	AbstractFileBrowser.$(O) \
	FileBrowserV2.$(O) \
	AbstractFileApplicationNoteBookComponent.$(O) \
	FileApplicationNoteBook.$(O) \
	DirectoryContentsBrowser.$(O) \
	DirectoryTreeBrowser.$(O) \
	FileBrowserV2PanelView.$(O) \
	FileBrowserV2UISpecifications.$(O)
        
NEWFILEBROWSER=\
	AbstractFileBrowser.$(O)

# NEWFILEBROWSER=

OBSOLETEOBJS=  \
	OldLauncher.$(O)

OBJS=  \
	$(SBROWSER_OBJ)                     \
	$(CBROWSER_OBJ)                     \
	$(NEWSYSTEMBROWSER)                 \
	$(NEWFILEBROWSER)                   \
	DebugView.$(O)                      \
	AbstractSettingsApplication.$(O)    \
	AbstractLauncherApplication.$(O)    \
	NewLauncher.$(O)                    \
	InspectorView.$(O)                  \
	  SetInspectorView.$(O)             \
	  DictionaryInspectorView.$(O)      \
	  ContextInspectorView.$(O)         \
	  OrderedCollectionInspectorView.$(O) \
	AboutBox.$(O)                       \
	WorkspaceApplication.$(O)           \
	VersionDiffBrowser.$(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)"

NewSystemBrowser.$(O):
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=NewSystemBrowser OPT="$(OPT)" CC="$(CC)"

# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
# ENDMAKEDEPEND --- do not remove this line; make depend needs it