summaryrefslogtreecommitdiff
path: root/apple_remote
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-28 00:18:12 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-28 16:49:07 +0200
commitcee32aae398283c38b42c73add694e9d074a5d62 (patch)
tree6b24d1825a8ecab75c160db1734f7660c8759621 /apple_remote
parentb05430409b3eb3a4b8649895788e025fc9a0d9a0 (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 'apple_remote')
-rw-r--r--apple_remote/Library_AppleRemote.mk17
1 files changed, 6 insertions, 11 deletions
diff --git a/apple_remote/Library_AppleRemote.mk b/apple_remote/Library_AppleRemote.mk
index 37a19282e043..c5fdbef72b08 100644
--- a/apple_remote/Library_AppleRemote.mk
+++ b/apple_remote/Library_AppleRemote.mk
@@ -1,4 +1,3 @@
-
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
@@ -33,16 +32,10 @@ $(eval $(call gb_Library_use_package,AppleRemote,\
apple_remote_inc \
))
-$(eval $(call gb_Library_use_externals,AppleRemote,\
- cocoa \
- carbon \
- iokit \
-))
-
-$(eval $(call gb_Library_add_libs,AppleRemote,\
- -framework Cocoa \
- -framework Carbon \
- -framework IOKit \
+$(eval $(call gb_Library_use_system_darwin_frameworks,AppleRemote,\
+ Cocoa \
+ Carbon \
+ IOKit \
))
$(eval $(call gb_Library_add_objcobjects,AppleRemote,\
@@ -55,3 +48,5 @@ $(eval $(call gb_Library_add_objcobjects,AppleRemote,\
apple_remote/source/MultiClickRemoteBehavior \
apple_remote/source/RemoteMainController \
))
+
+# vim: set noet sw=4 ts=4: