tdf#100783 Avoid infinite recursion in Content::getObject()
[LibreOffice.git] / odk / CustomTarget_unowinreg.mk
blob3a46ddfd68602ee06be3feba493cf996f16e5d2a
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_CustomTarget_CustomTarget,odk/unowinreg))
12 $(eval $(call gb_CustomTarget_register_target,odk/unowinreg,unowinreg.dll))
14 $(call gb_CustomTarget_get_workdir,odk/unowinreg)/unowinreg.dll : \
15 $(SRCDIR)/odk/source/unowinreg/win/unowinreg.cxx
16 $(MINGWCXX) -Wall -D_JNI_IMPLEMENTATION_ \
17 -I$(JAVA_HOME)/include \
18 $(if $(filter LINUX,$(OS)),-I$(JAVA_HOME)/include/linux,\
19 $(if $(filter FREEBSD,$(OS)),-I$(JAVA_HOME)/include/freebsd \
20 -I$(JAVA_HOME)/include/bsd -I$(JAVA_HOME)/include/linux,\
21 $(if $(filter NETBSD,$(OS)),-I$(JAVA_HOME)/include/netbsd))) \
22 -shared -o $@ $< \
23 -Wl,--kill-at -lkernel32 -ladvapi32 && \
24 $(MINGWSTRIP) $@
26 # vim: set noet sw=4 ts=4: