summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-05-05 22:04:09 (UTC)
committer mickeyl <mickeyl>2005-05-05 22:04:09 (UTC)
commitc199fa0b0ef971c3a121af6c31a9a9822561a1be (patch) (side-by-side diff)
treec4e0d7385eb026e568f234dc992d81b4b9b59912
parentfdd31c3dd95a42d2666235ad8c2478b7ceead261 (diff)
downloadopie-c199fa0b0ef971c3a121af6c31a9a9822561a1be.zip
opie-c199fa0b0ef971c3a121af6c31a9a9822561a1be.tar.gz
opie-c199fa0b0ef971c3a121af6c31a9a9822561a1be.tar.bz2
write libflite dependency rules
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index f59b4f7..f75e6da 100644
--- a/Rules.make
+++ b/Rules.make
@@ -114,32 +114,36 @@ ifeq ($(CONFIG_LIBBLUEZ_DEP),y)
endif
ifeq ($(CONFIG_LIBIPK_DEP),y)
echo LIBIPK_LIB_DIR = $(CONFIG_LIBIPK_LIB_DIR) >> $@
echo LIBIPK_INC_DIR = $(CONFIG_LIBIPK_INC_DIR) >> $@
endif
ifeq ($(CONFIG_LIBSDK_DEP),y)
echo LIBSDL_LIB_DIR = $(CONFIG_LIBSDL_LIB_DIR) >> $@
echo LIBSDL_INC_DIR = $(CONFIG_LIBSDL_INC_DIR) >> $@
endif
ifeq ($(CONFIG_LIBSWORD_DEP),y)
echo LIBSWORD_LIB_DIR = $(CONFIG_LIBSWORD_LIB_DIR) >> $@
echo LIBSWORD_INC_DIR = $(CONFIG_LIBSWORD_INC_DIR) >> $@
endif
ifeq ($(CONFIG_LIBFREETYPE2_DEP),y)
echo LIBFREETYPE2_INC_DIR = $(CONFIG_LIBFREETYPE2_INC_DIR) >> $@
endif
+ifeq ($(CONFIG_LIBFLITE_DEP),y)
+ echo LIBFLITE_LIB_DIR = $(CONFIG_LIBFLITE_LIB_DIR) >> $@
+ echo LIBFLITE_INC_DIR = $(CONFIG_LIBFLITE_INC_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
@cat $(TOPDIR)/packages | grep -v '^#' | \
awk '{print \
".PHONY : " $$2 "\n" \
"subdir-$$(" $$1 ") += " $$2 "\n\n"; \
print $$2 " : " $$2 "/Makefile\n\t+$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends
cat $(TOPDIR)/packages | grep -v '^#' | \
perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro \$$(OPIEDIR)/.config\n\t\$$(call makefilegen,\$$@)\n\n"; }' \
>> $(TOPDIR)/.depends
# interpackage dependency generation
@cat $(TOPDIR)/packages | \
$(TOPDIR)/scripts/deps.pl >> $(TOPDIR)/.depends
$(TOPDIR)/.depends.cfgs: