summaryrefslogtreecommitdiff
path: root/src/examples/ethumb_client
diff options
context:
space:
mode:
authorRicardo de Almeida Gonzaga <ricardo@profusion.mobi>2013-02-08 17:35:24 +0000
committerBruno Dilly <bdilly@profusion.mobi>2013-02-08 17:35:24 +0000
commit512c75908106a60cd74f08c5b16eea96fed55887 (patch)
tree59cedd91e5851f7df9c4423fe8cbf1f767bfdb2f /src/examples/ethumb_client
parente379743c95a06d8aec0bb843919a35e5772423e4 (diff)
efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 83795
Diffstat (limited to 'src/examples/ethumb_client')
-rw-r--r--src/examples/ethumb_client/Makefile.am8
-rw-r--r--src/examples/ethumb_client/Makefile.examples14
2 files changed, 20 insertions, 2 deletions
diff --git a/src/examples/ethumb_client/Makefile.am b/src/examples/ethumb_client/Makefile.am
index a7f81e1..247c528 100644
--- a/src/examples/ethumb_client/Makefile.am
+++ b/src/examples/ethumb_client/Makefile.am
@@ -39,6 +39,10 @@ ethumb_dbus
39SRCS = \ 39SRCS = \
40ethumb_dbus.c 40ethumb_dbus.c
41 41
42DATA_FILES = Makefile.examples
43
44EXTRA_DIST = $(DATA_FILES)
45
42examples: $(EXTRA_PROGRAMS) 46examples: $(EXTRA_PROGRAMS)
43 47
44clean-local: 48clean-local:
@@ -46,10 +50,10 @@ clean-local:
46 50
47install-examples: 51install-examples:
48 mkdir -p $(datadir)/ethumb_client/examples 52 mkdir -p $(datadir)/ethumb_client/examples
49 $(install_sh_DATA) -c $(SRCS) $(datadir)/ethumb_client/examples 53 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ethumb_client/examples
50 54
51uninstall-local: 55uninstall-local:
52 for f in $(SRCS); do \ 56 for f in $(SRCS) $(DATA_FILES); do \
53 rm -f $(datadir)/ethumb_client/examples/$$f ; \ 57 rm -f $(datadir)/ethumb_client/examples/$$f ; \
54 done 58 done
55 59
diff --git a/src/examples/ethumb_client/Makefile.examples b/src/examples/ethumb_client/Makefile.examples
new file mode 100644
index 0000000..5d8d7ce
--- /dev/null
+++ b/src/examples/ethumb_client/Makefile.examples
@@ -0,0 +1,14 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,ethumb,ethumb_client`
3
4EXAMPLES= ethumb_dbus
5
6all: examples
7examples: $(EXAMPLES)
8
9$(EXAMPLES):
10 $(CC) -o $@ $@.c $(COMMON_FLAGS)
11
12clean:
13 @echo "Cleaning up built objects..."
14 @rm -Rf $(EXAMPLES)