Blame src/goabackend/Makefile.am

Packit 79f644
Packit 79f644
NULL =
Packit 79f644
CLEANFILES =
Packit 79f644
EXTRA_DIST =
Packit 79f644
Packit 79f644
AM_CPPFLAGS = 							\
Packit 79f644
	-I$(top_builddir)/src -I$(top_srcdir)/src		\
Packit 79f644
	-I$(top_builddir)/src -I$(top_srcdir)/src		\
Packit 79f644
	-I$(top_builddir)/src/goa				\
Packit 79f644
	-I$(top_srcdir)/src/goaidentity				\
Packit 79f644
	-I$(top_builddir)/src/goaidentity			\
Packit 79f644
	-DG_LOG_DOMAIN=\"GoaBackend\"				\
Packit 79f644
	-DGOA_BACKEND_COMPILATION				\
Packit 79f644
	-DGOA_API_IS_SUBJECT_TO_CHANGE				\
Packit 79f644
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" 		\
Packit 79f644
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" 		\
Packit 79f644
	-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" 			\
Packit 79f644
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" 			\
Packit 79f644
	-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" 	\
Packit 79f644
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" 		\
Packit 79f644
	-DPACKAGE_LIB_DIR=\""$(libdir)"\" 			\
Packit 79f644
	-DPACKAGE_WEB_EXTENSIONS_DIR=\""$(libdir)/goa-1.0/web-extensions"\" \
Packit 79f644
	-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT			\
Packit 79f644
	$(WARN_CFLAGS)						\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
# ----------------------------------------------------------------------------------------------------
Packit 79f644
Packit 79f644
goabackendenumtypes.h: goabackendenums.h goabackendenumtypes.h.template
Packit 79f644
	$(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; 					\
Packit 79f644
	 cd $(srcdir) && glib-mkenums --template goabackendenumtypes.h.template goabackendenums.h ) > 	\
Packit 79f644
	   goabackendenumtypes.h.tmp && mv goabackendenumtypes.h.tmp goabackendenumtypes.h
Packit 79f644
Packit 79f644
goabackendenumtypes.c: goabackendenums.h goabackendenumtypes.c.template goabackendenumtypes.h
Packit 79f644
	$(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; 					\
Packit 79f644
	 cd $(srcdir) && glib-mkenums --template goabackendenumtypes.c.template goabackendenums.h ) > 	\
Packit 79f644
	   goabackendenumtypes.c.tmp && mv goabackendenumtypes.c.tmp goabackendenumtypes.c
Packit 79f644
Packit 79f644
enum_built_sources =							\
Packit 79f644
	goabackendenumtypes.h		goabackendenumtypes.c		\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
EXTRA_DIST += goabackendenumtypes.h.template goabackendenumtypes.c.template
Packit 79f644
Packit 79f644
# ----------------------------------------------------------------------------------------------------
Packit 79f644
Packit 79f644
lib_LTLIBRARIES = libgoa-backend-1.0.la
Packit 79f644
Packit 79f644
libgoa_backend_1_0_ladir = $(includedir)/goa-1.0/goabackend
Packit 79f644
Packit 79f644
libgoa_backend_1_0_la_HEADERS =						\
Packit 79f644
	goabackend.h							\
Packit 79f644
	goabackendenums.h						\
Packit 79f644
	goabackendenumtypes.h						\
Packit 79f644
	goaprovider.h							\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoa_backend_1_0_la_built_sources =						\
Packit 79f644
	goadleynaservermanager.h		goadleynaservermanager.c	\
Packit 79f644
	goadleynaservermediadevice.h		goadleynaservermediadevice.c	\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
nodist_libgoa_backend_1_0_la_SOURCES =					\
Packit 79f644
	$(libgoa_backend_1_0_la_built_sources)				\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoa_backend_1_0_la_SOURCES =						\
Packit 79f644
	goabackend.h							\
Packit 79f644
	goabackendenums-priv.h						\
Packit 79f644
	goabackendenumtypes.h		goabackendenumtypes.c		\
Packit 79f644
	gconstructor.h			goabackendinit.c		\
Packit 79f644
	goadlnaservermanager.h		goadlnaservermanager.c		\
Packit 79f644
	goaewsclient.h			goaewsclient.c			\
Packit 79f644
	goahttpclient.h			goahttpclient.c			\
Packit 79f644
	goaprovider-priv.h		goaprovider.c			\
Packit 79f644
	goaproviderfactory.h		goaproviderfactory.c		\
Packit 79f644
	goamailauth.h			goamailauth.c			\
Packit 79f644
	goaimapauthlogin.h		goaimapauthlogin.c		\
Packit 79f644
	goarestproxy.h			goarestproxy.c			\
Packit 79f644
	goasmtpauth.h			goasmtpauth.c			\
Packit 79f644
	goasouplogger.h			goasouplogger.c			\
Packit 79f644
	goamailclient.h			goamailclient.c			\
Packit 79f644
	goaexchangeprovider.h		goaexchangeprovider.c		\
Packit 79f644
	goaoauthprovider.h		goaoauthprovider.c		\
Packit 79f644
	goaoauth2provider.h		goaoauth2provider-priv.h	\
Packit 79f644
	goaoauth2provider-web-extension.h				\
Packit 79f644
	goaoauth2provider-web-view.h					\
Packit 79f644
	goaoauth2provider.c						\
Packit 79f644
	goagoogleprovider.h		goagoogleprovider.c		\
Packit 79f644
	goafacebookprovider.h		goafacebookprovider.c		\
Packit 79f644
	goaimapsmtpprovider.h		goaimapsmtpprovider.c		\
Packit 79f644
	goamediaserverprovider.h	goamediaserverprovider.c	\
Packit 79f644
	goaowncloudprovider.h		goaowncloudprovider.c		\
Packit 79f644
	goaflickrprovider.h		goaflickrprovider.c		\
Packit 79f644
	goafoursquareprovider.h		goafoursquareprovider.c		\
Packit 79f644
	goawindowsliveprovider.h	goawindowsliveprovider.c	\
Packit 79f644
	goapocketprovider.h		goapocketprovider.c		\
Packit 79f644
	goalastfmprovider.h		goalastfmprovider.c		\
Packit 79f644
	goatodoistprovider.h		goatodoistprovider.c		\
Packit 79f644
	goaobjectskeletonutils.h	goaobjectskeletonutils.c	\
Packit 79f644
	goautils.h			goautils.c			\
Packit 79f644
	goawebview.h			goawebview.c			\
Packit 79f644
	nautilus-floating-bar.h		nautilus-floating-bar.c		\
Packit 79f644
	$(top_builddir)/src/goaidentity/org.gnome.Identity.c		\
Packit 79f644
	$(top_srcdir)/src/goaidentity/goaidentitymanagererror.c		\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
if BUILD_KERBEROS
Packit 79f644
libgoa_backend_1_0_la_SOURCES +=					\
Packit 79f644
	goakerberosprovider.h		goakerberosprovider.c
Packit 79f644
endif
Packit 79f644
Packit 79f644
if BUILD_TELEPATHY
Packit 79f644
libgoa_backend_1_0_la_SOURCES +=					\
Packit 79f644
	goatelepathyfactory.h		goatelepathyfactory.c		\
Packit 79f644
	goatelepathyprovider.h		goatelepathyprovider.c		\
Packit 79f644
	goatpaccountlinker.h		goatpaccountlinker.c		\
Packit 79f644
	$(NULL)
Packit 79f644
endif
Packit 79f644
Packit 79f644
libgoa_backend_1_0_la_CFLAGS =					\
Packit 79f644
	$(WEBKIT_GTK_CFLAGS)					\
Packit 79f644
	$(JSON_GLIB_CFLAGS)					\
Packit 79f644
	$(GCR_CFLAGS) 						\
Packit 79f644
	$(GLIB_CFLAGS) 						\
Packit 79f644
	$(GTK_CFLAGS) 						\
Packit 79f644
	$(REST_CFLAGS)						\
Packit 79f644
	$(SECRET_CFLAGS)					\
Packit 79f644
	$(LIBSOUP_CFLAGS)					\
Packit 79f644
	$(LIBXML_CFLAGS)					\
Packit 79f644
	$(TP_CFLAGS)						\
Packit 79f644
	$(TPAW_CFLAGS)						\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoa_backend_1_0_la_LIBADD = 					\
Packit 79f644
	$(top_builddir)/src/goa/libgoa-1.0.la			\
Packit 79f644
	$(WEBKIT_GTK_LIBS)					\
Packit 79f644
	$(JSON_GLIB_LIBS)					\
