nwnss: restore companion boundaries after full import
All checks were successful
Source release / source-package (push) Successful in 1m29s

This commit is contained in:
Mario Fetka
2026-06-20 08:32:02 +00:00
parent dbc49bab59
commit d1dc9740cc
44 changed files with 481 additions and 4066 deletions

View File

@@ -0,0 +1,106 @@
#ifndef NSS_INTERNAL_PAGE_RUNTIME_H
#define NSS_INTERNAL_PAGE_RUNTIME_H
#if defined(NSS_USERSPACE)
#include <stddef.h>
#include <sys/sysinfo.h>
struct page {
void *data;
};
struct super_block {
void *s_fs_info;
};
struct NssRuntimeTime_s {
long tv_sec;
long tv_nsec;
};
struct inode {
void *i_mapping;
struct super_block *i_sb;
unsigned long i_ino;
void *i_private;
long i_mode;
long i_uid;
struct NssRuntimeTime_s i_atime;
struct NssRuntimeTime_s i_ctime;
struct NssRuntimeTime_s i_mtime;
};
struct dentry {
struct inode *d_inode;
};
typedef struct NssRuntimeKmemCache_s {
size_t objectSize;
} kmem_cache_t;
#ifndef SLAB_KERNEL
#define SLAB_KERNEL 0
#endif
#ifndef GFP_HIGHUSER
#define GFP_HIGHUSER 0
#endif
#ifndef GFP_KERNEL
#define GFP_KERNEL 0
#endif
#ifndef __cacheline_aligned_in_smp
#define __cacheline_aligned_in_smp
#endif
#ifndef KM_USER0
#define KM_USER0 0
#endif
#ifndef KM_USER1
#define KM_USER1 1
#endif
kmem_cache_t *NssRuntimeKmemCacheCreate(const char *name,
size_t objectSize,
size_t align,
unsigned long flags,
void *ctor,
void *dtor);
void *NssRuntimeKmemCacheAlloc(kmem_cache_t *cache, int flags);
void NssRuntimeKmemCacheFree(kmem_cache_t *cache, void *object);
void NssRuntimeKmemCacheDestroy(kmem_cache_t *cache);
struct page *NssRuntimeAllocPage(int flags);
void NssRuntimeFreePage(struct page *page);
void *NssRuntimeKmapAtomic(struct page *page, int kmType);
void NssRuntimeKunmapAtomic(void *addr, int kmType);
struct page *NssRuntimeFindGetPage(void *mapping, unsigned long index);
struct page *NssRuntimeGrabCachePage(void *mapping, unsigned long index);
void NssRuntimeSiMeminfo(struct sysinfo *si);
#define kmem_cache_create(_name, _size, _align, _flags, _ctor, _dtor) \
NssRuntimeKmemCacheCreate((_name), (_size), (_align), (_flags), \
(_ctor), (_dtor))
#define kmem_cache_alloc(_cache, _flags) \
NssRuntimeKmemCacheAlloc((_cache), (_flags))
#define kmem_cache_free(_cache, _object) \
NssRuntimeKmemCacheFree((_cache), (_object))
#define kmem_cache_destroy(_cache) NssRuntimeKmemCacheDestroy((_cache))
#define kmalloc(_size, _flags) zalloc((_size))
#define alloc_page(_flags) NssRuntimeAllocPage((_flags))
#define __free_page(_page) NssRuntimeFreePage((_page))
#define PageHighMem(_page) TRUE
#define kmap_atomic(_page, _kmType) NssRuntimeKmapAtomic((_page), (_kmType))
#define kunmap_atomic(_addr, _kmType) NssRuntimeKunmapAtomic((_addr), (_kmType))
#define kmap(_page) NssRuntimeKmapAtomic((_page), KM_USER0)
#define kunmap(_page) NssRuntimeKunmapAtomic((_page) ? (_page)->data : NULL, KM_USER0)
#define find_get_page(_mapping, _index) NssRuntimeFindGetPage((_mapping), (_index))
#define grab_cache_page(_mapping, _index) NssRuntimeGrabCachePage((_mapping), (_index))
#define invalidate_inode_pages(_mapping) ((void)(_mapping))
#define mark_page_accessed(_page) ((void)(_page))
#define page_cache_release(_page) ((void)(_page))
#define unlock_page(_page) ((void)(_page))
#define si_meminfo(_si) NssRuntimeSiMeminfo((_si))
#endif /* NSS_USERSPACE */
#endif /* NSS_INTERNAL_PAGE_RUNTIME_H */

View File

@@ -0,0 +1,26 @@
#ifndef NSS_INTERNAL_UACCESS_RUNTIME_H
#define NSS_INTERNAL_UACCESS_RUNTIME_H
#if defined(NSS_USERSPACE)
#include <stddef.h>
typedef int mm_segment_t;
mm_segment_t NssRuntimeGetFs(void);
mm_segment_t NssRuntimeGetDs(void);
void NssRuntimeSetFs(mm_segment_t fs);
int NssRuntimeCopyToUser(void *dst, const void *src, size_t len);
int NssRuntimeCopyFromUser(void *dst, const void *src, size_t len);
#define get_fs() NssRuntimeGetFs()
#define get_ds() NssRuntimeGetDs()
#define set_fs(_fs) NssRuntimeSetFs((_fs))
#define copy_to_user(_dst, _src, _len) \
NssRuntimeCopyToUser((_dst), (_src), (_len))
#define copy_from_user(_dst, _src, _len) \
NssRuntimeCopyFromUser((_dst), (_src), (_len))
#endif /* NSS_USERSPACE */
#endif /* NSS_INTERNAL_UACCESS_RUNTIME_H */

View File

@@ -0,0 +1,63 @@
#ifndef NSS_INTERNAL_LSA_XATTR_USERSPACE_H
#define NSS_INTERNAL_LSA_XATTR_USERSPACE_H
#if defined(NSS_USERSPACE)
#include <stddef.h>
#include <sys/types.h>
#include <internal/NssPageRuntime.h>
#include <internal/nssUserspaceProvider.h>
#include <zParams.h>
#include <comnBeasts.h>
#include <lsa.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct NssLsaXattrUserspace_s {
struct super_block superBlock;
LsaSuper_s lsaSuper;
LsaInode_s lsaInode;
struct inode inode;
struct dentry dentry;
NssUserspaceProvider_s provider;
} NssLsaXattrUserspace_s;
void NssLsaXattrUserspaceInit(NssLsaXattrUserspace_s *xattr,
VolumeID_t volumeId,
NINT nameSpace,
Zid_t zid);
int NssLsaXattrUserspaceInitOtherfsPath(NssLsaXattrUserspace_s *xattr,
const char *path);
struct dentry *NssLsaXattrUserspaceDentry(NssLsaXattrUserspace_s *xattr);
void NssLsaXattrUserspaceSetProvider(NssLsaXattrUserspace_s *xattr,
NssUserspaceProviderKind_e provider);
NssUserspaceProviderKind_e
NssLsaXattrUserspaceGetProvider(const NssLsaXattrUserspace_s *xattr);
const NssUserspaceProvider_s *
NssLsaXattrUserspaceProvider(const NssLsaXattrUserspace_s *xattr);
const char *NssLsaXattrUserspaceNssName(const char *name);
int NssLsaXattrUserspaceOtherfsName(const char *name,
char *buffer,
size_t bufferSize);
ssize_t NssLsaXattrUserspaceGet(NssLsaXattrUserspace_s *xattr,
const char *name,
void *value,
size_t size);
ssize_t NssLsaXattrUserspaceSet(NssLsaXattrUserspace_s *xattr,
const char *name,
const void *value,
size_t size);
int NssLsaXattrUserspaceRemove(NssLsaXattrUserspace_s *xattr,
const char *name);
LsaInode_s *NssLsaXattrUserspaceInodePrivate(struct inode *inode);
#ifdef __cplusplus
}
#endif
#endif /* NSS_USERSPACE */
#endif /* NSS_INTERNAL_LSA_XATTR_USERSPACE_H */

View File

@@ -0,0 +1,62 @@
/****************************************************************************
|
| Userspace boundary for NSS Macintosh namespace metadata.
|
| The NSS MAC namespace stores Finder metadata as RVD_MAC_META_DATA and
| resource forks as the data stream named MAC_RF. This boundary maps those
| semantics to Netatalk's adouble:ea host representation for OtherFS userspace
| providers, per object, without extending netware.metadata.
+-------------------------------------------------------------------------*/
#ifndef _MACNSPACE_USERSPACE_H_
#define _MACNSPACE_USERSPACE_H_
#include <stddef.h>
#include <sys/types.h>
#include <public/zParams.h>
#ifdef __cplusplus
extern "C" {
#endif
#define NSS_MAC_NETATALK_METADATA_XATTR "org.netatalk.Metadata"
#define NSS_MAC_NETATALK_RESOURCE_XATTR "org.netatalk.ResourceFork"
#define NSS_MAC_NETATALK_METADATA_HOST_XATTR "user.org.netatalk.Metadata"
#define NSS_MAC_NETATALK_RESOURCE_HOST_XATTR "user.org.netatalk.ResourceFork"
#define NSS_MAC_RESOURCE_FORK_STREAM_NAME "MAC_RF"
#define NSS_MAC_NETATALK_AD_MAGIC 0x00051607u
#define NSS_MAC_NETATALK_AD_VERSION_EA 0x00020002u
#define NSS_MAC_NETATALK_METADATA_SIZE 402u
#define NSS_MAC_NETATALK_FINDER_INFO_SIZE 32u
const char *NssMacUserspaceMetadataXattrName(void);
const char *NssMacUserspaceResourceForkXattrName(void);
const char *NssMacUserspaceMetadataHostXattrName(void);
const char *NssMacUserspaceResourceForkHostXattrName(void);
const char *NssMacUserspaceResourceForkStreamName(void);
void NssMacUserspaceInitDefaultMacInfo(zMacInfo_s *macInfo, int isDirectory);
int NssMacUserspaceBuildNetatalkMetadata(const zMacInfo_s *macInfo,
unsigned char *buffer,
size_t bufferSize);
int NssMacUserspaceParseNetatalkMetadata(const unsigned char *buffer,
size_t bufferSize,
zMacInfo_s *macInfo);
int NssMacUserspaceWriteNetatalkMetadata(const char *path,
const zMacInfo_s *macInfo);
int NssMacUserspaceReadNetatalkMetadata(const char *path,
zMacInfo_s *macInfo);
int NssMacUserspaceWriteResourceFork(const char *path,
const void *data,
size_t dataSize);
ssize_t NssMacUserspaceReadResourceFork(const char *path,
void *data,
size_t dataSize);
#ifdef __cplusplus
}
#endif
#endif /* _MACNSPACE_USERSPACE_H_ */

View File

@@ -0,0 +1,41 @@
#ifndef NSS_UNICODE_USERSPACE_H
#define NSS_UNICODE_USERSPACE_H
#include <stddef.h>
#include <stdio.h>
#include <fcntl.h>
#include <public/zOmni.h>
#ifndef PAGE_SIZE
#define PAGE_SIZE 4096
#endif
#ifndef MPK_SLEEP_OK
#define MPK_SLEEP_OK 0
#endif
struct file {
FILE *stream;
long f_pos;
};
void mpkEnter(void);
void mpkExit(void);
void *mpkPageAlloc(unsigned int bytes, int flags);
void mpkPageFree(void *ptr);
void *kMutexAlloc(const char *name);
void kMutexFree(void *lock);
void kMutexLock(void *lock);
void kMutexUnlock(void *lock);
struct file *kFileOpen(const char *path, int flags, int mode);
int kFileRead(struct file *filep, void *buf, unsigned int count);
void klseek(struct file *filep, unsigned int pos, int whence);
int filp_close(struct file *filep, void *unused);
LONG OSGetCodePage(void);
#ifndef IS_ERR
#define IS_ERR(ptr) ((ptr) == NULL)
#endif
#endif /* NSS_UNICODE_USERSPACE_H */

View File

@@ -0,0 +1,61 @@
#ifndef NSS_INTERNAL_NSS_USERSPACE_PROVIDER_H
#define NSS_INTERNAL_NSS_USERSPACE_PROVIDER_H
#if defined(NSS_USERSPACE)
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
#define NSS_USERSPACE_PROVIDER_PATH_MAX 4096
typedef enum NssUserspaceProviderKind_e {
NSS_USERSPACE_PROVIDER_UNSET = 0,
NSS_USERSPACE_PROVIDER_NSS_VOLUME,
NSS_USERSPACE_PROVIDER_OTHERFS_XATTR,
NSS_USERSPACE_PROVIDER_OTHERFS_SIDECAR,
NSS_USERSPACE_PROVIDER_UNSUPPORTED
} NssUserspaceProviderKind_e;
typedef enum NssUserspaceProviderFeature_e {
NSS_USERSPACE_PROVIDER_FEATURE_XATTR = 1u << 0,
NSS_USERSPACE_PROVIDER_FEATURE_TRUSTEES = 1u << 1,
NSS_USERSPACE_PROVIDER_FEATURE_QUOTA = 1u << 2,
NSS_USERSPACE_PROVIDER_FEATURE_SALVAGE = 1u << 3,
NSS_USERSPACE_PROVIDER_FEATURE_NAMESPACE = 1u << 4,
NSS_USERSPACE_PROVIDER_FEATURE_IO = 1u << 5
} NssUserspaceProviderFeature_e;
typedef struct NssUserspaceProvider_s {
NssUserspaceProviderKind_e kind;
unsigned int features;
long hostFsType;
char path[NSS_USERSPACE_PROVIDER_PATH_MAX];
} NssUserspaceProvider_s;
void NssUserspaceProviderInit(NssUserspaceProvider_s *provider);
void NssUserspaceProviderSetKind(NssUserspaceProvider_s *provider,
NssUserspaceProviderKind_e kind);
NssUserspaceProviderKind_e
NssUserspaceProviderGetKind(const NssUserspaceProvider_s *provider);
void NssUserspaceProviderEnableFeature(NssUserspaceProvider_s *provider,
NssUserspaceProviderFeature_e feature);
int NssUserspaceProviderSupports(const NssUserspaceProvider_s *provider,
NssUserspaceProviderFeature_e feature);
int NssUserspaceProviderInitOtherfsPath(NssUserspaceProvider_s *provider,
const char *path);
const char *NssUserspaceProviderPath(const NssUserspaceProvider_s *provider);
long NssUserspaceProviderHostFsType(const NssUserspaceProvider_s *provider);
int NssUserspaceProviderHostXattrName(const char *nssName,
char *buffer,
size_t bufferSize);
#ifdef __cplusplus
}
#endif
#endif /* NSS_USERSPACE */
#endif /* NSS_INTERNAL_NSS_USERSPACE_PROVIDER_H */

