# $Id$
-include $(GNUSTEP_MAKEFILES)/common.make
+include ../common.make
-BUNDLE_NAME = ContactsUI
-BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo
+BUNDLE_NAME = ContactsUI
ContactsUI_PRINCIPAL_CLASS = ContactsUIProduct
-# $Id$
-
-ADDITIONAL_INCLUDE_DIRS += \
- -I.. \
- -I../.. \
- -I../../.. \
- -I../../SoObjects
-
-
-ifneq ($(GNUSTEP_BUILD_DIR),)
- RELBUILD_DIR_libSOGoUI = \
- $(GNUSTEP_BUILD_DIR)/../SOGoUI/$(GNUSTEP_OBJ_DIR_NAME)
- RELBUILD_DIR_libSOGoLogic = \
- $(GNUSTEP_BUILD_DIR)/../../../SOGoLogic/$(GNUSTEP_OBJ_DIR_NAME)
-else
- RELBUILD_DIR_libSOGoUI = ../SOGoUI/$(GNUSTEP_OBJ_DIR)
- RELBUILD_DIR_libSOGoLogic = ../../../SOGoLogic/$(GNUSTEP_OBJ_DIR)
-endif
-
-ContactsUI_LIB_DIRS += \
- -L$(RELBUILD_DIR_libSOGoUI) \
- -L$(RELBUILD_DIR_libSOGoLogic)
-
-ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib
-
-ContactsUI_BUNDLE_LIBS += \
- -lNGObjWeb \
- -lNGMime -lNGStreams -lNGExtensions -lEOControl \
- -lXmlRpc -lDOM -lSaxObjC -lNGiCal \
- -lSOGoLogic -lSOGoUI \
+# compile flags
# GNUstep makefile
-include $(GNUSTEP_MAKEFILES)/common.make
+include ../common.make
-BUNDLE_NAME = MailerUI
-BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo
+BUNDLE_NAME = MailerUI
MailerUI_PRINCIPAL_CLASS = MailerUIProduct
-# $Id$
-
-ADDITIONAL_INCLUDE_DIRS += \
- -I.. -I../.. -I../../..
-
-ADDITIONAL_INCLUDE_DIRS += \
- -I.. \
- -I../.. \
- -I../../.. \
- -I../../SoObjects
-
-
-ifneq ($(GNUSTEP_BUILD_DIR),)
- RELBUILD_DIR_libSOGoUI = \
- $(GNUSTEP_BUILD_DIR)/../SOGoUI/$(GNUSTEP_OBJ_DIR_NAME)
- RELBUILD_DIR_libSOGoLogic = \
- $(GNUSTEP_BUILD_DIR)/../../../SOGoLogic/$(GNUSTEP_OBJ_DIR_NAME)
-else
- RELBUILD_DIR_libSOGoUI = ../SOGoUI/$(GNUSTEP_OBJ_DIR)
- RELBUILD_DIR_libSOGoLogic = ../../../SOGoLogic/$(GNUSTEP_OBJ_DIR)
-endif
-
-MailerUI_LIB_DIRS += \
- -L$(RELBUILD_DIR_libSOGoUI) \
- -L$(RELBUILD_DIR_libSOGoLogic)
-
-ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib
-
-MailerUI_BUNDLE_LIBS += \
- -lNGObjWeb \
- -lNGMime -lNGStreams -lNGExtensions -lEOControl \
- -lXmlRpc -lDOM -lSaxObjC -lNGiCal \
- -lSOGoLogic -lSOGoUI \
+# compile flags
*/
// $Id$
-
#include <SOGoUI/UIxComponent.h>
@interface UIxMailEditor : UIxComponent
# $Id$
-include $(GNUSTEP_MAKEFILES)/common.make
+include ../common.make
-BUNDLE_NAME = SchedulerUI
-BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo
+BUNDLE_NAME = SchedulerUI
SchedulerUI_PRINCIPAL_CLASS = SchedulerUIProduct
-# $Id$
-
-ADDITIONAL_INCLUDE_DIRS += \
- -I.. \
- -I../.. \
- -I../../.. \
- -I../../SoObjects
-
-
-ifneq ($(GNUSTEP_BUILD_DIR),)
- RELBUILD_DIR_libSOGoUI = \
- $(GNUSTEP_BUILD_DIR)/../SOGoUI/$(GNUSTEP_OBJ_DIR_NAME)
- RELBUILD_DIR_libSOGoLogic = \
- $(GNUSTEP_BUILD_DIR)/../../../SOGoLogic/$(GNUSTEP_OBJ_DIR_NAME)
-else
- RELBUILD_DIR_libSOGoUI = ../SOGoUI/$(GNUSTEP_OBJ_DIR)
- RELBUILD_DIR_libSOGoLogic = ../../../SOGoLogic/$(GNUSTEP_OBJ_DIR)
-endif
-
-SchedulerUI_LIB_DIRS += \
- -L$(RELBUILD_DIR_libSOGoUI) \
- -L$(RELBUILD_DIR_libSOGoLogic)
-
-ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib
-
-SchedulerUI_BUNDLE_LIBS += \
- -lNGObjWeb \
- -lNGMime -lNGStreams -lNGExtensions -lEOControl \
- -lXmlRpc -lDOM -lSaxObjC -lNGiCal \
- -lSOGoLogic -lSOGoUI \
+# compile settings
- (NSCalendarDate *)dayOfWeeK:(unsigned)_day
offsetFromSunday:(unsigned)_offset
{
- unsigned dayOfWeek, distance;
+ unsigned dayOfWeek, distance;
- /* perform "locale" correction */
- dayOfWeek = (7 + [self dayOfWeek] - _offset) % 7;
+ /* perform "locale" correction */
+ dayOfWeek = (7 + [self dayOfWeek] - _offset) % 7;
- _day = (_day % 7);
- if(_day == dayOfWeek)
- return self;
+ _day = (_day % 7);
+ if(_day == dayOfWeek)
+ return self;
- distance = _day - dayOfWeek;
- return [self dateByAddingYears:0 months:0 days:distance];
+ distance = _day - dayOfWeek;
+ return [self dateByAddingYears:0 months:0 days:distance];
}
/* this implies that monday is the start of week! */
BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo
ADDITIONAL_INCLUDE_DIRS += \
- -I.. -I../.. -I../../..
+ -I.. \
+ -I../.. \
+ -I../../.. \
+ -I../../SoObjects
ifneq ($(GNUSTEP_BUILD_DIR),)
RELBUILD_DIR_libSOGoUI = \
$(GNUSTEP_BUILD_DIR)/../SOGoUI/$(GNUSTEP_OBJ_DIR_NAME)
+ RELBUILD_DIR_libSOGoLogic = \
+ $(GNUSTEP_BUILD_DIR)/../../../SOGoLogic/$(GNUSTEP_OBJ_DIR_NAME)
else
RELBUILD_DIR_libSOGoUI = ../SOGoUI/$(GNUSTEP_OBJ_DIR)
+ RELBUILD_DIR_libSOGoLogic = ../../../SOGoLogic/$(GNUSTEP_OBJ_DIR)
endif
-ADDITIONAL_LIB_DIRS += -L$(RELBUILD_DIR_libSOGoUI)
+ADDITIONAL_LIB_DIRS += \
+ -L$(RELBUILD_DIR_libSOGoUI) \
+ -L$(RELBUILD_DIR_libSOGoLogic)
+
ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib
BUNDLE_LIBS += \
-lSOGoUI \
-lSOGo -lSOGoLogic \
+ -lOGoContentStore \
+ -lGDLAccess \
-lNGObjWeb \
- -lNGMime -lNGiCal \
+ -lNGMime -lNGiCal -lNGLdap \
-lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC