summaryrefslogtreecommitdiff
path: root/libegg
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-10-09 15:02:20 +0000
committerKurt Zenker <kz@openoffice.org>2006-10-09 15:02:20 +0000
commit09ef5ba022f4024a0dd8dda0bff1361a2ecdbf3d (patch)
tree85b38ce38ed70b8086c739f3c859bbe8e760e6e0 /libegg
parentae24c82ca95e533b9a0755b9948dc772dea8066c (diff)
#i10000# diff changes to get it buildable
Diffstat (limited to 'libegg')
-rw-r--r--libegg/source/makefile.mk47
1 files changed, 45 insertions, 2 deletions
diff --git a/libegg/source/makefile.mk b/libegg/source/makefile.mk
index cddf952212a1..a6356cc15c0b 100644
--- a/libegg/source/makefile.mk
+++ b/libegg/source/makefile.mk
@@ -1,8 +1,46 @@
+#*************************************************************************
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.2 $
+#
+# last change: $Author: kz $ $Date: 2006-10-09 16:02:20 $
+#
+# The Contents of this file are made available subject to
+# the terms of GNU Lesser General Public License Version 2.1.
+#
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2005 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#*************************************************************************
+
PRJ=..
-PRJNAME=eggtray
+PRJNAME=libegg
TARGET=eggtray
+TARGETTYPE=GUI
+EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
+C_RESTRICTIONFLAGS*=-xc99=no_lib
# --- Settings ----------------------------------
@@ -16,7 +54,12 @@ CFLAGS+=$(PKGCONFIG_CFLAGS)
SLOFILES=\
$(SLO)$/eggtrayicon.obj
-SHL1STDLIBS+=$(PKGCONFIG_LIBS) -lX11
+SHL1STDLIBS+=$(PKGCONFIG_LIBS)
+.IF "$(PKGCONFIG_ROOT)"!=""
+SHL1SONAME+=-z nodefs
+SHL1NOCHECK=TRUE
+.ENDIF # "$(PKGCONFIG_ROOT)"!=""
+
SHL1TARGET= eggtray$(UPD)$(DLLPOSTFIX)
SHL1LIBS= $(SLB)$/eggtray.lib