1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/.. 25PRJNAME=avmedia 26TARGET=avmediawin 27 28# --- Settings ---------------------------------- 29 30.INCLUDE : settings.mk 31 32.IF "$(ENABLE_DIRECTX)" != "" 33 34.IF "$(verbose)"!="" || "$(VERBOSE)"!="" 35CDEFS+= -DVERBOSE 36.ENDIF 37 38# --- Files ---------------------------------- 39 40.IF "$(GUI)" == "WNT" 41 42SLOFILES= \ 43 $(SLO)$/winuno.obj \ 44 $(SLO)$/manager.obj \ 45 $(SLO)$/window.obj \ 46 $(SLO)$/player.obj \ 47 $(SLO)$/framegrabber.obj 48 49 50EXCEPTIONSFILES= \ 51 $(SLO)$/winuno.obj \ 52 $(SLO)$/framegrabber.obj 53 54SHL1TARGET=$(TARGET) 55SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(UNOTOOLSLIB) $(TOOLSLIB) $(VCLLIB) 56SHL1IMPLIB=i$(TARGET) 57SHL1LIBS=$(SLB)$/$(TARGET).lib 58SHL1DEF=$(MISC)$/$(SHL1TARGET).def 59 60DEF1NAME=$(SHL1TARGET) 61DEF1EXPORTFILE=exports.dxp 62 63SHL1STDLIBS += $(OLE32LIB) 64SHL1STDLIBS += $(OLEAUT32LIB) 65SHL1STDLIBS += $(GDI32LIB) 66 67.IF "$(COM)"=="GCC" 68SHL1STDLIBS += $(PSDK_HOME)$/lib$/strmiids.lib 69.ELSE 70SHL1STDLIBS += strmiids.lib 71.ENDIF 72 73.ENDIF 74.ENDIF 75 76.INCLUDE : target.mk 77 78ALLTAR : $(MISC)/avmediawin.component 79 80$(MISC)/avmediawin.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 81 avmediawin.component 82 $(XSLTPROC) --nonet --stringparam uri \ 83 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 84 $(SOLARENV)/bin/createcomponent.xslt avmediawin.component 85