summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 85d7d87..9078d5e 100644
--- a/Rules.make
+++ b/Rules.make
@@ -7,16 +7,21 @@ $(TOPDIR)/gen.pro : $(TOPDIR)/.config
echo > $@
ifneq ($(CONFIG_DEBUG),)
echo CONFIG += debug >> $@
echo CONFIG -= release >> $@
else
echo CONFIG -= debug >> $@
echo CONFIG += release >> $@
endif
+ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3
+ echo CONFIG -= qt3 >> $@
+else
+ echo CONFIG += qt3 >> $@
+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"; \