View File

@@ -0,0 +1,101 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _NSS_USERSPACE_QUOTA_H_
#define _NSS_USERSPACE_QUOTA_H_ 1
#include <stddef.h>
#include <stdint.h>
#define NSS_QUOTA_LINUX_CAP_USER 0x00000001U
#define NSS_QUOTA_LINUX_CAP_GROUP 0x00000002U
#define NSS_QUOTA_LINUX_CAP_PROJECT 0x00000004U
#define NSS_QUOTA_NWQUOTA_CAPABLE 0x00010000U
#include <public/zXattr.h>
#include <public/zOmni.h>
#define NSS_QUOTA_OK 0
#define NSS_QUOTA_ERR_INVAL (-1)
#define NSS_QUOTA_ERR_RANGE (-2)
#define NSS_QUOTA_ERR_VERSION (-3)
#define NSS_QUOTA_ERR_BYTEORDER (-4)
#define NSS_QUOTA_UNLIMITED_4K 0x7fffffffU
#define NSS_METADATA_FIXED_SIZE offsetof(zNW_metadata_s, nwm_trustee)
#define NSS_USERQUOTA_FIXED_SIZE offsetof(zNW_user_quota_s, nwuq_user)
#define NSS_USERQUOTA_XATTR zNW_USERQUOTA ".0"
uint32_t NssQuotaBlocksForBytes(uint64_t bytes);
int NssDirQuotaLimit4KToMetadata(uint32_t limit4k, SQUAD *quotaLimit);
int NssDirQuotaMetadataToLimit4K(SQUAD quotaLimit, uint32_t *limit4k);
int NssDirQuotaMetadataIsLimited(SQUAD quotaLimit);
uint32_t NssDirQuotaAvailable4K(uint32_t limit4k, uint32_t used4k);
int NssDirQuotaWouldExceed(uint32_t limit4k, uint32_t used4k,
uint32_t add4k);
void NssQuotaInit(zNW_quota_s *quota);
int NssQuotaValidate(const zNW_quota_s *quota, size_t size);
int NssQuotaSetSnapshot(zNW_quota_s *quota, SQUAD userUsed,
SQUAD userLimit, SQUAD dirLeft, SQUAD dirQuota);
void NssMetadataInit(zNW_metadata_s *metadata);
int NssMetadataValidate(const zNW_metadata_s *metadata, size_t size);
size_t NssMetadataSizeForTrustees(LONG trusteeNum);
LONG NssMetadataMaxTrusteesForSize(size_t size);
int NssMetadataSetQuotaLimit(zNW_metadata_s *metadata, SQUAD quotaLimit);
int NssMetadataGetQuotaLimit(const zNW_metadata_s *metadata,
SQUAD *quotaLimit);
void NssUserQuotaInit(zNW_user_quota_s *userQuota);
int NssUserQuotaValidate(const zNW_user_quota_s *userQuota, size_t size);
size_t NssUserQuotaSizeForUsers(LONG userNum);
LONG NssUserQuotaMaxUsersForSize(size_t size);
int NssUserQuotaFindUserGuid(const zNW_user_quota_s *userQuota,
const GUID_t *userGuid);
int NssUserQuotaSetRestrictionForGuid(zNW_user_quota_s *userQuota,
const GUID_t *userGuid,
uint32_t quota4k);
int NssUserQuotaGetRestrictionForGuid(const zNW_user_quota_s *userQuota,
const GUID_t *userGuid,
uint32_t *quota4k);
typedef enum NssQuotaProviderKind_e {
NSS_QUOTA_PROVIDER_UNSET = 0,
NSS_QUOTA_PROVIDER_OTHERFS_LINUX_QUOTA,
NSS_QUOTA_PROVIDER_OTHERFS_LINUX_USER_QUOTA,
NSS_QUOTA_PROVIDER_OTHERFS_LINUX_PROJECT_QUOTA,
NSS_QUOTA_PROVIDER_OTHERFS_NWQUOTA,
NSS_QUOTA_PROVIDER_NSS_VOLUME
} NssQuotaProviderKind_e;
typedef enum NssQuotaCheckResult_e {
NSS_QUOTA_CHECK_OK = 0,
NSS_QUOTA_CHECK_UNSUPPORTED,
NSS_QUOTA_CHECK_USER_EXCEEDED,
NSS_QUOTA_CHECK_DIR_EXCEEDED,
NSS_QUOTA_CHECK_VOLUME_EXCEEDED,
NSS_QUOTA_CHECK_INVALID
} NssQuotaCheckResult_e;
typedef struct NssQuotaWriteView_s {
NssQuotaProviderKind_e provider;
uint32_t add4k;
uint32_t userLimit4k;
uint32_t userUsed4k;
uint32_t dirLimit4k;
uint32_t dirUsed4k;
uint32_t volumeLimit4k;
uint32_t volumeUsed4k;
} NssQuotaWriteView_s;
const char *NssQuotaProviderName(NssQuotaProviderKind_e provider);
int NssQuotaProviderIsUserspace(NssQuotaProviderKind_e provider);
int NssQuotaProviderIsLinuxQuota(NssQuotaProviderKind_e provider);
int NssQuotaProviderIsNwQuota(NssQuotaProviderKind_e provider);
int NssQuotaProviderIsOtherfsApproximation(NssQuotaProviderKind_e provider);
NssQuotaProviderKind_e NssQuotaProviderForOtherfsCapabilities(uint32_t caps);
int NssQuotaProbeLinuxQuotaCapabilitiesFd(int fd, uint32_t *caps);
NssQuotaCheckResult_e NssQuotaCheckWrite(const NssQuotaWriteView_s *view);
const char *NssQuotaCheckResultName(NssQuotaCheckResult_e result);
#endif

View File

@@ -0,0 +1,19 @@
#ifndef NWNSS_INTERNAL_ZLSS_DEV_USER_IO_H
#define NWNSS_INTERNAL_ZLSS_DEV_USER_IO_H
/*
* Userspace companion for the original NSS ZLSS device/BIO entry points.
*
* Keep the public/original function names in zfs.h as the contract used by the
* imported ZLSS/COMN code. In NSS_USERSPACE builds the implementations live in
* zlssDevUserIO.c instead of the kernel BIO implementation in zlssDev.c.
*
* This boundary is intentionally I/O-centric: future NSS volume/image access
* is implemented here using Linux userspace pread/pwrite/fsync semantics. It
* must not globally intercept libc read/write or the higher-level NSS beast,
* pool, volume, or namespace algorithms.
*/
#include <zfs.h>
#endif /* NWNSS_INTERNAL_ZLSS_DEV_USER_IO_H */

View File

@@ -389,8 +389,7 @@ set_target_properties(nwnss PROPERTIES
target_compile_features(nwnss PRIVATE c_std_99)
target_compile_options(nwnss PRIVATE
-fshort-wchar
-include "${CMAKE_SOURCE_DIR}/include/nwnss/internal/nssSourceCompat.h")
-fshort-wchar)
# libnwnss has two independent IO surfaces:
#

View File

@@ -1,57 +0,0 @@
###
### ../nss/public_core Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=..
ifdef DONT_BUILD_PUBLIC
SUBDIRS=
else
SUBDIRS= \
kmdb \
libnss \
library \
libzapi \
linuxmpk \
lsa \
manage \
nebdrv \
ndpmod \
nss \
nsslnxlib \
comn \
admindrv \
nwraid \
zlss \
zapi \
endif
NO_MAKEFILE_ENGINE=1
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1,32 +0,0 @@
###
### ../nss/private_core/admindrv Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
admindrv.ko

View File

@@ -1,276 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=0
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=0
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=0
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=0
#If ONE add sdk/include to the include path
USE_SDK_INCLUDE=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=0
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=0
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=0
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
admindrvLKM.c
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
admindrv.h
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
#UTILITY_EXPORTS_VIA_FILE=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='Upcall mechanism for admin file system'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=admindrv
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/private_core/comn Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
nsscomn.ko

View File

@@ -10,7 +10,7 @@ const char Module[] = "libnwnss";
/* Userspace NSS has no NetWare/Linux kernel module handle. Imported
* COMN sources pass this value through OS-service macros that are guarded in
* nssSourceCompat.h/nssOSAPIs.h.
* the imported NSS runtime/FUSE/UserIO companion boundaries.
*/
struct LoadDefinitionStructure;
struct LoadDefinitionStructure *CMN_ModuleHandle = NULL;

View File

@@ -1,490 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: bbhanuprakash $
# $Date: 2008-03-04 15:24:09 +0530 (Tue, 04 Mar 2008) $
#
# $RCSfile$
# $Revision: 2291 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=0
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=1
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=1
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=\
authsys \
common \
main \
namespace \
compression \
sbs \
aes
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
AUTHSYS_SRC= \
authsys/authorize.c \
authsys/zasAuthCache.c \
authsys/zasAuthModel.c \
authsys/zasAuthSpace.c \
authsys/zasDecision.c \
authsys/unixAuthModel.c \
authsys/unixAuthSpace.c \
authsys/unixDecision.c
COMMON_SRC= \
common/adminVolFile.c \
common/adminVolume.c \
common/authBeast.c \
common/avolSimpleDir.c \
common/beastClass.c \
common/beastDelete.c \
common/beastHash.c \
common/beastIO.c \
common/beastRelease.c \
common/beastStartup.c \
common/checker.c \
common/cmdLineRecovery.c \
common/comnAudit.c \
common/comnDSI.c \
common/comnDataStream.c \
common/comnEFL.c \
common/comnEvent.c \
common/comnFile.c \
common/comnIO.c \
common/comnLib.c \
common/comnLock.c \
common/comnLog.c \
common/comnLookup.c \
common/comnMacintosh.c \
common/comnMacShortName.c \
common/comnOpLock.c \
common/comnPool.c \
common/comnRename.c \
common/comnStartup.c \
common/comnTask.c \
common/comnUnicode.c \
common/comnVariableData.c \
common/comnVol.c \
common/comnWild.c \
common/comnXaction.c \
common/contextHandle.c \
common/dirQuotas.c \
common/eflMgmt.c \
common/extAttrBeast.c \
common/fileBeast.c \
common/fileHandle.c \
common/fsmsg.c \
common/hardLinkBeast.c \
common/hmc.c \
common/mgmt.c \
common/mgmtFiles.c \
common/mgmtPool.c \
common/mgmtVol.c \
common/name.c \
common/nameCache.c \
common/nameLookup.c \
common/nameScan.c \
common/nameScanDebug.c \
common/namedBeast.c \
common/objectIDStore.c \
common/pssConnection.c \
common/registerLSS.c \
common/repair.c \
common/restartCount.c \
common/rootBeast.c \
common/sAgentHandle.c \
common/sazLib.c \
common/searchMap.c \
common/seqUpdater.c \
common/uxaction.c \
common/virtualIO.c \
common/volBeast.c \
common/volStartup.c \
common/cSA.c \
common/cro.c \
common/cSAcache.c \
common/csaLease.c \
common/csaManage.c \
common/cSAmanager.c \
common/zAPI.c \
common/zPool.c \
common/zFriends.c \
common/zPublics.c
COMPRESSION_SRC= \
compression/cdcomp.c \
compression/cdcompa.c \
compression/cduncomp.c \
compression/cduncompa.c \
compression/cmActivity.c \
compression/cmAlgoMan.c \
compression/cmBgCompress.c \
compression/cmCompDecomp.c \
compression/cmCompFile.c \
compression/cmControl.c \
compression/cmRuntime.c \
compression/comnCompress.c \
compression/copyAlgo.c \
compression/nwAlgo.c
MAIN_SRC=\
main/comnCmdline.c \
main/marshal.c \
main/comnLKM.c \
main/pssStartup.c \
main/comnsaSDKSym.c \
main/nssCOMNSym.c \
main/qdiv.c \
main/xlssSym.c \
main/zPoolSym.c \
main/zPublicsSym.c
NAMESPACE_SRC= \
namespace/dataStreamNSpace.c \
namespace/dosNSWild.c \
namespace/dosNSpace.c \
namespace/extAttrNSpace.c \
namespace/longNSpace.c \
namespace/macNSpace.c \
namespace/nameSpace.c \
namespace/unixNSpace.c
SBS_SRC= \
sbs/sbsMFL.c \
sbs/sbsMgmt.c
AES_SRC= \
aes/aes_core.c \
aes/aes_cbc.c
#-------------------------------------------------------------------------
# All source files as one definition
#-------------------------------------------------------------------------
SOURCE_FILES=\
comnVersion.c \
$(AUTHSYS_SRC) \
$(COMMON_SRC) \
$(COMPRESSION_SRC) \
$(NAMESPACE_SRC) \
$(SBS_SRC) \
$(AES_SRC) \
$(MAIN_SRC)
ifeq (${UNOPT_ENV},1)
SOURCE_FILES += main/unssCOMNSym.c
endif
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
BASE_INC=\
adminVolume.h \
comnCmdline.h \
csa.h \
cro.h \
mgmt.h \
nameScan.h \
pssStartup.h \
zasAuthCache.h \
purgeDir.h \
objectIDStore.h \
checker.h \
seqUpdater.h \
aes.h
AUTHSYS_INC=\
authsys/zasAuthSpace.h
COMMON_INC=\
common/avolSimpleDir.h \
common/beastClass.h \
common/beastStartup.h \
common/dirQuotas.h \
common/csaLease.h \
common/csaManage.h \
common/hmc.h \
common/sazlib.h
COMPRESSION_INC= \
compression/cmCompFile.h \
compression/cmActivity.h \
compression/cmRuntime.h \
compression/cdcommon.h \
compression/cdcomp.h \
compression/cdnetwar.h \
compression/cdreada.h \
compression/cduncomp.h \
compression/nwAlgo.h
MAIN_INC=
NAMESPACE_INC= \
namespace/dataStreamNSpace.h \
namespace/dosNSpace.h \
namespace/extAttrNSpace.h \
namespace/longNSpace.h \
namespace/nspaceStartup.h
SBS_INC=
AES_INC= \
aes/aes_locl.h
#-------------------------------------------------------------------------
# All include files
#-------------------------------------------------------------------------
INCLUDE_FILES=\
$(BASE_INC) \
$(AUTHSYS_INC) \
$(COMMON_INC) \
$(COMPRESSION_INC) \
$(NAMESPACE_INC) \
$(MAIN_INC) \
$(SBS_INC) \
$(AES_INC)
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
UTILITY_EXPORTS_VIA_FILE=
# $(NSSLIBRARY_IMPORT) \
#ifndef OPT_ENV
# $(NSSLIBRARY_UNOPT_IMPORT)
#endif
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=\
${BASEDIR}/public_core/sharedsrc \
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='NSS Common Support Layer (COMN)'
MODULE_ADDITIONAL_COPYRIGHT=Patents 5,787,439; 5,903,720; 5,915,253; 6,466,944 Other Patents Pending.
#MODULE_OPTIONS=OPTION reentrant
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nsscomn
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT: \
# COMPILE_OPT_GREENRIVER \
# LINK_OPT_GREENRIVER
#BUILD_GREENRIVER_UNOPT: \
# COMPILE_UNOPT_GREENRIVER \
# LINK_UNOPT_GREENRIVER
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbCreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,43 +0,0 @@
###
### ../nss/public_core/library Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
NSSERRTABLE_SUBDIR=misc/
opt: misc/nssErrorTable.c
all: opt
both: opt
clean: clean_nssErrorTable.c
include ${BASEDIR}/buildtools/Makefile.default
include ${BASEDIR}/buildtools/Makefile.nssErrorTable

View File

@@ -1 +0,0 @@
nsslibrary.ko

View File

@@ -1,494 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
###########################################################################
# This defines what MODULES are being built for this LIBRARY
#
# $Author: bbhanuprakash $
# $Date: 2008-03-04 15:24:09 +0530 (Tue, 04 Mar 2008) $
#
# $RCSfile$
# $Revision: 2291 $
#
###########################################################################
MODULE_VERSION=15
TMPSUBSCRIPT:=/tmp/$${USER}.library.$${PPID}
#--------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#--------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#--------------------------------------------------------------------------
# Build OPTIONS
#--------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=1
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=1
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=1
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#**************************************************************************
# Global NAME and DIRECTORY definitions
#**************************************************************************
SOURCE_DIRECTORIES=\
debug \
id \
eDir \
fsm \
guid \
latch \
linux \
misc \
os \
parse \
stdio \
stdlib \
unicode \
utc \
wio
# tstlib\
#**************************************************************************
# Source Modules for NSS Library (.C .386)
#**************************************************************************
DEBUG_SRC=\
debug/assert.c \
debug/warn.c \
debug/dbginit.c \
debug/dbgerror.c \
debug/dbgfatal.c \
debug/enterDebug.c \
debug/DebugPrintf.c \
debug/DebugHexDump.c \
debug/ncpTrace.c \
debug/otherErrorTables.c \
debug/snp.c \
debug/dfi.c \
debug/sdNSS.c \
debug/sdBasic.c \
debug/pssDebug.c
ID_SRC=\
id/id.c
EDIR_SRC=\
eDir/getDSGuid.c \
eDir/parseDSObjectName.c
FSM_SRC=\
fsm/fsmnw.c
GUID_SRC=\
guid/guid.c
LATCH_SRC=\
latch/intlatch.c \
latch/latch.c
MISC_SRC=\
misc/displayVersion.c \
misc/format.c \
misc/GetInstLen.c \
misc/histogram.c \
misc/lbVolume.c \
misc/nssErrorTable.c \
misc/NW_NCPFuncBoundaryError.c \
misc/NW_NCPLengthError.c \
misc/NW_NCPSubFuncLengthError.c \
misc/NW_WriteBranchTableEntry.c \
misc/sysimp.c \
misc/register.c \
misc/xmlNSS2.c
OS_SRC=\
os/alarm.c \
os/config.c \
os/crthread.c \
os/delay.c \
os/inst.c \
os/mailbox.c \
os/pssmpk.c \
os/snooze.c \
os/worktodo.c \
os/ZOS_IsNLMLoaded.c
LINUX_SRC=\
linux/napiFormatDateAndTime.c \
linux/napiUnitTests.c
PARSE_SRC=\
parse/pcmdline.c
STDIO_SRC=\
stdio/aprintf.c \
stdio/errprintf.c \
stdio/getchar.c \
stdio/gets.c \
stdio/printf.c \
stdio/snprintf.c \
stdio/sprintf.c \
stdio/vaprintf.c \
stdio/vprintf.c \
stdio/vsprintf.c
STDLIB_SRC=\
stdlib/exit.c \
stdlib/free.c \
stdlib/freeForNCPReply.c \
stdlib/freePage.c \
stdlib/malloc.c \
stdlib/mallocForNCPReply.c \
stdlib/mallocPage.c \
stdlib/mallocPageWithFlags.c \
stdlib/realloc.c \
stdlib/zalloc.c \
stdlib/zallocPage.c \
stdlib/zrealloc.c
UNICODE_SRC=\
unicode/ByteToUnicode.c \
unicode/componentUnicpy.c \
unicode/componentUnilen.c \
unicode/getMacCodePageName.c \
unicode/getNssUnicodeVersion.c \
unicode/LenByteToUnicode.c \
unicode/LenMacByteToUnicode.c \
unicode/MacByteToUnicode.c \
unicode/RegisterUnicodeConverter.c \
unicode/unicat.c \
unicode/unicmp.c \
unicode/unicodeInit.c \
unicode/unicodeParse.c \
unicode/UnicodeToByte.c \
unicode/UnicodeToMacByte.c \
unicode/UnicodeToUntermByte.c \
unicode/UnicodeToUntermMacByte.c \
unicode/unicpy.c \
unicode/uniicmp.c \
unicode/uniicmpmac.c \
unicode/unilen.c \
unicode/unilwr.c \
unicode/unimcpy.c \
unicode/uninicmp.c \
unicode/unitolower.c \
unicode/unitoupper.c \
unicode/uniupr.c \
unicode/UnRegisterUnicodeConverter.c \
unicode/utf_tolower.c \
unicode/utf8ToUniChar.c \
unicode/utf8LenToUniChar.c
UTC_SRC=\
utc/dos2str.c \
utc/dost2str.c \
utc/dosd2str.c \
utc/dos2utc.c \
utc/getutctime.c \
utc/msTime2utc.c \
utc/sec2utc.c \
utc/str2dos.c \
utc/str2dosd.c \
utc/str2dost.c \
utc/utc2dos.c \
utc/utc2local.c \
utc/utc2msTime.c \
utc/utc2sec.c \
utc/utc2str.c \
utc/str2utc.c \
utc/utcdata.c \
utc/secsDiff.c
WIO_SRC=\
wio/wactivate.c \
wio/waprintf.c \
wio/wcenter.c \
wio/wclrscr.c \
wio/wclose.c \
wio/wgetc.c \
wio/wgetdim.c \
wio/wgets.c \
wio/wgetpos.c \
wio/wio.c \
wio/wlock.c \
wio/wopen.c \
wio/wpause.c \
wio/wprintf.c \
wio/wpromptYesNo.c \
wio/wsetpos.c \
wio/wSetStdio.c \
wio/wsyncin.c \
wio/wvprintf.c \
wio/wWrapString.c \
wio/nssUI.c \
wio/lnxLog.c
#--------------------------------------------------------------------------
# Source files for LIBRARY
#-------------------------------------------------------------------------
SOURCE_FILES=\
functionPtrs.c \
libraryVersion.c \
libraryLKM.c \
${DEBUG_SRC} \
${EDIR_SRC} \
${ID_SRC} \
${FSM_SRC} \
${GUID_SRC} \
${LATCH_SRC} \
$(LINUX_SRC) \
${MISC_SRC} \
${OS_SRC} \
${PARSE_SRC} \
${STDIO_SRC} \
${STDLIB_SRC} \
${UNICODE_SRC} \
${UTC_SRC} \
${WIO_SRC} \
qdiv.c \
nssLIBRARYSym.c
ifndef OPT_ENV
SOURCE_FILES += unssLIBRARYSym.c
endif
SOURCE_FILES_NODEBUG=
#**************************************************************************
# Include files for LIBRARY
#*************************************************************************
INCLUDE_FILES=\
intlatch.h \
unicodeInit.h \
utcData.h
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#---------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#---------------------------------------------------------------------------
UTILITY_EXPORTS=
UTILITY_EXPORTS_VIA_FILE=
#---------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#---------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
# This is done when USE_NETWARE_SDK is set to 1
#EXTRA_LIBRARY_INCLPATH=${NWSDK_SRCHPATH}
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=\
${BASEDIR}/public_core/sharedsrc \
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#---------------------------------------------------------------------------
# Additional module attributes
#---------------------------------------------------------------------------
MODULE_DESCRIPTION='NSS API Library'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nsslibrary
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT: \
# COMPILE_OPT_GREENRIVER \
# LINK_OPT_GREENRIVER
#BUILD_GREENRIVER_UNOPT: \
# COMPILE_UNOPT_GREENRIVER \
# LINK_UNOPT_GREENRIVER
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbCreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/public_core/lsa Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1,2 +0,0 @@
nsslsa.ko

