diff options
author | David Tardon <dtardon@redhat.com> | 2013-11-12 16:44:40 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-11-12 17:28:12 +0100 |
commit | 49a4d366ee7c298e547955344001f3d95622106a (patch) | |
tree | 650525471ff76e2f6fb3b86b4a5fb1f4135b2034 /RepositoryExternal.mk | |
parent | document the use of the strtmpl.cxx and remove unnecessary macro usage (diff) | |
download | core-49a4d366ee7c298e547955344001f3d95622106a.tar.gz core-49a4d366ee7c298e547955344001f3d95622106a.zip |
integrate libeot
Change-Id: I0f28ff1680026d883909cc12efabb54f705cecb4
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 1fd0850b8bb0..4ec63ae02c6e 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -2639,6 +2639,49 @@ gb_LinkTarget__use_orcus-parser := endif +ifeq ($(ENABLE_EOT),TRUE) + +ifeq ($(SYSTEM_LIBEOT),TRUE) + +define gb_LinkTarget__use_libeot +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(LIBEOT_CFLAGS) \ +) +$(call gb_LinkTarget_add_libs,$(1),$(LIBEOT_LIBS)) + +endef + +gb_ExternalProject__use_libeot := + +else # !SYSTEM_LIBEOT + +define gb_LinkTarget__use_libeot +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,libeot)/inc \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,libeot)/.libs/libeot$(gb_StaticLibrary_PLAINEXT) \ +) +$(call gb_LinkTarget_use_external_project,$(1),libeot) + +endef + +define gb_ExternalProject__use_libeot +$(call gb_ExternalProject_use_external_project,$(1),libeot) + +endef + +endif # SYSTEM_LIBEOT + +else # !ENABLE_EOT + +gb_LinkTarget__use_libeot := +gb_ExternalProject__use_libeot := + +endif # ENABLE_EOT + ### X11 stuff ### ifeq ($(GUIBASE),unx) |