diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-28 00:18:12 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-28 16:49:07 +0200 |
commit | cee32aae398283c38b42c73add694e9d074a5d62 (patch) | |
tree | 6b24d1825a8ecab75c160db1734f7660c8759621 /RepositoryExternal.mk | |
parent | b05430409b3eb3a4b8649895788e025fc9a0d9a0 (diff) |
gbuild: clean up Mac OS X framework handling:
There are currently 3 different mechanisms being used for frameworks,
which is of course intolerable so we invent a 4th one and standardize on
it: gb_LinkTarget_use_darwin_frameworks
(This doesn't mean using add_libs or externals was wrong, it was just
inconsistent... and i don't see an obvious benefit of using externals here)
Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index d653b208dba2..2f79d77ec35d 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -2002,96 +2002,6 @@ endef endif # GUIBASE=unx -# MacOSX-only frameworks ############################################ -# (in alphabetical order) - -define gb_LinkTarget__use_carbon -$(call gb_LinkTarget_add_libs,$(1), \ - -framework Carbon \ -) - -endef - -define gb_LinkTarget__use_cocoa -$(call gb_LinkTarget_add_libs,$(1), \ - -framework Cocoa \ -) - -endef - -define gb_LinkTarget__use_iokit -$(call gb_LinkTarget_add_libs,$(1), \ - -framework IOKit \ -) - -endef - -define gb_LinkTarget__use_qtkit -$(call gb_LinkTarget_add_libs,$(1), \ - -framework QTKit \ -) - -endef - -define gb_LinkTarget__use_quicktime -$(call gb_LinkTarget_add_libs,$(1), \ - -framework QuickTime \ -) - -endef - -# Common MacOSX and iOS frameworks - -define gb_LinkTarget__use_corefoundation -$(call gb_LinkTarget_add_libs,$(1), \ - -framework CoreFoundation \ -) - -endef - -define gb_LinkTarget__use_coregraphics -$(call gb_Library_add_libs,$(1), \ - -framework CoreGraphics \ -) - -endef - -define gb_LinkTarget__use_coreservices -$(call gb_Library_add_libs,$(1), \ - -framework CoreServices \ -) - -endef - -define gb_LinkTarget__use_coretext -$(call gb_Library_add_libs,$(1), \ - -framework CoreText \ -) - -endef - -define gb_LinkTarget__use_foundation -$(call gb_LinkTarget_add_libs,$(1), \ - -framework Foundation \ -) - -endef - -define gb_LinkTarget__use_systemconfiguration -$(call gb_LinkTarget_add_libs,$(1), \ - -framework SystemConfiguration \ -) - -endef - -# iOS-only frameworks - -define gb_LinkTarget__use_uikit -$(call gb_LinkTarget_add_libs,$(1), \ - -framework UIKit \ -) - -endef ifeq (,$(filter DESKTOP,$(BUILD_TYPE))) |