summaryrefslogtreecommitdiff
path: root/sd/util
diff options
context:
space:
mode:
Diffstat (limited to 'sd/util')
-rw-r--r--sd/util/hidother.hrc78
-rw-r--r--sd/util/hidother.src147
-rw-r--r--sd/util/makefile.mk345
-rw-r--r--sd/util/makefile.pmk62
-rw-r--r--sd/util/sd.map11
5 files changed, 643 insertions, 0 deletions
diff --git a/sd/util/hidother.hrc b/sd/util/hidother.hrc
new file mode 100644
index 000000000000..f1221a4e4860
--- /dev/null
+++ b/sd/util/hidother.hrc
@@ -0,0 +1,78 @@
+/*************************************************************************
+ *
+ * $RCSfile: hidother.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:46 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define SD_IF_SDDRAWVIEWSHELL 203
+#define SD_IF_SDSLIDEVIEWSHELL 204
+#define SD_IF_SDOUTLINEVIEWSHELL 205
+
+#define SD_IF_SDAPP 200 + 0
+#define SD_IF_SDDRAWDOCSHELL 200 + 1
+#define SD_IF_SDVIEWSHELL 200 + 2
+#define SD_IF_SDDRAWVIEWSHELL 200 + 3
+#define SD_IF_SDSLIDEVIEWSHELL 200 + 4
+#define SD_IF_SDOUTLINEVIEWSHELL 200 + 5
+#define SD_IF_SDDRAWSTDOBJECTBAR 200 + 6
+#define SD_IF_SDDRAWTEXTOBJECTBAR 200 + 7
+#define SD_IF_SDDRAWBEZIEROBJECTBAR 200 + 8
+#define SD_IF_SDDRAWGLUEPOINTSOBJECTBAR 200 + 9
+#define SD_IF_SDGRAPHICDOCSHELL 200 + 10
+#define SD_IF_SDGRAPHICVIEWSHELL 200 + 11
+#define SD_IF_SDGRAPHICSTDOBJECTBAR 200 + 12
+
diff --git a/sd/util/hidother.src b/sd/util/hidother.src
new file mode 100644
index 000000000000..6d18099ccc82
--- /dev/null
+++ b/sd/util/hidother.src
@@ -0,0 +1,147 @@
+/*************************************************************************
+ *
+ * $RCSfile: hidother.src,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:46 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include "..\inc\helpids.h"
+#include "hidother.hrc"
+#include "..\inc\app.hrc"
+
+hidspecial SID_NOTESMODE { HelpId = SID_NOTESMODE; };
+hidspecial SID_HANDOUTMODE { HelpId = SID_HANDOUTMODE; };
+
+hidspecial SD_IF_SDAPP { HelpId = SD_IF_SDAPP; };
+hidspecial SD_IF_SDDRAWDOCSHELL { HelpId = SD_IF_SDDRAWDOCSHELL; };
+hidspecial SD_IF_SDVIEWSHELL { HelpId = SD_IF_SDVIEWSHELL; };
+hidspecial SD_IF_SDDRAWVIEWSHELL { HelpId = SD_IF_SDDRAWVIEWSHELL; };
+hidspecial SD_IF_SDSLIDEVIEWSHELL { HelpId = SD_IF_SDSLIDEVIEWSHELL; };
+hidspecial SD_IF_SDOUTLINEVIEWSHELL { HelpId = SD_IF_SDOUTLINEVIEWSHELL; };
+hidspecial SD_IF_SDDRAWSTDOBJECTBAR { HelpId = SD_IF_SDDRAWSTDOBJECTBAR; };
+hidspecial SD_IF_SDDRAWTEXTOBJECTBAR { HelpId = SD_IF_SDDRAWTEXTOBJECTBAR; };
+hidspecial SD_IF_SDDRAWBEZIEROBJECTBAR { HelpId = SD_IF_SDDRAWBEZIEROBJECTBAR; };
+hidspecial SD_IF_SDDRAWGLUEPOINTSOBJECTBAR { HelpId = SD_IF_SDDRAWGLUEPOINTSOBJECTBAR; };
+hidspecial SD_IF_SDGRAPHICDOCSHELL { HelpId = SD_IF_SDGRAPHICDOCSHELL; };
+hidspecial SD_IF_SDGRAPHICVIEWSHELL { HelpId = SD_IF_SDGRAPHICVIEWSHELL; };
+hidspecial SD_IF_SDGRAPHICSTDOBJECTBAR { HelpId = SD_IF_SDGRAPHICSTDOBJECTBAR; };
+
+hidspecial HID_SD_PRINT_OPTIONS { HelpId = HID_SD_PRINT_OPTIONS; };
+hidspecial HID_SD_OPTIONS_SNAP { HelpId = HID_SD_OPTIONS_SNAP; };
+hidspecial HID_SD_OPTIONS_VIEW { HelpId = HID_SD_OPTIONS_VIEW; };
+
+hidspecial HID_SD_AUTOPILOT_PAGE1 { HelpId = HID_SD_AUTOPILOT_PAGE1; };
+hidspecial HID_SD_AUTOPILOT_PAGE2 { HelpId = HID_SD_AUTOPILOT_PAGE2; };
+hidspecial HID_SD_AUTOPILOT_PAGE3 { HelpId = HID_SD_AUTOPILOT_PAGE3; };
+hidspecial HID_SD_AUTOPILOT_PAGE4 { HelpId = HID_SD_AUTOPILOT_PAGE4; };
+hidspecial HID_SD_AUTOPILOT_PAGE5 { HelpId = HID_SD_AUTOPILOT_PAGE5; };
+hidspecial HID_SD_AUTOPILOT_PAGE6 { HelpId = HID_SD_AUTOPILOT_PAGE6; };
+
+hidspecial HID_SD_CBX_ONLYSELECTED { HelpId = HID_SD_CBX_ONLYSELECTED; };
+hidspecial HID_SD_BTN_FILTERDIALOG { HelpId = HID_SD_BTN_FILTERDIALOG; };
+
+hidspecial HID_SD_BTN_PAGE { HelpId = HID_SD_BTN_PAGE; };
+hidspecial HID_SD_BTN_MASTERPAGE { HelpId = HID_SD_BTN_MASTERPAGE; };
+hidspecial HID_SD_BTN_LAYER { HelpId = HID_SD_BTN_LAYER; };
+
+hidspecial HID_SD_BTN_DRAW { HelpId = HID_SD_BTN_DRAW; };
+hidspecial HID_SD_BTN_SLIDE { HelpId = HID_SD_BTN_SLIDE; };
+hidspecial HID_SD_BTN_OUTLINE { HelpId = HID_SD_BTN_OUTLINE; };
+hidspecial HID_SD_BTN_NOTES { HelpId = HID_SD_BTN_NOTES; };
+hidspecial HID_SD_BTN_HANDOUT { HelpId = HID_SD_BTN_HANDOUT; };
+hidspecial HID_SD_BTN_PRESENTATION { HelpId = HID_SD_BTN_PRESENTATION; };
+
+hidspecial HID_SD_WIN_DOCUMENT { HelpId = HID_SD_WIN_DOCUMENT; };
+
+hidspecial HID_SD_OPTIONS_LAYOUT { HelpId = HID_SD_OPTIONS_LAYOUT; };
+hidspecial HID_SD_OPTIONS_CONTENTS { HelpId = HID_SD_OPTIONS_CONTENTS; };
+hidspecial HID_SD_OPTIONS_MISC { HelpId = HID_SD_OPTIONS_MISC; };
+
+hidspecial HID_SD_EFFECT_PREVIEW { HelpId = HID_SD_OPTIONS_MISC; };
+hidspecial HID_SD_CTL_NEWFOIL { HelpId = HID_SD_CTL_NEWFOIL; };
+hidspecial HID_SD_NAVIGATOR_TLB { HelpId = HID_SD_NAVIGATOR_TLB; };
+hidspecial HID_SD_NAVIGATOR { HelpId = HID_SD_NAVIGATOR; };
+
+hidspecial HID_SD_CTL_EFFECTS { HelpId = HID_SD_CTL_EFFECTS; };
+hidspecial HID_SD_CTL_TEXT_EFFECTS { HelpId = HID_SD_CTL_TEXT_EFFECTS; };
+
+hidspecial HID_SD_CTL_SLIDE_CHANGE { HelpId = HID_SD_CTL_SLIDE_CHANGE; };
+
+hidspecial HID_SD_NAVIGATOR_TBX { HelpId = HID_SD_NAVIGATOR_TBX; };
+hidspecial HID_SD_NAVIGATOR_LB { HelpId = HID_SD_NAVIGATOR_LB; };
+
+hidspecial HID_SD_NAVIGATOR_TBI_LIVE { HelpId = HID_SD_NAVIGATOR_TBI_LIVE; };
+hidspecial HID_SD_NAVIGATOR_TBI_PEN { HelpId = HID_SD_NAVIGATOR_TBI_PEN; };
+hidspecial HID_SD_NAVIGATOR_TBI_FIRST { HelpId = HID_SD_NAVIGATOR_TBI_FIRST; };
+hidspecial HID_SD_NAVIGATOR_TBI_PREV { HelpId = HID_SD_NAVIGATOR_TBI_PREV; };
+hidspecial HID_SD_NAVIGATOR_TBI_NEXT { HelpId = HID_SD_NAVIGATOR_TBI_NEXT; };
+hidspecial HID_SD_NAVIGATOR_TBI_LAST { HelpId = HID_SD_NAVIGATOR_TBI_LAST; };
+hidspecial HID_SD_NAVIGATOR_TBI_DRAGTYPE{ HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE; };
+
+hidspecial HID_SD_HTMLEXPORT_PAGE1 { HelpId = HID_SD_HTMLEXPORT_PAGE1; };
+hidspecial HID_SD_HTMLEXPORT_PAGE2 { HelpId = HID_SD_HTMLEXPORT_PAGE2; };
+hidspecial HID_SD_HTMLEXPORT_PAGE3 { HelpId = HID_SD_HTMLEXPORT_PAGE3; };
+hidspecial HID_SD_HTMLEXPORT_PAGE4 { HelpId = HID_SD_HTMLEXPORT_PAGE4; };
+hidspecial HID_SD_HTMLEXPORT_PAGE5 { HelpId = HID_SD_HTMLEXPORT_PAGE5; };
+hidspecial HID_SD_HTMLEXPORT_PAGE6 { HelpId = HID_SD_HTMLEXPORT_PAGE6; };
+hidspecial HID_SD_HTMLEXPORT_DLG_DNAME { HelpId = HID_SD_HTMLEXPORT_DLG_DNAME; };
+
+hidspecial HID_SD_CHGFOIL_LAYOUT { HelpId = HID_SD_CHGFOIL_LAYOUT; };
+hidspecial HID_SD_CHGFOIL_BACKGROUND { HelpId = HID_SD_CHGFOIL_BACKGROUND; };
+hidspecial HID_SD_CHGFOIL_OBJECTS { HelpId = HID_SD_CHGFOIL_OBJECTS; };
+hidspecial HID_SD_CHGFOIL_NAME { HelpId = HID_SD_CHGFOIL_NAME; };
+
+hidspecial HID_FM_CTL_SELECTION { HelpId = HID_FM_CTL_SELECTION; };
diff --git a/sd/util/makefile.mk b/sd/util/makefile.mk
new file mode 100644
index 000000000000..92f1f4564728
--- /dev/null
+++ b/sd/util/makefile.mk
@@ -0,0 +1,345 @@
+#*************************************************************************
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.1.1.1 $
+#
+# last change: $Author: hr $ $Date: 2000-09-18 16:48:46 $
+#
+# The Contents of this file are made available subject to the terms of
+# either of the following licenses
+#
+# - GNU Lesser General Public License Version 2.1
+# - Sun Industry Standards Source License Version 1.1
+#
+# Sun Microsystems Inc., October, 2000
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2000 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
+#
+#
+# Sun Industry Standards Source License Version 1.1
+# =================================================
+# The contents of this file are subject to the Sun Industry Standards
+# Source License Version 1.1 (the "License"); You may not use this file
+# except in compliance with the License. You may obtain a copy of the
+# License at http://www.openoffice.org/license.html.
+#
+# Software provided under this License is provided on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+# See the License for the specific provisions governing your rights and
+# obligations concerning the Software.
+#
+# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+#
+# Copyright: 2000 by Sun Microsystems, Inc.
+#
+# All Rights Reserved.
+#
+# Contributor(s): _______________________________________
+#
+#
+#
+#*************************************************************************
+
+PRJ=..
+
+PRJNAME=SD
+TARGET=sdraw3
+GEN_HID=TRUE
+
+# --- Settings -----------------------------------------------------------
+
+.INCLUDE : svpre.mk
+.INCLUDE : settings.mk
+.INCLUDE : sv.mk
+
+#IENV!:=$(IENV);..$/res
+
+.IF "$(GUI)"=="WIN"
+LINKFLAGS+=/PACKCODE:65500 /SEG:16000 /NOE /NOD /MAP
+MAPSYM=tmapsym
+.ENDIF
+
+.IF "$(COM)"=="ICC"
+LINKFLAGS+=/SEGMENTS:512 /PACKD:32768
+.ENDIF
+
+# --- Resourcen ----------------------------------------------------
+
+.IF "$(GUI)"=="WIN"
+RESLIBSPLIT1NAME=sd
+RESLIBSPLIT1SRSFILES= \
+ $(SRS)$/app.srs $(SRS)$/dlg.srs $(SRS)$/core.srs $(SRS)$/sdslots.srs \
+ $(SOLARRESDIR)$/sfx.srs
+.ELSE
+RESLIB1NAME=sd
+RESLIB1SRSFILES=\
+ $(SRS)$/app.srs $(SRS)$/dlg.srs $(SRS)$/core.srs $(SRS)$/sdslots.srs \
+ $(SOLARRESDIR)$/sfx.srs
+.ENDIF
+
+#.IF "$(solarlang)" == "deut"
+#SRC1FILES= ..$/source$/ui$/app$/appmain.src
+#SRS1NAME = appmain
+#SRS1FILES=$(SRS)$/appmain.srs \
+# $(SOLARRESDIR)$/sfx.srs
+#RES1TARGET= sdappi
+#.ENDIF
+
+# --- StarDraw DLL
+
+SHL1TARGET= sd$(UPD)$(DLLPOSTFIX)
+SHL1VERSIONMAP= sd.map
+SHL1IMPLIB= sdi
+SHL1STDLIBS= \
+ $(SCHLIB) \
+ $(BASICLIB) \
+ $(SFXLIB) \
+ $(SFXDEBUGLIB) \
+ $(SO2LIB) \
+ $(VCLLIB) \
+ $(SVMEMLIB) \
+ $(SVTOOLLIB) \
+ $(SVLLIB) \
+ $(SVTLIB) \
+ $(SVXLIB) \
+ $(SETLIB) \
+ $(GOODIESLIB) \
+ $(OFALIB) \
+ $(SCLIB) \
+ $(TOOLSLIB) \
+ $(ONELIB) \
+ $(CPPULIB) \
+ $(PAPLIB) \
+ $(GOLIB) \
+ $(VOSLIB) \
+ $(SALLIB) \
+ $(TKLIB) \
+ $(SJLIB) \
+ $(SETUPLIB) \
+ $(STORELIB) \
+ $(CPPULIB) \
+ $(CPPUHELPERLIB) \
+ $(UNOTOOLSLIB) \
+ $(SOTLIB) \
+ $(XMLOFFLIB) \
+ $(BASCTLLIB)
+
+.IF "$(TF_UCB)" == ""
+SHL1STDLIBS+=\
+ $(CHAOSLIB)
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+SHL1STDLIBS+= $(SIMLIB) $(SMLIB)
+.ENDIF
+
+.IF "$(GUI)" == "MAC"
+SHL1STDLIBS += \
+ $(SOLARBINDIR)$/SDB$(UPD)$(DLLPOSTFIX).DLL \
+ $(SOLARLIBDIR)$/plugctor.lib
+.ENDIF
+
+SHL1DEPN= $(L)$/itools.lib
+SHL1LIBS= $(LIB3TARGET)
+
+
+SHL1DEF= $(MISC)$/$(SHL1TARGET).def
+.IF "$(GUI)" == "WNT" || "$(GUI)" == "WIN"
+SHL1RES= $(RCTARGET)
+.ENDIF
+
+
+# --- Linken der Applikation ---------------------------------------
+
+LIB2TARGET=$(SLB)$/sdmod.lib
+LIB2OBJFILES= \
+ $(SLO)$/sdmod1.obj \
+ $(SLO)$/sdmod2.obj \
+ $(SLO)$/sdmod.obj
+
+LIB3TARGET=$(SLB)$/sdraw3.lib
+LIB3FILES= \
+ $(SLB)$/view.lib \
+ $(SLB)$/app.lib \
+ $(SLB)$/func.lib \
+ $(SLB)$/docshell.lib \
+ $(SLB)$/dlg.lib \
+ $(SLB)$/core.lib \
+ $(SLB)$/filter.lib \
+ $(SLB)$/unoidl.lib \
+ $(SLB)$/xml.lib
+
+LIB4TARGET=$(LB)$/sdlib.lib
+LIB4ARCHIV=$(LB)$/libsdlib.a
+.IF "$(GUI)"=="UNX"
+LIB4OBJFILES=$(OBJ)$/sdlib.obj \
+ $(OBJ)$/sdresid.obj
+.ELSE
+.IF "$(GUI)"=="MAC"
+LIB4OBJFILES=$(OBJ)$/sdlib.obj \
+ $(OBJ)$/sdresid.obj
+.ELSE
+LIB4OBJFILES=$(OBJ)$/sdlib.obj \
+ $(OBJ)$/sdresid.obj
+.ENDIF
+.ENDIF
+
+
+.IF "$(depend)" == ""
+ALL: \
+ $(SRS)$/hidother.hid\
+ ALLTAR
+.ENDIF
+
+
+.IF "$(SVXLIGHT)" != ""
+LIB5TARGET= $(LB)$/sdl.lib
+LIB5ARCHIV= $(LB)$/libsdl.a
+LIB5FILES= \
+ $(LB)$/sxl_core.lib
+.ENDIF
+
+# --- Targets -------------------------------------------------------------
+
+.INCLUDE : target.mk
+
+.IF "$(depend)" == ""
+
+# -------------------------------------------------------------------------
+# MAC
+# -------------------------------------------------------------------------
+
+.IF "$(GUI)" == "MAC"
+
+$(MISCX)$/$(APP1TARGET).def : makefile.mk
+
+
+$(MISC)$/$(SHL1TARGET).def: makefile.mk
+ delete -i $@.exp
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL1OBJS) $(SHL1LIBS) -f $@.exp dev:null
+ duplicate -y $@.exp $@
+.ENDIF
+# -------------------------------------------------------------------------
+# Windows 3.1
+# -------------------------------------------------------------------------
+
+.IF "$(GUI)" == "WIN"
+
+$(MISC)$/$(SHL1TARGET).def: makefile.mk
+ @echo ------------------------------
+ @echo Making: $@
+ @echo LIBRARY $(SHL1TARGET) >$@
+ @echo DESCRIPTION 'SDRAW3 DLL' >>$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+ @echo _CreateSdDrawDocShellDll @2 >>$@
+ @echo _CreateSdGraphicDocShellDll @3 >>$@
+ @echo _CreateObjSdDrawDocShellDll @4 >>$@
+ @echo _CreateObjSdGraphicDocShellDll @5 >>$@
+ @echo _InitSdDll @6 >>$@
+ @echo _DeInitSdDll @7 >>$@
+.ENDIF
+
+.IF "$(GUI)" == "WNT"
+
+$(MISC)$/$(SHL1TARGET).def:
+ @echo ------------------------------
+ @echo Making: $@
+ @echo LIBRARY $(SHL1TARGET) >$@
+ @echo DESCRIPTION 'SDRAW3 DLL' >>$@
+ @echo DATA READ WRITE NONSHARED >>$@
+ @echo EXPORTS >>$@
+ @echo CreateSdDrawDocShellDll @20 >>$@
+ @echo CreateSdGraphicDocShellDll @21 >>$@
+ @echo CreateObjSdDrawDocShellDll @22 >>$@
+ @echo CreateObjSdGraphicDocShellDll @23 >>$@
+ @echo InitSdDll @24 >>$@
+ @echo DeInitSdDll @25 >>$@
+.ENDIF
+
+# -------------------------------------------------------------------------
+# Presentation Manager 2.0
+# -------------------------------------------------------------------------
+
+.IF "$(GUI)" == "OS2"
+
+$(MISC)$/$(SHL1TARGET).def: makefile.mk
+ @echo ================================================================
+ @echo building $@
+ @echo ----------------------------------------------------------------
+.IF "$(COM)"!="WTC"
+ echo LIBRARY INITINSTANCE TERMINSTANCE >$@
+ echo DESCRIPTION 'SdDLL' >>$@
+ echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+.IF "$(COM)"!="ICC"
+ @echo _CreateSdDrawDocShellDll @2 >>$@
+ @echo _CreateSdGraphicDocShellDll @3 >>$@
+ @echo _CreateObjSdDrawDocShellDll @4 >>$@
+ @echo _CreateObjSdGraphicDocShellDll @5 >>$@
+ @echo _InitSdDll @6 >>$@
+ @echo _DeInitSdDll @7 >>$@
+.ELSE
+ @echo CreateSdDrawDocShellDll @2 >>$@
+ @echo CreateSdGraphicDocShellDll @3 >>$@
+ @echo CreateObjSdDrawDocShellDll @4 >>$@
+ @echo CreateObjSdGraphicDocShellDll @5 >>$@
+ @echo InitSdDll @6 >>$@
+ @echo DeInitSdDll @7 >>$@
+.ENDIF
+.ELSE
+ @echo option DESCRIPTION 'SdDLL' >$@
+ @echo name $(BIN)$/$(SHL1TARGET).dll >>$@
+ @echo CreateSdDrawDocShellDll_ @2 >>temp.def
+ @echo CreateSdGraphicDocShellDll_ @3 >>temp.def
+ @echo CreateObjSdDrawDocShellDll_ @4 >>temp.def
+ @echo CreateObjSdGraphicDocShellDll_ @5 >>temp.def
+ @echo InitSdDll_ @6 >>temp.def
+ @echo DeInitSdDll_ @7 >>temp.def
+ @gawk -f s:\util\exp.awk temp.def >>$@
+ del temp.def
+.ENDIF
+.ENDIF
+
+$(SRS)$/hidother.hid: hidother.src
+.IF "$(GUI)$(CPU)"=="WNTI"
+ @+echo NO HIDS!!!!
+ @+-mhids hidother.src ..\$(INPATH)$/srs sd hidother
+.ELSE
+ @echo nix
+.ENDIF
+
+.ENDIF
+
+$(MISCX)$/$(SHL1TARGET).flt:
+ @echo ------------------------------
+ @echo Making: $@
+ @echo WEP>$@
+ @echo LIBMAIN>>$@
+ @echo LibMain>>$@
diff --git a/sd/util/makefile.pmk b/sd/util/makefile.pmk
new file mode 100644
index 000000000000..0448d84ea829
--- /dev/null
+++ b/sd/util/makefile.pmk
@@ -0,0 +1,62 @@
+#*************************************************************************
+#
+# $RCSfile: makefile.pmk,v $
+#
+# $Revision: 1.1.1.1 $
+#
+# last change: $Author: hr $ $Date: 2000-09-18 16:48:46 $
+#
+# The Contents of this file are made available subject to the terms of
+# either of the following licenses
+#
+# - GNU Lesser General Public License Version 2.1
+# - Sun Industry Standards Source License Version 1.1
+#
+# Sun Microsystems Inc., October, 2000
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2000 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
+#
+#
+# Sun Industry Standards Source License Version 1.1
+# =================================================
+# The contents of this file are subject to the Sun Industry Standards
+# Source License Version 1.1 (the "License"); You may not use this file
+# except in compliance with the License. You may obtain a copy of the
+# License at http://www.openoffice.org/license.html.
+#
+# Software provided under this License is provided on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+# See the License for the specific provisions governing your rights and
+# obligations concerning the Software.
+#
+# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+#
+# Copyright: 2000 by Sun Microsystems, Inc.
+#
+# All Rights Reserved.
+#
+# Contributor(s): _______________________________________
+#
+#
+#
+#*************************************************************************
+INCPRE+=$(SOLARINCDIR)$/offuh
diff --git a/sd/util/sd.map b/sd/util/sd.map
new file mode 100644
index 000000000000..13ecdd2e1e6f
--- /dev/null
+++ b/sd/util/sd.map
@@ -0,0 +1,11 @@
+SD_1_0 {
+ global:
+ CreateSdDrawDocShellDll;
+ CreateSdGraphicDocShellDll;
+ CreateObjSdDrawDocShellDll;
+ CreateObjSdGraphicDocShellDll;
+ InitSdDll;
+ DeInitSdDll;
+ local:
+ *;
+};