tests/Make.proto
changeset 376 a2656b27cace
parent 320 a50617aec724
child 377 6112a403a52d
equal deleted inserted replaced
375:e2b2f08d054e 376:a2656b27cace
     1 # $Header: /cvs/stx/stx/goodies/petitparser/tests/Make.proto,v 1.2 2014-03-04 20:31:54 cg Exp $
     1 # $Header$
     2 #
     2 #
     3 # DO NOT EDIT
     3 # DO NOT EDIT
     4 # automagically generated from the projectDefinition: stx_goodies_petitparser_tests.
     4 # automagically generated from the projectDefinition: stx_goodies_petitparser_tests.
     5 #
     5 #
     6 # Warning: once you modify this file, do not rerun
     6 # Warning: once you modify this file, do not rerun
    32 
    32 
    33 # if your embedded C code requires any system includes,
    33 # if your embedded C code requires any system includes,
    34 # add the path(es) here:,
    34 # add the path(es) here:,
    35 # ********** OPTIONAL: MODIFY the next lines ***
    35 # ********** OPTIONAL: MODIFY the next lines ***
    36 # LOCALINCLUDES=-Ifoo -Ibar
    36 # LOCALINCLUDES=-Ifoo -Ibar
    37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic
    37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/petitparser -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic
    38 
    38 
    39 
    39 
    40 # if you need any additional defines for embedded C code,
    40 # if you need any additional defines for embedded C code,
    41 # add them here:,
    41 # add them here:,
    42 # ********** OPTIONAL: MODIFY the next lines ***
    42 # ********** OPTIONAL: MODIFY the next lines ***
    68 
    68 
    69 
    69 
    70 
    70 
    71 
    71 
    72 
    72 
       
    73 # Enforce recompilation of package definition class if Mercurial working
       
    74 # copy state changes. Together with --guessVersion it ensures that package
       
    75 # definition class always contains correct binary revision string.
       
    76 ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**'))
       
    77 stx_goodies_petitparser_tests.$(O): $(shell hg root)/.hg/dirstate
       
    78 endif
       
    79 
    73 
    80 
    74 
    81 
    75 
    82 
    76 # run default testsuite for this package
    83 # run default testsuite for this package
    77 test: $(TOP)/goodies/builder/reports
    84 test: $(TOP)/goodies/builder/reports
    78 	$(MAKE) -C $(TOP)/goodies/builder/reports
    85 	$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init
    79 	$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE)
    86 	$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE)
    80 
    87 
    81 
    88 
    82 
    89 
    83 # add more install actions here
    90 # add more install actions here
    94 
   101 
    95 # build all mandatory prerequisite packages (containing superclasses) for this package
   102 # build all mandatory prerequisite packages (containing superclasses) for this package
    96 prereq:
   103 prereq:
    97 	cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   104 	cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
    98 	cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   105 	cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
   106 	cd ../../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
    99 	cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   107 	cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   100 	cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   108 	cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   101 	cd ../../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   109 	cd ../../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   102 
   110 
   103 
   111 
   116 clobber:: clean
   124 clobber:: clean
   117 	-rm -f *.so *.dll
   125 	-rm -f *.so *.dll
   118 
   126 
   119 
   127 
   120 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   128 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   121 $(OUTDIR)PPAbstractParserTest.$(O) PPAbstractParserTest.$(H): PPAbstractParserTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
       
   122 $(OUTDIR)stx_goodies_petitparser_tests.$(O) stx_goodies_petitparser_tests.$(H): stx_goodies_petitparser_tests.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR)
   129 $(OUTDIR)stx_goodies_petitparser_tests.$(O) stx_goodies_petitparser_tests.$(H): stx_goodies_petitparser_tests.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR)
   123 $(OUTDIR)PPCompositeParserTest.$(O) PPCompositeParserTest.$(H): PPCompositeParserTest.st $(INCLUDE_TOP)/stx/goodies/petitparser/tests/PPAbstractParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
       
   124 
   130 
   125 # ENDMAKEDEPEND --- do not remove this line
   131 # ENDMAKEDEPEND --- do not remove this line
   126 
   132