automatically generated by browser rel5_2_8
authorClaus Gittinger <cg@exept.de>
Mon, 21 Aug 2006 17:38:42 +0200
changeset 2982 7579c3a3a9b4
parent 2981 cc53c4b39c74
child 2983 305bf156cd3d
automatically generated by browser
Make.proto
--- a/Make.proto	Mon Aug 21 12:18:57 2006 +0200
+++ b/Make.proto	Mon Aug 21 17:38:42 2006 +0200
@@ -1,40 +1,96 @@
-# $Header: /cvs/stx/stx/libwidg2/Make.proto,v 1.115 2003-11-21 19:51:50 cg Exp $
+# $Header: /cvs/stx/stx/libwidg2/Make.proto,v 1.116 2006-08-21 15:38:42 cg Exp $
+#
+# DO NOT EDIT 
+# automagically generated from the projectDefinition: stx_libwidg2.
 #
-# -------------- no need to change anything below ----------
-
-TOP=..
-SUBDIRS=
-
-LIB_BASE=$(LIBWIDG2_BASE)
-NM_LIB_BASE=LIBWIDG2_BASE
-
-STCOPT=$(LIBWIDG2_STCOPT) -warnNonStandard
-STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME)
-LINKOBJRULE=$(SEPINITLINKOBJRULE)
-
-all::           classLibRule
+# 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.
 
 #
-# special BIG-rule (kludge for ibm/aix)
-#
-#MenuPanel.$(O):
-#        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=MenuPanel CC="$(CC)" OPT="$(OPT)"
+# 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=
+
+
+# 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=
+
 
-#
-# on (my) aix system, this one cannot be compiled with 
-# optimizer - running out of space during compile
-#
-AIX::       
-	    $(MAKE) OPT="" MenuPanel.o
+PACKAGE=$(MODULE):$(MODULE_DIR)
+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=
+
+
+# ********** 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
+
+
+# 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 abbrev.stc classList.stc
+	-rm -f *.so *.dll
+
 
+# if other things are to be compiled,
+# add target definitions here,
+# and list them in LOCAL_EXTRA_TARGETS above.
+# (care for make syntax - TABS are required in the actions)
+# foo:  foo.o
+#	$(CC) -o foo foo.o
+
+# '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
+