|
|
@@ -774,3 +774,70 @@ $(DSDOC_DEP): $(NSCP_DISTDIR)
|
|
|
exit 1 ; \
|
|
|
fi
|
|
|
### DOCS END #############################
|
|
|
+
|
|
|
+
|
|
|
+# Windows sync component for Active Directory
|
|
|
+ADSYNC = PassSync-$(BUILD_DEBUG).msi
|
|
|
+ADSYNC_DEST = $(NSCP_DISTDIR_FULL_RTL)/winsync
|
|
|
+ADSYNC_FILE = $(ADSYNC_DEST)/$(ADSYNC)
|
|
|
+ADSYNC_FILES = $(ADSYNC)
|
|
|
+ADSYNC_RELEASE = $(COMPONENTS_DIR)/winsync/passsync
|
|
|
+# windows make naming convention - release = optimize, debug = full
|
|
|
+ifeq ($(BUILD_DEBUG), optimize)
|
|
|
+ ADSYNC_DIR_SUFFIX=release
|
|
|
+else
|
|
|
+ ADSYNC_DIR_SUFFIX=debug
|
|
|
+endif
|
|
|
+ADSYNC_DIR = $(ADSYNC_RELEASE)/$(ADSYNC_VERSION)/$(ADSYNC_DIR_SUFFIX)
|
|
|
+
|
|
|
+ADSYNC_DEP = $(ADSYNC_FILE)
|
|
|
+PACKAGE_SRC_DEST += $(ADSYNC_FILE) winsync
|
|
|
+
|
|
|
+ifndef ADSYNC_PULL_METHOD
|
|
|
+ADSYNC_PULL_METHOD = $(COMPONENT_PULL_METHOD)
|
|
|
+endif
|
|
|
+
|
|
|
+$(ADSYNC_DEP): $(NSCP_DISTDIR_FULL_RTL)
|
|
|
+ifdef COMPONENT_DEPS
|
|
|
+ echo "Inside ftppull"
|
|
|
+ $(FTP_PULL) -method $(COMPONENT_PULL_METHOD) \
|
|
|
+ -objdir $(ADSYNC_DEST) -componentdir $(ADSYNC_DIR) \
|
|
|
+ -files $(ADSYNC_FILES)
|
|
|
+endif
|
|
|
+ -@if [ ! -f $@ ] ; \
|
|
|
+ then echo "Error: could not get component ADSYNC files $@" ; \
|
|
|
+ fi
|
|
|
+# Windows sync component for Active Directory
|
|
|
+
|
|
|
+# Windows sync component for NT4
|
|
|
+NT4SYNC = ntds-$(BUILD_DEBUG).msi
|
|
|
+NT4SYNC_DEST = $(NSCP_DISTDIR_FULL_RTL)/winsync
|
|
|
+NT4SYNC_FILE = $(NT4SYNC_DEST)/$(NT4SYNC)
|
|
|
+NT4SYNC_FILES = $(NT4SYNC)
|
|
|
+NT4SYNC_RELEASE = $(COMPONENTS_DIR)/winsync/ntds
|
|
|
+# windows make naming convention - release = optimize, debug = full
|
|
|
+ifeq ($(BUILD_DEBUG), optimize)
|
|
|
+ NT4SYNC_DIR_SUFFIX=release
|
|
|
+else
|
|
|
+ NT4SYNC_DIR_SUFFIX=debug
|
|
|
+endif
|
|
|
+NT4SYNC_DIR = $(NT4SYNC_RELEASE)/$(NT4SYNC_VERSION)/$(NT4SYNC_DIR_SUFFIX)
|
|
|
+
|
|
|
+NT4SYNC_DEP = $(NT4SYNC_FILE)
|
|
|
+PACKAGE_SRC_DEST += $(NT4SYNC_FILE) winsync
|
|
|
+
|
|
|
+ifndef NT4SYNC_PULL_METHOD
|
|
|
+NT4SYNC_PULL_METHOD = $(COMPONENT_PULL_METHOD)
|
|
|
+endif
|
|
|
+
|
|
|
+$(NT4SYNC_DEP): $(NSCP_DISTDIR_FULL_RTL)
|
|
|
+ifdef COMPONENT_DEPS
|
|
|
+ echo "Inside ftppull"
|
|
|
+ $(FTP_PULL) -method $(COMPONENT_PULL_METHOD) \
|
|
|
+ -objdir $(NT4SYNC_DEST) -componentdir $(NT4SYNC_DIR) \
|
|
|
+ -files $(NT4SYNC_FILES)
|
|
|
+endif
|
|
|
+ -@if [ ! -f $@ ] ; \
|
|
|
+ then echo "Error: could not get component NT4SYNC files $@" ; \
|
|
|
+ fi
|
|
|
+# Windows sync component for NT4
|