summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-07 15:19:56 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-07 15:40:57 +0100
commit5bbdab11f6485ec64d93036f0bbfc5eda5842a9d (patch)
treee0e1121aef980346ede907ec3cc5f4e82dafde3d /fpicker
parent4492deb4d5a57a5e7a20fd92203236aefc7dac99 (diff)
split module targets' registration
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/Module_fpicker.mk52
1 files changed, 32 insertions, 20 deletions
diff --git a/fpicker/Module_fpicker.mk b/fpicker/Module_fpicker.mk
index 7bb3a3420130..268280214466 100644
--- a/fpicker/Module_fpicker.mk
+++ b/fpicker/Module_fpicker.mk
@@ -33,28 +33,40 @@ $(eval $(call gb_Module_add_targets,fpicker,\
AllLangResTarget_fps_office \
Library_fpicker \
Library_fps_office \
- $(if $(filter $(GUIBASE),aqua), \
- Library_fps_aqua \
- ) \
- $(if $(filter $(OS),WNT), \
- Library_fps_odma \
- Library_fop \
- Library_fps \
- Package_xml \
- WinResTarget_fps \
- ) \
- $(if $(filter $(GUIBASE),unx), \
- $(if $(filter $(ENABLE_KDE),TRUE), \
- Executable_kdefilepicker \
- Library_fps_kde \
- ) \
- $(if $(filter $(ENABLE_KDE4),TRUE), \
- Library_fps_kde4 \
- Package_kde4_moc \
- ) \
- ) \
))
+ifeq ($(GUIBASE),aqua)
+$(eval $(call gb_Module_add_targets,fpicker,\
+ Library_fps_aqua \
+))
+endif
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Module_add_targets,fpicker,\
+ Library_fps_odma \
+ Library_fop \
+ Library_fps \
+ Package_xml \
+ WinResTarget_fps \
+))
+endif
+
+ifeq ($(GUIBASE),unx)
+ifeq ($(ENABLE_KDE),TRUE)
+$(eval $(call gb_Module_add_targets,fpicker,\
+ Executable_kdefilepicker \
+ Library_fps_kde \
+))
+endif
+
+ifeq ($(ENABLE_KDE4),TRUE)
+$(eval $(call gb_Module_add_targets,fpicker,\
+ Library_fps_kde4 \
+ Package_kde4_moc \
+))
+endif
+endif
+
endif
# vim: set noet sw=4 ts=4: