raw
zfp_1_examples          1 ------------------------------------------------------------------------------
zfp_1_examples 2 ------------------------------------------------------------------------------
zfp_1_examples 3 -- You do not have, nor can you ever acquire the right to use, copy or --
zfp_1_examples 4 -- distribute this software ; Should you use this software for any purpose, --
zfp_1_examples 5 -- or copy and distribute it to anyone or in any manner, you are breaking --
zfp_1_examples 6 -- the laws of whatever soi-disant jurisdiction, and you promise to --
zfp_1_examples 7 -- continue doing so for the indefinite future. In any case, please --
zfp_1_examples 8 -- always : read and understand any software ; verify any PGP signatures --
zfp_1_examples 9 -- that you use - for any purpose. --
zfp_1_examples 10 ------------------------------------------------------------------------------
zfp_1_examples 11 ------------------------------------------------------------------------------
zfp_1_examples 12
zfp_1_examples 13
zfp_1_examples 14 project Examples is
zfp_1_examples 15
zfp_1_examples 16 for Object_Dir use "obj";
zfp_1_examples 17
zfp_1_examples 18 for Languages use ("Ada", "C");
zfp_1_examples 19 for Source_Dirs use ("helloworld", "constraint");
zfp_1_examples 20 for Exec_Dir use "bin";
zfp_1_examples 21 for Main use ("helloworld/hello.adb", "constraint/constraint.adb");
zfp_1_examples 22
zfp_1_examples 23
zfp_1_examples 24 package Compiler is
zfp_1_examples 25 for Switches ("Ada")
zfp_1_examples 26 use ("-O2", --"-gnatg", "-gnatyN",
zfp_1_examples 27 "-fstack-check",
zfp_1_examples 28 "-fdata-sections", "-ffunction-sections",
zfp_1_examples 29 "-gnatec=" & Examples'Project_Dir & "restrict.adc");
zfp_1_examples 30 end Compiler;
zfp_1_examples 31
zfp_1_examples 32 package Binder is
zfp_1_examples 33 for Switches ("Ada")
zfp_1_examples 34 use ("-static","-r");
zfp_1_examples 35 end Binder;
zfp_1_examples 36
zfp_1_examples 37 package Linker is
zfp_1_examples 38 for Switches ("Ada")
zfp_1_examples 39 use ("-Wl,--gc-sections", "-static");
zfp_1_examples 40 end Linker;
zfp_1_examples 41
zfp_1_examples 42 end Examples;