xref: /trunk/main/dtrans/Library_sysdtrans_os2.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1e8183b3fSdamjan#**************************************************************
2e8183b3fSdamjan#
3e8183b3fSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4e8183b3fSdamjan#  or more contributor license agreements.  See the NOTICE file
5e8183b3fSdamjan#  distributed with this work for additional information
6e8183b3fSdamjan#  regarding copyright ownership.  The ASF licenses this file
7e8183b3fSdamjan#  to you under the Apache License, Version 2.0 (the
8e8183b3fSdamjan#  "License"); you may not use this file except in compliance
9e8183b3fSdamjan#  with the License.  You may obtain a copy of the License at
10e8183b3fSdamjan#
11e8183b3fSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12e8183b3fSdamjan#
13e8183b3fSdamjan#  Unless required by applicable law or agreed to in writing,
14e8183b3fSdamjan#  software distributed under the License is distributed on an
15e8183b3fSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16e8183b3fSdamjan#  KIND, either express or implied.  See the License for the
17e8183b3fSdamjan#  specific language governing permissions and limitations
18e8183b3fSdamjan#  under the License.
19e8183b3fSdamjan#
20e8183b3fSdamjan#**************************************************************
21e8183b3fSdamjan
22e8183b3fSdamjan
23e8183b3fSdamjan
24774c2d42SYuri Dario$(eval $(call gb_Library_Library,sysdtrans))
25e8183b3fSdamjan
26774c2d42SYuri Dario$(eval $(call gb_Library_add_precompiled_header,sysdtrans,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
27e8183b3fSdamjan
28774c2d42SYuri Dario$(eval $(call gb_Library_set_componentfile,sysdtrans,dtrans/util/sysdtrans))
29e8183b3fSdamjan
30774c2d42SYuri Dario$(eval $(call gb_Library_set_include,sysdtrans,\
31e8183b3fSdamjan        $$(INCLUDE) \
32e8183b3fSdamjan    -I$(SRCDIR)/dtrans/inc/pch \
33e8183b3fSdamjan))
34e8183b3fSdamjan
35774c2d42SYuri Dario$(eval $(call gb_Library_add_api,sysdtrans,\
36e8183b3fSdamjan    offapi \
37e8183b3fSdamjan    udkapi \
38e8183b3fSdamjan))
39e8183b3fSdamjan
40774c2d42SYuri Dario$(eval $(call gb_Library_add_linked_libs,sysdtrans,\
41e8183b3fSdamjan    cppuhelper \
42e8183b3fSdamjan    cppu \
43e8183b3fSdamjan    sal \
44e8183b3fSdamjan    stl \
45*559605ceSYuri Dario    uclip \
46e8183b3fSdamjan    $(gb_STDLIBS) \
47e8183b3fSdamjan))
48e8183b3fSdamjan
49*559605ceSYuri Dario# YD FIXME this is not working... needs ldflags hack...
50*559605ceSYuri Dario$(eval $(call gb_Library_add_libs,sysdtrans,\
51*559605ceSYuri Dario    -luclip \
52*559605ceSYuri Dario))
53*559605ceSYuri Dario
54774c2d42SYuri Dario$(eval $(call gb_Library_add_exception_objects,sysdtrans,\
55e8183b3fSdamjan    dtrans/source/os2/clipb/Os2Clipboard \
56e8183b3fSdamjan    dtrans/source/os2/clipb/Os2Bitmap \
57e8183b3fSdamjan    dtrans/source/os2/clipb/Os2Service \
58e8183b3fSdamjan    dtrans/source/os2/clipb/Os2Transferable \
59e8183b3fSdamjan))
60e8183b3fSdamjan
61e8183b3fSdamjan# vim: set noet sw=4 ts=4:
62