"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.09.0-win64/examples/manual/samples.ini" (1 Jan 2022, 5413 Bytes) of package /windows/misc/FreeBASIC-1.09.0-win64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # This file lists all of the sources that require a special build.
    2 #
    3 # File Format:
    4 #   #
    5 #       lines that begin with '#' are comment lines
    6 #   whitespace
    7 #       is ignored
    8 #   [path/file.ext] 
    9 #       marks a file section (typically .bas files)
   10 #   DEP = path/filename.ext
   11 #       dependency
   12 #   CMD = args
   13 #       FBC build command
   14 #   SRC = path/filename.ext
   15 #       additional source needed to build
   16 #   DST = path/filename.ext
   17 #       files generated after the build is complete.
   18 #       only DST files are removed when the ./samples clean
   19 #       command is used.
   20 #   SKP = 
   21 #       Skip to end of section
   22 #   op,WIN32
   23 #       only on win32, cygwin, or xbox platforms
   24 #   op,LINUX
   25 #       only on unix ( linux, freebsd, etc ) platforms
   26 #   op,DOS32
   27 #       only on dos platform
   28 #
   29 # -------------------------------------------------------------------
   30 
   31 [prepro/error.bas]
   32 # this example does not compile and intentionally generates an error
   33 
   34 [prepro/inclib.bas]
   35 # this example does not compile since the needed lib does not exist
   36 
   37 # -------------------------------------------------------------------
   38 
   39 [procs/mydll.bas]
   40     SKP,DOS32 =
   41     CMD       = -dll procs/mydll.bas
   42     DST,WIN32 = procs/mydll$(DLLEXT)
   43     DST,WIN32 = procs/libmydll$(DLLEXT).a
   44     DST,LINUX = procs/libmydll$(DLLEXT)
   45 
   46 [procs/lib.bas]
   47     SKP,DOS32 =
   48     DEP = procs/mydll.bas
   49     CMD = procs/lib.bas -p procs
   50     DST = procs/lib$(EXEEXT)
   51 
   52 # -------------------------------------------------------------------
   53 
   54 [module/common1.bas]
   55     DEP = module/common2.bas
   56     CMD = module/common1.bas module/common2.bas
   57     DST = module/common1$(EXEEXT)
   58 
   59 [module/common2.bas]
   60 # this example is used by module/common1.bas
   61 
   62 # -------------------------------------------------------------------
   63 
   64 [module/mydll.bas]
   65     SKP,DOS32 =
   66     CMD       = -dll module/mydll.bas
   67     DST,WIN32 = module/mydll$(DLLEXT)
   68     DST,WIN32 = module/libmydll$(DLLEXT).a
   69     DST,LINUX = module/libmydll$(DLLEXT)
   70 
   71 [module/export.bas]
   72     SKP,DOS32 =
   73     DEP = module/mydll.bas
   74     CMD = module/mydll.bas -p module
   75     DST = module/mydll$(EXEEXT)
   76 
   77 [module/mydll2.bas]
   78 # module/mydll2.bas is same as module/mydll.bas
   79 # it exists in two places in the documentation, so
   80 # is twice in the 'module' directory
   81 
   82 # -------------------------------------------------------------------
   83 
   84 [module/dylibsymbol.bas]
   85     SKP,DOS32 =
   86     DEP = module/mydll.bas
   87     CMD = module/dylibsymbol.bas -p module
   88     DST = module/dylibsymbol$(EXEEXT)
   89 
   90 # -------------------------------------------------------------------
   91 
   92 [module/extern1.bas]
   93     DEP = module/extern2.bas
   94     CMD = module/extern1.bas module/extern2.bas
   95     DST = module/extern1$(EXEEXT)
   96 
   97 [module/extern2.bas]
   98 # used by module/extern1.bas
   99 
  100 # -------------------------------------------------------------------
  101 
  102 [module/mydll.c]
  103 # requires gcc
  104 
  105 [module/import.bas]
  106 # requires mydll.c which requires gcc
  107 
  108 # -------------------------------------------------------------------
  109 
  110 [proguide/static-lib/mylib.bas]
  111     CMD = -lib proguide/static-lib/mylib.bas
  112     DST = proguide/static-lib/libmylib.a
  113 
  114 [proguide/static-lib/mytest.bas]
  115     DEP = proguide/static-lib/mylib.bas
  116     CMD = proguide/static-lib/mytest.bas -p proguide/static-lib
  117     DST = proguide/static-lib/mytest$(EXEEXT)
  118 
  119 # -------------------------------------------------------------------
  120 
  121 [proguide/shared-lib/mylib.bas]
  122     SKP,DOS32 =
  123     CMD       = -dll proguide/shared-lib/mylib.bas
  124     DST,WIN32 = proguide/shared-lib/mylib$(DLLEXT)
  125     DST,WIN32 = proguide/shared-lib/libmylib$(DLLEXT).a
  126     DST,LINUX = proguide/shared-lib/libmylib$(DLLEXT)
  127 
  128 [proguide/shared-lib/mytest.bas]
  129     SKP,DOS32 =
  130     DEP = proguide/shared-lib/mylib.bas
  131     CMD = proguide/shared-lib/mytest.bas -p proguide/shared-lib
  132     DST = proguide/shared-lib/mytest$(EXEEXT)
  133 
  134 # -------------------------------------------------------------------
  135 
  136 [proguide/varscope/module1.bas]
  137     DEP = proguide/varscope/module2.bas
  138     CMD = -lang qb proguide/varscope/module1.bas proguide/varscope/module2.bas
  139     DST = proguide/varscope/module1$(EXEEXT)
  140 
  141 [proguide/varscope/module2.bas]
  142 # used by proguide/varscope/module3.bas
  143 
  144 # -------------------------------------------------------------------
  145 
  146 [proguide/varscope/module3.bas]
  147     DEP = proguide/varscope/module4.bas
  148     CMD = proguide/varscope/module3.bas proguide/varscope/module4.bas
  149     DST = proguide/varscope/module3$(EXEEXT)
  150 
  151 [proguide/varscope/module4.bas]
  152 # used by proguide/varscope/module3.bas
  153 
  154 # -------------------------------------------------------------------
  155 # No special options are required for these samples,
  156 # but they only work on certain platforms.
  157 # (there should be a better way to do this)
  158 
  159 [module/dylibfree.bas]
  160     SKP,DOS32 =
  161     CMD = module/dylibfree.bas
  162     DST = module/dylibfree$(EXEEXT)
  163 
  164 [module/dylibload.bas]
  165     SKP,DOS32 =
  166     CMD = module/dylibload.bas
  167     DST = module/dylibload$(EXEEXT)
  168 
  169 [faq/dos/lowmemas.bas]
  170     CMD,DOS32 = faq/dos/lowmemas.bas
  171     DST,DOS32 = faq/dos/lowmemas$(EXEEXT)
  172 
  173 [extras/freeimage.bas]
  174     CMD,WIN32 = extras/freeimage.bas
  175     DST,WIN32 = extras/freeimage$(EXEEXT)
  176 
  177 [extras/gfx-null.bas]
  178     CMD,WIN32 = extras/gfx-null.bas
  179     DST,WIN32 = extras/gfx-null$(EXEEXT)
  180 
  181 [proguide/libs/libs3.bas]
  182     CMD,WIN32 = proguide/libs/libs3.bas
  183     DST,WIN32 = proguide/libs/libs3$(EXEEXT)
  184 
  185 [proguide/libs/libs4.bas]
  186     CMD,WIN32 = proguide/libs/libs4.bas
  187     DST,WIN32 = proguide/libs/libs4$(EXEEXT)
  188 
  189 [proguide/libs/libs5.bas]
  190     SKP,DOS32 =
  191     CMD = proguide/libs/libs5.bas
  192     DST = proguide/libs/libs5$(EXEEXT)
  193 
  194 # -------------------------------------------------------------------
  195 # EOF