diff options
Diffstat (limited to 'sd/source/filter/eppt/makefile.mk')
-rw-r--r-- | sd/source/filter/eppt/makefile.mk | 198 |
1 files changed, 198 insertions, 0 deletions
diff --git a/sd/source/filter/eppt/makefile.mk b/sd/source/filter/eppt/makefile.mk new file mode 100644 index 000000000000..f65550f42ab2 --- /dev/null +++ b/sd/source/filter/eppt/makefile.mk @@ -0,0 +1,198 @@ +#************************************************************************* +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1.1.1 $ +# +# last change: $Author: hr $ $Date: 2000-09-18 16:48:45 $ +# +# 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=eppt +ENABLE_EXCEPTIONS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : svpre.mk +.INCLUDE : settings.mk +.INCLUDE : sv.mk +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# --- Files -------------------------------------------------------- + +CXXFILES= eppt.cxx \ + epptso.cxx \ + escherex.cxx \ + dinfos2.cxx + +.IF "$(COM)"=="GCC" +NOOPTFILES= $(SLO)$/epptso.obj +.ENDIF + +SLOFILES = $(SLO)$/eppt.obj \ + $(SLO)$/epptso.obj \ + $(SLO)$/escherex.obj \ + $(SLO)$/dinfos2.obj + +SHL1TARGET = emp$(UPD)$(DLLPOSTFIX) +SHL1IMPLIB = eppt +SHL1DEPN = $(LB)$/eppt.lib +SHL1DEF = $(MISC)$/$(SHL1TARGET).def +SHL1DEPN = $(LB)$/eppt.lib +SHL1LIBS = $(SLB)$/eppt.lib +SHL1BASE = 0x1c000000 + +SHL1STDLIBS = \ + $(VOSLIB) \ + $(SALLIB) \ + $(SJLIB) \ + $(SOTLIB) \ + $(CPPULIB) \ + $(TKLIB) \ + $(SO2LIB) \ + $(GOLIB) \ + $(SVLLIB) \ + $(TOOLSLIB) \ + $(SVTOOLLIB) \ + $(VCLLIB) \ + $(UCBHELPERLIB) + +# --- Targets -------------------------------------------------------------- + +.INCLUDE : target.mk + +# ------------------------------------------------------------------------- + +$(MISC)$/$(SHL1TARGET).flt: + @echo ------------------------------ + @echo Making: $@ + @echo WEP>$@ + @echo LIBMAIN>>$@ + @echo LibMain>>$@ + +# ------------------------------------------------------------------------- + +.IF "$(GUI)"=="MAC" + +$(MISC)$/$(SHL1TARGET).def: $(MISC)$/$(SHL1TARGET).flt makefile.mk + @echo ExportPPT > $@ +.ENDIF + +# ------------------ + +.IF "$(GUI)"=="WIN" + +$(MISC)$/$(SHL1TARGET).def: $(MISC)$/$(SHL1TARGET).flt makefile.mk + @echo ------------------------------ + @echo Making: $@ + @echo LIBRARY $(SHL1TARGET) >$@ + @echo DESCRIPTION 'Filter DLL' >>$@ + @echo EXETYPE WINDOWS >>$@ + @echo PROTMODE >>$@ + @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@ + @echo DATA PRELOAD MOVEABLE SINGLE >>$@ + @echo HEAPSIZE 0 >>$@ + @echo EXPORTS >>$@ + @echo _ExportPPT >>$@ +.ENDIF + +# ------------------ + +.IF "$(GUI)" == "OS2" + +$(MISC)$/$(SHL1TARGET).def:\ + makefile.mk \ + $(MISC)$/$(SHL1TARGET).flt + @echo ------------------------------------------- + @echo DEF-File erstellen +.IF "$(COM)"!="WTC" + @echo LIBRARY $(DLLNAME) INITINSTANCE TERMINSTANCE >$@ + @echo DESCRIPTION 'FILTER DLL' >>$@ +.IF "$(COM)" == "ZTC" + @echo STUB 'os2STUB.EXE' >>$@ +.ENDIF + @echo PROTMODE >>$@ + @echo CODE LOADONCALL >>$@ + @echo DATA PRELOAD MULTIPLE NONSHARED >>$@ + @echo EXPORTS >>$@ +.IF "$(COM)"=="ICC" + @echo ExportPPT >>$@ +.ELSE + @echo _ExportPPT >>$@ +.ENDIF +.ELSE + @echo option DESCRIPTION 'Filter DLL' >$@ + @echo name $(BIN)$/$(SHL1TARGET) >>$@ + @echo ExportPPT_ >>$@ + @gawk -f s:\util\exp.awk temp.def >>$@ + @del temp.def +.ENDIF +.ENDIF + +# ------------------ + +.IF "$(GUI)"=="WNT" + +$(MISC)$/$(SHL1TARGET).def: makefile.mk $(MISC)$/$(SHL1TARGET).flt + @echo ------------------------------------------- + @echo DEF-File erstellen + @echo LIBRARY $(DLLNAME) >$@ + @echo DESCRIPTION 'Filter DLL' >>$@ + @echo DATA READ WRITE NONSHARED >>$@ + @echo EXPORTS >>$@ + @echo ExportPPT >>$@ +.ENDIF |