xref: /trunk/main/dtrans/Library_ftransl.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*e8183b3fSdamjan#**************************************************************
2*e8183b3fSdamjan#
3*e8183b3fSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*e8183b3fSdamjan#  or more contributor license agreements.  See the NOTICE file
5*e8183b3fSdamjan#  distributed with this work for additional information
6*e8183b3fSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*e8183b3fSdamjan#  to you under the Apache License, Version 2.0 (the
8*e8183b3fSdamjan#  "License"); you may not use this file except in compliance
9*e8183b3fSdamjan#  with the License.  You may obtain a copy of the License at
10*e8183b3fSdamjan#
11*e8183b3fSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*e8183b3fSdamjan#
13*e8183b3fSdamjan#  Unless required by applicable law or agreed to in writing,
14*e8183b3fSdamjan#  software distributed under the License is distributed on an
15*e8183b3fSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*e8183b3fSdamjan#  KIND, either express or implied.  See the License for the
17*e8183b3fSdamjan#  specific language governing permissions and limitations
18*e8183b3fSdamjan#  under the License.
19*e8183b3fSdamjan#
20*e8183b3fSdamjan#**************************************************************
21*e8183b3fSdamjan
22*e8183b3fSdamjan
23*e8183b3fSdamjan
24*e8183b3fSdamjan$(eval $(call gb_Library_Library,ftransl))
25*e8183b3fSdamjan
26*e8183b3fSdamjan$(eval $(call gb_Library_add_precompiled_header,ftransl,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
27*e8183b3fSdamjan
28*e8183b3fSdamjan$(eval $(call gb_Library_set_componentfile,ftransl,dtrans/util/ftransl))
29*e8183b3fSdamjan
30*e8183b3fSdamjan$(eval $(call gb_Library_set_include,ftransl,\
31*e8183b3fSdamjan        $$(INCLUDE) \
32*e8183b3fSdamjan    -I$(SRCDIR)/dtrans/inc/pch \
33*e8183b3fSdamjan))
34*e8183b3fSdamjan
35*e8183b3fSdamjan$(eval $(call gb_Library_add_api,ftransl,\
36*e8183b3fSdamjan    offapi \
37*e8183b3fSdamjan    udkapi \
38*e8183b3fSdamjan))
39*e8183b3fSdamjan
40*e8183b3fSdamjan$(eval $(call gb_Library_add_linked_libs,ftransl,\
41*e8183b3fSdamjan    advapi32 \
42*e8183b3fSdamjan    cppuhelper \
43*e8183b3fSdamjan    cppu \
44*e8183b3fSdamjan    gdi32 \
45*e8183b3fSdamjan    ole32 \
46*e8183b3fSdamjan    sal \
47*e8183b3fSdamjan    stl \
48*e8183b3fSdamjan    uwinapi \
49*e8183b3fSdamjan    $(gb_STDLIBS) \
50*e8183b3fSdamjan))
51*e8183b3fSdamjan
52*e8183b3fSdamjan$(eval $(call gb_Library_add_exception_objects,ftransl,\
53*e8183b3fSdamjan    dtrans/source/win32/ftransl/ftransl \
54*e8183b3fSdamjan    dtrans/source/win32/ftransl/ftranslentry \
55*e8183b3fSdamjan    dtrans/source/win32/misc/ImplHelper \
56*e8183b3fSdamjan))
57*e8183b3fSdamjan
58*e8183b3fSdamjan# vim: set noet sw=4 ts=4:
59