Kaydet (Commit) b90a8970 authored tarafından Caolán McNamara's avatar Caolán McNamara

gbuildize udm

Change-Id: Id6cf22a19de3ae52ffc1e42a7d4114b1e417f2b3
üst 94809ee4
...@@ -658,6 +658,7 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ ...@@ -658,6 +658,7 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
salcpprt \ salcpprt \
testtools_bridgetest_s \ testtools_bridgetest_s \
transex \ transex \
udm \
ulingu \ ulingu \
vclmain \ vclmain \
writerperfect \ writerperfect \
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,udm))
$(eval $(call gb_Module_add_targets,udm,\
Package_inc \
StaticLibrary_udm \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,udm_inc,$(SRCDIR)/udm/inc))
$(eval $(call gb_Package_add_file,udm_inc,inc/udm/html/htmlitem.hxx,udm/html/htmlitem.hxx))
$(eval $(call gb_Package_add_file,udm_inc,inc/udm/xml/xmlitem.hxx,udm/xml/xmlitem.hxx))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_StaticLibrary_StaticLibrary,udm))
$(eval $(call gb_StaticLibrary_set_include,udm,\
-I$(SRCDIR)/udm/inc \
-I$(SRCDIR)/udm/source/inc \
$$(INCLUDE) \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,udm,\
udm/source/html/htmlitem \
udm/source/xml/xmlitem \
))
# vim: set noet sw=4 ts=4:
ud udm : cosv NULL ud udm : cosv NULL
ud udm usr1 - all ud_mkout NULL ud udm usr1 - all ud_mkout NULL
ud udm\prj get - all ud_prj NULL ud udm\prj nmake - all ud_prj NULL
ud udm\inc get - all ud_inc NULL
ud udm\inc\udm get - all udi_udm NULL
ud udm\inc\udm\html get - all udiu_html NULL
ud udm\inc\udm\xml get - all udiu_xml NULL
ud udm\source get - all ud_src NULL
ud udm\source\html nmake - all uds_html NULL
ud udm\source\xml nmake - all uds_xml NULL
ud udm\util nmake - all ud_util uds_xml uds_html NULL
mkdir: %_DEST%\inc\udm
mkdir: %_DEST%\inc\udm\html
mkdir: %_DEST%\inc\udm\xml
..\%__SRC%\lib\udm.lib %_DEST%\lib\udm.lib
..\%__SRC%\lib\libudm.a %_DEST%\lib\libudm.a
..\inc\udm\html\*.hxx %_DEST%\inc\udm\html\*.hxx
..\inc\udm\xml\*.hxx %_DEST%\inc\udm\xml\*.hxx
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..$/..
PRJNAME=udm
TARGET=csi_html
# --- Settings -----------------------------------------------------
ENABLE_EXCEPTIONS=true
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/source$/mkinc$/fullcpp.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/htmlitem.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
# --- Settings -----------------------------------------------------
# Has to be included AFTER settings.mk !
.IF "$(GUI)"=="WNT"
# RTTI
.IF "$(COM)"=="MSC"
CFLAGS+= -GR
.ENDIF
.ENDIF
# Or should we simple check for $(COM)==GCC ?
.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || "$(OS)$(COM)"=="WNTGCC"
CFLAGSCXX+= -frtti
.ENDIF
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..$/..
PRJNAME=udm
TARGET=csi_xml
# --- Settings -----------------------------------------------------
ENABLE_EXCEPTIONS=true
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/source$/mkinc$/fullcpp.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/xmlitem.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..
PRJNAME=udm
TARGET=udm
ENABLE_EXCEPTIONS=true
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
LIB1FILES= \
$(LB)$/csi_html.lib \
$(LB)$/csi_xml.lib
# --- Targets ------------------------------------------------------
LIB1TARGET= $(LB)$/$(TARGET).lib
LIB1ARCHIV= $(LB)$/lib$(TARGET).a
.INCLUDE : target.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment