2011-08-09 12:12:48 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-07-30 16:15:29 -05:00
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-07-30 16:15:29 -05:00
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-07-30 16:15:29 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_Executable,rsc))
|
|
|
|
|
2013-01-26 14:19:13 -06:00
|
|
|
$(eval $(call gb_Executable_use_external,rsc,boost_headers))
|
|
|
|
|
2011-07-30 16:15:29 -05:00
|
|
|
$(eval $(call gb_Executable_set_include,rsc,\
|
|
|
|
$$(INCLUDE) \
|
2011-08-19 20:31:38 -05:00
|
|
|
-I$(SRCDIR)/rsc/inc \
|
2011-07-30 16:15:29 -05:00
|
|
|
))
|
|
|
|
|
2012-07-02 08:55:53 -05:00
|
|
|
$(eval $(call gb_Executable_use_sdk_api,rsc))
|
2011-07-30 16:15:29 -05:00
|
|
|
|
|
|
|
$(eval $(call gb_Executable_add_defs,rsc,\
|
|
|
|
-DSOLAR \
|
|
|
|
))
|
|
|
|
|
2012-04-07 16:22:08 -05:00
|
|
|
$(eval $(call gb_Executable_use_libraries,rsc,\
|
2013-04-05 11:40:39 -05:00
|
|
|
i18nlangtag \
|
2011-08-13 19:37:52 -05:00
|
|
|
comphelper \
|
2011-07-30 16:15:29 -05:00
|
|
|
sal \
|
|
|
|
tl \
|
2012-09-26 16:45:28 -05:00
|
|
|
$(gb_UWINAPI) \
|
2011-07-30 16:15:29 -05:00
|
|
|
))
|
|
|
|
|
2011-08-19 20:31:38 -05:00
|
|
|
$(eval $(call gb_Executable_add_grammars,rsc,\
|
2011-08-22 01:42:36 -05:00
|
|
|
rsc/source/parser/rscyacc \
|
2011-08-19 20:31:38 -05:00
|
|
|
))
|
|
|
|
|
2011-07-30 16:15:29 -05:00
|
|
|
$(eval $(call gb_Executable_add_exception_objects,rsc,\
|
|
|
|
rsc/source/parser/erscerr \
|
|
|
|
rsc/source/parser/rscdb \
|
|
|
|
rsc/source/parser/rscibas \
|
|
|
|
rsc/source/parser/rscicpx \
|
|
|
|
rsc/source/parser/rscinit \
|
|
|
|
rsc/source/parser/rsckey \
|
|
|
|
rsc/source/parser/rsclex \
|
|
|
|
rsc/source/parser/rscpar \
|
|
|
|
rsc/source/prj/gui \
|
|
|
|
rsc/source/prj/start \
|
|
|
|
rsc/source/res/rscall \
|
|
|
|
rsc/source/res/rscarray \
|
|
|
|
rsc/source/res/rscclass \
|
|
|
|
rsc/source/res/rscclobj \
|
|
|
|
rsc/source/res/rscconst \
|
|
|
|
rsc/source/res/rsccont \
|
|
|
|
rsc/source/res/rscflag \
|
|
|
|
rsc/source/res/rscmgr \
|
|
|
|
rsc/source/res/rscrange \
|
|
|
|
rsc/source/res/rscstr \
|
|
|
|
rsc/source/res/rsctop \
|
|
|
|
rsc/source/rsc/rsc \
|
|
|
|
rsc/source/tools/rscchar \
|
|
|
|
rsc/source/tools/rscdef \
|
|
|
|
rsc/source/tools/rschash \
|
|
|
|
rsc/source/tools/rsctools \
|
|
|
|
rsc/source/tools/rsctree \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_add_cobjects,rsc,\
|
|
|
|
rsc/source/rscpp/cpp1 \
|
|
|
|
rsc/source/rscpp/cpp2 \
|
|
|
|
rsc/source/rscpp/cpp3 \
|
|
|
|
rsc/source/rscpp/cpp4 \
|
|
|
|
rsc/source/rscpp/cpp5 \
|
|
|
|
rsc/source/rscpp/cpp6 \
|
|
|
|
))
|
|
|
|
|
2012-12-11 17:07:09 -06:00
|
|
|
ifneq ($(OS),WNT)
|
2011-07-30 16:15:29 -05:00
|
|
|
$(eval $(call gb_Executable_add_defs,rsc,\
|
|
|
|
-Dunix \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|