summaryrefslogtreecommitdiff
path: root/Rules.make
Unidiff
Diffstat (limited to 'Rules.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index bdfe6d4..3fbce76 100644
--- a/Rules.make
+++ b/Rules.make
@@ -122,16 +122,19 @@ endif
122ifeq ($(CONFIG_LIBSDK_DEP),y) 122ifeq ($(CONFIG_LIBSDK_DEP),y)
123 echo LIBSDL_LIB_DIR = $(CONFIG_LIBSDL_LIB_DIR) >> $@ 123 echo LIBSDL_LIB_DIR = $(CONFIG_LIBSDL_LIB_DIR) >> $@
124 echo LIBSDL_INC_DIR = $(CONFIG_LIBSDL_INC_DIR) >> $@ 124 echo LIBSDL_INC_DIR = $(CONFIG_LIBSDL_INC_DIR) >> $@
125endif 125endif
126ifeq ($(CONFIG_LIBSWORD_DEP),y) 126ifeq ($(CONFIG_LIBSWORD_DEP),y)
127 echo LIBSWORD_LIB_DIR = $(CONFIG_LIBSWORD_LIB_DIR) >> $@ 127 echo LIBSWORD_LIB_DIR = $(CONFIG_LIBSWORD_LIB_DIR) >> $@
128 echo LIBSWORD_INC_DIR = $(CONFIG_LIBSWORD_INC_DIR) >> $@ 128 echo LIBSWORD_INC_DIR = $(CONFIG_LIBSWORD_INC_DIR) >> $@
129endif 129endif
130ifeq ($(CONFIG_LIBFREETYPE2_DEP),y)
131 echo LIBFREETYPE2_INC_DIR = $(CONFIG_LIBFREETYPE2_INC_DIR) >> $@
132endif
130$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages 133$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
131 @echo Generating dependency information... 134 @echo Generating dependency information...
132# add to subdir-y, and add descend rules 135# add to subdir-y, and add descend rules
133 @cat $(TOPDIR)/packages | grep -v '^#' | \ 136 @cat $(TOPDIR)/packages | grep -v '^#' | \
134 awk '{print \ 137 awk '{print \
135 ".PHONY : " $$2 "\n" \ 138 ".PHONY : " $$2 "\n" \
136 "subdir-$$(" $$1 ") += " $$2 "\n\n"; \ 139 "subdir-$$(" $$1 ") += " $$2 "\n\n"; \
137 print $$2 " : " $$2 "/Makefile\n\t+$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends 140 print $$2 " : " $$2 "/Makefile\n\t+$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends