Make.proto
changeset 2061 76026acab86d
parent 1767 061d98b4acbd
child 2083 eb0c83247da7
equal deleted inserted replaced
2060:40b11225d6f7 2061:76026acab86d
     1 # $Header$
     1 # $Header$
     2 
     2 #
     3 # -------------- no need to change anything below ----------
     3 # DO NOT EDIT 
       
     4 # automagically generated from the projectDefinition: stx_libtool2.
       
     5 #
       
     6 # Warning: once you modify this file, do not rerun
       
     7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
       
     8 #
       
     9 # The Makefile as generated by this Make.proto supports the following targets:
       
    10 #    make         - compile all st-files to a classLib
       
    11 #    make clean   - clean all temp files
       
    12 #    make clobber - clean all
       
    13 #
       
    14 # This file contains definitions for Unix based platforms.
     4 
    15 
     5 #
    16 #
     6 # there is one speciality to be found below:
    17 # position (of this package) in directory hierarchy:
     7 #
    18 # (must point to ST/X top directory, for tools and includes)
     8 #  SBrowser became too big to be compiled on hp and NeXT
    19 TOP=../../stx
     9 #  (and also takes up too much disk-space in the tmp-directory
    20 
    10 #   for a typical sun installation).
    21 
    11 #  Therefore, it is compiled in two pieces - this should
    22 # subdirectories where targets are to be made:
    12 #  work on all systems.
       
    13 #  
       
    14 TOP=..
       
    15 SUBDIRS=
    23 SUBDIRS=
    16 
    24 
    17 LIB_BASE=$(LIBTOOL2_BASE)
       
    18 NM_LIB_BASE=LIBTOOL2_BASE
       
    19 
    25 
    20 STCOPT=$(LIBTOOL2_STCOPT)
    26 # subdirectories where Makefiles are to be made:
    21 STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME)
    27 # (only define if different from SUBDIRS)
    22 LINKOBJRULE=$(SEPINITLINKOBJRULE)
    28 # ALLSUBDIRS=
    23 
    29 
    24 all::       classLibRule
    30 
       
    31 # if your embedded C code requires any system includes, 
       
    32 # add the path(es) here:, 
       
    33 # ********** OPTIONAL: MODIFY the next lines ***
       
    34 # LOCALINCLUDES=-Ifoo -Ibar
       
    35 LOCALINCLUDES=
       
    36 
       
    37 
       
    38 # if you need any additional defines for embedded C code, 
       
    39 # add them here:, 
       
    40 # ********** OPTIONAL: MODIFY the next lines ***
       
    41 # LOCALDEFINES=-Dfoo -Dbar -DDEBUG
       
    42 LOCALDEFINES=
       
    43 
       
    44 
       
    45 STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -H$(INCLUDE) $(COMMONSYMBOLS) -varPrefix=$(LIBNAME)
       
    46 
       
    47 
       
    48 # ********** OPTIONAL: MODIFY the next line ***
       
    49 # additional C-libraries that should be pre-linked with the class-objects
       
    50 LD_OBJ_LIBS=
       
    51 
       
    52 
       
    53 # ********** OPTIONAL: MODIFY the next line ***
       
    54 # additional C targets or libraries should be added below
       
    55 LOCAL_EXTRA_TARGETS=
       
    56 
       
    57 OBJS= $(COMMON_OBJS) $(UNIX_OBJS)
       
    58 
       
    59 
       
    60 
       
    61 all:: preMake classLibRule postMake
       
    62 
       
    63 pre_objs:: 
       
    64 
       
    65 
       
    66 
       
    67 # add more install actions here
       
    68 install::
       
    69 
       
    70 # add more install actions for aux-files (resources) here
       
    71 installAux::
       
    72 
       
    73 # add more preMake actions here
       
    74 preMake::
       
    75 
       
    76 # add more postMake actions here
       
    77 postMake:: cleanjunk
    25 
    78 
    26 cleanjunk::
    79 cleanjunk::
    27 	    @-rm -f *.s *.s2 *.c *.H
       
    28 
    80 
    29 clean::
    81 clean::
    30 	    @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
    82 	-rm -f *.o *.H
    31 
    83 
    32 clobber::
    84 clobber::
    33 	    @-rm -f *.c *.H classList.stc abbrev.stc
    85 	-rm -f *.so *.dll
    34 
    86 
       
    87 
       
    88 # 'make depend' will add dependency info between
       
    89 # BEGIN...END below
       
    90 #
    35 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
    91 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
    36 # ENDMAKEDEPEND --- do not remove this line; make depend needs it
    92 # ENDMAKEDEPEND --- do not remove this line
       
    93