Make.proto
author Claus Gittinger <cg@exept.de>
Thu, 28 Aug 2003 18:04:57 +0200
changeset 5126 d2dfc46509c1
parent 5125 8bbec258eac3
child 5127 b1d000e70c8c
permissions -rw-r--r--
*** empty log message ***

# $Header: /cvs/stx/stx/libtool/Make.proto,v 1.85 2003-08-28 16:04: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=

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)

#
# Compiling these takes tooooo long
#

NOTCOMPILED=\
	AbstractSettingsApplication.$(O)  


NEWSYSTEMBROWSER=NewSystemBrowser.$(O)
NEWSYSTEMBROWSER=

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


NEWSETTINGSAPP=\
	AbstractSettingsApplication.$(O) \
	SettingsDialog.$(O)


OLDFILEBROWSER=\
	FileBrowser.$(O)

FILEBROWSER=$(OLDFILEBROWSER) $(NEWFILEBROWSER)

OBSOLETEOBJS=  \
	OldLauncher.$(O)

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