[evas] Allowing one to build examples by hand.
authorGustavo Lima Chaves <glima@profusion.mobi>
Mon, 4 Jul 2011 16:23:00 +0000 (16:23 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Mon, 4 Jul 2011 16:23:00 +0000 (16:23 +0000)
SVN revision: 61011

legacy/evas/src/examples/evas-events.c
legacy/evas/src/examples/evas-images.c
legacy/evas/src/examples/evas-object-manipulation.c
legacy/evas/src/examples/evas-stacking.c

index e0ff211da3908682650c85e35a24c9a6d760507d..a191bb3f19d780b8bf0e08978002b8a7efe71157 100644 (file)
@@ -7,13 +7,18 @@
  * output.
  *
  * @verbatim
- * gcc -o evas-events evas-events.c `pkg-config --libs --cflags ecore-evas`
+ * gcc -o evas-events evas-events.c `pkg-config --libs --cflags evas ecore ecore-evas`
  * @endverbatim
  */
 
 #ifdef HAVE_CONFIG_H
 
 #include "config.h"
+#else
+
+#define PACKAGE_EXAMPLES_DIR "."
+#define __UNUSED__
+
 #endif
 
 #include <Ecore.h>
index 54e1aeeb08140b5c92ac40e11fbde3a9a7a7d9bd..1b309b67a21c753107f8331f8936d02a8f36680f 100644 (file)
@@ -6,13 +6,18 @@
  * output.
  *
  * @verbatim
- * gcc -o evas-images evas-images.c `pkg-config --libs --cflags ecore-evas`
+ * gcc -o evas-images evas-images.c `pkg-config --libs --cflags evas ecore ecore-evas`
  * @endverbatim
  */
 
 #ifdef HAVE_CONFIG_H
 
 #include "config.h"
+#else
+
+#define PACKAGE_EXAMPLES_DIR "."
+#define __UNUSED__
+
 #endif
 
 #include <Ecore.h>
index 54e7f6ce5ebfee7b200c25681e0484f7dbf4d185..e9c94427c64b50641f2f3338583a5f7e00470d4f 100644 (file)
@@ -6,13 +6,18 @@
  * output.
  *
  * @verbatim
- * gcc -o evas-events evas-events.c `pkg-config --libs --cflags ecore-evas`
+ * gcc -o evas-object-manipulation evas-object-manipulation.c `pkg-config --libs --cflags ecore evas ecore-evas`
  * @endverbatim
  */
 
 #ifdef HAVE_CONFIG_H
 
 #include "config.h"
+#else
+
+#define PACKAGE_EXAMPLES_DIR "."
+#define __UNUSED__
+
 #endif
 
 #include <Ecore.h>
index e2e0b3bb15430a5f210205bc12dffc6b0b28d549..d272a39866b855fa03b127b0347f8491391b4960 100644 (file)
@@ -7,12 +7,16 @@
  * output.
  *
  * @verbatim
- * gcc -o evas-stacking evas-stacking.c `pkg-config --libs --cflags ecore-evas edje`
+ * gcc -o evas-stacking evas-stacking.c `pkg-config --libs --cflags evas ecore ecore-evas edje`
  * @endverbatim
  */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
+#else
+
+#define __UNUSED__
+
 #endif
 
 #include <Ecore.h>