Make.proto
changeset 17 54798ae989cc
parent 13 b3d0f59702b7
child 24 5aace704e3c8
equal deleted inserted replaced
16:6575d09a52b5 17:54798ae989cc
    19 # (must point to ST/X top directory, for tools and includes)
    19 # (must point to ST/X top directory, for tools and includes)
    20 TOP=../../stx
    20 TOP=../../stx
    21 INCLUDE_TOP=$(TOP)/..
    21 INCLUDE_TOP=$(TOP)/..
    22 
    22 
    23 # subdirectories where targets are to be made:
    23 # subdirectories where targets are to be made:
    24 SUBDIRS= udis86sx
    24 SUBDIRS= udis86sx c1
    25 
    25 
    26 
    26 
    27 # subdirectories where Makefiles are to be made:
    27 # subdirectories where Makefiles are to be made:
    28 # (only define if different from SUBDIRS)
    28 # (only define if different from SUBDIRS)
    29 # ALLSUBDIRS=
    29 # ALLSUBDIRS=
    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)/jv/dragonfly/udis86sx -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp
    37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp
    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 ***
    99 # add more postMake actions here
    99 # add more postMake actions here
   100 postMake:: cleanjunk
   100 postMake:: cleanjunk
   101 
   101 
   102 # build all mandatory prerequisite packages (containing superclasses) for this package
   102 # build all mandatory prerequisite packages (containing superclasses) for this package
   103 prereq:
   103 prereq:
   104 	cd $(TOP)/libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   104 	cd $(TOP)/libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   105 
   105 
   106 
   106 
   107 
   107 
   108 # build all packages containing referenced classes for this package
   108 # build all packages containing referenced classes for this package
   109 # they are not needed to compile the package (but later, to load it)
   109 # they are not needed to compile the package (but later, to load it)
   119 clobber:: clean
   119 clobber:: clean
   120 	-rm -f *.so *.dll
   120 	-rm -f *.so *.dll
   121 
   121 
   122 
   122 
   123 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   123 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   124 $(OUTDIR)CompiledCodeObject.$(O) CompiledCodeObject.$(H): CompiledCodeObject.st $(INCLUDE_TOP)/stx/libbasic/ExternalAddress.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
   124 $(OUTDIR)CompiledCodeObject.$(O) CompiledCodeObject.$(C) CompiledCodeObject.$(H): CompiledCodeObject.st $(INCLUDE_TOP)/stx/libbasic/ExternalAddress.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
   125 $(OUTDIR)CompiledCodeObjectSectionFormat.$(O) CompiledCodeObjectSectionFormat.$(H): CompiledCodeObjectSectionFormat.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SharedPool.$(H) $(STCHDR)
   125 $(OUTDIR)CompiledCodeObjectSectionFormat.$(O) CompiledCodeObjectSectionFormat.$(C) CompiledCodeObjectSectionFormat.$(H): CompiledCodeObjectSectionFormat.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SharedPool.$(H) $(STCHDR)
   126 $(OUTDIR)VMOffsets.$(O) VMOffsets.$(H): VMOffsets.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SharedPool.$(H) $(STCHDR)
   126 $(OUTDIR)VMOffsets.$(O) VMOffsets.$(C) VMOffsets.$(H): VMOffsets.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SharedPool.$(H) $(STCHDR)
   127 $(OUTDIR)jv_dragonfly.$(O) jv_dragonfly.$(H): jv_dragonfly.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR)
   127 $(OUTDIR)jv_dragonfly.$(O) jv_dragonfly.$(C) jv_dragonfly.$(H): jv_dragonfly.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR)
   128 $(OUTDIR)CompiledCodeObjectSection.$(O) CompiledCodeObjectSection.$(H): CompiledCodeObjectSection.st $(INCLUDE_TOP)/jv/dragonfly/CompiledCodeObjectSectionFormat.$(H) $(INCLUDE_TOP)/stx/libbasic/ArrayedCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/ExternalBytes.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SequenceableCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/UninterpretedBytes.$(H) $(STCHDR)
   128 $(OUTDIR)CompiledCodeObjectSection.$(O) CompiledCodeObjectSection.$(C) CompiledCodeObjectSection.$(H): CompiledCodeObjectSection.st $(INCLUDE_TOP)/jv/dragonfly/CompiledCodeObjectSectionFormat.$(H) $(INCLUDE_TOP)/stx/libbasic/ArrayedCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/ExternalBytes.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SequenceableCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/UninterpretedBytes.$(H) $(STCHDR)
   129 $(OUTDIR)VMData.$(O) VMData.$(H): VMData.st $(INCLUDE_TOP)/jv/dragonfly/VMOffsets.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SharedPool.$(H) $(STCHDR)
   129 $(OUTDIR)VMData.$(O) VMData.$(C) VMData.$(H): VMData.st $(INCLUDE_TOP)/jv/dragonfly/VMOffsets.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/SharedPool.$(H) $(STCHDR)
   130 $(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libbasic/CompiledCode.$(H) $(INCLUDE_TOP)/stx/libbasic/ExecutableFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
   130 $(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libbasic/CompiledCode.$(H) $(INCLUDE_TOP)/stx/libbasic/ExecutableFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
   131 
   131 
   132 # ENDMAKEDEPEND --- do not remove this line
   132 # ENDMAKEDEPEND --- do not remove this line
   133 
   133