2004-08-05 11:44:50 -05:00
|
|
|
PRJ=..
|
2006-12-05 03:39:01 -06:00
|
|
|
PRJNAME=writerperfect
|
2007-01-23 05:19:53 -06:00
|
|
|
TARGET=writerperfect
|
2004-08-05 11:44:50 -05:00
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
2010-09-14 04:07:30 -05:00
|
|
|
|
|
|
|
.IF "$(GUI)"=="UNX" || "$(GUI)$(COM)"=="WNTGCC"
|
|
|
|
|
2005-03-01 10:10:04 -06:00
|
|
|
.IF "$(SYSTEM_LIBWPD)" == "YES"
|
|
|
|
LIBWPD=$(LIBWPD_LIBS)
|
2004-08-24 04:45:32 -05:00
|
|
|
.ELSE
|
2005-03-01 10:10:04 -06:00
|
|
|
LIBWPD=-lwpdlib
|
|
|
|
.ENDIF
|
2010-09-14 04:07:30 -05:00
|
|
|
|
|
|
|
.IF "$(SYSTEM_LIBWPS)" == "YES"
|
|
|
|
LIBWPS=$(LIBWPS_LIBS)
|
2005-03-01 10:10:04 -06:00
|
|
|
.ELSE
|
2010-09-14 04:07:30 -05:00
|
|
|
LIBWPS=-lwpslib
|
2007-03-26 07:26:59 -05:00
|
|
|
.ENDIF
|
2010-09-14 04:07:30 -05:00
|
|
|
|
2010-09-14 04:30:28 -05:00
|
|
|
.IF "$(SYSTEM_LIBWPG)" == "YES"
|
|
|
|
LIBWPG=$(LIBWPG_LIBS)
|
|
|
|
.ELSE
|
|
|
|
LIBWPG=-lwpglib
|
|
|
|
.ENDIF
|
|
|
|
|
2011-05-17 05:42:09 -05:00
|
|
|
.IF "$(SYSTEM_LIBVISIO)" == "YES"
|
2011-05-17 06:28:39 -05:00
|
|
|
LIBVISIO=$(LIBVISIO_LIBS)
|
2011-05-17 05:42:09 -05:00
|
|
|
.ELSE
|
2011-05-17 06:28:39 -05:00
|
|
|
LIBVISIO=-lvisiolib
|
2011-05-17 05:42:09 -05:00
|
|
|
.ENDIF
|
|
|
|
|
2010-09-14 04:07:30 -05:00
|
|
|
.ELSE
|
|
|
|
|
|
|
|
LIBWPD=$(LIBPRE) wpdlib.lib
|
|
|
|
LIBWPS=$(LIBPRE) wpslib.lib
|
2010-09-14 04:30:28 -05:00
|
|
|
LIBWPG=$(LIBPRE) wpglib.lib
|
2011-05-17 14:25:43 -05:00
|
|
|
LIBVISIO=$(LIBPRE) visiolib.lib
|
2010-09-14 04:07:30 -05:00
|
|
|
|
2004-08-24 04:45:32 -05:00
|
|
|
.ENDIF
|
|
|
|
|
2007-01-23 05:19:53 -06:00
|
|
|
LIB1TARGET= $(SLB)$/wpft.lib
|
2004-08-05 11:44:50 -05:00
|
|
|
LIB1FILES= \
|
|
|
|
$(SLB)$/stream.lib \
|
2007-01-23 05:19:53 -06:00
|
|
|
$(SLB)$/filter.lib \
|
|
|
|
$(SLB)$/wpdimp.lib
|
2006-05-02 09:27:59 -05:00
|
|
|
SHL1LIBS=$(LIB1TARGET)
|
2004-08-05 11:44:50 -05:00
|
|
|
SHL1STDLIBS+= \
|
|
|
|
$(SOTLIB) \
|
|
|
|
$(SO2LIB) \
|
2010-11-16 06:53:39 -06:00
|
|
|
$(SFXLIB) \
|
|
|
|
$(VCLLIB) \
|
2004-08-05 11:44:50 -05:00
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(SALLIB) \
|
2004-08-24 02:31:55 -05:00
|
|
|
$(XMLOFFLIB) \
|
2010-11-16 06:53:39 -06:00
|
|
|
$(LIBWPG) \
|
2005-03-01 10:10:04 -06:00
|
|
|
$(LIBWPD)
|
2004-08-24 04:45:32 -05:00
|
|
|
|
2008-02-25 08:56:31 -06:00
|
|
|
SHL1TARGET = wpft$(DLLPOSTFIX)
|
2004-08-05 11:44:50 -05:00
|
|
|
SHL1IMPLIB = i$(SHL1TARGET)
|
|
|
|
SHL1LIBS = $(LIB1TARGET)
|
2010-01-29 10:01:54 -06:00
|
|
|
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
2004-08-05 11:44:50 -05:00
|
|
|
DEF1NAME=$(SHL1TARGET)
|
|
|
|
|
2010-09-14 04:07:30 -05:00
|
|
|
|
|
|
|
LIB2TARGET= $(SLB)$/msworks.lib
|
|
|
|
LIB2FILES= \
|
|
|
|
$(SLB)$/stream.lib \
|
|
|
|
$(SLB)$/filter.lib \
|
|
|
|
$(SLB)$/wpsimp.lib
|
|
|
|
SHL2LIBS=$(LIB2TARGET)
|
|
|
|
SHL2STDLIBS+= \
|
2011-05-17 14:28:33 -05:00
|
|
|
$(SVLLIB) \
|
2010-09-14 04:07:30 -05:00
|
|
|
$(SOTLIB) \
|
|
|
|
$(SO2LIB) \
|
|
|
|
$(SVTOOLLIB) \
|
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(SALLIB) \
|
|
|
|
$(XMLOFFLIB) \
|
|
|
|
$(LIBWPS) \
|
|
|
|
$(LIBWPD)
|
|
|
|
|
|
|
|
SHL2TARGET = msworks$(DLLPOSTFIX)
|
|
|
|
SHL2IMPLIB = i$(SHL2TARGET)
|
|
|
|
SHL2LIBS = $(LIB2TARGET)
|
|
|
|
SHL2VERSIONMAP = $(SOLARENV)/src/component.map
|
|
|
|
DEF2NAME = $(SHL2TARGET)
|
|
|
|
|
2010-09-14 04:30:28 -05:00
|
|
|
LIB3TARGET= $(SLB)$/wpgimport.lib
|
|
|
|
LIB3FILES= \
|
|
|
|
$(SLB)$/stream.lib \
|
|
|
|
$(SLB)$/filter.lib \
|
|
|
|
$(SLB)$/wpgimp.lib
|
|
|
|
SHL3LIBS=$(LIB3TARGET)
|
|
|
|
SHL3STDLIBS+= \
|
2011-05-17 14:28:33 -05:00
|
|
|
$(SVLLIB) \
|
2010-09-14 04:30:28 -05:00
|
|
|
$(SOTLIB) \
|
|
|
|
$(SO2LIB) \
|
|
|
|
$(SVTOOLLIB) \
|
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(SALLIB) \
|
|
|
|
$(XMLOFFLIB) \
|
2010-11-16 06:53:39 -06:00
|
|
|
$(LIBWPG) \
|
|
|
|
$(LIBWPD)
|
2010-09-14 04:30:28 -05:00
|
|
|
|
|
|
|
SHL3TARGET = wpgimport$(DLLPOSTFIX)
|
|
|
|
SHL3IMPLIB = i$(SHL3TARGET)
|
|
|
|
SHL3LIBS = $(LIB3TARGET)
|
|
|
|
SHL3VERSIONMAP = $(SOLARENV)/src/component.map
|
|
|
|
DEF3NAME = $(SHL3TARGET)
|
|
|
|
|
2011-05-17 05:42:09 -05:00
|
|
|
LIB4TARGET= $(SLB)$/visioimport.lib
|
2011-05-17 03:09:52 -05:00
|
|
|
LIB4FILES= \
|
|
|
|
$(SLB)$/stream.lib \
|
|
|
|
$(SLB)$/filter.lib \
|
2011-05-17 05:42:09 -05:00
|
|
|
$(SLB)$/vsdimp.lib
|
2011-05-17 03:09:52 -05:00
|
|
|
SHL4LIBS=$(LIB4TARGET)
|
|
|
|
SHL4STDLIBS+= \
|
2011-05-17 14:28:33 -05:00
|
|
|
$(SVLLIB) \
|
2011-05-17 03:09:52 -05:00
|
|
|
$(SOTLIB) \
|
|
|
|
$(SO2LIB) \
|
|
|
|
$(SVTOOLLIB) \
|
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(SALLIB) \
|
|
|
|
$(XMLOFFLIB) \
|
2011-05-17 14:28:33 -05:00
|
|
|
$(LIBVISIO) \
|
2011-05-17 03:09:52 -05:00
|
|
|
$(LIBWPD)
|
|
|
|
|
|
|
|
SHL4TARGET = visioimport$(DLLPOSTFIX)
|
|
|
|
SHL4IMPLIB = i$(SHL4TARGET)
|
|
|
|
SHL4LIBS = $(LIB4TARGET)
|
|
|
|
SHL4VERSIONMAP = $(SOLARENV)/src/component.map
|
2011-05-17 14:25:43 -05:00
|
|
|
DEF4NAME = $(SHL4TARGET)
|
2011-05-17 03:09:52 -05:00
|
|
|
|
2004-08-05 11:44:50 -05:00
|
|
|
.INCLUDE : target.mk
|
2010-09-10 06:10:07 -05:00
|
|
|
|
2011-06-06 07:33:02 -05:00
|
|
|
ALLTAR : $(MISC)/wpft.component $(MISC)/wpgfilter.component $(MISC)/msworksfilter.component $(MISC)/visiofilter.component
|
2010-09-10 06:10:07 -05:00
|
|
|
|
|
|
|
$(MISC)/wpft.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
|
|
wpft.component
|
|
|
|
$(XSLTPROC) --nonet --stringparam uri \
|
|
|
|
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
|
|
$(SOLARENV)/bin/createcomponent.xslt wpft.component
|
2011-04-01 16:32:09 -05:00
|
|
|
|
|
|
|
$(MISC)/msworksfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
|
|
msworksfilter.component
|
|
|
|
$(XSLTPROC) --nonet --stringparam uri \
|
|
|
|
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
|
|
|
|
$(SOLARENV)/bin/createcomponent.xslt msworksfilter.component
|
2011-05-17 03:09:52 -05:00
|
|
|
|
2011-05-20 02:38:10 -05:00
|
|
|
$(MISC)/wpgfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
|
|
wpgfilter.component
|
|
|
|
$(XSLTPROC) --nonet --stringparam uri \
|
|
|
|
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL3TARGETN:f)' -o $@ \
|
|
|
|
$(SOLARENV)/bin/createcomponent.xslt wpgfilter.component
|
|
|
|
|
2011-05-17 03:09:52 -05:00
|
|
|
$(MISC)/visiofilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
|
|
visiofilter.component
|
|
|
|
$(XSLTPROC) --nonet --stringparam uri \
|
|
|
|
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \
|
|
|
|
$(SOLARENV)/bin/createcomponent.xslt visiofilter.component
|