merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / plugin / util / makefile.mk
blob7a8c46c017690c597267b905b44481c7ad156abc
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
27 PRJ=..$/..$/..
29 PRJNAME=extensions
30 TARGET=pl
31 TARGETTYPE=GUI
33 # --- Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
37 # --- Files --------------------------------------------------------
39 .IF "$(WITH_MOZILLA)" != "NO"
41 LIB1TARGET = $(SLB)$/plall.lib
42 LIB1FILES = \
43 $(SLB)$/plbase.lib \
44 $(SHL1LINKLIB)
46 .IF "$(GUI)" == "UNX"
47 .IF "$(GUIBASE)"=="aqua"
48 .IF "$(WITH_MOZILLA)"=="YES"
49 SHL1LINKLIB = $(SLB)$/plaqua.lib
50 .ENDIF
51 .ELSE
52 SHL1LINKLIB = $(SLB)$/plunx.lib
53 .ENDIF # $(GUIBASE)==aqua
54 .IF "$(OS)" == "SOLARIS"
55 SHL1OWNLIBS = -lsocket
56 .ENDIF # SOLARIS
57 .ENDIF # UNX
59 .IF "$(GUI)" == "WNT"
60 SHL1LINKLIB = $(SLB)$/plwin.lib
61 SHL1OWNLIBS = \
62 $(VERSIONLIB) \
63 $(OLE32LIB) \
64 $(ADVAPI32LIB)
65 .ENDIF # WNT
67 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
68 SHL1IMPLIB= i$(TARGET)
70 SHL1VERSIONMAP=$(SOLARENV)/src/component.map
71 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
72 DEF1NAME=$(SHL1TARGET)
74 SHL1LIBS=$(LIB1TARGET)
76 .IF "$(OS)"=="MACOSX"
77 SHL1STDLIBS= \
78 $(LIBSTLPORT) \
79 $(TKLIB)
80 .ELSE
81 SHL1STDLIBS= \
82 $(TKLIB)
83 .ENDIF
85 SHL1STDLIBS+= \
86 $(VCLLIB) \
87 $(SVLLIB) \
88 $(UNOTOOLSLIB) \
89 $(TOOLSLIB) \
90 $(VOSLIB) \
91 $(UCBHELPERLIB) \
92 $(CPPUHELPERLIB) \
93 $(CPPULIB) \
94 $(SALLIB)
96 .IF "$(GUIBASE)"=="unx"
97 SHL1STDLIBS+=$(X11LINK_DYNAMIC)
98 .ENDIF
100 SHL1STDLIBS+=$(SHL1OWNLIBS)
102 .ENDIF # $(WITH_MOZILLA) != "NO"
104 # --- Targets ------------------------------------------------------
106 .INCLUDE : target.mk