Template for PPC, updated definitions.
authorArt Yerkes <art.yerkes@gmail.com>
Sun, 19 Feb 2006 09:41:12 +0000 (09:41 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Sun, 19 Feb 2006 09:41:12 +0000 (09:41 +0000)
svn path=/trunk/; revision=21155

reactos/ReactOS-ppc.rbuild
reactos/config-ppc.template.rbuild [new file with mode: 0644]

index 6c535ad..1ab5455 100644 (file)
@@ -3,7 +3,7 @@
 <project name="ReactOS" makefile="makefile.ppc" xmlns:xi="http://www.w3.org/2001/XInclude">\r
   <xi:include href="config-ppc.rbuild">\r
     <xi:fallback>\r
-      <xi:include href="config.template.rbuild" />\r
+      <xi:include href="config-ppc.template.rbuild" />\r
     </xi:fallback>\r
   </xi:include>\r
 \r
   <define name="__PowerPC__" />\r
   <define name="_REACTOS_" />\r
   <define name="__MINGW_IMPORT" empty="true" />\r
-  <define name="__restrict__" empty="true" />\r
+  <define name="stdcall" empty="true" />       \r
+  <define name="__stdcall__" empty="true" />\r
+  <define name="fastcall" empty="true" />\r
+  <define name="cdecl" empty="true" />\r
+  <define name="__cdecl__" empty="true" />\r
+  <define name="dllimport" empty="true" />\r
   <compilerflag>-v</compilerflag>\r
   <if property="MP" value="1">\r
     <define name="CONFIG_SMP" value="1" />\r
   <include>include/crt</include>\r
   <include>include/ddk</include>\r
 \r
-  <directory name="apps">\r
-    <xi:include href="apps/directory.rbuild" />\r
+  <directory name="base">\r
+    <xi:include href="base/base.rbuild" />\r
   </directory>\r
   <directory name="boot">\r
     <xi:include href="boot/boot.rbuild" />\r
   </directory>\r
+  <directory name="dll">\r
+    <xi:include href="dll/dll.rbuild" />\r
+  </directory>\r
   <directory name="drivers">\r
-    <xi:include href="drivers/directory.rbuild" />\r
+    <xi:include href="drivers/drivers.rbuild" />\r
   </directory>\r
   <directory name="hal">\r
-    <xi:include href="hal/directory.rbuild" />\r
+    <xi:include href="hal/hal.rbuild" />\r
   </directory>\r
   <directory name="include">\r
     <xi:include href="include/directory.rbuild" />\r
   </directory>\r
   <directory name="lib">\r
-    <xi:include href="lib/directory.rbuild" />\r
+    <xi:include href="lib/lib.rbuild" />\r
   </directory>\r
   <directory name="media">\r
-    <xi:include href="media/directory.rbuild" />\r
+    <xi:include href="media/media.rbuild" />\r
   </directory>\r
   <directory name="modules">\r
     <xi:include href="modules/directory.rbuild" />\r
   </directory>\r
   <directory name="regtests">\r
     <xi:include href="regtests/directory.rbuild" />\r
+  </directory>  \r
+  <directory name="subsystems">\r
+    <xi:include href="subsystems/subsystems.rbuild" />\r
   </directory>\r
-  <directory name="services">\r
-    <xi:include href="services/directory.rbuild" />\r
-  </directory>\r
-  <directory name="subsys">\r
-    <xi:include href="subsys/directory.rbuild" />\r
-  </directory>\r
+\r
 </project>\r
diff --git a/reactos/config-ppc.template.rbuild b/reactos/config-ppc.template.rbuild
new file mode 100644 (file)
index 0000000..16afff3
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>\r
+<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">\r
+\r
+<!--\r
+  This file is a template used as a starting point for compile-time\r
+  configuration of ReactOS. Make a copy of this file and name it config.rbuild.\r
+  Then change the options in config.rbuild. If you don't have a config.rbuild file,\r
+  then the defaults in this file, config.template.rbuild, will be used instead.\r
+\r
+  Boolean options can obtain the values 0 (disabled) or 1 (enabled). String\r
+  options can obtain any value specified in the comment before it.\r
+-->\r
+\r
+\r
+<!--\r
+  Architecture to build for. Specify one of:\r
+    i386\r
+-->\r
+<property name="ARCH" value="powerpc" />\r
+\r
+<!--\r
+  Sub-architecture to build for. Specify one of:\r
+    xbox\r
+-->\r
+<property name="SARCH" value="" />\r
+\r
+\r
+<!--\r
+  Which CPU ReactOS should be optimized for. Specify one of:\r
+    i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,\r
+    k6-2\r
+\r
+  See GCC manual for more CPU names and which CPUs GCC can optimize for.\r
+-->\r
+<property name="OARCH" value="i486" />\r
+\r
+\r
+<!--\r
+  Whether to compile for an uniprocessor or multiprocessor machine.\r
+-->\r
+<property name="MP" value="0" />\r
+\r
+\r
+<!--\r
+  Whether to compile in the integrated kernel debugger.\r
+-->\r
+<property name="KDBG" value="0" />\r
+\r
+\r
+<!--\r
+  Whether to compile for debugging. No compiler optimizations will be\r
+  performed.\r
+-->\r
+<property name="DBG" value="1" />\r
+\r
+</rbuild>\r