summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-13 07:57:09 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-13 07:57:09 +0000
commit72092299dfc4cc7044d1d6ba4bea471e31ce368f (patch)
treebddc1e00634f53ba930b42606368147027e912ca
parent0d986b3568d48e43bba2a632637d9aa0f29e4c13 (diff)
INTEGRATION: CWS visibility03 (1.3.10); FILE MERGED
2005/03/24 17:21:28 mhu 1.3.10.1: #i45006# Cleanup to build component library here (not in fpicker/util).
-rw-r--r--fpicker/source/unx/gnome/makefile.mk31
1 files changed, 25 insertions, 6 deletions
diff --git a/fpicker/source/unx/gnome/makefile.mk b/fpicker/source/unx/gnome/makefile.mk
index 4501111fdfcf..b9c2f7479a96 100644
--- a/fpicker/source/unx/gnome/makefile.mk
+++ b/fpicker/source/unx/gnome/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
-# last change: $Author: kz $ $Date: 2004-12-16 11:13:46 $
+# last change: $Author: obo $ $Date: 2005-04-13 08:57:09 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -63,13 +63,14 @@
PRJ=..$/..$/..
PRJNAME=fpicker
-TARGET=fps_gnome
-#LIBTARGET=NO
+TARGET=fps_gnome.uno
+LIBTARGET=NO
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
+DLLPRE=
# ------------------------------------------------------------------
@@ -83,8 +84,8 @@ dummy:
PKGCONFIG_MODULES=gtk+-2.0
.INCLUDE : pkg_config.mk
+# check gtk version
GTK_TWO_FOUR:=$(shell +-$(PKGCONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo ok)
-
.IF "$(GTK_TWO_FOUR)" != "ok"
dummy:
@@ -107,7 +108,25 @@ SLOFILES =\
$(SLO)$/filepickereventnotification.obj \
$(SLO)$/FPentry.obj
-.ENDIF #NOT_GTK_TWO_FOUR
+SHL1NOCHECK=TRUE
+SHL1TARGET= $(TARGET)
+SHL1OBJS= $(SLOFILES)
+SHL1STDLIBS=\
+ $(VCLLIB) \
+ $(TOOLSLIB) \
+ $(CPPUHELPERLIB) \
+ $(CPPULIB) \
+ $(SALLIB) \
+ $(PKGCONFIG_LIBS)
+
+.IF "$(OS)"=="SOLARIS"
+LINKFLAGS!:=$(LINKFLAGSAPP:s/-z defs/-z nodefs/)
+.ENDIF # "$(OS)"=="SOLARIS"
+
+SHL1VERSIONMAP=exports.map
+DEF1NAME=$(SHL1TARGET)
+
+.ENDIF # GTK_TWO_FOUR
.ENDIF # "$(GUIBASE)" != "unx" || "$(WITH_WIDGETSET)" != "gnome"
# --- Targets ------------------------------------------------------