Kaydet (Commit) d76c3f3a authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) David Tardon

gbuild conversion: store module

Change-Id: Idbab17b87d042079a8fa6ded7a7424a745761b2f
üst c0ca1ef1
...@@ -113,6 +113,7 @@ smoketest\ ...@@ -113,6 +113,7 @@ smoketest\
sot\ sot\
starmath\ starmath\
stoc\ stoc\
store\
svl\ svl\
svtools\ svtools\
svx\ svx\
...@@ -232,7 +233,6 @@ solenv\ ...@@ -232,7 +233,6 @@ solenv\
soltools\ soltools\
stax\ stax\
stlport\ stlport\
store\
sysui\ sysui\
testtools\ testtools\
tomcat\ tomcat\
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Library_Library,store))
$(eval $(call gb_Library_set_soversion_script,store,3,$(SRCDIR)/store/util/store.map))
$(eval $(call gb_Library_use_packages,store,\
store_inc \
))
$(eval $(call gb_Library_add_defs,store,\
$(LFS_CFLAGS) \
-DSTORE_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_libraries,store,\
sal \
))
$(eval $(call gb_Library_add_exception_objects,store,\
store/source/object \
store/source/lockbyte \
store/source/storbase \
store/source/storbios \
store/source/storcach \
store/source/stordata \
store/source/stordir \
store/source/storlckb \
store/source/stortree \
store/source/storpage \
store/source/store \
))
# vim: set noet sw=4 ts=4:
# -*- 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 -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Module_Module,store))
$(eval $(call gb_Module_add_targets,store,\
Library_store \
Package_inc \
Package_xml \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,store_inc,$(SRCDIR)/store))
$(eval $(call gb_Package_add_file,store_inc,inc/store/store.h,inc/store/store.h))
$(eval $(call gb_Package_add_file,store_inc,inc/store/store.hxx,inc/store/store.hxx))
$(eval $(call gb_Package_add_file,store_inc,inc/store/storedllapi.h,inc/store/storedllapi.h))
$(eval $(call gb_Package_add_file,store_inc,inc/store/types.h,inc/store/types.h))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,store_xml,$(SRCDIR)/store))
$(eval $(call gb_Package_add_file,store_xml,xml/store.xml,util/store.xml))
# vim: set noet sw=4 ts=4:
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#define _STORE_STORE_H_ #define _STORE_STORE_H_
#include <store/types.h> #include <store/types.h>
#include <store/storedllapi.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -44,7 +45,7 @@ typedef void* storeHandle; ...@@ -44,7 +45,7 @@ typedef void* storeHandle;
@param Handle [in] the Handle. @param Handle [in] the Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_acquireHandle ( STORE_DLLPUBLIC storeError SAL_CALL store_acquireHandle (
storeHandle Handle storeHandle Handle
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -54,7 +55,7 @@ storeError SAL_CALL store_acquireHandle ( ...@@ -54,7 +55,7 @@ storeError SAL_CALL store_acquireHandle (
@return store_E_None upon success, @return store_E_None upon success,
store_E_InvalidHandle otherwise. store_E_InvalidHandle otherwise.
*/ */
storeError SAL_CALL store_releaseHandle ( STORE_DLLPUBLIC storeError SAL_CALL store_releaseHandle (
storeHandle Handle storeHandle Handle
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -71,7 +72,7 @@ typedef void* storeFileHandle; ...@@ -71,7 +72,7 @@ typedef void* storeFileHandle;
@param phFile [out] the File Handle. @param phFile [out] the File Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_createMemoryFile ( STORE_DLLPUBLIC storeError SAL_CALL store_createMemoryFile (
sal_uInt16 nPageSize, sal_uInt16 nPageSize,
storeFileHandle *phFile storeFileHandle *phFile
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -89,7 +90,7 @@ storeError SAL_CALL store_createMemoryFile ( ...@@ -89,7 +90,7 @@ storeError SAL_CALL store_createMemoryFile (
@param phFile [out] the File Handle. @param phFile [out] the File Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_openFile ( STORE_DLLPUBLIC storeError SAL_CALL store_openFile (
rtl_uString *pFilename, rtl_uString *pFilename,
storeAccessMode eAccessMode, storeAccessMode eAccessMode,
sal_uInt16 nPageSize, sal_uInt16 nPageSize,
...@@ -102,7 +103,7 @@ storeError SAL_CALL store_openFile ( ...@@ -102,7 +103,7 @@ storeError SAL_CALL store_openFile (
@return store_E_None upon success, @return store_E_None upon success,
store_E_InvalidHandle otherwise. store_E_InvalidHandle otherwise.
*/ */
storeError SAL_CALL store_closeFile ( STORE_DLLPUBLIC storeError SAL_CALL store_closeFile (
storeFileHandle hFile storeFileHandle hFile
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -111,7 +112,7 @@ storeError SAL_CALL store_closeFile ( ...@@ -111,7 +112,7 @@ storeError SAL_CALL store_closeFile (
@param hFile [in] the File Handle. @param hFile [in] the File Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_flushFile ( STORE_DLLPUBLIC storeError SAL_CALL store_flushFile (
storeFileHandle hFile storeFileHandle hFile
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -121,7 +122,7 @@ storeError SAL_CALL store_flushFile ( ...@@ -121,7 +122,7 @@ storeError SAL_CALL store_flushFile (
@param pnRefCount [out] number of open directories and streams. @param pnRefCount [out] number of open directories and streams.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_getFileRefererCount ( STORE_DLLPUBLIC storeError SAL_CALL store_getFileRefererCount (
storeFileHandle hFile, storeFileHandle hFile,
sal_uInt32 *pnRefCount sal_uInt32 *pnRefCount
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -132,7 +133,7 @@ storeError SAL_CALL store_getFileRefererCount ( ...@@ -132,7 +133,7 @@ storeError SAL_CALL store_getFileRefererCount (
@param pnSize [out] the file size in bytes. @param pnSize [out] the file size in bytes.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_getFileSize ( STORE_DLLPUBLIC storeError SAL_CALL store_getFileSize (
storeFileHandle hFile, storeFileHandle hFile,
sal_uInt32 *pnSize sal_uInt32 *pnSize
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -145,7 +146,7 @@ storeError SAL_CALL store_getFileSize ( ...@@ -145,7 +146,7 @@ storeError SAL_CALL store_getFileSize (
@param pDstFilename [in] created with store_AccessCreate. @param pDstFilename [in] created with store_AccessCreate.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_rebuildFile ( STORE_DLLPUBLIC storeError SAL_CALL store_rebuildFile (
rtl_uString *pSrcFilename, rtl_uString *pSrcFilename,
rtl_uString *pDstFilename rtl_uString *pDstFilename
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -167,7 +168,7 @@ typedef void* storeDirectoryHandle; ...@@ -167,7 +168,7 @@ typedef void* storeDirectoryHandle;
@param phDirectory [out] the Directory Handle. @param phDirectory [out] the Directory Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_openDirectory ( STORE_DLLPUBLIC storeError SAL_CALL store_openDirectory (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pPath, rtl_uString *pPath,
rtl_uString *pName, rtl_uString *pName,
...@@ -181,7 +182,7 @@ storeError SAL_CALL store_openDirectory ( ...@@ -181,7 +182,7 @@ storeError SAL_CALL store_openDirectory (
@return store_E_None upon success, @return store_E_None upon success,
store_E_InvalidHandle otherwise. store_E_InvalidHandle otherwise.
*/ */
storeError SAL_CALL store_closeDirectory ( STORE_DLLPUBLIC storeError SAL_CALL store_closeDirectory (
storeDirectoryHandle hDirectory storeDirectoryHandle hDirectory
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -192,7 +193,7 @@ storeError SAL_CALL store_closeDirectory ( ...@@ -192,7 +193,7 @@ storeError SAL_CALL store_closeDirectory (
@return store_E_None upon success, @return store_E_None upon success,
store_E_NoMoreFile upon end of iteration. store_E_NoMoreFile upon end of iteration.
*/ */
storeError SAL_CALL store_findFirst ( STORE_DLLPUBLIC storeError SAL_CALL store_findFirst (
storeDirectoryHandle hDirectory, storeDirectoryHandle hDirectory,
storeFindData *pFindData storeFindData *pFindData
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -204,7 +205,7 @@ storeError SAL_CALL store_findFirst ( ...@@ -204,7 +205,7 @@ storeError SAL_CALL store_findFirst (
@return store_E_None upon success, @return store_E_None upon success,
store_E_NoMoreFile upon end of iteration. store_E_NoMoreFile upon end of iteration.
*/ */
storeError SAL_CALL store_findNext ( STORE_DLLPUBLIC storeError SAL_CALL store_findNext (
storeDirectoryHandle hDirectory, storeDirectoryHandle hDirectory,
storeFindData *pFindData storeFindData *pFindData
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -226,7 +227,7 @@ typedef void* storeStreamHandle; ...@@ -226,7 +227,7 @@ typedef void* storeStreamHandle;
@param phStrm [out] the Stream Handle. @param phStrm [out] the Stream Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_openStream ( STORE_DLLPUBLIC storeError SAL_CALL store_openStream (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pPath, rtl_uString *pPath,
rtl_uString *pName, rtl_uString *pName,
...@@ -240,7 +241,7 @@ storeError SAL_CALL store_openStream ( ...@@ -240,7 +241,7 @@ storeError SAL_CALL store_openStream (
@return store_E_None upon success, @return store_E_None upon success,
store_E_InvalidHandle otherwise. store_E_InvalidHandle otherwise.
*/ */
storeError SAL_CALL store_closeStream ( STORE_DLLPUBLIC storeError SAL_CALL store_closeStream (
storeStreamHandle hStrm storeStreamHandle hStrm
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -253,7 +254,7 @@ storeError SAL_CALL store_closeStream ( ...@@ -253,7 +254,7 @@ storeError SAL_CALL store_closeStream (
@param pnDone [out] the number of bytes actually read. @param pnDone [out] the number of bytes actually read.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_readStream ( STORE_DLLPUBLIC storeError SAL_CALL store_readStream (
storeStreamHandle hStrm, storeStreamHandle hStrm,
sal_uInt32 nOffset, sal_uInt32 nOffset,
void *pBuffer, void *pBuffer,
...@@ -270,7 +271,7 @@ storeError SAL_CALL store_readStream ( ...@@ -270,7 +271,7 @@ storeError SAL_CALL store_readStream (
@param pnDone [out] the number of bytes actually written. @param pnDone [out] the number of bytes actually written.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_writeStream ( STORE_DLLPUBLIC storeError SAL_CALL store_writeStream (
storeStreamHandle hStrm, storeStreamHandle hStrm,
sal_uInt32 nOffset, sal_uInt32 nOffset,
const void *pBuffer, const void *pBuffer,
...@@ -283,7 +284,7 @@ storeError SAL_CALL store_writeStream ( ...@@ -283,7 +284,7 @@ storeError SAL_CALL store_writeStream (
@param hStrm [in] the Stream Handle. @param hStrm [in] the Stream Handle.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_flushStream ( STORE_DLLPUBLIC storeError SAL_CALL store_flushStream (
storeStreamHandle hStrm storeStreamHandle hStrm
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -293,7 +294,7 @@ storeError SAL_CALL store_flushStream ( ...@@ -293,7 +294,7 @@ storeError SAL_CALL store_flushStream (
@param pnSize [out] the stream size in bytes. @param pnSize [out] the stream size in bytes.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_getStreamSize ( STORE_DLLPUBLIC storeError SAL_CALL store_getStreamSize (
storeStreamHandle hStrm, storeStreamHandle hStrm,
sal_uInt32 *pnSize sal_uInt32 *pnSize
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -304,7 +305,7 @@ storeError SAL_CALL store_getStreamSize ( ...@@ -304,7 +305,7 @@ storeError SAL_CALL store_getStreamSize (
@param nSize [in] the new stream size in bytes. @param nSize [in] the new stream size in bytes.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_setStreamSize ( STORE_DLLPUBLIC storeError SAL_CALL store_setStreamSize (
storeStreamHandle hStrm, storeStreamHandle hStrm,
sal_uInt32 nSize sal_uInt32 nSize
) SAL_THROW_EXTERN_C(); ) SAL_THROW_EXTERN_C();
...@@ -320,7 +321,7 @@ storeError SAL_CALL store_setStreamSize ( ...@@ -320,7 +321,7 @@ storeError SAL_CALL store_setStreamSize (
@param pnAttrib [out] the resulting attributes, may be NULL. @param pnAttrib [out] the resulting attributes, may be NULL.
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_attrib ( STORE_DLLPUBLIC storeError SAL_CALL store_attrib (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pPath, rtl_uString *pPath,
rtl_uString *pName, rtl_uString *pName,
...@@ -342,7 +343,7 @@ storeError SAL_CALL store_attrib ( ...@@ -342,7 +343,7 @@ storeError SAL_CALL store_attrib (
@param pDstName [in] the Destination name @param pDstName [in] the Destination name
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_link ( STORE_DLLPUBLIC storeError SAL_CALL store_link (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pSrcPath, rtl_uString *pSrcName, rtl_uString *pSrcPath, rtl_uString *pSrcName,
rtl_uString *pDstPath, rtl_uString *pDstName rtl_uString *pDstPath, rtl_uString *pDstName
...@@ -361,7 +362,7 @@ storeError SAL_CALL store_link ( ...@@ -361,7 +362,7 @@ storeError SAL_CALL store_link (
@param pDstName [in] the Destination name @param pDstName [in] the Destination name
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_symlink ( STORE_DLLPUBLIC storeError SAL_CALL store_symlink (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pSrcPath, rtl_uString *pSrcName, rtl_uString *pSrcPath, rtl_uString *pSrcName,
rtl_uString *pDstPath, rtl_uString *pDstName rtl_uString *pDstPath, rtl_uString *pDstName
...@@ -376,7 +377,7 @@ storeError SAL_CALL store_symlink ( ...@@ -376,7 +377,7 @@ storeError SAL_CALL store_symlink (
@param pDstName [in] the Destination name @param pDstName [in] the Destination name
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_rename ( STORE_DLLPUBLIC storeError SAL_CALL store_rename (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pSrcPath, rtl_uString *pSrcName, rtl_uString *pSrcPath, rtl_uString *pSrcName,
rtl_uString *pDstPath, rtl_uString *pDstName rtl_uString *pDstPath, rtl_uString *pDstName
...@@ -389,7 +390,7 @@ storeError SAL_CALL store_rename ( ...@@ -389,7 +390,7 @@ storeError SAL_CALL store_rename (
@param pName [in] the entry name @param pName [in] the entry name
@return store_E_None upon success @return store_E_None upon success
*/ */
storeError SAL_CALL store_remove ( STORE_DLLPUBLIC storeError SAL_CALL store_remove (
storeFileHandle hFile, storeFileHandle hFile,
rtl_uString *pPath, rtl_uString *pPath,
rtl_uString *pName rtl_uString *pName
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef INCLUDED_STOREDLLAPI_H
#define INCLUDED_STOREDLLAPI_H
#include "sal/types.h"
#if defined(STORE_DLLIMPLEMENTATION)
#define STORE_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define STORE_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif /* INCLUDED_STOREDLLAPI_H */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
s8 store : sal NULL s8 store : sal NULL
s8 store usr1 - all s8_mkout NULL s8 store\prj nmake - all s8_prj NULL
s8 store\inc nmake - all s8_inc NULL
s8 store\source nmake - all s8_source s8_inc NULL
s8 store\util nmake - all s8_util s8_source NULL
mkdir: %_DEST%\inc\store
..\inc\store\*.h %_DEST%\inc\store\*.h
..\inc\store\store.hxx %_DEST%\inc\store\store.hxx
..\inc\store\store.inl %_DEST%\inc\store\store.inl
..\util\store.xml %_DEST%\xml\store.xml
..\%__SRC%\lib\istore.lib %_DEST%\lib\istore.lib
..\%__SRC%\lib\libstore.*.* %_DEST%\lib\*
..\%__SRC%\lib\libstore.so %_DEST%\lib\libstore.so
..\%__SRC%\lib\libstore.a %_DEST%\lib\libstore.a
..\%__SRC%\bin\sto*.dll %_DEST%\bin\sto*.dll
linklib: libstore.*.*
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=store
TARGET=store
ENABLE_EXCEPTIONS=TRUE
# --- Settings ---
.INCLUDE : settings.mk
# --- Files ---
SLOFILES= \
$(SLO)$/object.obj \
$(SLO)$/lockbyte.obj \
$(SLO)$/storbase.obj \
$(SLO)$/storbios.obj \
$(SLO)$/storcach.obj \
$(SLO)$/stordata.obj \
$(SLO)$/stordir.obj \
$(SLO)$/storlckb.obj \
$(SLO)$/stortree.obj \
$(SLO)$/storpage.obj \
$(SLO)$/store.obj
.IF "$(debug)" != ""
OBJFILES= \
$(OBJ)$/object.obj \
$(OBJ)$/lockbyte.obj \
$(OBJ)$/storbase.obj \
$(OBJ)$/storbios.obj \
$(OBJ)$/storcach.obj \
$(OBJ)$/stordata.obj \
$(OBJ)$/stordir.obj \
$(OBJ)$/storlckb.obj \
$(OBJ)$/stortree.obj \
$(OBJ)$/storpage.obj \
$(OBJ)$/store.obj
.ENDIF # debug
# --- Targets ---
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=store
TARGET=store
TARGETTYPE=CUI
USE_LDUMP2=TRUE
USE_DEFFILE=TRUE
NO_DEFAULT_STL=TRUE
UNIXVERSIONNAMES=UDK
# --- Settings ---
.INCLUDE : settings.mk
# --- Debug-Library ---
.IF "$(debug)" != ""
LIB1TARGET= $(LB)$/$(TARGET)dbg.lib
LIB1ARCHIV= $(LB)$/lib$(TARGET)dbg.a
LIB1FILES= $(LB)$/store.lib
.ENDIF # debug
# --- Shared-Library ---
SHL1TARGET= $(TARGET)
.IF "$(COM)" == "MSC"
SHL1IMPLIB= istore
.ELSE
SHL1IMPLIB= store
.ENDIF
SHL1VERSIONMAP= $(TARGET).map
SHL1STDLIBS= $(SALLIB)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
SHL1LIBS= $(SLB)$/store.lib
SHL1RPATH= URELIB
# --- Def-File ---
DEF1NAME= $(SHL1TARGET)
DEF1DES=Store
# --- Targets ---
.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