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,mcnttype)) 25*e8183b3fSdamjan 26*e8183b3fSdamjan$(eval $(call gb_Library_add_precompiled_header,mcnttype,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans)) 27*e8183b3fSdamjan 28*e8183b3fSdamjan$(eval $(call gb_Library_set_componentfile,mcnttype,dtrans/util/mcnttype)) 29*e8183b3fSdamjan 30*e8183b3fSdamjan$(eval $(call gb_Library_set_include,mcnttype,\ 31*e8183b3fSdamjan $$(INCLUDE) \ 32*e8183b3fSdamjan -I$(SRCDIR)/dtrans/inc/pch \ 33*e8183b3fSdamjan)) 34*e8183b3fSdamjan 35*e8183b3fSdamjan$(eval $(call gb_Library_add_api,mcnttype,\ 36*e8183b3fSdamjan offapi \ 37*e8183b3fSdamjan udkapi \ 38*e8183b3fSdamjan)) 39*e8183b3fSdamjan 40*e8183b3fSdamjan$(eval $(call gb_Library_add_linked_libs,mcnttype,\ 41*e8183b3fSdamjan cppuhelper \ 42*e8183b3fSdamjan cppu \ 43*e8183b3fSdamjan sal \ 44*e8183b3fSdamjan stl \ 45*e8183b3fSdamjan $(gb_STDLIBS) \ 46*e8183b3fSdamjan)) 47*e8183b3fSdamjan 48*e8183b3fSdamjanifeq ($(OS),WNT) 49*e8183b3fSdamjan$(eval $(call gb_Library_add_linked_libs,mcnttype,\ 50*e8183b3fSdamjan uwinapi \ 51*e8183b3fSdamjan)) 52*e8183b3fSdamjanendif 53*e8183b3fSdamjan 54*e8183b3fSdamjan$(eval $(call gb_Library_add_exception_objects,mcnttype,\ 55*e8183b3fSdamjan dtrans/source/cnttype/mctfentry \ 56*e8183b3fSdamjan dtrans/source/cnttype/mcnttfactory \ 57*e8183b3fSdamjan dtrans/source/cnttype/mcnttype \ 58*e8183b3fSdamjan)) 59*e8183b3fSdamjan 60*e8183b3fSdamjan# vim: set noet sw=4 ts=4: 61