automatically generated by browser
authorClaus Gittinger <cg@exept.de>
Mon, 28 Aug 2006 19:48:18 +0200
changeset 2061 76026acab86d
parent 2060 40b11225d6f7
child 2062 c46879a2a970
automatically generated by browser
Make.proto
--- a/Make.proto	Sat Aug 19 14:06:34 2006 +0200
+++ b/Make.proto	Mon Aug 28 19:48:18 2006 +0200
@@ -1,36 +1,93 @@
 # $Header$
-
-# -------------- no need to change anything below ----------
+#
+# DO NOT EDIT 
+# automagically generated from the projectDefinition: stx_libtool2.
+#
+# Warning: once you modify this file, do not rerun
+# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
+#
+# The Makefile as generated by this Make.proto supports the following targets:
+#    make         - compile all st-files to a classLib
+#    make clean   - clean all temp files
+#    make clobber - clean all
+#
+# This file contains definitions for Unix based platforms.
 
 #
-# 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=..
+# position (of this package) in directory hierarchy:
+# (must point to ST/X top directory, for tools and includes)
+TOP=../../stx
+
+
+# subdirectories where targets are to be made:
 SUBDIRS=
 
-LIB_BASE=$(LIBTOOL2_BASE)
-NM_LIB_BASE=LIBTOOL2_BASE
+
+# subdirectories where Makefiles are to be made:
+# (only define if different from SUBDIRS)
+# ALLSUBDIRS=
+
+
+# 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='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -H$(INCLUDE) $(COMMONSYMBOLS) -varPrefix=$(LIBNAME)
+
+
+# ********** OPTIONAL: MODIFY the next line ***
+# additional C-libraries that should be pre-linked with the class-objects
+LD_OBJ_LIBS=
 
-STCOPT=$(LIBTOOL2_STCOPT)
-STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME)
-LINKOBJRULE=$(SEPINITLINKOBJRULE)
+
+# ********** OPTIONAL: MODIFY the next line ***
+# additional C targets or libraries should be added below
+LOCAL_EXTRA_TARGETS=
+
+OBJS= $(COMMON_OBJS) $(UNIX_OBJS)
+
+
+
+all:: preMake classLibRule postMake
+
+pre_objs:: 
 
-all::       classLibRule
+
+
+# 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::
-	    @-rm -f *.s *.s2 *.c *.H
 
 clean::
-	    @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
+	-rm -f *.o *.H
 
 clobber::
-	    @-rm -f *.c *.H classList.stc abbrev.stc
+	-rm -f *.so *.dll
+
 
+# 'make depend' will add dependency info between
+# BEGIN...END below
+#
 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
-# ENDMAKEDEPEND --- do not remove this line; make depend needs it
+# ENDMAKEDEPEND --- do not remove this line
+