Packit 79f644
	$(GCR_LIBS) 						\
Packit 79f644
	$(GLIB_LIBS) 						\
Packit 79f644
	$(GTK_LIBS) 						\
Packit 79f644
	$(REST_LIBS)						\
Packit 79f644
	$(SECRET_LIBS)						\
Packit 79f644
	$(LIBSOUP_LIBS)						\
Packit 79f644
	$(LIBXML_LIBS)						\
Packit 79f644
	$(TP_LIBS)						\
Packit 79f644
	$(TPAW_LIBS)						\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoa_backend_1_0_la_LDFLAGS = 				\
Packit 79f644
	$(WARN_LDFLAGS)						\
Packit 79f644
	-version-info $(GOA_BACKEND_LT_VERSION)			\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
# ----------------------------------------------------------------------------------------------------
Packit 79f644
Packit 79f644
webextension_LTLIBRARIES = libgoawebextension.la
Packit 79f644
Packit 79f644
webextensiondir = $(libdir)/goa-1.0/web-extensions
Packit 79f644
Packit 79f644
libgoawebextension_la_SOURCES =						\
Packit 79f644
	goawebextension.h		goawebextension.c		\
Packit 79f644
	goawebextensionmain.c						\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoawebextension_la_CFLAGS =						\
Packit 79f644
	$(REST_CFLAGS)							\
Packit 79f644
	$(WEBKIT_GTK_CFLAGS)						\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoawebextension_la_LIBADD =						\
Packit 79f644
	libgoa-backend-1.0.la						\
Packit 79f644
	$(REST_LIBS)							\
Packit 79f644
	$(WEBKIT_GTK_LIBS)						\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
libgoawebextension_la_LDFLAGS =						\
Packit 79f644
	-avoid-version							\
Packit 79f644
	-module								\
Packit 79f644
	-no-undefined							\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
# Force installation order: libgoa-backend-1.0 must be installed first, othwerwise
Packit 79f644
# libtool will incorrectly relink libgoawebextension.la under parallel make install.
Packit 79f644
# Requires ugly automake syntax - see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
Packit 79f644
Packit 79f644
installwebextensionLTLIBRARIES = install-webextensionLTLIBRARIES
Packit 79f644
$(installwebextensionLTLIBRARIES): install-libLTLIBRARIES
Packit 79f644
Packit 79f644
# ----------------------------------------------------------------------------------------------------
Packit 79f644
Packit 79f644
BUILT_SOURCES =								\
Packit 79f644
	$(libgoa_backend_1_0_la_built_sources)				\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
EXTRA_DIST +=								\
Packit 79f644
	goadleynaservermanager.xml					\
Packit 79f644
	goadleynaservermediadevice.xml					\
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
goadleynaservermanager.h goadleynaservermanager.c: goadleynaservermanager.xml
Packit 79f644
	$(AM_V_GEN)gdbus-codegen						\
Packit 79f644
		--c-namespace DleynaServer					\
Packit 79f644
		--generate-c-code goadleynaservermanager			\
Packit 79f644
		--interface-prefix com.intel.dLeynaServer.			\
Packit 79f644
		$<
Packit 79f644
Packit 79f644
goadleynaservermediadevice.h goadleynaservermediadevice.c: goadleynaservermediadevice.xml
Packit 79f644
	$(AM_V_GEN)gdbus-codegen								\
Packit 79f644
		--c-namespace DleynaServer							\
Packit 79f644
		--generate-c-code goadleynaservermediadevice					\
Packit 79f644
		--interface-prefix com.intel.dLeynaServer.					\
Packit 79f644
		$<
Packit 79f644
Packit 79f644
# ----------------------------------------------------------------------------------------------------
Packit 79f644
Packit 79f644
pkgconfigdir = $(libdir)/pkgconfig
Packit 79f644
pkgconfig_DATA = goa-backend-1.0.pc
Packit 79f644
Packit 79f644
# ----------------------------------------------------------------------------------------------------
Packit 79f644
Packit 79f644
CLEANFILES += \
Packit 79f644
	$(BUILT_SOURCES) \
Packit 79f644
	$(enum_built_sources) \
Packit 79f644
	$(NULL)
Packit 79f644
Packit 79f644
clean-local :
Packit 79f644
	rm -f *~
Packit 79f644
Packit 79f644
-include $(top_srcdir)/git.mk