Update ooo320-m1
[ooovba.git] / fpicker / source / unx / kde4 / makefile.mk
blob6f9db777bcb67b37ef383a2744cf9b0989d2eae0
1 #*************************************************************************
9 # The Contents of this file are made available subject to the terms of
10 # either of the following licenses
12 # - GNU Lesser General Public License Version 2.1
13 # - Sun Industry Standards Source License Version 1.1
15 # Sun Microsystems Inc., October, 2000
17 # GNU Lesser General Public License Version 2.1
18 # =============================================
19 # Copyright 2000 by Sun Microsystems, Inc.
20 # 901 San Antonio Road, Palo Alto, CA 94303, USA
22 # This library is free software; you can redistribute it and/or
23 # modify it under the terms of the GNU Lesser General Public
24 # License version 2.1, as published by the Free Software Foundation.
26 # This library is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29 # Lesser General Public License for more details.
31 # You should have received a copy of the GNU Lesser General Public
32 # License along with this library; if not, write to the Free Software
33 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
34 # MA 02111-1307 USA
37 # Sun Industry Standards Source License Version 1.1
38 # =================================================
39 # The contents of this file are subject to the Sun Industry Standards
40 # Source License Version 1.1 (the "License"); You may not use this file
41 # except in compliance with the License. You may obtain a copy of the
42 # License at http://www.openoffice.org/license.html.
44 # Software provided under this License is provided on an "AS IS" basis,
45 # WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
46 # WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
47 # MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
48 # See the License for the specific provisions governing your rights and
49 # obligations concerning the Software.
51 # The Initial Developer of the Original Code is: Sun Microsystems, Inc.
53 # Copyright: 2000 by Sun Microsystems, Inc.
55 # All Rights Reserved.
57 # Contributor(s): _______________________________________
61 #*************************************************************************
63 PRJ=..$/..$/..
65 PRJNAME=fpicker
66 TARGET=fps_kde4.uno
67 LIBTARGET=NO
68 ENABLE_EXCEPTIONS=TRUE
70 # --- Settings -----------------------------------------------------
72 .INCLUDE : settings.mk
73 DLLPRE=
75 # ------------------------------------------------------------------
77 # Currently just KDE is supported...
78 .IF "$(GUIBASE)" != "unx" || "$(ENABLE_KDE4)" != "TRUE"
80 dummy:
81 @echo "Nothing to build. GUIBASE == $(GUIBASE), ENABLE_KDE4 is not set"
83 .ELSE # we build for KDE
85 CFLAGS+= $(KDE4_CFLAGS)
87 # --- Files --------------------------------------------------------
89 SLOFILES =\
90 $(SLO)$/KDE4FilePicker.obj \
91 $(SLO)$/KDE4FilePicker.moc.obj \
92 $(SLO)$/KDE4FPEntry.obj
94 SHL1NOCHECK=TRUE
95 SHL1TARGET=$(TARGET)
96 SHL1STDLIBS=$(CPPULIB)\
97 $(CPPUHELPERLIB)\
98 $(SALLIB)\
99 $(VCLLIB)\
100 $(TOOLSLIB) \
101 $(KDE4_LIBS) -lkio -lkfile
104 SHL1OBJS=$(SLOFILES)
105 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
107 DEF1NAME=$(SHL1TARGET)
108 DEF1VERSIONMAP=exports.map
110 .ENDIF
112 # --- Targets ------------------------------------------------------
114 .INCLUDE : target.mk
116 $(MISC)$/KDE4FilePicker.moc.cxx : KDE4FilePicker.hxx
117 $(MOC4) $< -o $@