-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-# $Id$
+# GNUstep makefile
include ../common.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-# $Id$
+# GNUstep makefile
include $(GNUSTEP_MAKEFILES)/common.make
-include ../../Version
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-# $Id: GNUmakefile,v 1.2 2003/12/09 17:38:42 helge Exp $
+# GNUstep makefile
include ../common.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-# $Id$
+# GNUstep makefile
include ../common.make
ContactsUI_LOCALIZED_RESOURCE_FILES += \
default.strings \
-ADDITIONAL_INCLUDE_DIRS += \
- -I.. -I../.. -I../../..
-
-
# make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
# compile flags
+
+ADDITIONAL_INCLUDE_DIRS += \
+ -I.. -I../.. -I../../..
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
-# $Id$
+# GNUstep makefile
include $(GNUSTEP_MAKEFILES)/common.make
-# $Id$
+# GNUstep makefile
include ../common.make
skycalendar.html \
skycalendar.js \
-ADDITIONAL_INCLUDE_DIRS += \
- -I.. -I../.. -I../../..
-
-
# make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+include ../../fhsbundle.make
# compile settings
+
+ADDITIONAL_INCLUDE_DIRS += \
+ -I.. -I../.. -I../../..
$(MKDIRS) $(FHS_SOGOD_DIR)
move-bundles-to-fhs :: fhs-sogod-dirs
- @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_WEBUI_DIR) .."
+ @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_SOGOD_DIR) .."
for i in $(BUNDLE_NAME); do \
- j="$(FHS_WEBUI_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
+ j="$(FHS_SOGOD_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
if test -d $$j; then rm -r $$j; fi; \
(cd $(BUNDLE_INSTALL_DIR); \
$(TAR) chf - --exclude=CVS --exclude=.svn --to-stdout \
"$${i}$(BUNDLE_EXTENSION)") | \
- (cd $(FHS_WEBUI_DIR); $(TAR) xf -); \
+ (cd $(FHS_SOGOD_DIR); $(TAR) xf -); \
rm -rf "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)";\
done
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
+NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
+NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
+
+# headers
+
+ifneq ($(FHS_HEADER_DIRS),)
+
+move-headers-to-fhs ::
+ @echo "moving headers to $(FHS_INCLUDE_DIR) .."
+ for i in "$(FHS_HEADER_DIRS)"; do \
+ $(MKDIRS) $(FHS_INCLUDE_DIR)/$$i; \
+ mv $(GNUSTEP_HEADERS)/$$i/*.h $(FHS_INCLUDE_DIR)/$$i/; \
+ done
+
+else
+
+move-headers-to-fhs ::
+
+endif
+
+move-libs-to-fhs ::
+ @echo "moving libs to $(FHS_LIB_DIR) .."
+ mv $(NONFHS_LIBDIR)/$(NONFHS_LIBNAME)* $(FHS_LIB_DIR)/
+
+# tools
+
+ifneq ($(TOOL_NAME),)
+
+fhs-bin-dirs ::
+ $(MKDIRS) $(FHS_BIN_DIR)
+
+move-tools-to-fhs :: fhs-bin-dirs
+ @echo "moving tools from $(NONFHS_BINDIR) to $(FHS_BIN_DIR) .."
+ for i in $(TOOL_NAME); do \
+ mv "$(NONFHS_BINDIR)/$${i}" $(FHS_BIN_DIR); \
+ done
+
+else
+
+move-tools-to-fhs ::
+
+endif
+
+# master
+
+move-to-fhs :: move-headers-to-fhs move-libs-to-fhs move-tools-to-fhs
+
+after-install :: move-to-fhs
+
+endif