|
|
@@ -322,10 +322,14 @@ endif # DB_SOURCE_ROOT
|
|
|
|
|
|
# ADMINUTIL library #######################################
|
|
|
ADMINUTIL_VERSION=$(ADMINUTIL_RELDATE)
|
|
|
-ADMINUTIL_BASE=adminsdk/$(ADMINUTIL_VERSDIR)/${ADMINUTIL_VERSION}
|
|
|
-ADMSDKOBJDIR = $(FULL_RTL_OBJDIR)
|
|
|
-ADMINUTIL_IMPORT=$(COMPONENTS_DIR)/${ADMINUTIL_BASE}/$(NSOBJDIR_NAME)
|
|
|
-#ADMINUTIL_IMPORT=$(COMPONENTS_DIR_DEV)/${ADMINUTIL_BASE}/$(NSOBJDIR_NAME)
|
|
|
+ADMINUTIL_BASE=$(ADMINUTIL_VERSDIR)/${ADMINUTIL_VERSION}
|
|
|
+ifeq ($(BUILD_MODE), int)
|
|
|
+ ADMINUTIL_IMPORT=$(COMPONENTS_DIR)/${ADMINUTIL_BASE}/$(NSOBJDIR_NAME)
|
|
|
+# ADMINUTIL_IMPORT=$(COMPONENTS_DIR_DEV)/${ADMINUTIL_BASE}/$(NSOBJDIR_NAME)
|
|
|
+else
|
|
|
+ ADMINUTIL_IMPORT=$(COMPONENTS_DIR)/${ADMINUTIL_BASE}/$(NSOBJDIR_NAME)
|
|
|
+# ADMINUTIL_IMPORT=$(FED_COMPONENTS_DIR)/${ADMINUTIL_BASE}/$(NSOBJDIR_NAME)
|
|
|
+endif
|
|
|
# this is the base directory under which the component's files will be found
|
|
|
# during the build process
|
|
|
ADMINUTIL_BUILD_DIR=$(NSCP_DISTDIR_FULL_RTL)/adminutil
|
|
|
@@ -339,7 +343,7 @@ LIBS_TO_PKG_CLIENTS += $(wildcard $(ADMINUTIL_LIBPATH)/*.$(DLL_SUFFIX))
|
|
|
#
|
|
|
# Libadminutil
|
|
|
#
|
|
|
-ADMINUTIL_DEP = $(ADMINUTIL_LIBPATH)/libadminutil$(ADMINUTIL_VER).$(LIB_SUFFIX)
|
|
|
+ADMINUTIL_DEP = $(ADMINUTIL_LIBPATH)/libadminutil$(ADMINUTIL_VER).$(DLL_SUFFIX)
|
|
|
ifeq ($(ARCH), WINNT)
|
|
|
ADMINUTIL_LINK = /LIBPATH:$(ADMINUTIL_LIBPATH) libadminutil$(ADMINUTIL_VER).$(LIB_SUFFIX)
|
|
|
ADMINUTIL_S_LINK = /LIBPATH:$(ADMINUTIL_LIBPATH) libadminutil_s$(ADMINUTIL_VER).$(LIB_SUFFIX)
|
|
|
@@ -376,7 +380,7 @@ NETSNMP_DEP = $(NETSNMP_INCDIR)/net-snmp/net-snmp-includes.h
|
|
|
ifndef NETSNMP_PULL_METHOD
|
|
|
NETSNMP_PULL_METHOD = $(COMPONENT_PULL_METHOD)
|
|
|
endif
|
|
|
-
|
|
|
+
|
|
|
$(NETSNMP_DEP): $(NSCP_DISTDIR_FULL_RTL)
|
|
|
ifneq ($(ARCH), WINNT)
|
|
|
ifdef COMPONENT_DEPS
|
|
|
@@ -392,41 +396,45 @@ endif # NETSNMP_SOURCE_ROOT
|
|
|
|
|
|
###########################################################
|
|
|
|
|
|
-### SETUPSDK #############################
|
|
|
+### SETUPUTIL #############################
|
|
|
# this is where the build looks for setupsdk components
|
|
|
-SETUP_SDK_BUILD_DIR = $(NSCP_DISTDIR)/setupsdk
|
|
|
-SETUPSDK_VERSION = $(SETUP_SDK_RELDATE)
|
|
|
-SETUPSDK_RELEASE = $(COMPONENTS_DIR)/setupsdk/$(SETUPSDK_VERSDIR)/$(SETUPSDK_VERSION)/$(NSOBJDIR_NAME)
|
|
|
-#SETUPSDK_RELEASE = $(COMPONENTS_DIR_DEV)/setupsdk/$(SETUPSDK_VERSDIR)/$(SETUPSDK_VERSION)/$(NSOBJDIR_NAME)
|
|
|
-SETUPSDK_LIBPATH = $(SETUP_SDK_BUILD_DIR)/lib
|
|
|
-SETUPSDK_INCDIR = $(SETUP_SDK_BUILD_DIR)/include
|
|
|
-SETUPSDK_BINPATH = $(SETUP_SDK_BUILD_DIR)/bin
|
|
|
-SETUPSDK_INCLUDE = -I$(SETUPSDK_INCDIR)
|
|
|
+SETUPUTIL_BUILD_DIR = $(NSCP_DISTDIR)/setuputil
|
|
|
+SETUPUTIL_VERSION = $(SETUPUTIL_RELDATE)
|
|
|
+ifeq ($(BUILD_MODE), int)
|
|
|
+ SETUPUTIL_RELEASE = $(COMPONENTS_DIR)/$(SETUPUTIL_VERSDIR)/$(SETUPUTIL_VERSION)/$(NSOBJDIR_NAME)
|
|
|
+# SETUPUTIL_RELEASE = $(COMPONENTS_DIR_DEV)/$(SETUPUTIL_VERSDIR)/$(SETUPUTIL_VERSION)/$(NSOBJDIR_NAME)
|
|
|
+else
|
|
|
+ SETUPUTIL_RELEASE = $(FED_COMPONENTS_DIR)/$(SETUPUTIL_VERSDIR)/$(SETUPUTIL_VERSION)/$(NSOBJDIR_NAME)
|
|
|
+endif
|
|
|
+SETUPUTIL_LIBPATH = $(SETUPUTIL_BUILD_DIR)/lib
|
|
|
+SETUPUTIL_INCDIR = $(SETUPUTIL_BUILD_DIR)/include
|
|
|
+SETUPUTIL_BINPATH = $(SETUPUTIL_BUILD_DIR)/bin
|
|
|
+SETUPUTIL_INCLUDE = -I$(SETUPUTIL_INCDIR)
|
|
|
|
|
|
ifeq ($(ARCH), WINNT)
|
|
|
-SETUP_SDK_FILES = setupsdk.tar.gz -unzip $(NSCP_DISTDIR)/setupsdk
|
|
|
-SETUPSDK_DEP = $(SETUPSDK_LIBPATH)/nssetup32.$(LIB_SUFFIX)
|
|
|
-SETUPSDKLINK = /LIBPATH:$(SETUPSDK_LIBPATH) nssetup32.$(LIB_SUFFIX)
|
|
|
-SETUPSDK_S_LINK = /LIBPATH:$(SETUPSDK_LIBPATH) nssetup32_s.$(LIB_SUFFIX)
|
|
|
+SETUPUTIL_FILES = setuputil.tar.gz -unzip $(NSCP_DISTDIR)/setuputil
|
|
|
+SETUPUTIL_DEP = $(SETUPUTIL_LIBPATH)/nssetup32.$(LIB_SUFFIX)
|
|
|
+SETUPUTILLINK = /LIBPATH:$(SETUPUTIL_LIBPATH) nssetup32.$(LIB_SUFFIX)
|
|
|
+SETUPUTIL_S_LINK = /LIBPATH:$(SETUPUTIL_LIBPATH) nssetup32_s.$(LIB_SUFFIX)
|
|
|
else
|
|
|
-SETUP_SDK_FILES = bin,lib,include
|
|
|
-SETUPSDK_DEP = $(SETUPSDK_LIBPATH)/libinstall.$(LIB_SUFFIX)
|
|
|
-SETUPSDKLINK = -L$(SETUPSDK_LIBPATH) -linstall
|
|
|
-SETUPSDK_S_LINK = $(SETUPSDKLINK)
|
|
|
+SETUPUTIL_FILES = bin,lib,include
|
|
|
+SETUPUTIL_DEP = $(SETUPUTIL_LIBPATH)/libinstall.$(LIB_SUFFIX)
|
|
|
+SETUPUTILLINK = -L$(SETUPUTIL_LIBPATH) -linstall
|
|
|
+SETUPUTIL_S_LINK = $(SETUPUTILLINK)
|
|
|
endif
|
|
|
|
|
|
-ifndef SETUPSDK_PULL_METHOD
|
|
|
-SETUPSDK_PULL_METHOD = $(COMPONENT_PULL_METHOD)
|
|
|
+ifndef SETUPUTIL_PULL_METHOD
|
|
|
+SETUPUTIL_PULL_METHOD = $(COMPONENT_PULL_METHOD)
|
|
|
endif
|
|
|
|
|
|
-$(SETUPSDK_DEP): $(NSCP_DISTDIR)
|
|
|
+$(SETUPUTIL_DEP): $(NSCP_DISTDIR)
|
|
|
ifdef COMPONENT_DEPS
|
|
|
- $(FTP_PULL) -method $(SETUPSDK_PULL_METHOD) \
|
|
|
- -objdir $(SETUP_SDK_BUILD_DIR) -componentdir $(SETUPSDK_RELEASE) \
|
|
|
- -files $(SETUP_SDK_FILES)
|
|
|
+ $(FTP_PULL) -method $(SETUPUTIL_PULL_METHOD) \
|
|
|
+ -objdir $(SETUPUTIL_BUILD_DIR) -componentdir $(SETUPUTIL_RELEASE) \
|
|
|
+ -files $(SETUPUTIL_FILES)
|
|
|
endif
|
|
|
-@if [ ! -f $@ ] ; \
|
|
|
- then echo "Error: could not get component SETUPSDK file $@" ; \
|
|
|
+ then echo "Error: could not get component SETUPUTIL file $@" ; \
|
|
|
fi
|
|
|
# apache-axis java classes #######################################
|
|
|
AXIS = axis-$(AXIS_VERSION).zip
|
|
|
@@ -702,28 +710,13 @@ endif
|
|
|
|
|
|
ADMIN_REL = $(ADM_VERSDIR)
|
|
|
ADMIN_REL_DATE = $(ADM_VERSION)
|
|
|
-ADMIN_FILE = admserv.tar.gz
|
|
|
-ADMIN_FILE_TAR = admserv.tar
|
|
|
-ADMSDKOBJDIR = $(NSCONFIG)$(NSOBJDIR_TAG).OBJ
|
|
|
-IMPORTADMINSRV_BASE=$(COMPONENTS_DIR)/$(ADMIN_REL)/$(ADMIN_REL_DATE)
|
|
|
-#IMPORTADMINSRV_BASE=$(COMPONENTS_DIR_DEV)/$(ADMIN_REL)/$(ADMIN_REL_DATE)
|
|
|
+#ADMIN_FILE = adminserver.tar.gz
|
|
|
+ADMIN_FILE = admin,base
|
|
|
+ADMIN_FILE_TAR = adminserver.tar
|
|
|
+IMPORTADMINSRV_BASE=$(COMPONENTS_DIR_DEV)/$(ADMIN_REL)/$(ADMIN_REL_DATE)
|
|
|
IMPORTADMINSRV = $(IMPORTADMINSRV_BASE)/$(NSOBJDIR_NAME_32)
|
|
|
-ADMSERV_DIR=$(ABS_ROOT_PARENT)/dist/$(NSOBJDIR_NAME)/admserv
|
|
|
-ADMSERV_DEP = $(ADMSERV_DIR)/setup$(EXE_SUFFIX)
|
|
|
-
|
|
|
-ifdef FORTEZZA
|
|
|
- ADM_VERSION = $(ADM_RELDATE)F
|
|
|
-else
|
|
|
- ifeq ($(SECURITY), domestic)
|
|
|
- ADM_VERSION = $(ADM_RELDATE)D
|
|
|
- else
|
|
|
- ifneq ($(ARCH), IRIX)
|
|
|
- ADM_VERSION = $(ADM_RELDATE)E
|
|
|
- else
|
|
|
- ADM_VERSION = $(ADM_RELDATE)D
|
|
|
- endif
|
|
|
- endif
|
|
|
-endif
|
|
|
+ADMSERV_DIR=$(ABS_ROOT_PARENT)/dist/$(NSOBJDIR_NAME)/adminserver
|
|
|
+ADMSERV_DEP = $(ADMSERV_DIR)/admin/admin.inf
|
|
|
|
|
|
ADM_VERSION = $(ADM_RELDATE)
|
|
|
ADM_RELEASE = $(COMPONENTS_DIR)/$(ADM_VERSDIR)/$(ADM_VERSION)/$(NSOBJDIR_NAME)
|
|
|
@@ -741,7 +734,7 @@ $(ADMSERV_DEP): $(ABS_ROOT_PARENT)/dist/$(NSOBJDIR_NAME)
|
|
|
ifdef ADMSERV_DEPS
|
|
|
$(FTP_PULL) -method $(ADMSERV_PULL_METHOD) \
|
|
|
-objdir $(ADMSERV_DIR) -componentdir $(IMPORTADMINSRV) \
|
|
|
- -files $(ADMIN_FILE) -unzip $(ADMSERV_DIR)
|
|
|
+ -files $(ADMIN_FILE)
|
|
|
endif
|
|
|
@if [ ! -f $@ ] ; \
|
|
|
then echo "Error: could not get component ADMINSERV file $@" ; \
|
|
|
@@ -755,7 +748,7 @@ DSDOC_DIR = $(ABS_ROOT)/../dist/dsdoc
|
|
|
DSDOC_VERSDIR = $(DIR_NORM_VERSION)$(BUILD_MODE)
|
|
|
#DSDOC_RELEASE = $(COMPONENTS_DIR_DEV)/ldapserverdoc/$(DSDOC_VERSDIR)/$(DSDOC_RELDATE)
|
|
|
DSDOC_RELEASE = $(COMPONENTS_DIR)/ldapserverdoc/$(DSDOC_VERSDIR)/$(DSDOC_RELDATE)
|
|
|
-
|
|
|
+
|
|
|
DSDOC_CLIENTS = slapd_clients.zip
|
|
|
DSDOC_COPYRIGHT = slapd_copyright.zip
|
|
|
DSDOC_FILES = $(DSDOC_COPYRIGHT),$(DSDOC_CLIENTS)
|