Make.proto
author Claus Gittinger <cg@exept.de>
Tue, 16 Nov 1999 21:51:20 +0100
changeset 993 902eec8d132b
parent 956 1f23c014a3bf
child 994 a7e113e1e58e
permissions -rw-r--r--
oops - folding argument is not always a symbol.

# $Header: /cvs/stx/stx/libcomp/Make.proto,v 1.66 1999-09-08 09:56:19 cg Exp $
#
# -------------- no need to change anything below ----------

TOP=..
SUBDIRS=

LIBNAME=libcomp
PACKAGE=stx:$(LIBNAME)
LIB_BASE=$(LIBCOMP_BASE)
NM_LIB_BASE=LIBCOMP_BASE

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

LOCALDEFS=$(DLDEFS)

DELIVERBINARIES=lib*.$(O) lib*.so lib*.a

all::       classLibRule

#
# these are uncritical - save some bytes by compiling with optspace
#
UNCRITICALOBJS=\
      Explainer.$(O)		\
      ProgramNodeEnumerator.$(O)\
      SyntaxHighlighter.$(O)

OBJS=\
      Scanner.$(O)              \
	Parser.$(O)             \
	  ByteCodeCompiler.$(O) \
	  Explainer.$(O)        \
      ProgramNodeEnumerator.$(O)\
      Variable.$(O)             \
      ParseNode.$(O)            \
	PrimaryNode.$(O)        \
	  VariableNode.$(O)     \
	  SelfNode.$(O)         \
	    SuperNode.$(O)      \
	  ConstantNode.$(O)     \
	StatementNode.$(O)      \
	  ReturnNode.$(O)       \
	  PrimitiveNode.$(O)    \
	AssignmentNode.$(O)     \
	BlockNode.$(O)          \
	MessageNode.$(O)        \
	  UnaryNode.$(O)        \
	  BinaryNode.$(O)       \
	  CascadeNode.$(O)      \
      UndefinedVariable.$(O)    \
      LazyMethod.$(O)           \
      SourceFileLoader.$(O)     \
      ImmutableArray.$(O)       \
      Structure.$(O)            \
      SyntaxHighlighter.$(O)    \
      ObjectFileHandle.$(O)     \
      ObjectFileLoader.$(O)

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

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

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

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

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