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
@@ -107,8 +107,10 @@ $(OPIEDIR)/stamp-headers :
( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; )
( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
+ifeq ($(CONFIG_LIBOPIE),y)
# libopie1
( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; )
( cd include/opie && ln -sf ../../libopie/pim/*.h .; )
( cd include/opie && ln -sf ../../libopie/big-screen/*.h .; )
+endif
# libopie2
( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; )
@@ -128,6 +130,8 @@ $(OPIEDIR)/stamp-headers :
( cd include/sl && ln -sf ../../libslcompat/*.h .; )
# 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 \
ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done )