Make.proto
author cg
Wed, 01 Dec 1999 19:34:50 +0000
changeset 629 ea5408c8ff79
parent 623 0e98e50844a3
child 633 707c66af2d96
permissions -rw-r--r--
*** empty log message ***

# $Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/Make.proto,v 1.4 1999/12/01 19:34:50 cg Exp $
#
# -- Make.proto created from project at 'From Smalltalk/X, Version:3.5.5 on 8-nov-1999 at 21:44:28'                     
#
# Warning: YOU SHOULD NOT MODIFY THIS FILE - MODIFY THE .prj FILE INSTEAD
# and let the ProjectBrowser recreate this file.
# once you modify this file, do not rerun
# stmkmp or recreate the Make.proto again - otherwise, your changes are lost.

# module and directory-in-module;
# these should correspond to the directory hierarchy
# location (otherwise, ST/X will have a hard time to
# find out the packages location from its packageID)
MODULE=stx
MODULE_DIR=libjava

# default installation directory:
# (overwrite with 'make INSTALLTOP_DIR=... install')
# the INSTALLBASE is imported from configurations... and usually
# defaults to something like /opt/smalltalk.
# (overwrite with 'make INSTALLBASE=... install')
INSTALLTOP_DIR=$(INSTALLBASE)/packages/$(MODULE)/$(MODULE_DIR)
INSTALLLIB_DIR=$(INSTALLTOP_DIR)
INSTALLBIN_DIR=$(INSTALLTOP_DIR)
INSTALLED_LOAD_SCRIPTS=loadAll loadClasses

#
# position (of this package) in directory hierarchy:
# (must point to ST/X top directory, for tools and includes)
TOP=..

# subdirectories where targets are to be made:
SUBDIRS=

# subdirectories where Makefiles are to be made:
# (only define if different from SUBDIRS)
# ALLSUBDIRS=


# the name of your classLibrary:
# ********** REQUIRED: CHECK the next line ***
LIBNAME=libjava


# the next define suppresses installation of 
# the classes as autoloaded (i.e. not added to abbrev.stc). 
SUPPRESS_LOCAL_ABBREVS=1

# the package is stored as an ID in classes and methods
# to identify code belonging to this project.
# It also specifies the position in the source repository
# and directory tree, when packages are loaded by packageID.
# ********** REQUIRED: CHECK the next line ***
PACKAGE=$(MODULE):$(MODULE_DIR)

# Argument(s) to the stc compiler.
#  -H.         : create header files locally
#                (if removed, they will be created as common
#  -Pxxx       : defines the package
#  -Zxxx       : a prefix for variables within the classLib
#  -Dxxx       : defines passed to to CC for inline C-code
#  -Ixxx       : include path passed to CC for inline C-code
#  +optspace   : optimized for space
#  +optspace2  : optimized more for space
#  +optspace3  : optimized even more for space
#  +optinline  : generate inline code for some ST constructs
#  +inlineNew  : additionally inline new
#  +inlineMath : additionally inline some floatPnt math stuff
#
# ********** OPTIONAL: MODIFY the next line(s) ***
# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
# STCLOCALOPTIMIZATIONS=+optspace3
STCLOCALOPTIMIZATIONS=+optspace3

# Argument(s) to the stc compiler.
#  -warn            : no warnings
#  -warnNonStandard : no warnings about ST/X extensions
#  -warnEOLComments : no warnings about EOL comment extension
#  -warnPrivacy     : no warnings about privateClass extension
#
# ********** OPTIONAL: MODIFY the next line(s) ***
# STCWARNINGS=-warn
# STCWARNINGS=-warnNonStandard
# STCWARNINGS=-warnEOLComments
STCWARNINGS=-warnEOLComments 

# if your embedded C code requires any system includes, 
# add the path(es) here:, 
# ********** OPTIONAL: MODIFY the next lines ***
# LOCALINCLUDES=-Ifoo -Ibar
LOCALINCLUDES=

# if you need any additional defines for embedded C code, 
# add them here:, 
# ********** OPTIONAL: MODIFY the next lines ***
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
LOCALDEFINES=

STCLOCALOPT=-I. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALINCLUDES) $(LOCALDEFINES) -H. '-P$(PACKAGE)' '-Z$(LIBNAME)' $(COMMONSYMFLAG) $(INITCODESEPFLAG)

# ********** OPTIONAL: MODIFY the next line ***
# additional C-libraries that should be pre-linked with the class-objects
LD_OBJ_LIBS=

# ********** OPTIONAL: MODIFY the next line ***
# additional C targets or libraries should be added below
LOCAL_EXTRA_TARGETS=

all:: preMake classLibRule postMake


OBJS= \
  JavaClass.$(O) \
  Java.$(O) \
  JavaRef.$(O) \
  JavaClassRef.$(O) \
  JavaClassReader.$(O) \
  JavaClassPointerRef.$(O) \
  JavaConstantPool.$(O) \
  JavaContext.$(O) \
  JavaExceptionTableEntry.$(O) \
  JavaField.$(O) \
  JavaFieldref.$(O) \
  JavaMethodref.$(O) \
  JavaLocalVariableTable.$(O) \
  JavaLocalVariableTableEntry.$(O) \
  JavaMethod.$(O) \
  JavaMethodWithBreakpoint.$(O) \
  JavaMethodWithException.$(O) \
  JavaMethodWithHandler.$(O) \
  JavaInterfaceMethodref.$(O) \
  JavaNameandType.$(O) \
  JavaNativeMethod.$(O) \
  JavaObject.$(O) \
  JavaProcess.$(O) \
  JavaBuiltInClassPointerRef.$(O) \
  JavaSlotIndexCache.$(O) \
  JavaUnresolvedConstant.$(O) \
  JavaUnresolvedClassConstant.$(O) \
  JavaUnresolvedRefConstant.$(O) \
  JavaUnresolvedMethodrefConstant.$(O) \
  JavaUnresolvedInterfaceMethodrefConstant.$(O) \
  JavaUnresolvedFieldrefConstant.$(O) \
  JavaUnresolvedNameandTypeConstant.$(O) \
  JavaUnresolvedSTArrayConstant.$(O) \
  JavaUnresolvedStringConstant.$(O) \
  JavaVM.$(O) \
  JavaDecompiler.$(O) \
  JavaDeparser.$(O) \
  JavaByteCodeEnumerator.$(O) \
  JavaView.$(O) \
  JavaEmbeddedFrameView.$(O) \
  JavaPopUpView.$(O) \
  JavaTopView.$(O) \
  SmalltalkAppletContext.$(O) \
  SmalltalkAppletStub.$(O)

# add more install actions here
install::

# add more install actions for aux-files (resources) here
installAux::

# add more preMake actions here
preMake::

# add more postMake actions here
postMake:: cleanjunk

cleanjunk::

clean::
	-rm -f *.o *.H

clobber::
	-rm -f *.so *.dll

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