summaryrefslogtreecommitdiff
path: root/legacy/eeze/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-05-22 07:04:00 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-05-22 07:04:00 +0000
commit6ad3256a01dc1b7c83a4fece3ddbbc0384e5b76c (patch)
tree281c71acc222eb82b61e400aded146d575d9eed1 /legacy/eeze/src/bin
parentc339222b2511e24720fe111af3bbd6c7523b34ce (diff)
completely change directory structure, lib name, includes, don't even bother trying to use this unless your e is the latest version
SVN revision: 49129
Diffstat (limited to 'legacy/eeze/src/bin')
-rw-r--r--legacy/eeze/src/bin/Makefile.am8
-rw-r--r--legacy/eeze/src/bin/eeze_udev_test.c8
2 files changed, 6 insertions, 10 deletions
diff --git a/legacy/eeze/src/bin/Makefile.am b/legacy/eeze/src/bin/Makefile.am
index cba60d5c06..3a6b3b419c 100644
--- a/legacy/eeze/src/bin/Makefile.am
+++ b/legacy/eeze/src/bin/Makefile.am
@@ -1,21 +1,17 @@
1MAINTAINERCLEANFILES = Makefile.in 1MAINTAINERCLEANFILES = Makefile.in
2 2
3EEZE_CPPFLAGS = \ 3EEZE_CPPFLAGS = \
4-I$(top_srcdir)/src/lib/udev \ 4-I$(top_srcdir)/src/lib \
5@ECORE_CFLAGS@ 5@ECORE_CFLAGS@
6 6
7LIBS = \ 7LIBS = \
8@ECORE_LIBS@ 8@ECORE_LIBS@
9 9
10if BUILD_EEZE_UDEV
11EEZE_UDEV_PROG = eeze_udev_test 10EEZE_UDEV_PROG = eeze_udev_test
12endif
13 11
14bin_PROGRAMS = \ 12bin_PROGRAMS = \
15$(EEZE_UDEV_PROG) 13$(EEZE_UDEV_PROG)
16 14
17if BUILD_EEZE_UDEV
18eeze_udev_test_SOURCES = eeze_udev_test.c 15eeze_udev_test_SOURCES = eeze_udev_test.c
19eeze_udev_test_CPPFLAGS = $(EEZE_CPPFLAGS) 16eeze_udev_test_CPPFLAGS = $(EEZE_CPPFLAGS)
20eeze_udev_test_LDADD = $(top_builddir)/src/lib/udev/libeeze_udev.la 17eeze_udev_test_LDADD = $(top_builddir)/src/lib/libeeze.la
21endif
diff --git a/legacy/eeze/src/bin/eeze_udev_test.c b/legacy/eeze/src/bin/eeze_udev_test.c
index 1bc0513b31..a9abf2bb38 100644
--- a/legacy/eeze/src/bin/eeze_udev_test.c
+++ b/legacy/eeze/src/bin/eeze_udev_test.c
@@ -1,10 +1,10 @@
1#include <Eeze_Udev.h> 1#include <Eeze.h>
2#include <Ecore.h> 2#include <Ecore.h>
3#include <stdio.h> 3#include <stdio.h>
4 4
5 5
6/** 6/**
7 * This demo program shows how to use some eeze functions. It roughly 7 * This demo program shows how to use some eeze_udev functions. It roughly
8 * 1kb as of now, TODO is to fix this but I'm too lazy now and it's only 8 * 1kb as of now, TODO is to fix this but I'm too lazy now and it's only
9 * a demo. 9 * a demo.
10 */ 10 */
@@ -69,7 +69,7 @@ end:
69 /* and delete the watch */ 69 /* and delete the watch */
70 eeze_udev_watch_del(watch); 70 eeze_udev_watch_del(watch);
71 /* and shut down eudev */ 71 /* and shut down eudev */
72 eeze_udev_shutdown(); 72 eeze_shutdown();
73 /* and quit the main loop */ 73 /* and quit the main loop */
74 ecore_main_loop_quit(); 74 ecore_main_loop_quit();
75} 75}
@@ -88,7 +88,7 @@ int main()
88 Eina_Hash *hash; 88 Eina_Hash *hash;
89 89
90 ecore_init(); 90 ecore_init();
91 eeze_udev_init(); 91 eeze_init();
92 92
93 hash = eina_hash_stringshared_new(hash_free); 93 hash = eina_hash_stringshared_new(hash_free);
94 akbdmouse = malloc(sizeof(kbdmouse)); 94 akbdmouse = malloc(sizeof(kbdmouse));