summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-03-27 16:27:39 (UTC)
committer mickeyl <mickeyl>2004-03-27 16:27:39 (UTC)
commit238358860fe6f55e3dc4fd9df49b27f693ae7b69 (patch) (side-by-side diff)
treea291017c9826ee5d3264c2725c8413cdbc57505d
parentd50d7b771a0a84c3b7a098993c84aab5123b0219 (diff)
downloadopie-238358860fe6f55e3dc4fd9df49b27f693ae7b69.zip
opie-238358860fe6f55e3dc4fd9df49b27f693ae7b69.tar.gz
opie-238358860fe6f55e3dc4fd9df49b27f693ae7b69.tar.bz2
only link libopie include files if it is selected
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 8cacfb0..8de8117 100644
--- a/Rules.make
+++ b/Rules.make
@@ -108,2 +108,3 @@ $(OPIEDIR)/stamp-headers :
( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
+ifeq ($(CONFIG_LIBOPIE),y)
# libopie1
@@ -112,2 +113,3 @@ $(OPIEDIR)/stamp-headers :
( cd include/opie && ln -sf ../../libopie/big-screen/*.h .; )
+endif
# libopie2
@@ -129,4 +131,6 @@ $(OPIEDIR)/stamp-headers :
# all
+ifeq ($(CONFIG_LIBOPIE),y)
( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done )
+endif
( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \