2013-01-03 05:29:08 -06:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
$(eval $(call gb_Executable_Executable,Viewer))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_use_api,Viewer,\
|
|
|
|
udkapi \
|
|
|
|
offapi \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_use_externals,Viewer,\
|
2013-01-30 03:42:47 -06:00
|
|
|
boost_headers \
|
2013-01-03 05:29:08 -06:00
|
|
|
iconv \
|
|
|
|
zlib \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_use_system_darwin_frameworks,Viewer,\
|
|
|
|
Foundation \
|
|
|
|
CoreFoundation \
|
|
|
|
CoreGraphics \
|
|
|
|
CoreText \
|
|
|
|
UIKit \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_add_objcxxobjects,Viewer,\
|
|
|
|
ios/experimental/Viewer/Viewer/lo-viewer \
|
|
|
|
ios/experimental/Viewer/Viewer/LOViewerAppDelegate \
|
|
|
|
ios/experimental/Viewer/Viewer/main \
|
|
|
|
))
|
|
|
|
|
2013-03-20 02:07:52 -05:00
|
|
|
$(eval $(call gb_Executable_add_objcobjects,Viewer,\
|
|
|
|
ios/experimental/Viewer/Viewer/LOViewerWindow \
|
|
|
|
))
|
|
|
|
|
2013-03-03 14:04:59 -06:00
|
|
|
# The executables built for iOS link to all LO libs statically. The
|
|
|
|
# link command just uses the wildcard function to list all of them.
|
|
|
|
# Instead of tediously here declare dependencies on the transitive
|
|
|
|
# closure of those from which some object ends up being linked in, we
|
|
|
|
# list a few libraries that are high in the dependency forest to make
|
|
|
|
# it likely that all necessary libraries are built before this
|
|
|
|
# executable is.
|
|
|
|
$(eval $(call gb_Executable_use_libraries,Viewer,\
|
|
|
|
msword \
|
2013-03-22 01:24:05 -05:00
|
|
|
sal \
|
|
|
|
sc \
|
2013-03-03 14:04:59 -06:00
|
|
|
scfilt \
|
2013-03-14 05:02:11 -05:00
|
|
|
sdfilt \
|
2013-03-18 03:28:06 -05:00
|
|
|
swui \
|
2013-03-03 14:04:59 -06:00
|
|
|
))
|
2013-03-02 17:46:06 -06:00
|
|
|
|
2013-03-20 02:07:52 -05:00
|
|
|
# Mark the executable as depending on all libraries so that it gets
|
|
|
|
# rebuilt if any library has been rebuilt. Avoids need for "make
|
|
|
|
# ios.clean".
|
|
|
|
|
|
|
|
$(call gb_LinkTarget_get_target,Executable/Viewer) : $(wildcard $(OUTDIR)/lib/lib*.a)
|
|
|
|
|
2013-01-03 05:29:08 -06:00
|
|
|
# vim: set ts=4 sw=4 et:
|