8076325
diff -r a92d0bd6747b desktop/prj/build.lst
8076325
--- a/desktop/prj/build.lst	Mon Dec 28 16:11:17 2009 +0100
8076325
+++ b/desktop/prj/build.lst	Wed Dec 30 09:34:10 2009 +0100
8076325
@@ -1,4 +1,4 @@
8076325
-dt      desktop :    l10n sfx2 stoc BERKELEYDB:berkeleydb sysui SO:sysui_so BOOST:boost svx xmlhelp sal unoil officecfg offuh NULL
8076325
+dt      desktop :    l10n sfx2 stoc BERKELEYDB:berkeleydb sysui SO:sysui_so BOOST:boost svx xmlhelp sal unoil officecfg offuh sc sd sw NULL
8076325
 dt	desktop									usr1	-	all	dt_mkout NULL
8076325
 dt	desktop\inc								nmake	-	all	dt_inc NULL
8076325
 dt	desktop\prj								get		-	all	dt_prj NULL
8076325
diff -r a92d0bd6747b desktop/scripts/soffice.sh
8076325
--- a/desktop/scripts/soffice.sh	Mon Dec 28 16:11:17 2009 +0100
8076325
+++ b/desktop/scripts/soffice.sh	Wed Dec 30 09:34:10 2009 +0100
8076325
@@ -73,30 +73,26 @@
8076325
   esac
8076325
 done
8076325
 
8076325
-# pagein
8076325
-sd_pagein_args=@pagein-common
8076325
 for sd_arg in "$@"; do
8076325
     case ${sd_arg} in
8076325
     -calc)
8076325
-        sd_pagein_args="${sd_pagein_args} @pagein-calc"
8076325
+        sd_binary="scalc.bin"
8076325
         break;
8076325
         ;;
8076325
     -draw)
8076325
-        sd_pagein_args="${sd_pagein_args} @pagein-draw"
8076325
+        sd_binary="sdraw.bin"
8076325
         break;
8076325
         ;;
8076325
     -impress)
8076325
-        sd_pagein_args="${sd_pagein_args} @pagein-impress"
8076325
+        sd_binary="simpress.bin"
8076325
         break;
8076325
         ;;
8076325
     -writer)
8076325
-        sd_pagein_args="${sd_pagein_args} @pagein-writer"
8076325
+        sd_binary="swriter.bin"
8076325
         break;
8076325
         ;;
8076325
     esac
8076325
 done
8076325
-"$sd_prog/../basis-link/program/pagein" -L"$sd_prog/../basis-link/program" \
8076325
-    ${sd_pagein_args}
8076325
 
8076325
 # extend the ld_library_path for java: javaldx checks the sofficerc for us
8076325
 if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
8076325
diff -r a92d0bd6747b desktop/util/makefile.mk
8076325
--- a/desktop/util/makefile.mk	Mon Dec 28 16:11:17 2009 +0100
8076325
+++ b/desktop/util/makefile.mk	Wed Dec 30 09:34:10 2009 +0100
8076325
@@ -192,6 +192,60 @@
8076325
 APP5DEPN= $(APP1TARGETN) $(APP5RES) ooverinfo.rc
8076325
 APP5DEF=    $(MISCX)$/$(TARGET).def
8076325
 
8076325
+.IF "$(OS)" == "LINUX"
8076325
+PRELINKLIBS=$(APP5STDLIBS)
8076325
+PRELINKLIBS+= \
8076325
+    $(SVXLIB) \
8076325
+    $(SVXCORELIB) \
8076325
+    $(XMLOFFLIB) \
8076325
+    -lfwl$(DLLPOSTFIX) \
8076325
+    -lpackage2 \
8076325
+    -lucpfile1 \
8076325
+    -lucb1 \
8076325
+    $(STORELIB) \
8076325
+    $(REGLIB) \
8076325
+    -lvclplug_gtk$(DLLPOSTFIX) \
8076325
+    -lvclplug_gen$(DLLPOSTFIX) \
8076325
+    $(LNGLIB) \
8076325
+    $(ICUINLIB)
8076325
+
8076325
+APP6TARGET=swriter
8076325
+APP6NOSAL=TRUE
8076325
+APP6RPATH=BRAND
8076325
+APP6OBJS=$(APP5OBJS)
8076325
+APP6STDLIBS=$(PRELINKLIBS) \
8076325
+    $(ISWLIB)
8076325
+APP6DEPN=$(APP5DEPN)
8076325
+APP6DEF=$(MISCX)$/$(TARGET).def
8076325
+
8076325
+APP7TARGET=scalc
8076325
+APP7NOSAL=TRUE
8076325
+APP7RPATH=BRAND
8076325
+APP7OBJS=$(APP5OBJS)
8076325
+APP7STDLIBS=$(PRELINKLIBS) \
8076325
+    $(ISCLIB)
8076325
+APP7DEPN=$(APP5DEPN)
8076325
+APP7DEF=$(MISCX)$/$(TARGET).def
8076325
+
8076325
+APP8TARGET=sdraw
8076325
+APP8NOSAL=TRUE
8076325
+APP8RPATH=BRAND
8076325
+APP8OBJS=$(APP5OBJS)
8076325
+APP8STDLIBS=$(PRELINKLIBS) \
8076325
+    $(ISDLIB)
8076325
+APP8DEPN=$(APP5DEPN)
8076325
+APP8DEF=$(MISCX)$/$(TARGET).def
8076325
+
8076325
+APP9TARGET=simpress
8076325
+APP9NOSAL=TRUE
8076325
+APP9RPATH=BRAND
8076325
+APP9OBJS=$(APP5OBJS)
8076325
+APP9STDLIBS=$(PRELINKLIBS) \
8076325
+    $(ISDLIB)
8076325
+APP9DEPN=$(APP5DEPN)
8076325
+APP9DEF=$(MISCX)$/$(TARGET).def
8076325
+.ENDIF
8076325
+
8076325
 .IF "$(GUI)" == "WNT"
8076325
 APP5RES=    $(RES)$/oodesktop.res
8076325
 APP5ICON=$(SOLARRESDIR)$/icons/ooo3_main_app.ico