efl/src/Makefile_Elocation.am

46 lines
1.6 KiB
Plaintext

### Library
lib_LTLIBRARIES += lib/elocation/libelocation.la
installed_elocationsmainheadersdir = $(includedir)/elocation-@VMAJ@
dist_installed_elocationsmainheaders_DATA = \
lib/elocation/Elocation.h \
lib/elocation/elocation_private.h \
lib/elocation/gen/eldbus_geo_clue2_client.h \
lib/elocation/gen/eldbus_geo_clue2_location.h \
lib/elocation/gen/eldbus_geo_clue2_manager.h \
lib/elocation/gen/eldbus_utils.h
lib_elocation_libelocation_la_SOURCES = \
lib/elocation/elocation.c \
lib/elocation/gen/eldbus_geo_clue2_client.c \
lib/elocation/gen/eldbus_geo_clue2_location.c \
lib/elocation/gen/eldbus_geo_clue2_manager.c
lib_elocation_libelocation_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ELOCATION_CFLAGS@ @EFL_CFLAGS@
lib_elocation_libelocation_la_LIBADD = @ELOCATION_LIBS@
lib_elocation_libelocation_la_DEPENDENCIES = @ELOCATION_INTERNAL_LIBS@
lib_elocation_libelocation_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
### Unit tests
if EFL_ENABLE_TESTS
#check_PROGRAMS += tests/elocation/elocation_suite
#TESTS += tests/elocation/elocation_suite
#tests_elocation_elocation_suite_SOURCES = \
#tests/elocation/elocation_suite.c
#tests_elocation_elocation_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
#-DTESTS_WD=\"`pwd`\" \
#-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/elocation\" \
#-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/elocation\" \
#@CHECK_CFLAGS@ \
#@ELOCATION_CFLAGS@
#tests_elocation_elocation_suite_LDADD = @CHECK_LIBS@ @USE_ELOCATION_LIBS@
#tests_elocation_elocation_suite_DEPENDENCIES = @USE_ELOCATION_INTERNAL_LIBS@
endif