aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/elementary/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/Makefile.am')
-rw-r--r--src/examples/elementary/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/examples/elementary/Makefile.am b/src/examples/elementary/Makefile.am
index 905683c4fd..d1a3767d85 100644
--- a/src/examples/elementary/Makefile.am
+++ b/src/examples/elementary/Makefile.am
@@ -257,6 +257,23 @@ nodist_codegen_example_SOURCES = \
codegen_example_generated.c \
codegen_example_generated.h
+
+if HAVE_CSHARP
+
+efl_ui_slider_mono_exe_SOURCES = \
+ efl_ui_slider_mono.cs
+
+if HAVE_WIN32
+MCS_FLAGS := $(MCS_FLAGS)
+MCS_FLAGS += -define:WIN32
+endif
+
+efl_ui_slider_mono.exe$(EXEEXT): $(efl_ui_slider_mono_exe_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll$(EXEEXT)
+ @rm -f efl_ui_slider_mono$(EXEEXT)
+ $(AM_V_MCS) $(MCS) $(MCS_FLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll$(EXEEXT) -out:$@ $(filter %.cs, $(^))
+
+endif
+
examples_PROGRAMS = \
actionslider_example_01 \
bg_example_01 \
@@ -417,6 +434,13 @@ toolbar_cxx_example_01 \
$(NULL)
endif
+if HAVE_CSHARP
+
+examples_PROGRAMS += \
+ efl_ui_slider_mono.exe
+
+endif
+
efl_thread_1_SOURCES = efl_thread_1.c
efl_thread_2_SOURCES = efl_thread_2.c
efl_thread_3_SOURCES = efl_thread_3.c