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

gbuildize cosv

Change-Id: I73eb612edaba21aa5bb07577b42bd31f8de2dd2a
üst c97f34c7
......@@ -639,6 +639,7 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
codemaker \
codemaker_cpp \
codemaker_java \
cosv \
dtobj \
headless \
libeay32 \
......
# -*- 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,cosv))
$(eval $(call gb_Module_add_targets,cosv,\
Package_inc \
StaticLibrary_cosv \
))
# 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,cosv_inc,$(SRCDIR)/cosv/inc))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/csv_precomp.h,cosv/csv_precomp.h))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/bstream.hxx,cosv/bstream.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/comdline.hxx,cosv/comdline.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/comfunc.hxx,cosv/comfunc.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/csv_env.hxx,cosv/csv_env.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/csv_ostream.hxx,cosv/csv_ostream.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/dirchain.hxx,cosv/dirchain.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/file.hxx,cosv/file.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/openclose.hxx,cosv/openclose.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/persist.hxx,cosv/persist.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/ploc_dir.hxx,cosv/ploc_dir.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/ploc.hxx,cosv/ploc.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/plocroot.hxx,cosv/plocroot.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/std_outp.hxx,cosv/std_outp.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/streamstr.hxx,cosv/streamstr.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/stringdata.hxx,cosv/stringdata.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/string.hxx,cosv/string.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/str_types.hxx,cosv/str_types.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/x.hxx,cosv/x.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/tpl/dyn.hxx,cosv/tpl/dyn.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/tpl/processor.hxx,cosv/tpl/processor.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/tpl/swelist.hxx,cosv/tpl/swelist.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/tpl/tpltools.hxx,cosv/tpl/tpltools.hxx))
$(eval $(call gb_Package_add_file,cosv_inc,inc/cosv/tpl/vvector.hxx,cosv/tpl/vvector.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,cosv))
$(eval $(call gb_StaticLibrary_set_include,cosv,\
-I$(SRCDIR)/cosv/inc \
$$(INCLUDE) \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,cosv,\
cosv/source/comphelp/badcast \
cosv/source/service/comdline \
cosv/source/service/comfunc \
cosv/source/service/csv_ostream \
cosv/source/service/std_outp \
cosv/source/storage/dirchain \
cosv/source/storage/file \
cosv/source/storage/persist \
cosv/source/storage/ploc \
cosv/source/storage/ploc_dir \
cosv/source/storage/plocroot \
cosv/source/strings/streamstr \
cosv/source/strings/string \
cosv/source/strings/str_types \
))
# vim: set noet sw=4 ts=4:
cs cosv : sal soltools NULL
cs cosv usr1 - all cs_mkout NULL
cs cosv\prj get - all cs_prj NULL
cs cosv\inc get - all cs_inc NULL
cs cosv\inc\cosv get - all cs_inc_cosv NULL
cs cosv\inc\cosv\template get - all cs_inc_templ NULL
cs cosv\source get - all cs_src NULL
cs cosv\source\inc get - all cs_src_inc NULL
cs cosv\source\service nmake - all cs_serv NULL
cs cosv\source\storage nmake - all cs_store NULL
cs cosv\source\strings nmake - all cs_string NULL
cs cosv\source\comphelp nmake - all cs_badcast NULL
cs cosv\util nmake - all cs_util cs_serv cs_store cs_string cs_badcast NULL
cs cosv\prj nmake - all cs_prj NULL
mkdir: %_DEST%\inc\cosv
mkdir: %_DEST%\inc\cosv\tpl
..\%__SRC%\lib\cosv.lib %_DEST%\lib\cosv.lib
..\%__SRC%\lib\libcosv.a %_DEST%\lib\libcosv.a
..\inc\cosv\*.hxx %_DEST%\inc\cosv\*.hxx
..\inc\cosv\*.h %_DEST%\inc\cosv\*.h
..\inc\cosv\tpl\*.hxx %_DEST%\inc\cosv\tpl\*.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=cosv
TARGET=cosv_badcast_wnt
TARGETTYPE=CUI
# --- Settings -----------------------------------------------------
ENABLE_EXCEPTIONS=true
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/badcast.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 inlcuded AFTER settings.mk !
.IF "$(COM)"=="MSC"
# RTTI
CFLAGS+= -GR
.ENDIF
.IF "$(COM)"=="GCC"
# RTTI
CFLAGSCXX+= -frtti
.ENDIF
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 .
*/
#ifndef CSV_PRECOMP_H
#define CSV_PRECOMP_H
#define CSV_USE_CSV_ASSERTIONS
#include <cosv/csv_env.hxx>
#include <cosv/comfunc.hxx>
#include <cosv/string.hxx>
#include <cosv/streamstr.hxx>
#include <cosv/std_outp.hxx>
#include <cosv/tpl/dyn.hxx>
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#
# 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=cosv
TARGET=cosv_service
ENABLE_EXCEPTIONS=true
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/source$/fullcpp.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/comdline.obj \
$(OBJ)$/comfunc.obj \
$(OBJ)$/csv_ostream.obj \
$(OBJ)$/std_outp.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=cosv
TARGET=cosv_storage
ENABLE_EXCEPTIONS=true
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/source$/fullcpp.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/dirchain.obj \
$(OBJ)$/file.obj \
$(OBJ)$/persist.obj \
$(OBJ)$/ploc.obj \
$(OBJ)$/ploc_dir.obj \
$(OBJ)$/plocroot.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=cosv
TARGET=cosv_strings
ENABLE_EXCEPTIONS=true
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/source$/fullcpp.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/str_types.obj \
$(OBJ)$/streamstr.obj \
$(OBJ)$/string.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=cosv
TARGET=cosv_unittest
TARGETTYPE=CUI
# --- Settings -----------------------------------------------------
ENABLE_EXCEPTIONS=true
PRJINC=$(PRJ)$/source
.INCLUDE : settings.mk
.INCLUDE : static.mk
.INCLUDE : $(PRJ)$/source$/fullcpp.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/file_ut.obj \
$(OBJ)$/simplestring_ut.obj
APP1TARGET= $(TARGET)
APP1STACK= 1000000
APP1OBJS= $(OBJ)$/ut_main.obj
APP1LIBS= $(LB)$/$(TARGET).lib $(LB)$/cosv.lib
APP1DEPN= $(LB)$/$(TARGET).lib $(LB)$/cosv.lib
# --- 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=cosv
TARGET=cosv
ENABLE_EXCEPTIONS=true
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
LIB1FILES= \
$(LB)$/cosv_service.lib \
$(LB)$/cosv_storage.lib \
$(LB)$/cosv_strings.lib \
$(LB)$/cosv_badcast_wnt.lib
# --- Targets ------------------------------------------------------
LIB1TARGET= $(LB)$/$(TARGET).lib
LIB1ARCHIV= $(LB)$/lib$(TARGET).a
.INCLUDE : target.mk
......@@ -520,7 +520,7 @@ APP3RDLIB= $(LIBPRE) app.lib
SAMPLE3RDLIB= $(LIBPRE) sample.lib
HNJLIB*=libhnj.lib
MYSPELLLIB= $(LIBPRE) myspell.lib
COSVLIB= $(LIBPRE) cosv.lib
COSVLIB=cosv.lib
UDMLIB= $(LIBPRE) udm.lib
ULINGULIB=$(LIBPRE) libulingu.lib
.IF "$(SYSTEM_HUNSPELL)" == "YES"
......
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