author | zecke <zecke> | 2003-04-20 18:11:17 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-04-20 18:11:17 (UTC) |
commit | ca3cd49d65353584bfe85755ef2885b049d25d33 (patch) (unidiff) | |
tree | 4a6cf7ec233e2531e76dd191ea2e65da66eb9460 /Makefile | |
parent | 606f5d9cd2ecba4df175bc722621e4e4df3bc516 (diff) | |
download | opie-ca3cd49d65353584bfe85755ef2885b049d25d33.zip opie-ca3cd49d65353584bfe85755ef2885b049d25d33.tar.gz opie-ca3cd49d65353584bfe85755ef2885b049d25d33.tar.bz2 |
Add opie-lupdate and opie-lrelease as targets
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -50,71 +50,76 @@ $(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs) | |||
50 | # at the time that they run. we must ensure that .depends.cfgs | 50 | # at the time that they run. we must ensure that .depends.cfgs |
51 | # is built and included by the time we reach this point. | 51 | # is built and included by the time we reach this point. |
52 | 52 | ||
53 | xconfig : | 53 | xconfig : |
54 | $(call descend,scripts/kconfig,qconf) | 54 | $(call descend,scripts/kconfig,qconf) |
55 | LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \ | 55 | LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \ |
56 | ./scripts/kconfig/qconf ./config.in | 56 | ./scripts/kconfig/qconf ./config.in |
57 | 57 | ||
58 | menuconfig : scripts/lxdialog/lxdialog | 58 | menuconfig : scripts/lxdialog/lxdialog |
59 | $(call descend,scripts/kconfig,mconf) | 59 | $(call descend,scripts/kconfig,mconf) |
60 | ./scripts/kconfig/mconf ./config.in | 60 | ./scripts/kconfig/mconf ./config.in |
61 | 61 | ||
62 | config : | 62 | config : |
63 | $(call descend,scripts/kconfig,conf) | 63 | $(call descend,scripts/kconfig,conf) |
64 | ./scripts/kconfig/conf ./config.in | 64 | ./scripts/kconfig/conf ./config.in |
65 | 65 | ||
66 | oldconfig : | 66 | oldconfig : |
67 | $(call descend,scripts/kconfig,conf) | 67 | $(call descend,scripts/kconfig,conf) |
68 | ./scripts/kconfig/conf -o ./config.in | 68 | ./scripts/kconfig/conf -o ./config.in |
69 | 69 | ||
70 | randconfig : | 70 | randconfig : |
71 | $(call descend,scripts/kconfig,conf) | 71 | $(call descend,scripts/kconfig,conf) |
72 | ./scripts/kconfig/conf -r ./config.in | 72 | ./scripts/kconfig/conf -r ./config.in |
73 | 73 | ||
74 | allyesconfig : | 74 | allyesconfig : |
75 | $(call descend,scripts/kconfig,conf) | 75 | $(call descend,scripts/kconfig,conf) |
76 | ./scripts/kconfig/conf -y ./config.in | 76 | ./scripts/kconfig/conf -y ./config.in |
77 | 77 | ||
78 | allnoconfig : | 78 | allnoconfig : |
79 | $(call descend,scripts/kconfig,conf) | 79 | $(call descend,scripts/kconfig,conf) |
80 | ./scripts/kconfig/conf -n ./config.in | 80 | ./scripts/kconfig/conf -n ./config.in |
81 | 81 | ||
82 | defconfig : | 82 | defconfig : |
83 | $(call descend,scripts/kconfig,conf) | 83 | $(call descend,scripts/kconfig,conf) |
84 | ./scripts/kconfig/conf -d ./config.in | 84 | ./scripts/kconfig/conf -d ./config.in |
85 | 85 | ||
86 | 86 | ||
87 | export | 87 | export |
88 | 88 | ||
89 | ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) | 89 | ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) |
90 | 90 | ||
91 | export include-config := 1 | 91 | export include-config := 1 |
92 | 92 | ||
93 | -include $(TOPDIR)/.config | 93 | -include $(TOPDIR)/.config |
94 | -include $(TOPDIR)/.depends | 94 | -include $(TOPDIR)/.depends |
95 | 95 | ||
96 | endif | 96 | endif |
97 | 97 | ||
98 | -include $(TOPDIR)/.config.cmd | 98 | -include $(TOPDIR)/.config.cmd |
99 | 99 | ||
100 | SUBDIRS = $(subdir-y) | 100 | SUBDIRS = $(subdir-y) |
101 | 101 | ||
102 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | 102 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) |
103 | 103 | ||
104 | ifdef CONFIG_OPTIMIZATIONS | 104 | ifdef CONFIG_OPTIMIZATIONS |
105 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | 105 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) |
106 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | 106 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) |
107 | endif | 107 | endif |
108 | 108 | ||
109 | all clean install ipk: $(SUBDIRS) | 109 | all clean install ipk: $(SUBDIRS) |
110 | 110 | ||
111 | lupdate lrelease: | 111 | lupdate lrelease: |
112 | @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; | 112 | @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; |
113 | 113 | ||
114 | opie-lupdate opie-lrelease: | ||
115 | @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; | ||
116 | |||
114 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ | 117 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ |
115 | $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ | 118 | $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ |
116 | $(TOPDIR)/library/custom.h | 119 | $(TOPDIR)/library/custom.h |
117 | 120 | ||
118 | clean : $(TOPDIR)/.config | 121 | clean : $(TOPDIR)/.config |
119 | 122 | ||
123 | apidox : doc/generate_apidox | ||
124 | |||
120 | include $(TOPDIR)/Rules.make | 125 | include $(TOPDIR)/Rules.make |