forked from enlightenment/efl
efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 83795
This commit is contained in:
parent
e379743c95
commit
512c759081
|
@ -255,7 +255,7 @@ ecore_thread_example.c \
|
|||
ecore_time_functions_example.c \
|
||||
ecore_timer_example.c
|
||||
|
||||
DATA_FILES = red.png
|
||||
DATA_FILES = red.png Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,ecore-audio,ecore-con,ecore-file, \
|
||||
eo,evas-software-buffer,gnutls,ecore-imf,ecore-imf-evas,gstreamer-0.10` -lm
|
||||
|
||||
EXAMPLES= ecore_animator_example \
|
||||
ecore_audio_custom \
|
||||
ecore_audio_playback \
|
||||
ecore_audio_to_ogg \
|
||||
ecore_client_bench \
|
||||
ecore_con_client_example \
|
||||
ecore_con_client_simple_example \
|
||||
ecore_con_lookup_example \
|
||||
ecore_con_server_example \
|
||||
ecore_con_server_http_example \
|
||||
ecore_con_server_simple_example \
|
||||
ecore_con_url_cookies_example \
|
||||
ecore_con_url_download_example \
|
||||
ecore_con_url_headers_example \
|
||||
ecore_evas_basics_example \
|
||||
ecore_evas_buffer_example_01 \
|
||||
ecore_evas_buffer_example_02 \
|
||||
ecore_evas_callbacks \
|
||||
ecore_evas_ews_example \
|
||||
ecore_evas_object_example \
|
||||
ecore_evas_window_sizes_example \
|
||||
ecore_event_example_01 \
|
||||
ecore_event_example_02 \
|
||||
ecore_exe_example \
|
||||
ecore_exe_example_child \
|
||||
ecore_fd_handler_example \
|
||||
ecore_fd_handler_gnutls_example \
|
||||
ecore_file_download_example \
|
||||
ecore_idler_example \
|
||||
ecore_imf_example \
|
||||
ecore_job_example \
|
||||
ecore_pipe_gstreamer_example \
|
||||
ecore_pipe_simple_example \
|
||||
ecore_poller_example \
|
||||
ecore_server_bench \
|
||||
ecore_thread_example \
|
||||
ecore_time_functions_example \
|
||||
ecore_timer_example
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -18,6 +18,17 @@ $(top_builddir)/src/lib/eina/libeina.la \
|
|||
$(top_builddir)/src/lib/edbus/libedbus2.la \
|
||||
@EDBUS_LDFLAGS@
|
||||
|
||||
SRCS = \
|
||||
connman-list-services.c \
|
||||
ofono-dial.c \
|
||||
banshee.c \
|
||||
complex-types.c \
|
||||
complex-types-server.c \
|
||||
server.c \
|
||||
client.c \
|
||||
simple-signal-emit.c \
|
||||
complex-types-client-eina-value.c
|
||||
|
||||
EXTRA_PROGRAMS = \
|
||||
connman-list-services \
|
||||
ofono-dial \
|
||||
|
@ -56,7 +67,9 @@ simple_signal_emit_LDADD = $(EXAMPLES_LIBS)
|
|||
complex_types_client_eina_value_SOURCES = complex-types-client-eina-value.c
|
||||
complex_types_client_eina_value_LDADD = $(EXAMPLES_LIBS)
|
||||
|
||||
SRCS = $(EXTRA_PROGRAMS)
|
||||
DATA_FILES = Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
|
@ -65,10 +78,10 @@ clean-local:
|
|||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/edbus/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/edbus/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/edbus/examples
|
||||
|
||||
uninstall-local:
|
||||
for f in $(SRCS) ; do \
|
||||
for f in $(SRCS) $(DATA_FILES); do \
|
||||
rm -f $(datadir)/edbus/examples/$$f ; \
|
||||
done
|
||||
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,edbus2`
|
||||
|
||||
EXAMPLES= banshee client \
|
||||
complex-types \
|
||||
complex-types-client-eina-value \
|
||||
complex-types-server \
|
||||
connman-list-services \
|
||||
ofono-dial \
|
||||
server \
|
||||
simple-signal-emit
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -83,7 +83,8 @@ bubble-blue.png \
|
|||
red.png \
|
||||
test.png \
|
||||
Vera.ttf \
|
||||
duck.wav
|
||||
duck.wav \
|
||||
Makefile.examples
|
||||
|
||||
SRCS = \
|
||||
edje-codegen-example.c \
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
CC=gcc
|
||||
EDJE_CC=edje_cc
|
||||
EDJE_CODEGEN=edje_codegen
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje`
|
||||
|
||||
EDJE_OBJS= animations.edj \
|
||||
animations2.edj \
|
||||
basic.edj \
|
||||
basic2.edj \
|
||||
box.edj \
|
||||
codegen.edj \
|
||||
color-class.edj \
|
||||
drag.edj \
|
||||
edje_example.edj \
|
||||
edje-nested.edj \
|
||||
embryo_custom_state.edj \
|
||||
embryo_pong.edj \
|
||||
embryo_run_program.edj \
|
||||
embryo_set_state.edj \
|
||||
embryo_set_text.edj \
|
||||
embryo_timer.edj \
|
||||
external_elm_anchorblock.edj \
|
||||
external_elm_button.edj \
|
||||
external_elm_check.edj \
|
||||
external_elm_panes.edj \
|
||||
external_emotion_elm.edj \
|
||||
lua_script.edj \
|
||||
messages_echo.edj \
|
||||
multisense.edj \
|
||||
perspective.edj \
|
||||
physics_3d.edj \
|
||||
physics_actions.edj \
|
||||
physics_backcull.edj \
|
||||
physics_basic.edj \
|
||||
physics_complex.edj \
|
||||
physics_soft_bodies.edj \
|
||||
signalsBubble.edj \
|
||||
signals-messages.edj \
|
||||
sigtest.edj \
|
||||
swallow.edj \
|
||||
table.edj \
|
||||
text.edj \
|
||||
toggle_using_filter.edj
|
||||
|
||||
EXAMPLES= animations2 \
|
||||
edje-animations \
|
||||
edje-basic \
|
||||
edje-basic2 \
|
||||
edje-box \
|
||||
edje-box2 \
|
||||
edje-color-class \
|
||||
edje-drag \
|
||||
edje_example \
|
||||
edje-multisense \
|
||||
edje-perspective \
|
||||
edje-signals-messages \
|
||||
edje-swallow \
|
||||
edje-swallow2 \
|
||||
edje-table \
|
||||
edje-text \
|
||||
signals2 \
|
||||
sigtest
|
||||
|
||||
all: edje examples edje-codegen-example
|
||||
edje: $(EDJE_OBJS)
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
%.edj: %.edc
|
||||
$(EDJE_CC) $<
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
codegen:
|
||||
$(EDJE_CODEGEN) --prefix=codegen_example codegen.edj example_group codegen_example_generated.c codegen_example_generated.h
|
||||
|
||||
edje-codegen-example: codegen
|
||||
$(CC) -o edje-codegen-example codegen_example_generated.c edje-codegen-example.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES) *.edj edje-codegen-example
|
|
@ -39,6 +39,10 @@ eet-data-file_descriptor_01.c \
|
|||
eet-data-file_descriptor_02.c \
|
||||
eet-data-cipher_decipher.c
|
||||
|
||||
DATA_FILES = Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
clean-local:
|
||||
|
@ -46,10 +50,10 @@ clean-local:
|
|||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/eet/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/eet/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eet/examples
|
||||
|
||||
uninstall-local:
|
||||
for f in $(SRCS) ; do \
|
||||
for f in $(SRCS) $(DATA_FILES); do \
|
||||
rm -f $(datadir)/eet/examples/$$f ; \
|
||||
done
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,eet`
|
||||
|
||||
EXAMPLES= eet-basic \
|
||||
eet-data-cipher_decipher \
|
||||
eet-data-file_descriptor_01 \
|
||||
eet-data-file_descriptor_02 \
|
||||
eet-data-nested \
|
||||
eet-data-simple \
|
||||
eet-file
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -134,6 +134,10 @@ $(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
|
|||
$(top_builddir)/src/lib/evas/libevas.la \
|
||||
@EINA_LDFLAGS@
|
||||
|
||||
DATA_FILES = addr_book.txt chat.xml Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
clean-local:
|
||||
|
@ -141,15 +145,13 @@ clean-local:
|
|||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/eina/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/eina/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples
|
||||
|
||||
uninstall-local:
|
||||
for f in $(SRCS) ; do \
|
||||
for f in $(SRCS) $(DATA_FILES); do \
|
||||
rm -f $(datadir)/eina/examples/$$f ; \
|
||||
done
|
||||
|
||||
EXTRA_DIST = addr_book.txt chat.xml
|
||||
|
||||
if ALWAYS_BUILD_EXAMPLES
|
||||
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
|
||||
endif
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas`
|
||||
|
||||
EXAMPLES= eina_accessor_01 \
|
||||
eina_array_01 \
|
||||
eina_array_02 \
|
||||
eina_error_01 \
|
||||
eina_file_01 \
|
||||
eina_file_02 \
|
||||
eina_hash_01 \
|
||||
eina_hash_02 \
|
||||
eina_hash_03 \
|
||||
eina_hash_04 \
|
||||
eina_hash_05 \
|
||||
eina_hash_06 \
|
||||
eina_hash_07 \
|
||||
eina_hash_08 \
|
||||
eina_inarray_01 \
|
||||
eina_inarray_02 \
|
||||
eina_inlist_01 \
|
||||
eina_inlist_02 \
|
||||
eina_inlist_03 \
|
||||
eina_iterator_01 \
|
||||
eina_list_01 \
|
||||
eina_list_02 \
|
||||
eina_list_03 \
|
||||
eina_list_04 \
|
||||
eina_log_01 \
|
||||
eina_log_02 \
|
||||
eina_log_03 \
|
||||
eina_magic_01 \
|
||||
eina_simple_xml_parser_01 \
|
||||
eina_str_01 \
|
||||
eina_strbuf_01 \
|
||||
eina_stringshare_01 \
|
||||
eina_tiler_01 \
|
||||
eina_value_01 \
|
||||
eina_value_02 \
|
||||
eina_value_03 \
|
||||
eina_xattr_01 \
|
||||
eina_xattr_02
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -38,6 +38,10 @@ SRCS = \
|
|||
eio_file_ls.c \
|
||||
eio_file_copy.c
|
||||
|
||||
DATA_FILES = Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
clean-local:
|
||||
|
@ -45,10 +49,10 @@ clean-local:
|
|||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/eio/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/eio/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eio/examples
|
||||
|
||||
uninstall-local:
|
||||
for f in $(SRCS) ; do \
|
||||
for f in $(SRCS) $(DATA_FILES); do \
|
||||
rm -f $(datadir)/eio/examples/$$f ; \
|
||||
done
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags ecore,eio`
|
||||
|
||||
EXAMPLES= eio_file_copy \
|
||||
eio_file_ls
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -38,6 +38,10 @@ emotion_generic_subtitle_example.c \
|
|||
emotion_border_example.c \
|
||||
emotion_signals_example.c
|
||||
|
||||
DATA_FILES = Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
clean-local:
|
||||
|
@ -45,10 +49,10 @@ clean-local:
|
|||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/emotion/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/emotion/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/emotion/examples
|
||||
|
||||
uninstall-local:
|
||||
for f in $(SRCS); do \
|
||||
for f in $(SRCS) $(DATA_FILES); do \
|
||||
rm -f $(datadir)/emotion/examples/$$f ; \
|
||||
done
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,emotion`
|
||||
|
||||
EXAMPLES= emotion_basic_example \
|
||||
emotion_border_example \
|
||||
emotion_generic_example \
|
||||
emotion_generic_subtitle_example \
|
||||
emotion_signals_example
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -61,29 +61,40 @@ simple/simple_simple.h
|
|||
|
||||
eo_simple_LDADD = $(top_builddir)/src/lib/eo/libeo.la @EO_LDFLAGS@
|
||||
|
||||
DATA_FILES = Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
clean-local:
|
||||
rm -f $(EXTRA_PROGRAMS)
|
||||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/eo/examples
|
||||
$(install_sh_DATA) -c $(DATA_FILES) $(datadir)/eo/examples
|
||||
mkdir -p $(datadir)/eo/examples/isa
|
||||
$(install_sh_DATA) -c $(eo_isa_SOURCES) $(datadir)/eo/examples/isa
|
||||
mkdir -p $(datadir)/eo/examples/evas
|
||||
$(install_sh_DATA) -c $(evas_SOURCES) $(datadir)/eo/examples/evas
|
||||
mkdir -p $(datadir)/eo/examples/simple
|
||||
$(install_sh_DATA) -c $(simple_SOURCES) $(datadir)/eo/examples/simple
|
||||
$(install_sh_DATA) -c $(eo_simple_SOURCES) $(datadir)/eo/examples/simple
|
||||
if EO_BUILD_EXAMPLE_EVAS
|
||||
mkdir -p $(datadir)/eo/examples/evas
|
||||
$(install_sh_DATA) -c $(eo_evas_SOURCES) $(datadir)/eo/examples/evas
|
||||
endif
|
||||
|
||||
uninstall-local:
|
||||
for f in $(DATA_FILES) ; do \
|
||||
rm -f $(datadir)/eo/examples/$$f ; \
|
||||
done
|
||||
for f in $(eo_isa_SOURCES) ; do \
|
||||
rm -f $(datadir)/eo/examples/isa/$$f ; \
|
||||
done
|
||||
for f in $(evas_SOURCES) ; do \
|
||||
rm -f $(datadir)/eo/examples/evas/$$f ; \
|
||||
done
|
||||
for f in $(simple_SOURCES) ; do \
|
||||
for f in $(eo_simple_SOURCES) ; do \
|
||||
rm -f $(datadir)/eo/examples/simple/$$f ; \
|
||||
done
|
||||
for f in $(eo_evas_SOURCES) ; do \
|
||||
rm -f $(datadir)/eo/examples/evas/$$f ; \
|
||||
done
|
||||
|
||||
if ALWAYS_BUILD_EXAMPLES
|
||||
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eo`
|
||||
EXTRA_FLAGS=`pkg-config --libs --cflags evas,elementary`
|
||||
|
||||
SIMPLE= simple/simple_main.c \
|
||||
simple/simple_interface.c \
|
||||
simple/simple_mixin.c \
|
||||
simple/simple_simple.c
|
||||
|
||||
ISA= isa/eo_isa_main.c \
|
||||
isa/eo_isa_complex.c \
|
||||
isa/eo_isa_interface.c \
|
||||
isa/eo_isa_simple.c \
|
||||
isa/eo_isa_mixin.c
|
||||
|
||||
EVAS= evas/evas_test.c \
|
||||
evas/evas_elw_box.c \
|
||||
evas/evas_elw_boxedbutton.c \
|
||||
evas/evas_elw_button.c \
|
||||
evas/evas_elw_win.c \
|
||||
evas/evas_evas_obj.c
|
||||
|
||||
EXAMPLES= eo_simple \
|
||||
eo_isa
|
||||
|
||||
all: examples
|
||||
|
||||
examples: $(EXAMPLES)
|
||||
@echo "To build optional evas examples, run: make Makefile.examples eo_evas"
|
||||
|
||||
eo_simple:
|
||||
$(CC) -o $@ $(SIMPLE) $(COMMON_FLAGS)
|
||||
|
||||
eo_isa:
|
||||
$(CC) -o $@ $(ISA) $(COMMON_FLAGS)
|
||||
|
||||
eo_evas:
|
||||
$(CC) -o $@ $(EVAS) $(COMMON_FLAGS) $(EXTRA_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES) eo_evas
|
|
@ -39,6 +39,10 @@ ethumb_dbus
|
|||
SRCS = \
|
||||
ethumb_dbus.c
|
||||
|
||||
DATA_FILES = Makefile.examples
|
||||
|
||||
EXTRA_DIST = $(DATA_FILES)
|
||||
|
||||
examples: $(EXTRA_PROGRAMS)
|
||||
|
||||
clean-local:
|
||||
|
@ -46,10 +50,10 @@ clean-local:
|
|||
|
||||
install-examples:
|
||||
mkdir -p $(datadir)/ethumb_client/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(datadir)/ethumb_client/examples
|
||||
$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ethumb_client/examples
|
||||
|
||||
uninstall-local:
|
||||
for f in $(SRCS); do \
|
||||
for f in $(SRCS) $(DATA_FILES); do \
|
||||
rm -f $(datadir)/ethumb_client/examples/$$f ; \
|
||||
done
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
CC=gcc
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,ethumb,ethumb_client`
|
||||
|
||||
EXAMPLES= ethumb_dbus
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES)
|
|
@ -204,7 +204,8 @@ DATA_FILES = \
|
|||
enlightenment.png \
|
||||
red.png \
|
||||
im1.png \
|
||||
cube1.png
|
||||
cube1.png \
|
||||
Makefile.examples
|
||||
|
||||
examples: $(EXTRA_PROGRAMS) $(EDJS)
|
||||
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
CC=gcc
|
||||
EDJE_CC=edje_cc
|
||||
EDJE_CODEGEN=edje_codegen
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje,eo`
|
||||
|
||||
EDJE_OBJS= aspect.edj
|
||||
|
||||
EXAMPLES= evas-aspect-hints \
|
||||
evas-box \
|
||||
evas-buffer-simple \
|
||||
evas-events \
|
||||
evas-hints \
|
||||
evas-images \
|
||||
evas-images2 \
|
||||
evas-images3 \
|
||||
evas-init-shutdown \
|
||||
evas-map-utils \
|
||||
evas-object-manipulation \
|
||||
evas-object-manipulation-eo \
|
||||
evas-smart-interface \
|
||||
evas-smart-object \
|
||||
evas-stacking \
|
||||
evas-table \
|
||||
evas-text
|
||||
|
||||
all: edje examples
|
||||
edje: $(EDJE_OBJS)
|
||||
examples: $(EXAMPLES)
|
||||
|
||||
%.edj: %.edc
|
||||
$(EDJE_CC) $<
|
||||
|
||||
$(EXAMPLES):
|
||||
$(CC) -o $@ $@.c $(COMMON_FLAGS)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning up built objects..."
|
||||
@rm -Rf $(EXAMPLES) *.edj
|
Loading…
Reference in New Issue