make gbuild makefiles run independant of pwd again
[LibreOffice.git] / sw / Library_swd.mk
blob08245f0d251bd283bce18981b6c2409579206bc5
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,swd))
31 $(eval $(call gb_Library_set_componentfile,swd,sw/util/swd))
33 $(eval $(call gb_Library_set_include,swd,\
34 $$(INCLUDE) \
35 -I$(WORKDIR)/inc/sw/sdi \
36 -I$(WORKDIR)/inc/sw \
37 -I$(realpath $(SRCDIR)/sw/inc) \
38 -I$(realpath $(SRCDIR)/sw/inc/pch) \
39 -I$(realpath $(SRCDIR)/sw/source/core/inc) \
40 -I$(realpath $(SRCDIR)/sw/source/filter/inc) \
41 -I$(realpath $(SRCDIR)/sw/source/ui/inc) \
44 $(eval $(call gb_Library_add_api,swd,\
45 udkapi \
46 offapi \
49 $(eval $(call gb_Library_add_defs,swd,\
50 -DSWD_DLLIMPLEMENTATION \
51 -DSWD_DLLIMPLEMENTATION \
54 $(eval $(call gb_Library_add_linked_libs,swd,\
55 comphelper \
56 cppu \
57 cppuhelper \
58 sal \
59 sfx \
60 sot \
61 svl \
62 svt \
63 tl \
64 ucbhelper \
65 utl \
66 vcl \
67 $(gb_STDLIBS) \
70 $(eval $(call gb_Library_add_exception_objects,swd,\
71 sw/source/filter/basflt/iodetect \
72 sw/source/ui/uno/detreg \
73 sw/source/ui/uno/swdet2 \
74 sw/source/ui/uno/swdetect \
77 # vim: set noet sw=4 ts=4: