17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir$(eval $(call gb_Executable_Executable,so_checksum))
25cdf0e10cSrcweir
26cdf0e10cSrcweir$(eval $(call gb_Executable_set_include,so_checksum,\
27cdf0e10cSrcweir	$$(INCLUDE) \
28cdf0e10cSrcweir	-I$(SRCDIR)/tools/inc/ \
29cdf0e10cSrcweir	-I$(SRCDIR)/tools/inc/pch \
30cdf0e10cSrcweir	-I$(SRCDIR)/tools/bootstrp/ \
31cdf0e10cSrcweir))
32cdf0e10cSrcweir
33*b93bfd5eSOliver-Rainer WittmannSTLPORT_DEBUGFLAG =
34*b93bfd5eSOliver-Rainer Wittmannifneq ($(USE_SYSTEM_STL),YES)
35*b93bfd5eSOliver-Rainer Wittmannifeq ($(PRODUCT),)
36*b93bfd5eSOliver-Rainer WittmannSTLPORT_DEBUGFLAG = -D_DEBUG
37*b93bfd5eSOliver-Rainer Wittmannendif
38*b93bfd5eSOliver-Rainer Wittmannendif
39*b93bfd5eSOliver-Rainer Wittmann
40cdf0e10cSrcweir$(eval $(call gb_Executable_set_cxxflags,so_checksum,\
41cdf0e10cSrcweir	$$(CXXFLAGS) \
42cdf0e10cSrcweir	-D_TOOLS_STRINGLIST \
43*b93bfd5eSOliver-Rainer Wittmann	$(STLPORT_DEBUGFLAG) \
44cdf0e10cSrcweir))
45cdf0e10cSrcweir
46cdf0e10cSrcweir$(eval $(call gb_Executable_add_linked_libs,so_checksum,\
47cdf0e10cSrcweir	sal \
48cdf0e10cSrcweir	tl \
49cdf0e10cSrcweir    $(gb_STDLIBS) \
50cdf0e10cSrcweir))
51cdf0e10cSrcweir# used to link against basegfxlx comphelp4gcc3 i18nisolang1gcc3 ucbhelper4gcc3 uno_cppu uno_cppuhelpergcc3 uno_salhelpergcc3 vos3gcc3 - seems to be superficial
52cdf0e10cSrcweir
53cdf0e10cSrcweir$(eval $(call gb_Executable_add_exception_objects,so_checksum,\
54cdf0e10cSrcweir	tools/bootstrp/md5 \
55cdf0e10cSrcweir	tools/bootstrp/so_checksum \
56cdf0e10cSrcweir))
57cdf0e10cSrcweir
58cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
59