summaryrefslogtreecommitdiff
path: root/fpicker/Module_fpicker.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/Module_fpicker.mk')
-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: