Make.proto
author Claus Gittinger <cg@exept.de>
Thu, 23 Oct 2003 22:12:30 +0200
changeset 1756 3b033fe4ad5c
parent 1536 0be7d0b15c22
child 1758 d0daf311d335
permissions -rw-r--r--
*** empty log message ***

# $Header$

# -------------- 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=libtool2
LIBNAME=libtool2
THIS_IS_A_BASE_LIBRARY="yes"

PACKAGE=$(MODULE):$(LIBNAME)
LIB_BASE=$(LIBTOOL2_BASE)
NM_LIB_BASE=LIBTOOL2_BASE

STCOPT=$(LIBTOOL2_STCOPT)
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME)
LINKOBJRULE=$(SEPINITLINKOBJRULE)

all::       classLibRule

O=$(O2)

IOBJS=  \
	$(OUTDIR)NewInspectorList.$(O)      \
	$(OUTDIR)NewInspectorListView.$(O)  \
	$(OUTDIR)NewInspectorView.$(O)      \
	$(OUTDIR)NewInspectorPanelView.$(O)

OBJS= \
	$(LIBTOOL2_PACKAGE_OBJS) \
	$(OUTDIR)ColorMenu.$(O) \
	$(OUTDIR)FontMenu.$(O) \
	$(OUTDIR)MenuEditor.$(O) \
	$(OUTDIR)ImageEditor.$(O) \
	$(OUTDIR)DataSetBuilder.$(O) \
	$(OUTDIR)UIGalleryView.$(O) \
	$(OUTDIR)UIHelpTool.$(O) \
	$(OUTDIR)UILayoutTool.$(O) \
	$(OUTDIR)UIObjectView.$(O) \
	$(OUTDIR)UIPainter.$(O) \
	$(OUTDIR)UIPainterView.$(O) \
	$(OUTDIR)UISelectionPanel.$(O) \
	$(OUTDIR)UISpecificationTool.$(O) \
	$(OUTDIR)SelectionBrowser.$(O) \
	$(OUTDIR)FileSelectionBrowser.$(O) \
	$(OUTDIR)ResourceSelectionBrowser.$(O) \
	$(OUTDIR)ToolbarIconLibrary.$(O)

cleanjunk::
	    @-rm -f *.c *.H

clean::
	    @-rm -f [A-Z]*.o *.c *.H

clobber::
	    @-rm -f *.c *.H classList.stc abbrev.stc

tar:
	(cd $(TOP); tar cvfh DISTRIB/libtool2.tar \
				libtool2/.dir.info \
				libtool2/Make.proto \
				libtool2/*.st

#
# next thing I'll build into stc is a makedepend feature for this ...
#

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