1PRJ=.. 2PRJNAME=writerperfect 3TARGET=writerperfect 4 5.INCLUDE : settings.mk 6 7.IF "$(SYSTEM_LIBWPD)" == "YES" 8 9.IF "$(GUI)"=="UNX" 10.IF "$(SYSTEM_LIBWPD)" == "YES" 11LIBWPD=$(LIBWPD_LIBS) 12.ELSE 13LIBWPD=-lwpdlib 14.ENDIF 15.ELSE 16.IF "$(GUI)$(COM)"=="WNTGCC" 17LIBWPD=-lwpdlib 18.ELSE 19 LIBWPD=$(LIBPRE) wpdlib.lib 20.ENDIF 21.ENDIF 22 23LIB1TARGET= $(SLB)$/wpft.lib 24LIB1FILES= \ 25 $(SLB)$/stream.lib \ 26 $(SLB)$/filter.lib \ 27 $(SLB)$/wpdimp.lib 28SHL1LIBS=$(LIB1TARGET) 29SHL1STDLIBS+= \ 30 $(SOTLIB) \ 31 $(SO2LIB) \ 32 $(UNOTOOLSLIB) \ 33 $(TOOLSLIB) \ 34 $(UCBHELPERLIB) \ 35 $(CPPUHELPERLIB) \ 36 $(CPPULIB) \ 37 $(SALLIB) \ 38 $(XMLOFFLIB) \ 39 $(LIBWPD) 40 41SHL1TARGET = wpft$(DLLPOSTFIX) 42SHL1IMPLIB = i$(SHL1TARGET) 43SHL1LIBS = $(LIB1TARGET) 44SHL1VERSIONMAP=$(SOLARENV)/src/component.map 45DEF1NAME=$(SHL1TARGET) 46 47.INCLUDE : target.mk 48 49ALLTAR : $(MISC)/wpft.component 50 51$(MISC)/wpft.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 52 wpft.component 53 $(XSLTPROC) --nonet --stringparam uri \ 54 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 55 $(SOLARENV)/bin/createcomponent.xslt wpft.component 56 57.ELSE 58all: 59 @echo "no system libpwd is used..." 60.ENDIF 61