summaryrefslogtreecommitdiff
path: root/Makefile
Unidiff
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 52894ce..9169645 100644
--- a/Makefile
+++ b/Makefile
@@ -66,55 +66,60 @@ config :
66oldconfig : 66oldconfig :
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
70randconfig : 70randconfig :
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
74allyesconfig : 74allyesconfig :
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
78allnoconfig : 78allnoconfig :
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
82defconfig : 82defconfig :
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
87export 87export
88 88
89ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) 89ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
90 90
91export include-config := 1 91export include-config := 1
92 92
93-include $(TOPDIR)/.config 93-include $(TOPDIR)/.config
94-include $(TOPDIR)/.depends 94-include $(TOPDIR)/.depends
95 95
96endif 96endif
97 97
98-include $(TOPDIR)/.config.cmd 98-include $(TOPDIR)/.config.cmd
99 99
100SUBDIRS = $(subdir-y) 100SUBDIRS = $(subdir-y)
101 101
102export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) 102export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE))
103 103
104ifdef CONFIG_OPTIMIZATIONS 104ifdef CONFIG_OPTIMIZATIONS
105export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) 105export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
106export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) 106export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
107endif 107endif
108 108
109all clean install ipk: $(SUBDIRS) 109all clean install ipk: $(SUBDIRS)
110 110
111lupdate lrelease: 111lupdate lrelease:
112 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; 112 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done;
113 113
114opie-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
118clean : $(TOPDIR)/.config 121clean : $(TOPDIR)/.config
119 122
123apidox : doc/generate_apidox
124
120include $(TOPDIR)/Rules.make 125include $(TOPDIR)/Rules.make