|
|
|
@@ -122,16 +122,19 @@ endif |
122 | ifeq ($(CONFIG_LIBSDK_DEP),y) |
122 | ifeq ($(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) >> $@ |
125 | endif |
125 | endif |
126 | ifeq ($(CONFIG_LIBSWORD_DEP),y) |
126 | ifeq ($(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) >> $@ |
129 | endif |
129 | endif |
| |
130 | ifeq ($(CONFIG_LIBFREETYPE2_DEP),y) |
| |
131 | echo LIBFREETYPE2_INC_DIR = $(CONFIG_LIBFREETYPE2_INC_DIR) >> $@ |
| |
132 | endif |
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 |
|