Updated core
[LibreOffice.git] / crashrep / Executable_crashrep.mk
bloba9173ef87b854082f048e2b0cbf095d3fc245322
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Executable_Executable,crashrep))
12 $(eval $(call gb_Executable_add_defs,crashrep,\
13 -D_INPATH=\"$(INPATH)\" \
16 $(eval $(call gb_Executable_use_external,crashrep,boost_headers))
18 ifeq ($(OS),WNT)
20 $(eval $(call gb_Executable_add_exception_objects,crashrep,\
21 crashrep/source/win32/soreport \
22 crashrep/source/win32/base64 \
25 $(eval $(call gb_Executable_use_libraries,crashrep,\
26 sal \
29 $(eval $(call gb_Executable_use_system_win32_libs,crashrep,\
30 gdi32 \
31 comctl32 \
32 comdlg32 \
33 advapi32 \
34 ws2_32 \
35 shell32 \
36 dbghelp \
37 psapi \
40 $(eval $(call gb_Executable_set_targettype_gui,crashrep,YES))
42 $(eval $(call gb_Executable_add_nativeres,crashrep,crashrep))
44 else
46 $(eval $(call gb_Executable_add_exception_objects,crashrep,\
47 crashrep/source/unx/main \
50 ifeq ($(filter FREEBSD NETBSD DRAGONFLY MACOSX,$(OS)),)
51 $(eval $(call gb_Executable_add_libs,crashrep,\
52 -ldl \
53 -lnsl \
55 endif
57 ifeq ($(OS),SOLARIS)
58 $(eval $(call gb_Executable_add_libs,crashrep,\
59 -lsocket \
61 endif
63 endif
67 # vim: set noet sw=4 ts=4: