automatically generated by browser
authorClaus Gittinger <cg@exept.de>
Mon, 21 Aug 2006 19:41:52 +0200
changeset 3331 e2e24f8443fb
parent 3330 8f02e6804c8f
child 3332 870c3105ee28
automatically generated by browser
Make.proto
--- a/Make.proto	Mon Aug 21 19:41:45 2006 +0200
+++ b/Make.proto	Mon Aug 21 19:41:52 2006 +0200
@@ -1,89 +1,96 @@
-# $Header: /cvs/stx/stx/libwidg/Make.proto,v 1.73 2003-11-21 19:36:13 cg Exp $
+# $Header: /cvs/stx/stx/libwidg/Make.proto,v 1.74 2006-08-21 17:41:52 cg Exp $
 #
-# -------------- no need to change anything below ----------
-
-TOP=..
-SUBDIRS=
-
-LIB_BASE=$(LIBWIDG_BASE)
-NM_LIB_BASE=LIBWIDG_BASE
-
-STCOPT=$(LIBWIDG_STCOPT) -warnNonStandard
-STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME)
-LINKOBJRULE=$(SEPINITLINKOBJRULE)
-
-all::       classLibRule
-
+# DO NOT EDIT 
+# automagically generated from the projectDefinition: stx_libwidg.
 #
-# on (my) aix system, this one cannot be compiled with 
-# optimizer - running out of space during compile
+# Warning: once you modify this file, do not rerun
+# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
 #
-AIX::       ListView.o TextView.o
-	    $(MAKE) OPT="" EditTextView.o
-	    $(MAKE) OPT="" ObjectView.o
-
-cleanjunk::
-	    @-rm -f *.s *.s2 *.c *.H
-
-clean::
-	    @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
-
-clobber::
-	    @-rm -f *.c *.H classList.stc abbrev.stc
-
-rmuncrit:
-	    -rm -f $(UNCRITICALOBJS)
+# 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.
 
 #
-# these nest too deep on some systems (see discussion about LIMITSUPERINCLUDE
-# in configurations/COMMON/defines
-#
-WORKSPACE:
-	    $(MAKE) Workspace.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
+# position (of this package) in directory hierarchy:
+# (must point to ST/X top directory, for tools and includes)
+TOP=../../stx
+
 
-CODEVIEW:
-	    $(MAKE) CodeView.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
+# subdirectories where targets are to be made:
+SUBDIRS=
+
+
+# subdirectories where Makefiles are to be made:
+# (only define if different from SUBDIRS)
+# ALLSUBDIRS=
+
 
-WARNBOX:
-	    $(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
+# if your embedded C code requires any system includes, 
+# add the path(es) here:, 
+# ********** OPTIONAL: MODIFY the next lines ***
+# LOCALINCLUDES=-Ifoo -Ibar
+LOCALINCLUDES=
 
-RBUTTON:
-	    $(MAKE) RadioButton.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
 
-#
-# special BIG-rule (kludge for HP)
-#
-EditTextView.$(O):
-	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=EditTextView CC=$(CC) OPT="$(OPT)"
+# if you need any additional defines for embedded C code, 
+# add them here:, 
+# ********** OPTIONAL: MODIFY the next lines ***
+# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
+LOCALDEFINES=
+
+
+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=
 
 
-#
-# special BIG-rule (kludge for NeXT)
-#
-ListView.$(O):
-	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ListView OPT="$(OPT)"
+# ********** OPTIONAL: MODIFY the next line ***
+# additional C targets or libraries should be added below
+LOCAL_EXTRA_TARGETS=
 
-#
-# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error)
-#
-#HP::
-#
-#HPbigFiles:
-#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ObjectView CC=$(CC) OPT="$(OPT)"
-#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DialogBox CC=$(CC) OPT="$(OPT)"
-#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=TextView CC=$(CC) OPT="$(OPT)"
-#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SelectionInListView CC=$(CC) OPT="$(OPT)"
-#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=MenuView CC=$(CC) OPT="$(OPT)"
+OBJS= $(COMMON_OBJS) $(UNIX_OBJS)
 
-#
-# deeply nested includes (kludge for sun cc)
-#
-SUN::   SUNfiles
-
-SUNfiles:
-	$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
+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::
+
+clean::
+	-rm -f *.o *.H
+
+clobber::
+	-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
+