xref: /trunk/main/fpicker/Module_fpicker.mk (revision 7e75dc1a)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
248d854f23Sdamjan$(eval $(call gb_Module_Module,fpicker))
258d854f23Sdamjan
268d854f23Sdamjan$(eval $(call gb_Module_add_targets,fpicker,\
278d854f23Sdamjan	AllLangResTarget_fps_office \
288d854f23Sdamjan	Library_fpicker \
298d854f23Sdamjan	Library_fps_office \
308d854f23Sdamjan	Package_xml \
318d854f23Sdamjan))
328d854f23Sdamjan
336ecc4615Sdamjanifeq ($(GUIBASE),unx)
348d854f23Sdamjanifeq ($(ENABLE_GTK),TRUE)
358d854f23SdamjanGTK_TWO_FOUR:=$(shell pkg-config --exists 'gtk+-2.0 >= 2.4.0' && echo ok)
368d854f23Sdamjanifeq ($(GTK_TWO_FOUR),ok)
378d854f23Sdamjan$(eval $(call gb_Module_add_targets,fpicker,\
388d854f23Sdamjan	Library_fps_gnome \
398d854f23Sdamjan))
408d854f23Sdamjanelse
416ecc4615Sdamjan	_GTK_VERSION_ERR := $(shell pkg-config --print-errors --exists 'gtk+-2.0 >= 2.4.0')
426ecc4615Sdamjanendif
438d854f23Sdamjanendif
448d854f23Sdamjanendif
458d854f23Sdamjan
468d854f23Sdamjanifeq ($(GUIBASE),unx)
478d854f23Sdamjanifeq ($(ENABLE_KDE4),TRUE)
488d854f23Sdamjan$(eval $(call gb_Module_add_targets,fpicker,\
498d854f23Sdamjan	Library_fps_kde4 \
508d854f23Sdamjan))
518d854f23Sdamjanendif
528d854f23Sdamjanendif
538d854f23Sdamjan
548d854f23Sdamjanifeq ($(GUI),WNT)
558d854f23Sdamjan$(eval $(call gb_Module_add_targets,fpicker,\
568d854f23Sdamjan	Library_fps \
578d854f23Sdamjan	Library_fop \
586ecc4615Sdamjan	WinResTarget_fpicker \
598d854f23Sdamjan))
608d854f23Sdamjanendif
618d854f23Sdamjan
62*7e75dc1aSJim Jagielskiifeq ($(GUIBASE),aqua)
63*7e75dc1aSJim Jagielski$(eval $(call gb_Module_add_targets,fpicker,\
64*7e75dc1aSJim Jagielski	Library_fps_aqua \
65*7e75dc1aSJim Jagielski))
66*7e75dc1aSJim Jagielskiendif
678d854f23Sdamjan# vim: set noet sw=4 ts=4:
68