efl/src/examples/ecore_avahi/Makefile.am

47 lines
1.5 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/efl \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_avahi\
-I$(top_builddir)/src/lib/eina \
-I$(top_builddir)/src/lib/eo \
-I$(top_builddir)/src/lib/efl \
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_avahi \
@AVAHI_CLIENT_CFLAGS@
EXTRA_PROGRAMS = \
ecore_avahi_example \
ecore_avahi_browse_example
ecore_avahi_example_SOURCES = ecore_avahi_example.c
ecore_avahi_example_LDADD = $(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
$(top_builddir)/src/lib/eo/libeo.la \
$(top_builddir)/src/lib/eina/libeina.la \
@AVAHI_CLIENT_LIBS@
ecore_avahi_browse_example_SOURCES = ecore_avahi_browse_example.c
ecore_avahi_browse_example_LDADD = $(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
$(top_builddir)/src/lib/eo/libeo.la \
$(top_builddir)/src/lib/eina/libeina.la \
@AVAHI_CLIENT_LIBS@
examples: $(EXTRA_PROGRAMS)
clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
$(MKDIR_P) $(DESTDIR)$(datadir)/ecore_avahi/examples
$(install_sh_DATA) -c $(srcdir)/ecore_avahi_browse_example.c $(DESTDIR)$(datadir)/ecore_avahi/examples
$(install_sh_DATA) -c $(srcdir)/ecore_avahi_example.c $(DESTDIR)$(datadir)/ecore_avahi/examples
uninstall-local:
rm -f $(DESTDIR)$(datadir)/ecore_avahi/examples/ecore_avahi_example.c
rm -f $(DESTDIR)$(datadir)/ecore_avahi/examples/ecore_avahi_browse_example.c