From 8d8474e48d134c6ee64311d47f22753adcd63d10 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Mon, 27 Mar 2006 13:35:50 +0000 Subject: add obexftp dependency to build system. patch courtesy Dmitriy Korovkin - thanks --- diff --git a/README b/README index e142382..89a9892 100644 --- a/README +++ b/README @@ -84,6 +84,9 @@ For a successful Opie build, you need to install the following libraries and hea * libipk >= 138 ftp://handhelds.org/linux/packages/ipkg +* libobexftp >= 0.19 + http://triq.net/obexftp.html + 3. Required Programs ==================== diff --git a/Rules.make b/Rules.make index 9eeb9f9..a21404f 100644 --- a/Rules.make +++ b/Rules.make @@ -131,6 +131,10 @@ ifeq ($(CONFIG_LIBFLITE_DEP),y) echo LIBFLITE_LIB_DIR = $(CONFIG_LIBFLITE_LIB_DIR) >> $@ echo LIBFLITE_INC_DIR = $(CONFIG_LIBFLITE_INC_DIR) >> $@ endif +ifeq ($(CONFIG_LIBOBEXFTP_DEP),y) + echo LIBOBEXFTP_INC_DIR = $(CONFIG_LIBOBEXFTP_INC_DIR) >> $@ + echo LIBOBEXFTP_LIB_DIR = $(CONFIG_LIBOBEXFTP_LIB_DIR) >> $@ +endif $(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages @echo Generating dependency information... # add to subdir-y, and add descend rules diff --git a/dependencies.in b/dependencies.in index 2a3d34a..8d6fdbe 100644 --- a/dependencies.in +++ b/dependencies.in @@ -114,3 +114,14 @@ string "libflite library dir" depends LIBFLITE_DEP + config LIBOBEXFTP_DEP + boolean "Have OBEX FTP library" + default "n" + + config LIBOBEXFTP_INC_DIR + string "OBEXFTP include dir" + depends LIBOBEXFTP_DEP + + config LIBOBEXFTP_LIB_DIR + string "OBEXFTP library dir" + depends LIBOBEXFTP_DEP -- cgit v0.9.0.2