+2006-09-18 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * wobundle-gs.make: basically reverted to r103, but with the
+ WHICH_LIB_SCRIPT check enabled - the rest was garbage which
+ accidentaly got committed, unsure how that happened in the
+ first place (v4.5.251)
+
2006-09-18 Helge Hess <helge.hess@opengroupware.org>
* removed deprecated woapp.make, wobundle.make (v4.5.250)
ALL_WOBUNDLE_LIBS = $(ALL_LIB_DIRS) $(TALL_WOBUNDLE_LIBS)
else
ALL_WOBUNDLE_LIBS = \
- $(shell $(WHICH_LIB_SCRIPT) \
- $(ALL_LIB_DIRS) $(TALL_WOBUNDLE_LIBS) \
+ $(shell $(WHICH_LIB_SCRIPT) $(ALL_LIB_DIRS) $(TALL_WOBUNDLE_LIBS) \
debug=$(debug) profile=$(profile) shared=$(shared) libext=$(LIBEXT) \
shared_libext=$(SHARED_LIBEXT))
endif
endif
-build-bundle-dir:: $(WOBUNDLE_DIR_NAME)/$(WORSRCDIRINFIX) \
- $(WOBUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR) \
- $(WOBUNDLE_RESOURCE_DIRS)
-
-$(WOBUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR):
- @$(MKDIRS) $(WOBUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR)
-
-$(WOBUNDLE_RESOURCE_DIRS):
- @$(MKDIRS) $(WOBUNDLE_RESOURCE_DIRS)
-
-build-bundle:: $(WOBUNDLE_FILE) \
- wobundle-components \
- wobundle-resource-files \
- wobundle-localized-resource-files \
- wobundle-localized-webresource-files \
- wobundle-webresource-files
-
-
-$(WOBUNDLE_FILE) : $(OBJ_FILES_TO_LINK)
- $(WOBUNDLE_LD) $(WOBUNDLE_LDFLAGS) \
- $(ALL_LDFLAGS) -o $(LDOUT)$(WOBUNDLE_FILE) \
- $(OBJ_FILES_TO_LINK) \
- $(ALL_WOBUNDLE_LIBS)
-
-wobundle-components :: $(WOBUNDLE_DIR_NAME)
-ifneq ($(strip $(COMPONENTS)),)
- @(echo "Linking components into the bundle wrapper..."; \
- cd $(WOBUNDLE_DIR_NAME)/$(WORSRCDIRINFIX); \
- for component in $(COMPONENTS); do \
- if [ -d $(WORSRCLINKUP)/$$component ]; then \
- $(LN_S) -f $(WORSRCLINKUP)/$$component ./;\
- fi; \
- done; \
-
-internal-wobundle-all_:: $(GNUSTEP_OBJ_DIR) \
- build-bundle-dir \
- build-bundle
-
-WOBUNDLE_DIR_NAME = $(GNUSTEP_INSTANCE:=$(WOBUNDLE_EXTENSION))
-WOBUNDLE_FILE = \
- $(WOBUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR)/$(GNUSTEP_INSTANCE)
-WOBUNDLE_RESOURCE_DIRS = $(foreach d, $(RESOURCE_DIRS), $(WOBUNDLE_DIR_NAME)/$(WORSRCDIRINFIX)/$(d))
-WOBUNDLE_WEBSERVER_RESOURCE_DIRS = $(foreach d, $(WEBSERVER_RESOURCE_DIRS), $(WOBUNDLE_DIR_NAME)/Resources/WebServer/$(d))
-
-ifeq ($(strip $(LANGUAGES)),)
- LANGUAGES="English"
-endif
-
-
build-bundle-dir:: $(WOBUNDLE_DIR_NAME)/$(WORSRCDIRINFIX) \
$(WOBUNDLE_DIR_NAME)/$(GNUSTEP_TARGET_LDIR) \
$(WOBUNDLE_RESOURCE_DIRS)