1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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 #*************************************************************************
32 ENABLE_EXCEPTIONS
=TRUE
34 .INCLUDE
: ..
$/util
$/makefile.pmk
36 .IF
"$(GUIBASE)"=="aqua"
38 @echo
"Nothing to build for GUIBASE aqua."
42 # --- Files --------------------------------------------------------
44 INCPRE
+=-I
$(SOLARINCDIR
)$/mozilla
$/plugin
45 .IF
"$(SOLAR_JAVA)" != ""
46 INCPRE
+=-I
$(SOLARINCDIR
)$/mozilla
$/java
47 INCPRE
+=-I
$(SOLARINCDIR
)$/mozilla
$/nspr
51 .IF
"$(WITH_MOZILLA)" != "NO"
53 .IF
"$(DISABLE_XAW)" == "TRUE"
60 $(SLO
)$/mediator.obj \
67 $(OBJ
)$/mediator.obj \
70 APP1TARGET
=pluginapp.bin
75 .IF
"$(OS)"=="SOLARIS" ||
"$(OS)"=="SCO" ||
"$(OS)"=="HPUX"
76 APP1STDLIBS
+=-lXm
-lXt
$(X11LINK_DYNAMIC
) -ldl
78 .IF
"$(DISABLE_XAW)" != "TRUE"
81 .IF
"$(OS)"=="FREEBSD" ||
"$(OS)"=="NETBSD"
82 APP1STDLIBS
+= -lXt
-lXext
-lX11
84 APP1STDLIBS
+= -lXt
$(X11LINK_DYNAMIC
) -ldl
88 .IF
"$(ENABLE_GTK)" == "TRUE"
90 APP1STDLIBS
+=$(PKGCONFIG_LIBS
:s
/ -lpangoxft-1.0
//)
91 # hack for faked SO environment
92 .IF
"$(PKGCONFIG_ROOT)"!=""
93 .IF
"$(OS)" == "SOLARIS"
94 # don't ask, it's ugly
95 DIRECT
:=-z nodefs
$(DIRECT
)
97 .ENDIF
# "$(PKGCONFIG_ROOT)"!=""
101 APP1DEF
= $(MISC
)$/$(TARGET
).def
103 .ENDIF
# $(WITH_MOZILLA) != "NO"
105 .ENDIF
# $(GUIBASE)==aqua
107 # --- Targets ------------------------------------------------------