devtools/Make.proto
changeset 78 02b66132eae3
child 105 6b9c1ea81d49
equal deleted inserted replaced
77:14bfbd3441a0 78:02b66132eae3
       
     1 # $Header: /cvs/stx/stx/goodies/petitparser/devtools/Make.proto,v 1.1 2012-05-05 14:50:19 vrany Exp $
       
     2 #
       
     3 # DO NOT EDIT
       
     4 # automagically generated from the projectDefinition: stx_goodies_petitparser_devtools.
       
     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.
       
    15 # It shares common definitions with the win32-make in Make.spec.
       
    16 
       
    17 #
       
    18 # position (of this package) in directory hierarchy:
       
    19 # (must point to ST/X top directory, for tools and includes)
       
    20 TOP=../../..
       
    21 INCLUDE_TOP=$(TOP)/..
       
    22 
       
    23 # subdirectories where targets are to be made:
       
    24 SUBDIRS=
       
    25 
       
    26 
       
    27 # subdirectories where Makefiles are to be made:
       
    28 # (only define if different from SUBDIRS)
       
    29 # ALLSUBDIRS=
       
    30 
       
    31 REQUIRED_SUPPORT_DIRS=
       
    32 
       
    33 # if your embedded C code requires any system includes,
       
    34 # add the path(es) here:,
       
    35 # ********** OPTIONAL: MODIFY the next lines ***
       
    36 # LOCALINCLUDES=-Ifoo -Ibar
       
    37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/goodies/petitparser
       
    38 
       
    39 
       
    40 # if you need any additional defines for embedded C code,
       
    41 # add them here:,
       
    42 # ********** OPTIONAL: MODIFY the next lines ***
       
    43 # LOCALDEFINES=-Dfoo -Dbar -DDEBUG
       
    44 LOCALDEFINES=
       
    45 
       
    46 LIBNAME=libstx_goodies_petitparser_devtools
       
    47 STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=.  -varPrefix=$(LIBNAME)
       
    48 
       
    49 
       
    50 # ********** OPTIONAL: MODIFY the next line ***
       
    51 # additional C-libraries that should be pre-linked with the class-objects
       
    52 LD_OBJ_LIBS=
       
    53 LOCAL_SHARED_LIBS=
       
    54 
       
    55 
       
    56 # ********** OPTIONAL: MODIFY the next line ***
       
    57 # additional C targets or libraries should be added below
       
    58 LOCAL_EXTRA_TARGETS=
       
    59 
       
    60 OBJS= $(COMMON_OBJS) $(UNIX_OBJS)
       
    61 
       
    62 
       
    63 
       
    64 all:: preMake classLibRule postMake
       
    65 
       
    66 pre_objs::  
       
    67 
       
    68 
       
    69 
       
    70 
       
    71 
       
    72 
       
    73 
       
    74 # add more install actions here
       
    75 install::
       
    76 
       
    77 # add more install actions for aux-files (resources) here
       
    78 installAux::
       
    79 
       
    80 # add more preMake actions here
       
    81 preMake::
       
    82 
       
    83 # add more postMake actions here
       
    84 postMake:: cleanjunk
       
    85 
       
    86 prereq: $(REQUIRED_SUPPORT_DIRS)
       
    87 	cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    88 	cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    89 	cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    90 	cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    91 	cd ../../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    92 	cd ../ && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    93 	cd ../../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
    94 
       
    95 
       
    96 
       
    97 cleanjunk::
       
    98 	-rm -f *.s *.s2
       
    99 
       
   100 clean::
       
   101 	-rm -f *.o *.H
       
   102 
       
   103 clobber:: clean
       
   104 	-rm -f *.so *.dll
       
   105 
       
   106 
       
   107 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
       
   108 $(OUTDIR)PPDebugger.$(O) PPDebugger.$(H): PPDebugger.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
       
   109 $(OUTDIR)PPDebuggingParser.$(O) PPDebuggingParser.$(H): PPDebuggingParser.st $(INCLUDE_TOP)/stx/goodies/petitparser/PPParser.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
       
   110 $(OUTDIR)stx_goodies_petitparser_devtools.$(O) stx_goodies_petitparser_devtools.$(H): stx_goodies_petitparser_devtools.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
       
   111 
       
   112 # ENDMAKEDEPEND --- do not remove this line
       
   113