#************************************************************** # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # #************************************************************** PRJ=..$/.. PRJNAME=writerfilter TARGET=rtftok #LIBTARGET=NO ENABLE_EXCEPTIONS=TRUE #USE_DEFFILE=TRUE EXTERNAL_WARNINGS_NOT_ERRORS=TRUE # --- Settings ----------------------------------------------------- .INCLUDE : settings.mk .INCLUDE : $(PRJ)$/inc$/writerfilter.mk #CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 #CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 # --- Files -------------------------------------------------------- SLOFILES=$(SLO)$/RTFScanner.obj $(SLO)$/RTFParseException.obj SHL1TARGET=$(TARGET) SHL1STDLIBS=$(SALLIB)\ $(CPPULIB)\ $(CPPUHELPERLIB) SHL1IMPLIB=i$(SHL1TARGET) SHL1USE_EXPORTS=name SHL1OBJS=$(SLOFILES) SHL1DEF=$(MISC)$/$(SHL1TARGET).def DEF1NAME=$(SHL1TARGET) DEFLIB1NAME=$(TARGET) # --- Targets ------------------------------------------------------ .INCLUDE : target.mk RTFSCANNERCXX=$(MISC)/RTFScanner.cxx GENERATEDFILES=$(RTFSCANNERCXX) $(RTFSCANNERCXX): RTFScanner.lex RTFScanner.skl FlexLexer.h flex -+ -SRTFScanner.skl -o$@ RTFScanner.lex $(SLO)/RTFScanner.obj: $(RTFSCANNERCXX) .PHONY: genmake genclean genmake: $(GENERATEDFILES) genclean: rm $(GENERATEDFILES)