summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Rules.make12
-rw-r--r--config.in4
-rw-r--r--include.pro2
3 files changed, 17 insertions, 1 deletions
diff --git a/Rules.make b/Rules.make
index 1e4b205..11bfa55 100644
--- a/Rules.make
+++ b/Rules.make
@@ -5,2 +5,12 @@ $(configs) :
5 5
6$(TOPDIR)/gen.pro : $(TOPDIR)/.config
7 echo > $@
8ifneq ($(CONFIG_DEBUG),)
9 echo CONFIG += debug >> $@
10 echo CONFIG -= release >> $@
11else
12 echo CONFIG -= debug >> $@
13 echo CONFIG += release >> $@
14endif
15
6$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages 16$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
@@ -14,3 +24,3 @@ $(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)
14 cat $(TOPDIR)/packages | grep -v '^#' | \ 24 cat $(TOPDIR)/packages | grep -v '^#' | \
15 perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE)\n\t\$$(call makefilegen,\$$@)\n\n"; }' \ 25 perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro\n\t\$$(call makefilegen,\$$@)\n\n"; }' \
16 >> $(TOPDIR)/.depends 26 >> $(TOPDIR)/.depends
diff --git a/config.in b/config.in
index 8559e73..97e1e80 100644
--- a/config.in
+++ b/config.in
@@ -40,2 +40,6 @@ config OPTIMIZE
40 40
41config DEBUG
42 boolean "Enable debug builds"
43 default "n"
44
41config SPECFILE 45config SPECFILE
diff --git a/include.pro b/include.pro
index da2da04..4f1144f 100644
--- a/include.pro
+++ b/include.pro
@@ -70 +70,3 @@ QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib
70QMAKE_LIBDIR += $(OPIEDIR)/lib 70QMAKE_LIBDIR += $(OPIEDIR)/lib
71
72include ( $(OPIEDIR)/gen.pro )