This is a patch for the installation of frameworks on MinGW32 targets, which was badly broken.
This patch may still not do what everyone wants, but at least it successfully installs the frameworks for now without creaking. If someone can explain a few things to me then I'd be happy to tweak it: (1) for objc frameworks, do .a files need to be created/installed as well as .dlls? (as for the main gnustep libraries which have both). (2) should we be striving to keep the dlls inside the framework folders, or is this a lost cause on Windows, when the dlls have to be in the PATH? In any case I think this patch is a good start. Stephen Brandon [EMAIL PROTECTED]
Index: make/framework.make =================================================================== RCS file: /cvsroot/gnustep/gnustep/core/make/framework.make,v retrieving revision 1.29 diff -r1.29 framework.make 439a440,442 > > ifneq ($(WITH_DLL),yes) > 466a470,499 > > else # install DLL > > internal-framework-install:: $(FRAMEWORK_INSTALL_DIR) \ > $(GNUSTEP_FRAMEWORKS_LIBRARIES)/$(GNUSTEP_TARGET_LDIR) \ > $(GNUSTEP_FRAMEWORKS_HEADERS) \ > $(DLL_INSTALLATION_DIR) > rm -rf $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_DIR_NAME) > $(TAR) cf - $(FRAMEWORK_DIR_NAME) | (cd $(FRAMEWORK_INSTALL_DIR); $(TAR) xf -) > (cd $(GNUSTEP_FRAMEWORKS_HEADERS); \ > if [ "$(HEADER_FILES)" != "" ]; then \ > if test -d "$(INTERNAL_framework_NAME)"; then \ > rm -Rf $(INTERNAL_framework_NAME); \ > fi; \ > $(MKDIRS) $(INTERNAL_framework_NAME); \ > cd $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_VERSION_DIR_NAME)/Headers ; \ > $(TAR) cf - . | (cd >$(GNUSTEP_FRAMEWORKS_HEADERS)/$(INTERNAL_framework_NAME); \ > $(TAR) xf - ); \ > fi;) > (cd $(DLL_INSTALLATION_DIR); \ > if test -f "$(FRAMEWORK_FILE)"; then \ > rm -f $(FRAMEWORK_FILE); \ > fi;) > $(INSTALL_PROGRAM) -m 0755 $(FRAMEWORK_FILE) \ > $(DLL_INSTALLATION_DIR)/$(FRAMEWORK_FILE); > > endif > > $(DLL_INSTALLATION_DIR):: > $(MKDIRS) $@
