1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/..$/.. 25 26PRJNAME=fpicker 27TARGET=fps_kde4.uno 28LIBTARGET=NO 29ENABLE_EXCEPTIONS=TRUE 30 31# --- Settings ----------------------------------------------------- 32 33.INCLUDE : settings.mk 34DLLPRE= 35 36# ------------------------------------------------------------------ 37 38# Currently just KDE is supported... 39.IF "$(GUIBASE)" != "unx" || "$(ENABLE_KDE4)" != "TRUE" 40 41dummy: 42 @echo "Nothing to build. GUIBASE == $(GUIBASE), ENABLE_KDE4 is not set" 43 44.ELSE # we build for KDE 45 46CFLAGS+= $(KDE4_CFLAGS) 47 48# --- Files -------------------------------------------------------- 49 50SLOFILES =\ 51 $(SLO)$/KDE4FilePicker.obj \ 52 $(SLO)$/KDE4FilePicker.moc.obj \ 53 $(SLO)$/KDE4FPEntry.obj 54 55SHL1NOCHECK=TRUE 56SHL1TARGET=$(TARGET) 57SHL1STDLIBS=$(CPPULIB)\ 58 $(CPPUHELPERLIB)\ 59 $(SALLIB)\ 60 $(VCLLIB)\ 61 $(TOOLSLIB) \ 62 $(KDE4_LIBS) -lkio -lkfile 63 64 65SHL1OBJS=$(SLOFILES) 66SHL1DEF=$(MISC)$/$(SHL1TARGET).def 67 68DEF1NAME=$(SHL1TARGET) 69DEF1VERSIONMAP=exports.map 70 71.ENDIF 72 73# --- Targets ------------------------------------------------------ 74 75.INCLUDE : target.mk 76 77$(MISC)$/KDE4FilePicker.moc.cxx : KDE4FilePicker.hxx 78 $(MOC4) $< -o $@ 79 80ALLTAR : $(MISC)/fps_kde4.component 81 82$(MISC)/fps_kde4.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 83 fps_kde4.component 84 $(XSLTPROC) --nonet --stringparam uri \ 85 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 86 $(SOLARENV)/bin/createcomponent.xslt fps_kde4.component 87