View File

@@ -1,290 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
lsa.c \
lsaCmdline.c \
lsaErr.c \
lsaLKM.c \
lsaStartup.c \
lsaSuper.c \
lsaSuperPool.c \
lsaSuperVol.c \
lsaVersion.c \
lsaUser.c \
lsaXattr.c \
lsaComn.c \
lsaNSSKR.c
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
lsa.h \
lsaAid.h \
lsaStartup.h
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
#UTILITY_EXPORTS_VIA_FILE=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='NSS Media Access Layer (LSA)'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nsslsa
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/public_core/manage Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1,2 +0,0 @@
nssmanage.ko

View File

@@ -1,305 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=1
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
manageLKM.c \
manageStartup.c \
manageCmdline.c \
manageLinux.c \
managePool.c \
manageVolume.c \
manageServer.c \
manageNDS.c \
manageUserSpaceRestr.c \
manageVersion.c \
manageFile.c \
manage.c \
nssMANAGESym.c
# manageAdapter.c \
# manageDevice.c \
# manageDFS.c \
# manageJunction.c \
# managePartition.c \
# manageRAID.c \
# manageVcu.c \
# manageVLDB.c \
# manageVolMN.c \
# manageUserSpaceRestr.c \
# manageCIFS.c \
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
manageNlm.h \
manageVolume.h \
managePool.h \
manageNDS.h \
manageServer.h \
manageStartup.h \
manageUserSpaceRestr.h \
xmlTags.h
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
#UTILITY_EXPORTS_VIA_FILE=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=\
${BASEDIR}/public_core/sharedsrc \
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='NSS Management Functions'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nssmanage
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/public_core/ndpmod Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
ndpmod.ko

View File

@@ -1,264 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
MAJOR_VERSION=1
MINOR_VERSION=0
SUB_VERSION=0
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
BUILD_NO_INSTRUMENT_FUNCTIONS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=0
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=0
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=0
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=0
#if ONE, use all NSS includes (SDK\INCLUDE and others)
USE_SDK_INCLUDE=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
ndp_mod.c \
ndp_comn.c \
ndp_messagehandler.c \
ndp_guids.c \
ndp_idbroker.c \
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
ndp_mod.h \
ndp_comn.h \
ndp_messagehandler.h \
ndp_guids.h \
ndp_idbroker.h \
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
#UTILITY_EXPORTS_VIA_FILE=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines addition libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines addition include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=${BASEDIR}/public_core/sharedsrc
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS= -DBUILD_NDP_IDBROKER
EXTRA_ASM_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='Novell Data Portal'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_EXTENSION=nss
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,31 +0,0 @@
###
### ../nss/neb/nebdrv Makefile
###
############################################################################
#
# (C) Copyright 1995 - 2000 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
nebdrv.ko

View File

@@ -1,274 +0,0 @@
############################################################################
#
# (C) Copyright 1995 - 2000 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
BUILD_NO_INSTRUMENT_FUNCTIONS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=0
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=0
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=0
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=0
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
unebdrvLKM.c \
unebserv.c
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
#UTILITY_EXPORTS_VIA_FILE=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='Upcall mechanism for User Mode NEB'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nebdrv
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/public_core/nss Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
nss.ko

View File

@@ -1,314 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=0
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=1
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=1
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=1
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=\
cache \
msg \
lib \
setcmd
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
CACHE_SRC=\
cache/asyncio.c \
cache/bond.c \
cache/cache.c \
cache/control.c \
cache/work.c
CONNECT_SRC=
MSG_SRC=\
msg/msg.c \
msg/switchboard.c \
msg/slab.c
LIB_SRC=\
lib/setErrno.c \
lib/bitmap.c \
lib/hash.c \
lib/crc.c
SETCMD_SRC=\
setcmd/setcmd.c
SOURCE_FILES=\
nssLKM.c \
nssStartup.c \
nssLoadNLMs.c \
nssLog.c \
nssCmdline.c \
nssVersion.c \
nssRegistration.c \
dbgView.c \
$(CACHE_SRC) \
$(CONNECT_SRC) \
$(LIB_SRC) \
$(MSG_SRC) \
$(SETCMD_SRC) \
nssNSSSym.c
ifeq (${UNOPT_ENV},1)
SOURCE_FILES += unssNSSSym.c
endif
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
nssStartup.h \
setcmd.h
#*************************************************************************
# Additional source files that need to be checked out
#*************************************************************************
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
#additional include directories
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='NSS (Novell Storage Services)'
MODULE_ADDITIONAL_COPYRIGHT= Patents 5,787,439; 5,903,720; 5,915,253; 6,466,944 Other Patents Pending.
#MODULE_OPTIONS=OPTION reentrant
MODULE_OPTIONS=
MODULE_DEPENDENCIES=nsswin.nlm neb.nlm libnss.nlm syslog.nlm
MODULE_TYPE=
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbCreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/public_core/nsslnxlib Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
nsslnxlib.ko

View File

@@ -1,280 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ghorlacher $
# $Date: 2007-09-13 03:51:53 +0530 (Thu, 13 Sep 2007) $
#
# $RCSfile$
# $Revision: 2206 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=0
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=1
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for Generic Library
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES= \
nssLnxLibLKM.c \
allocRTag.c \
kfile.c \
microSecondTimer.c \
nwlocale.c \
nssLnxDummy.c \
procdefslnx.c \
unilib.c \
nssNSSLNXLIBSym.c \
nsslnxlibVersion.c
ifeq (${UNOPT_ENV},1)
SOURCE_FILES += unssNSSLNXLIBSym.c
endif
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES= \
nssunilib.h
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
UTILITY_EXPORTS_VIA_FILE=\
$(NSSLNXLIB_IMPORT)
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='Generic Library used by NSS on Linux'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=OPTION reentrant
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,10 +0,0 @@
###
### ../nss/volmgmt/nwraid Makefile
###
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1 +0,0 @@
nwraid.ko

View File

@@ -1,280 +0,0 @@
############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: ajack $
# $Date: 2008-03-04 06:19:02 +0530 (Tue, 04 Mar 2008) $
#
# $RCSfile$
# $Revision: 2289 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
MAJOR_VERSION=1
MINOR_VERSION=0
SUB_VERSION=0
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
BUILD_NO_INSTRUMENT_FUNCTIONS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK/BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK/BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=0
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=0
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK/LIBRARY
#and SDK/PUBLIC
IMPORT_INDEPENDENT_LIBNSS=0
#If ONE include in the search path SDK/LIBRARY and SDK/PUBLIC
USE_LIBNSS_INCLUDES=0
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=0
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
#CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
#CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
#USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
#USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
#USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=1
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=0
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=0
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
nwraid1.c \
nwraid0.c \
nwraid5.c \
dmio.c \
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
nwraid.h \
dmio.h \
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
#UTILITY_EXPORTS_VIA_FILE=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=\
${srctree}/drivers/md \
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='NW RAID for DM'
MODULE_ADDITIONAL_COPYRIGHT=
MODULE_OPTIONS=
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nwraid
MODULE_EXTENSION=ko
MODULE_START_ROUTINE=nw_raid_init
MODULE_EXIT_ROUTINE=nw_raid_exit
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=0
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE

View File

@@ -1,32 +0,0 @@
###
### ../nss/private_core/zlss Makefile
###
##############################################################################
#
# (C) Copyright 2004 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
BASEDIR=../..
SUBDIRS= \
include ${BASEDIR}/buildtools/Makefile.default

View File

@@ -1,2 +0,0 @@
nsszlss.ko

View File

@@ -1,385 +0,0 @@
##############################################################################
#
# (C) Copyright 2003 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#
##############################################################################
##########################################################################
# This defines what MODULES are being built for this NLM
#
# $Author: bbhanuprakash $
# $Date: 2008-03-04 15:24:09 +0530 (Tue, 04 Mar 2008) $
#
# $RCSfile$
# $Revision: 2291 $
#
##########################################################################
MODULE_VERSION=15
#-------------------------------------------------------------------------
# If the version number is not defined here, the general product version
# number will be used (defined in bldVersion.bld)
#
# major version 1 to 99
# minor version 1 to 99
# sub version 1 to 26
#-------------------------------------------------------------------------
#MAJOR_VERSION=
#MINOR_VERSION=
#SUB_VERSION=
#-------------------------------------------------------------------------
# Build OPTIONS
#-------------------------------------------------------------------------
BUILD_WITH_KERNEL_FLAGS=1
#set to 0 if you are NOT using source code control
IS_USING_SOURCE_CONTROL=1
#Set to ONE if you want the linked files to be copied to the SDK\BIN directory.
COPY_TO_SDK_BIN=1
#set to ONE if you only want to copy the OPTIMIZED version to SDK\BIN.
COPY_OPTIMIZED_ONLY=0
#Set this to ONE if you are building a NETWARE version independent NLM
#(not NETWARE version specific)
NETWARE_VERSION_INDEPENDENT=1
#if ONE include the NETWARE .H files in the compiler search paths.
USE_NETWARE_INCLUDES=1
#if ONE include the NETWARE import file at LINK time
USE_NETWARE_IMPORTS=1
#If ONE IMPORT the LIBNSS APIs and include in the search path SDK\LIBRARY
#and SDK\PUBLIC
IMPORT_INDEPENDENT_LIBNSS=1
#If ONE include in the search path SDK\LIBRARY and SDK\PUBLIC
USE_LIBNSS_INCLUDES=1
#If ONE then LINK with the NSS library and include all of the NSS library
#directories in the compiler search paths. This includes the SDK/PUBLIC,
#SDK/INCLUDE, SDK/INTERNAL, LIBRARY/SRC directories.
LINK_WITH_NSSLIB=0
#if ONE then IMPORT the NSS library and COMN layer APIS and include the
#SDK/PUBLIC directory in the compiler search paths.
IMPORT_NSSLIB=1
#If ONE and (LINK_WITH_NSSLIB==1 or IMPORT_NSSLIB==1) then do the same
#operation to the NSSLIB area you are doing to the local area.
CHECK_NSSLIB=0
#If ONE and (CHECK_NSSLIB==1) then we will clean the NSSLIB area when we
#clean the local area.
CLEAN_NSSLIB=0
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INCLUDE directory in
#the compiler search paths
USE_NSS_SDK_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/COMNSA directory in
#the compiler search paths
USE_NSS_SDK_COMNSA_INCLUDES=1
#if ONE and (IMPORT_NSSLIB==1) then include the SDK/INTERNAL directory in
#the compiler search paths
USE_NSS_SDK_INTERNAL_INCLUDES=1
#if ONE then do NOT import the NSS COMMON layer APIs
DONT_IMPORT_COMMON_LAYER=0
#if ONE, compile and link with the NETWARE sdk environment.
USE_NETWARE_SDK=0
#if ONE, include DS headers.
USE_NDS_INCLUDES=1
#if ONE, do LANGUAGE ENABLING processing
DO_LANGUAGE_ENABLING=1
#Set to null (i.e. no value) to not add XDC data to the NLM. For most
#NetWare 5.0 NLMs, the value should be -u.
MOAB_XDC_TOOL_OPTION=-n
#*************************************************************************
# List of source directories for NSS
#*************************************************************************
SOURCE_DIRECTORIES=
#*************************************************************************
# Source Modules for NSS (.C .386)
#*************************************************************************
SOURCE_FILES=\
zlssLKM.c \
zlssStartup.c \
zlssCmdline.c \
zstoreConfig.c \
zlssLSSOps.c \
zlssLogicalVolume.c \
zlssLVAIPU.c \
zlssConsumer.c \
zlssStorPool.c \
zlssUpgrade.c \
beastTree.c \
purgeTree.c \
btree.c \
dfsIO.c \
dir_ops.c \
dlog.c \
nameTree.c \
node.c \
overflow.c \
qdiv.c \
purgeLog.c \
repairMain.c \
repairBtree.c \
repairFMtree.c \
repairFtree.c \
repairMap.c \
repairMFL.c \
repairNames.c \
repairNtree.c \
repairPtree.c \
repairReZid.c \
repairSRTree.c \
repairUpgrade.c \
repairRAV.c \
repairRAVDebug.c \
repairZRP.c \
repairZVP.c \
salvageLog.c \
underflow.c \
xaction.c \
zfs.c \
zfsFileMap.c \
zfsPool.c \
zfsSuperBlk.c \
zfsVol.c \
zfsVolumeData.c \
zfsXTree.c \
zio.c \
zlog.c \
zlogDebug.c \
zlogUnitTest.c \
zedExport.c \
userTree.c \
dirTree.c \
myBTree.c \
purgeTree_new.c \
mfl_if.c \
eflTree.c \
eflLog.c \
zlssManage.c \
sbi.c \
sbiNT.c \
sdZLSS.c \
zlssDev.c \
zlssIOPerformance.c \
zlssMSAP.c \
zlssVersion.c \
nssZLSSSym.c \
z_aes_cbc.c \
z_aes_core.c
SOURCE_FILES_NODEBUG=
#*************************************************************************
# Source Include files for NSS (.H .inc)
#*************************************************************************
INCLUDE_FILES=\
dfsIO.h \
dir.h \
dlog.h \
mscIDE.h \
nameTree.h \
node.h \
zlssConsumer.h \
zlssLogicalVolume.h \
zfsAsyncio.h \
zfsdefs.h \
beastTree.h \
purgeTree.h \
purgeTree_if.h \
purgeTree_new.h \
purgeLog.h \
repairMain.h \
repairBtree.h \
repairMap.h \
sdZLSS.h \
xaction.h \
zfs.h \
zfsSuperBlk.h \
zfsXTree.h \
zfsFileMap.h \
zlog.h \
zlogFtest.h \
zlssStartup.h \
zlssUpgrade.h \
zstoreConfig.h \
zedExport.h \
userTree.h \
dirTree.h \
myBTree.h \
mfl_if.h \
eflTree.h \
eflLog.h \
mflBTree.h \
zlssManage.h \
zlssIOPerformance.h \
zlssMSAP.h \
z_aes.h \
z_aes_locl.h
#-------------------------------------------------------------------------
# Additional source files that need to be checked out
#-------------------------------------------------------------------------
OTHER_FILES=\
Module.supported
#-------------------------------------------------------------------------
# This defines what routines are being EXPORTED. You should put .IMP
# files in the "UTILITY_EXPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_EXPORTS=
UTILITY_EXPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# This defines what routines are being IMPORTED. You should put .IMP
# files in the "UTILITY_IMPORTS_VIA_FILE" field because it will properly
# insert seperators based on what linker you are using and it will make
# the link dependent on these files.
#-------------------------------------------------------------------------
UTILITY_IMPORTS=
UTILITY_IMPORTS_VIA_FILE=
#-------------------------------------------------------------------------
# Library definitions
# This defines additional libraries to LINK with and additional
# directories to put on out INCLUDE path.
#-------------------------------------------------------------------------
#additional libraries to link with
EXTRA_LIBRARIES=
EXTRA_STATIC_LIBRARIES=
EXTRA_DYNAMIC_LIBRARIES=
EXTRA_LIBRARY_INCLPATH=
#-------------------------------------------------------------------------
# Include path
# This defines additional include path to compile with
#-------------------------------------------------------------------------
#additional include path
EXTRA_INCLUDE_PATH=
#-------------------------------------------------------------------------
# Additional C and ASSEMBLY options to use
#-------------------------------------------------------------------------
EXTRA_C_OPTIONS=
EXTRA_ASM_OPTIONS=
EXTRA_LINK_OPTIONS=
#-------------------------------------------------------------------------
# Additional module attributes
#-------------------------------------------------------------------------
MODULE_DESCRIPTION='NSS Journaled Storage System (ZLSS)'
MODULE_ADDITIONAL_COPYRIGHT=Patents 5,787,439; 5,903,720; 5,915,253 Other Patents Pending.
MODULE_OPTIONS=OPTION reentrant
MODULE_DEPENDENCIES=
MODULE_TYPE=
MODULE_NAME=nsszlss
MODULE_EXTENSION=
MODULE_START_ROUTINE=
MODULE_EXIT_ROUTINE=
#set to 1 if you want the optimized NLM to be packed
MODULE_PACK_NLM=1
#=========================================================================
#=========================================================================
# LOCAL BUILD RULES
#=========================================================================
#=========================================================================
#-------------------------------------------------------------------------
# Default BUILD rule
#-------------------------------------------------------------------------
DEFAULT: DEFAULT_BUILD
#-------------------------------------------------------------------------
# Additional rules
#-------------------------------------------------------------------------
#BUILD_GREENRIVER_OPT:
# @echo "...This NLM does not have an OPTIMIZED GREENRIVER specific version"
#BUILD_GREENRIVER_UNOPT:
# @echo "...This NLM does not have an UNOPTIMIZED GREENRIVER specific version"
BUILD_MOAB_MP_UNOPT: \
COMPILE_UNOPT_MP_MOAB \
LINK_UNOPT_MP_MOAB
BUILD_MOAB_MP_OPT: \
COMPILE_OPT_MP_MOAB \
LINK_OPT_MP_MOAB
BUILD_MOAB_SP_UNOPT:
@echo "...This NLM does not have an UNOPTIMIZED SP specific version"
BUILD_MOAB_SP_OPT:
@echo "...This NLM does not have an OPTIMIZED SP specific version"
#BUILD_MOAB_SP_UNOPT: \
# COMPILE_UNOPT_SP_MOAB \
# LINK_UNOPT_SP_MOAB
#
#BUILD_MOAB_SP_OPT: \
# COMPILE_OPT_SP_MOAB \
# LINK_OPT_SP_MOAB
#-------------------------------------------------------------------------
# Language Enabling rules
#-------------------------------------------------------------------------
mdb: \
DEFAULT_MDB
umdb: \
LOCAL_MDB
mdbcreate: \
DEFAULT_CREATE_MDB_FILE
#-------------------------------------------------------------------------
# Other rules
#-------------------------------------------------------------------------
deps: DEFAULT_DEPS
cscope: DEFAULT_CSCOPE