Kaydet (Commit) 429a850d authored tarafından Michael Stahl's avatar Michael Stahl

sfx2: remove Package_sdi

There are just a handful of sdi files in sfx2 anyway so just put
sfx2/sdi on include path.

Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
üst 06803677
......@@ -124,6 +124,11 @@ $(eval $(call gb_Library_add_sdi_headers,basctl,basctl/sdi/basslots))
$(eval $(call gb_SdiTarget_SdiTarget,basctl/sdi/basslots,basctl/sdi/baside))
$(eval $(call gb_SdiTarget_set_include,basctl/sdi/basslots,\
-I$(SRCDIR)/sfx2/sdi \
$$(INCLUDE) \
))
ifeq ($(OS),WNT)
$(eval $(call gb_Library_use_system_win32_libs,basctl,\
advapi32 \
......
......@@ -26,8 +26,8 @@ SlotIdFile( "basslots.hrc" )
]
{
//=========================================================================
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svx/svxitems.sdi"
include "svx/xoitems.sdi"
include "svx/svx.sdi"
......
......@@ -589,6 +589,7 @@ $(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))
$(eval $(call gb_SdiTarget_set_include,sc/sdi/scslots,\
-I$(SRCDIR)/sc/inc \
-I$(SRCDIR)/sc/sdi \
-I$(SRCDIR)/sfx2/sdi \
$$(INCLUDE) \
))
......
......@@ -40,8 +40,8 @@ ModulePrefix( "Sc" )
//----------------------------------------------------------
// bei Problemen ggF. "von Hand" includen (=Copy/Paste)
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svx/svxitems.sdi"
include "svx/xoitems.sdi"
include "svx/svx.sdi"
......
......@@ -16,6 +16,7 @@ $(eval $(call gb_SdiTarget_SdiTarget,sd/sdi/sdslots,sd/sdi/sdslots))
$(eval $(call gb_SdiTarget_set_include,sd/sdi/sdslots,\
-I$(SRCDIR)/sd/inc \
-I$(SRCDIR)/sd/sdi \
-I$(SRCDIR)/sfx2/sdi \
$$(INCLUDE) \
))
......@@ -24,6 +25,7 @@ $(eval $(call gb_SdiTarget_SdiTarget,sd/sdi/sdgslots,sd/sdi/sdgslots))
$(eval $(call gb_SdiTarget_set_include,sd/sdi/sdgslots,\
-I$(SRCDIR)/sd/inc \
-I$(SRCDIR)/sd/sdi \
-I$(SRCDIR)/sfx2/sdi \
$$(INCLUDE) \
))
......
......@@ -25,8 +25,8 @@ SlotIdFile( "sdslots.hrc" )
ModulePrefix( "Sd" )
]
{
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svx/svxitems.sdi"
include "svx/xoitems.sdi"
include "svx/svx.sdi"
......
......@@ -26,8 +26,8 @@ SlotIdFile( "sdslots.hrc" )
ModulePrefix( "Sd" )
]
{
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svx/svxitems.sdi"
include "svx/xoitems.sdi"
include "svx/svx.sdi"
......
......@@ -19,10 +19,6 @@
$(eval $(call gb_Library_Library,sfx))
$(eval $(call gb_Library_use_packages,sfx,\
sfx2_sdi \
))
$(eval $(call gb_Library_add_sdi_headers,sfx,sfx2/sdi/sfxslots))
$(eval $(call gb_Library_set_componentfile,sfx,sfx2/util/sfx))
......
......@@ -22,7 +22,6 @@ $(eval $(call gb_Module_Module,sfx2))
$(eval $(call gb_Module_add_targets,sfx2,\
AllLangResTarget_sfx2 \
Library_sfx \
Package_sdi \
UIConfig_sfx \
))
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# 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/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_Package_Package,sfx2_sdi,$(SRCDIR)/sfx2/sdi))
$(eval $(call gb_Package_add_file,sfx2_sdi,inc/sfx2/sfx.sdi,sfx.sdi))
$(eval $(call gb_Package_add_file,sfx2_sdi,inc/sfx2/sfxitems.sdi,sfxitems.sdi))
# vim: set noet sw=4 ts=4:
......@@ -93,6 +93,7 @@ $(eval $(call gb_SdiTarget_SdiTarget,starmath/sdi/smslots,starmath/sdi/smath))
$(eval $(call gb_SdiTarget_set_include,starmath/sdi/smslots,\
-I$(SRCDIR)/starmath/inc \
-I$(SRCDIR)/starmath/sdi \
-I$(SRCDIR)/sfx2/sdi \
$$(INCLUDE) \
))
......
......@@ -28,8 +28,8 @@ StarMath
SlotIdFile ( "svx/svxids.hrc" )
]
{
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svx/svxitems.sdi"
include "svx/xoitems.sdi"
include "svx/svx.sdi"
......
......@@ -460,6 +460,7 @@ $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\
$$(INCLUDE) \
-I$(SRCDIR)/svx/inc \
-I$(SRCDIR)/svx/sdi \
-I$(SRCDIR)/sfx2/sdi \
))
# Runtime dependency for unit-tests
......
......@@ -26,8 +26,8 @@ SlotIdFile( "svxslots.hrc" )
{
//=========================================================================
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svxitems.sdi"
include "xoitems.sdi"
include "svx.sdi"
......
......@@ -743,6 +743,7 @@ $(eval $(call gb_SdiTarget_SdiTarget,sw/sdi/swslots,sw/sdi/swriter))
$(eval $(call gb_SdiTarget_set_include,sw/sdi/swslots,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/sdi \
-I$(SRCDIR)/sfx2/sdi \
$$(INCLUDE) \
))
......
......@@ -26,8 +26,8 @@ SlotIdFile( "swslots.hrc" )
ModulePrefix( "Sw" )
]
{
include "sfx2/sfxitems.sdi"
include "sfx2/sfx.sdi"
include "sfxitems.sdi"
include "sfx.sdi"
include "svx/svxitems.sdi"
include "svx/xoitems.sdi"
include "svx/svx.sdi"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment