1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
34 ENABLE_EXCEPTIONS
=TRUE
42 # --- Settings -----------------------------------------------------
44 .INCLUDE
: settings.mk
45 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
47 # --- Allgemein ----------------------------------------------------
49 LIB1TARGET
= $(SLB
)$/$(TARGET
).lib
50 LIB1FILES
= $(SLB
)$/appl.lib \
51 $(SLB
)$/explorer.lib \
64 .IF
"$(ENABLE_LAYOUT)" == "TRUE"
65 LIB1FILES
+= $(SLB
)$/layout.lib
66 .ENDIF
# ENABLE_LAYOUT == TRUE
69 ..\inc\sfx2\sfxsids.hrc \
70 ..\source\inc\helpid.hrc
73 LIB2TARGET
= $(LB
)$/$(TARGET
).lib
74 LIB2FILES
= $(LB
)$/isfx.lib
75 LIB2DEPN
=$(SHL1TARGETN
)
78 SHL1TARGET
= sfx
$(DLLPOSTFIX
)
115 .IF
"$(OS)" == "MACOSX"
116 SHL1STDLIBS
+= -framework Cocoa
121 SHL1DEPN
+= $(shell @
$(FIND
) $(SLO
) -type f
-name
"*.OBJ" -print)
123 SHL1LIBS
= $(LIB1TARGET
)
125 #SHL1OBJS= $(SLO)$/sfxdll.obj
127 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
129 DEF1NAME
=$(SHL1TARGET
)
142 RESLIB1NAME
=$(TARGET
)
143 RESLIB1IMAGES
=$(PRJ
)$/res
144 RESLIB1SRSFILES
=$(SFXSRSLIST
)
148 .IF
"$(ENABLE_SYSTRAY_GTK)"=="TRUE"
149 PKGCONFIG_MODULES
=gtk
+-2.0
150 .INCLUDE
: pkg_config.mk
151 CFLAGS
+=$(PKGCONFIG_CFLAGS
)
153 SHL3TARGET
=qstart_gtk
$(DLLPOSTFIX
)
154 SHL3LIBS
=$(SLB
)$/quickstart.lib
155 SHL3DEPN
=$(SHL1IMPLIBN
) $(SHL1TARGETN
)
156 # libs for gtk plugin
157 SHL3STDLIBS
=$(SHL1STDLIBS
) $(SFX2LIB
) $(EGGTRAYLIB
)
158 SHL3STDLIBS
+=$(PKGCONFIG_LIBS
:s
/ -lpangoxft-1.0
//)
159 # hack for faked SO environment
160 .IF
"$(PKGCONFIG_ROOT)"!=""
161 SHL3SONAME
+=-z nodefs
163 .ENDIF
# "$(PKGCONFIG_ROOT)"!=""
164 .ENDIF
# "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
165 .ENDIF
# "$(GUI)"=="UNX"
167 # --- Targets ------------------------------------------------------